Bug 294853 - Crash while closing several KDevelop sessions
Summary: Crash while closing several KDevelop sessions
Status: RESOLVED DUPLICATE of bug 292453
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.2.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 10:27 UTC by Tomasz Kaźmierczak
Modified: 2012-02-26 19:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Kaźmierczak 2012-02-26 10:27:56 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I had 3 sessions of KDevelop open. I've closed one, then another, and during closing the second one the crash report appeared.

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

Thread 13 (Thread 0x7f960f3a8700 (LWP 5001)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f962664811e in wait (time=1000, this=0x1a5c540) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1a5b490, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9622a0bc7b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1a5b470) at ../../language/duchain/duchain.cpp:286
#4  0x00007f9626647d05 in QThreadPrivate::start (arg=0x1a5b470) at thread/qthread_unix.cpp:331
#5  0x00007f962469cefc in start_thread (arg=0x7f960f3a8700) at pthread_create.c:304
#6  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f95fb383700 (LWP 5043)):
#0  0x00007f962469f034 in __pthread_mutex_lock (mutex=0x27070c8) at pthread_mutex_lock.c:61
#1  0x00007f96202a5414 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9626759f3e in QEventDispatcherGlib::processEvents (this=0x2707010, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f962672dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f962672def7 in QEventLoop::exec (this=0x7f95fb382dd0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f962664527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#6  0x00007f9626710cbf in QInotifyFileSystemWatcherEngine::run (this=0x2706540) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f9626647d05 in QThreadPrivate::start (arg=0x2706540) at thread/qthread_unix.cpp:331
#8  0x00007f962469cefc in start_thread (arg=0x7f95fb383700) at pthread_create.c:304
#9  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f95fab82700 (LWP 5083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f960ffa6fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f960ffa7019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f962469cefc in start_thread (arg=0x7f95fab82700) at pthread_create.c:304
#4  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f95f44ff700 (LWP 5166)):
#0  0x00007f9625311773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f96202a4f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96202a5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9626759f3e in QEventDispatcherGlib::processEvents (this=0x4678570, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f962672dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f962672def7 in QEventLoop::exec (this=0x7f95f44fedd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f962664527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f9626710cbf in QInotifyFileSystemWatcherEngine::run (this=0x46782f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9626647d05 in QThreadPrivate::start (arg=0x46782f0) at thread/qthread_unix.cpp:331
#9  0x00007f962469cefc in start_thread (arg=0x7f95f44ff700) at pthread_create.c:304
#10 0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f95f3b70700 (LWP 5214)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96266481ab in wait (time=18446744073709551615, this=0xb264c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xa60400, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961dddd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb238b0, th=0x4a1f050) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f961dddfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0xad5e50, th=0x4a1f050) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f961dddfe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0xad5e50, th=0x4a1f050) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f961dddeccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f95f3b6fe20, parent=0xb238b0, th=0x4a1f050) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f961ddded5b in ThreadWeaver::Thread::run (this=0x4a1f050) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9626647d05 in QThreadPrivate::start (arg=0x4a1f050) at thread/qthread_unix.cpp:331
#9  0x00007f962469cefc in start_thread (arg=0x7f95f3b70700) at pthread_create.c:304
#10 0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f95f336f700 (LWP 5215)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96266481ab in wait (time=18446744073709551615, this=0xb264c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xa60400, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961dddd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xb238b0, th=0x4a1b520) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f961dddfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0xad5e50, th=0x4a1b520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f961dddeccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f95f336ee20, parent=0xb238b0, th=0x4a1b520) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f961ddded5b in ThreadWeaver::Thread::run (this=0x4a1b520) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9626647d05 in QThreadPrivate::start (arg=0x4a1b520) at thread/qthread_unix.cpp:331
#8  0x00007f962469cefc in start_thread (arg=0x7f95f336f700) at pthread_create.c:304
#9  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f95f270e700 (LWP 5217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f961d3f9c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f961d3f9d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f962469cefc in start_thread (arg=0x7f95f270e700) at pthread_create.c:304
#4  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f95f1e0d700 (LWP 5218)):
#0  0x00007f96202a3610 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f96202a4d81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96202a5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9626759f3e in QEventDispatcherGlib::processEvents (this=0x3b9e320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f962672dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f962672def7 in QEventLoop::exec (this=0x7f95f1e0ce00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f962664527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f9626647d05 in QThreadPrivate::start (arg=0x3b943b0) at thread/qthread_unix.cpp:331
#8  0x00007f962469cefc in start_thread (arg=0x7f95f1e0d700) at pthread_create.c:304
#9  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9605751700 (LWP 5271)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96266481ab in wait (time=18446744073709551615, this=0x5e783a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5d56eb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961dddd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4aa5610, th=0x5cb08c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f961dddfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x5e57ab0, th=0x5cb08c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f961dddeccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9605750e20, parent=0x4aa5610, th=0x5cb08c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f961ddded5b in ThreadWeaver::Thread::run (this=0x5cb08c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9626647d05 in QThreadPrivate::start (arg=0x5cb08c0) at thread/qthread_unix.cpp:331
#8  0x00007f962469cefc in start_thread (arg=0x7f9605751700) at pthread_create.c:304
#9  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f95b09ea700 (LWP 5272)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96266481ab in wait (time=18446744073709551615, this=0x5e783a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5d56eb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961dddd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4aa5610, th=0x6121de0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f961dddfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x5e57ab0, th=0x6121de0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f961dddfe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x5e57ab0, th=0x6121de0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f961dddeccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f95b09e9e20, parent=0x4aa5610, th=0x6121de0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f961ddded5b in ThreadWeaver::Thread::run (this=0x6121de0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9626647d05 in QThreadPrivate::start (arg=0x6121de0) at thread/qthread_unix.cpp:331
#9  0x00007f962469cefc in start_thread (arg=0x7f95b09ea700) at pthread_create.c:304
#10 0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f95b01e9700 (LWP 5276)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96266481ab in wait (time=18446744073709551615, this=0x5e783a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5d56eb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961dddd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4aa5610, th=0x4db13e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f961dddfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x5e57ab0, th=0x4db13e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f961dddfe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x5e57ab0, th=0x4db13e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f961dddeccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f95b01e8e20, parent=0x4aa5610, th=0x4db13e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f961ddded5b in ThreadWeaver::Thread::run (this=0x4db13e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9626647d05 in QThreadPrivate::start (arg=0x4db13e0) at thread/qthread_unix.cpp:331
#9  0x00007f962469cefc in start_thread (arg=0x7f95b01e9700) at pthread_create.c:304
#10 0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f95af9e8700 (LWP 5277)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96266481ab in wait (time=18446744073709551615, this=0x5e783a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5d56eb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f961dddd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4aa5610, th=0x7f96082064f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f961dddfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x5e57ab0, th=0x7f96082064f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f961dddeccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f95af9e7e20, parent=0x4aa5610, th=0x7f96082064f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f961ddded5b in ThreadWeaver::Thread::run (this=0x7f96082064f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9626647d05 in QThreadPrivate::start (arg=0x7f96082064f0) at thread/qthread_unix.cpp:331
#8  0x00007f962469cefc in start_thread (arg=0x7f95af9e8700) at pthread_create.c:304
#9  0x00007f962531d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9628158780 (LWP 5000)):
[KCrash Handler]
#6  0x00007f96252723a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f9625275b0b in __GI_abort () at abort.c:92
#8  0x00007f96252aa113 in __libc_message (do_abort=2, fmt=0x7f962539b0d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f96252b4a96 in malloc_printerr (action=3, str=0x7f962539b108 "munmap_chunk(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f9622abab99 in KDevelop::ArrayType::~ArrayType (this=0x7f9608aabe80, __in_chrg=<optimized out>) at ../../language/duchain/types/arraytype.cpp:67
#11 0x00007f95f6645557 in ?? () from /usr/lib/libkdev4cppduchain.so
#12 0x00007f95f6645622 in Cpp::MissingDeclarationType::~MissingDeclarationType() () from /usr/lib/libkdev4cppduchain.so
#13 0x00007f95f6645845 in Cpp::MissingDeclarationProblem::~MissingDeclarationProblem() () from /usr/lib/libkdev4cppduchain.so
#14 0x00007f95f664666f in Cpp::MissingDeclarationAssistant::~MissingDeclarationAssistant() () from /usr/lib/libkdev4cppduchain.so
#15 0x00007f9626745a88 in QObject::event (this=0x406db90, e=<optimized out>) at kernel/qobject.cpp:1200
#16 0x00007f9625ade474 in notify_helper (e=0x3817270, receiver=0x406db90, this=0x670800) at kernel/qapplication.cpp:4486
#17 QApplicationPrivate::notify_helper (this=0x670800, receiver=0x406db90, e=0x3817270) at kernel/qapplication.cpp:4458
#18 0x00007f9625ae32e1 in QApplication::notify (this=0x7fff8db924e0, receiver=0x406db90, e=0x3817270) at kernel/qapplication.cpp:4365
#19 0x00007f9626f0d466 in KApplication::notify (this=0x7fff8db924e0, receiver=0x406db90, event=0x3817270) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x000000000040a896 in _start ()

Possible duplicates by query: bug 294766, bug 294466, bug 293501, bug 293191, bug 292453.

Reported using DrKonqi
Comment 1 Milian Wolff 2012-02-26 19:47:16 UTC
can you reproduce this issue?

*** This bug has been marked as a duplicate of bug 292453 ***