[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 267034] New: Crash after deleting a folder in the files view
From:       Bastian Neumann <neumann.bastian () gmail ! com>
Date:       2011-02-24 3:46:27
Message-ID: bug-267034-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=267034

           Summary: Crash after deleting a folder in the files view
           Product: kdevelop
           Version: 4.2.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: neumann.bastian@gmail.com


Application: kdevelop (4.2.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I deleted a folder that was not needed anymore in the files view within
kdevelop. I had a script running in the console inside kdev and it was really
laggy before it crashed.

- Unusual behavior I noticed:
saving a file froze the application for about 2 seconds. the file was saved
correctly and the ide was running again after the short time

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77b5710 (LWP 5000))]

Thread 10 (Thread 0xb3c4fb70 (LWP 5002)):
#0  0x00df1416 in __kernel_vsyscall ()
#1  0x00601884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x02eb2df4 in __pthread_cond_timedwait (cond=0x97746d0, mutex=0x97746b8,
abstime=0xb3c4f2b0) at forward.c:152
#3  0x0086194f in wait (this=0x9778c6c, mutex=0x9778c70, time=1000) at
thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9778c6c, mutex=0x9778c70, time=1000) at
thread/qwaitcondition_unix.cpp:160
#5  0x074d3812 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9778c60)
at ../../language/duchain/duchain.cpp:286
#6  0x00860df9 in QThreadPrivate::start (arg=0x9778c60) at
thread/qthread_unix.cpp:266
#7  0x005fccc9 in start_thread (arg=0xb3c4fb70) at pthread_create.c:304
#8  0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb32ffb70 (LWP 5009)):
#0  0x006007d4 in __pthread_mutex_unlock_usercnt (mutex=0xb3305ebc, decr=<value
optimized out>) at pthread_mutex_unlock.c:52
#1  0x02eb2fa6 in pthread_mutex_unlock (mutex=0xb3305ebc) at forward.c:184
#2  0x03576701 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#3  0x0357a668 in ?? () from /lib/libglib-2.0.so.0
#4  0x0357a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0099159f in QEventDispatcherGlib::processEvents (this=0xb3303dd0,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00961609 in QEventLoop::processEvents (this=0xb32ff2c0, flags=) at
kernel/qeventloop.cpp:149
#7  0x00961a8a in QEventLoop::exec (this=0xb32ff2c0, flags=...) at
kernel/qeventloop.cpp:201
#8  0x0085db7e in QThread::exec (this=0x9961ed8) at thread/qthread.cpp:490
#9  0x075cfc98 in KDevelop::CompletionWorkerThread::run (this=0x9961ed8) at
../../language/codecompletion/codecompletionmodel.cpp:80
#10 0x00860df9 in QThreadPrivate::start (arg=0x9961ed8) at
thread/qthread_unix.cpp:266
#11 0x005fccc9 in start_thread (arg=0xb32ffb70) at pthread_create.c:304
#12 0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb2afeb70 (LWP 5038)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x9bf5acc, decr=1) at
pthread_mutex_unlock.c:38
#1  0x02eb2fa6 in pthread_mutex_unlock (mutex=0x9bf5acc) at forward.c:184
#2  0x03579b34 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x0357a45e in ?? () from /lib/libglib-2.0.so.0
#4  0x0357a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0099159f in QEventDispatcherGlib::processEvents (this=0x9e78180,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00961609 in QEventLoop::processEvents (this=0xb2afe290, flags=) at
kernel/qeventloop.cpp:149
#7  0x00961a8a in QEventLoop::exec (this=0xb2afe290, flags=...) at
kernel/qeventloop.cpp:201
#8  0x0085db7e in QThread::exec (this=0x9c44408) at thread/qthread.cpp:490
#9  0x0094035b in QInotifyFileSystemWatcherEngine::run (this=0x9c44408) at
io/qfilesystemwatcher_inotify.cpp:248
#10 0x00860df9 in QThreadPrivate::start (arg=0x9c44408) at
thread/qthread_unix.cpp:266
#11 0x005fccc9 in start_thread (arg=0xb2afeb70) at pthread_create.c:304
#12 0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xac537b70 (LWP 5039)):
#0  0x00df1416 in __kernel_vsyscall ()
#1  0x006014dc in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x02eb2d9d in __pthread_cond_wait (cond=0x4b2e770, mutex=0x4b2e758) at
forward.c:139
#3  0x046263a5 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x04626481 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0x005fccc9 in start_thread (arg=0xac537b70) at pthread_create.c:304
#6  0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xab6f5b70 (LWP 5042)):
#0  0x00df1416 in __kernel_vsyscall ()
#1  0x006014dc in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x02eb2d9d in __pthread_cond_wait (cond=0x9694720, mutex=0x9694708) at
forward.c:139
#3  0x008619c7 in wait (this=0x9694678, mutex=0x964ee08, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9694678, mutex=0x964ee08, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0x033e3520 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9694660,
th=0x9995b88) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x033e6ccc in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x9650568, th=0x9995b88) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x033e2a4b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x9694660, th=0x9995b88) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x033e6dc2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9650568,
th=0x9995b88) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x033e3a23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9694660,
th=0x9995b88, previous=0xa8b8740) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x033e4e4e in ThreadWeaver::ThreadRunHelper::run (this=0xab6f52f4,
parent=0x9694660, th=0x9995b88) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x033e556b in ThreadWeaver::Thread::run (this=0x9995b88) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00860df9 in QThreadPrivate::start (arg=0x9995b88) at
thread/qthread_unix.cpp:266
#13 0x005fccc9 in start_thread (arg=0xab6f5b70) at pthread_create.c:304
#14 0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaaef4b70 (LWP 5068)):
#0  0x00df1416 in __kernel_vsyscall ()
#1  0x006014dc in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x02eb2d9d in __pthread_cond_wait (cond=0x9694720, mutex=0x9694708) at
forward.c:139
#3  0x008619c7 in wait (this=0x9694678, mutex=0x964ee08, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9694678, mutex=0x964ee08, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0x033e3520 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9694660,
th=0xb214898) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x033e6ccc in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x9650568, th=0xb214898) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x033e2a4b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x9694660, th=0xb214898) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x033e6dc2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9650568,
th=0xb214898) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x033e3a23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9694660,
th=0xb214898, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x033e6de1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9650568,
th=0xb214898) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x033e3a23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9694660,
th=0xb214898, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x033e6de1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9650568,
th=0xb214898) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x033e3a23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9694660,
th=0xb214898, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x033e6de1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9650568,
th=0xb214898) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x033e3a23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9694660,
th=0xb214898, previous=0xb3ec830) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x033e4e4e in ThreadWeaver::ThreadRunHelper::run (this=0xaaef42f4,
parent=0x9694660, th=0xb214898) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x033e556b in ThreadWeaver::Thread::run (this=0xb214898) at
../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00860df9 in QThreadPrivate::start (arg=0xb214898) at
thread/qthread_unix.cpp:266
#19 0x005fccc9 in start_thread (arg=0xaaef4b70) at pthread_create.c:304
#20 0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa961fb70 (LWP 20218)):
#0  0x00df1416 in __kernel_vsyscall ()
#1  0x006014dc in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x02eb2d9d in __pthread_cond_wait (cond=0x2ccd290, mutex=0x2ccd278) at
forward.c:139
#3  0x02bc9877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x2cc81a0) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x02bc98c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x2cc81a0) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x005fccc9 in start_thread (arg=0xa961fb70) at pthread_create.c:304
#6  0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa72fcb70 (LWP 20351)):
#0  __i686.get_pc_thunk.bx () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_post.S:170
#1  0x006007a9 in __pthread_mutex_unlock_usercnt (mutex=0xacdf92c, decr=1) at
pthread_mutex_unlock.c:36
#2  0x02eb2fa6 in pthread_mutex_unlock (mutex=0xacdf92c) at forward.c:184
#3  0x0357a870 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0099159f in QEventDispatcherGlib::processEvents (this=0xa60d108,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00961609 in QEventLoop::processEvents (this=0xa72fc290, flags=) at
kernel/qeventloop.cpp:149
#6  0x00961a8a in QEventLoop::exec (this=0xa72fc290, flags=...) at
kernel/qeventloop.cpp:201
#7  0x0085db7e in QThread::exec (this=0xae881e0) at thread/qthread.cpp:490
#8  0x0094035b in QInotifyFileSystemWatcherEngine::run (this=0xae881e0) at
io/qfilesystemwatcher_inotify.cpp:248
#9  0x00860df9 in QThreadPrivate::start (arg=0xae881e0) at
thread/qthread_unix.cpp:266
#10 0x005fccc9 in start_thread (arg=0xa72fcb70) at pthread_create.c:304
#11 0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6afbb70 (LWP 29264)):
#0  0x00df1416 in __kernel_vsyscall ()
#1  0x02e96df6 in __poll (fds=0x2f2dff4, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0x03587a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0357a43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0357a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0099159f in QEventDispatcherGlib::processEvents (this=0x9abe9a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00961609 in QEventLoop::processEvents (this=0xa6afb290, flags=) at
kernel/qeventloop.cpp:149
#7  0x00961a8a in QEventLoop::exec (this=0xa6afb290, flags=...) at
kernel/qeventloop.cpp:201
#8  0x0085db7e in QThread::exec (this=0x9593e28) at thread/qthread.cpp:490
#9  0x0094035b in QInotifyFileSystemWatcherEngine::run (this=0x9593e28) at
io/qfilesystemwatcher_inotify.cpp:248
#10 0x00860df9 in QThreadPrivate::start (arg=0x9593e28) at
thread/qthread_unix.cpp:266
#11 0x005fccc9 in start_thread (arg=0xa6afbb70) at pthread_create.c:304
#12 0x02ea569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77b5710 (LWP 5000)):
[KCrash Handler]
#7  0x00000010 in ?? ()
#8  0x00765238 in KDevelop::AbstractFileManagerPlugin::removeFilesAndFolders
(this=0x9791af8, items=...) at ../../project/abstractfilemanagerplugin.cpp:496
#9  0x06137faf in ProjectManagerViewPlugin::removeFromContextMenu
(this=0x9961e78) at
../../../plugins/projectmanagerview/projectmanagerviewplugin.cpp:504
#10 0x06138f5b in ProjectManagerViewPlugin::qt_metacall (this=0x9961e78,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf95ed48) at
./projectmanagerviewplugin.moc:125
#11 0x009688ca in QMetaObject::metacall (object=0x9961e78, cl=3214273025,
idx=27, argv=0xbf95ed48) at kernel/qmetaobject.cpp:237
#12 0x0097b6ad in QMetaObject::activate (sender=0x9e6e900, m=0x1cf3370,
local_signal_index=1, argv=0xabd1100) at kernel/qobject.cpp:3280
#13 0x0136cf99 in QAction::triggered (this=0x9e6e900, _t1=false) at
.moc/release-shared/moc_qaction.cpp:263
#14 0x0136e8dc in QAction::activate (this=0x9e6e900, event=QAction::Trigger) at
kernel/qaction.cpp:1256
#15 0x0183a7ef in QMenuPrivate::activateCausedStack (this=0xa520d38,
causedStack=..., action=0x9e6e900, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:993
#16 0x01840a4b in QMenuPrivate::activateAction (this=0xa520d38,
action=0x9e6e900, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1085
#17 0x018415e0 in QMenu::mouseReleaseEvent (this=0xbf95fecc, e=0xbf95f620) at
widgets/qmenu.cpp:2301
#18 0x0114c105 in KMenu::mouseReleaseEvent (this=0xbf95fecc, e=0xbf95f620) at
../../kdeui/widgets/kmenu.cpp:458
#19 0x013d2e08 in QWidget::event (this=0xbf95fecc, event=0xbf95f620) at
kernel/qwidget.cpp:8187
#20 0x0184302f in QMenu::event (this=0xbf95fecc, e=0xbf95f620) at
widgets/qmenu.cpp:2410
#21 0x01374fdc in QApplicationPrivate::notify_helper (this=0x9367f78,
receiver=0xbf95fecc, e=0xbf95f620) at kernel/qapplication.cpp:4396
#22 0x0137bc2e in QApplication::notify (this=0xbf9613dc, receiver=0xbf95fecc,
e=0xbf95f620) at kernel/qapplication.cpp:3959
#23 0x0105af7a in KApplication::notify (this=0xbf9613dc, receiver=0xbf95fecc,
event=0xbf95f620) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x0804bafc in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic