Bug 253463 - KDevelop Crash
Summary: KDevelop Crash
Status: RESOLVED UPSTREAM
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 308069 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-07 02:25 UTC by Steven Sroka
Modified: 2012-12-01 20:08 UTC (History)
2 users (show)

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 Steven Sroka 2010-10-07 02:25:01 UTC
Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1))
KDE Platform Version: 4.5.2 (KDE 4.5.2) "release 5" (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.3-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

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

Closing Kdevelop4. KDE crash reporter loaded up saying there was a crash!?

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb6e8263760 (LWP 6765))]

Thread 7 (Thread 0x7fb6d25d0710 (LWP 6766)):
#0  0x00007fb6e5505709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb6e6a69222 in wait (this=<value optimized out>, mutex=0x1170280, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1170280, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb6e261a77e in ?? () from /usr/lib64/libkdevplatformlanguage.so.1
#4  0x00007fb6e6a68bf5 in QThreadPrivate::start (arg=0x1170260) at thread/qthread_unix.cpp:248
#5  0x00007fb6e5500a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb6e57e782d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb6cc624710 (LWP 6768)):
#0  0x00007fb6e550539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb6e6a692bb in wait (this=<value optimized out>, mutex=0x1a43270, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1a43270, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb6dccec3f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a80950, th=0x1178020) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb6dcceee35 in waitForAvailableJob (this=0x11782a0, th=0x1178020) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x11782a0, th=0x1178020) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fb6dccec7ef in ThreadWeaver::ThreadRunHelper::run (this=0x7fb6cc623e30, parent=0x1a80950, th=0x1178020) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb6dccec878 in ThreadWeaver::Thread::run (this=0x1178020) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb6e6a68bf5 in QThreadPrivate::start (arg=0x1178020) at thread/qthread_unix.cpp:248
#9  0x00007fb6e5500a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb6e57e782d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb6c118e710 (LWP 6862)):
#0  0x00007fb6e550539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb6ddfdde30 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb6de2c3220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007fb6ddfdde69 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb6de2d12ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007fb6e5500a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb6e57e782d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb6b8cf7710 (LWP 6890)):
#0  0x00007fb6e550539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb6e6a692bb in wait (this=<value optimized out>, mutex=0x107ea70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x107ea70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb6dccec3f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x102c8c0, th=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb6dcceee35 in waitForAvailableJob (this=0x10e9240, th=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x10e9240, th=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fb6dcceee4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x10e9240, th=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb6dcceee4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x10e9240, th=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb6dccec7ef in ThreadWeaver::ThreadRunHelper::run (this=0x7fb6b8cf6e30, parent=0x102c8c0, th=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#9  0x00007fb6dccec878 in ThreadWeaver::Thread::run (this=0x3b0cec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#10 0x00007fb6e6a68bf5 in QThreadPrivate::start (arg=0x3b0cec0) at thread/qthread_unix.cpp:248
#11 0x00007fb6e5500a4f in start_thread () from /lib64/libpthread.so.0
#12 0x00007fb6e57e782d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb6b84f6710 (LWP 6891)):
#0  0x00007fb6e550539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb6e6a692bb in wait (this=<value optimized out>, mutex=0x107ea70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x107ea70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb6dccec3f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x102c8c0, th=0x3ca3ec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb6dcceee35 in waitForAvailableJob (this=0x10e9240, th=0x3ca3ec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x10e9240, th=0x3ca3ec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fb6dccec7ef in ThreadWeaver::ThreadRunHelper::run (this=0x7fb6b84f5e30, parent=0x102c8c0, th=0x3ca3ec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb6dccec878 in ThreadWeaver::Thread::run (this=0x3ca3ec0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb6e6a68bf5 in QThreadPrivate::start (arg=0x3ca3ec0) at thread/qthread_unix.cpp:248
#9  0x00007fb6e5500a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb6e57e782d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb6cbe23710 (LWP 7252)):
#0  0x00007fb6e550539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb6c8eda2a0 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fb6c8eda2d9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fb6e5500a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb6e57e782d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb6e8263760 (LWP 6765)):
[KCrash Handler]
#6  rect (this=0x6d6c0b0, e=0x7fff530322d0) at ../../src/gui/kernel/qwidget.h:1002
#7  QTextEdit::mouseMoveEvent (this=0x6d6c0b0, e=0x7fff530322d0) at widgets/qtextedit.cpp:1566
#8  0x00007fb6e5f91df0 in QWidget::event (this=0x6d6c0b0, event=0x7fff530322d0) at kernel/qwidget.cpp:8029
#9  0x00007fb6e63247d6 in QFrame::event (this=0x6d6c0b0, e=0x7fff530322d0) at widgets/qframe.cpp:557
#10 0x00007fb6e6b4ffd7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x706da20, event=0x7fff530322d0) at kernel/qcoreapplication.cpp:841
#11 0x00007fb6e5f414a1 in QApplicationPrivate::notify_helper (this=0xe82b40, receiver=0x706da20, e=0x7fff530322d0) at kernel/qapplication.cpp:4298
#12 0x00007fb6e5f4a34a in QApplication::notify (this=<value optimized out>, receiver=0x706da20, e=0x7fff530322d0) at kernel/qapplication.cpp:3867
#13 0x00007fb6e6fe5796 in KApplication::notify (this=0x7fff530331a0, receiver=0x706da20, event=0x7fff530322d0) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#14 0x00007fb6e6b4fe4c in QCoreApplication::notifyInternal (this=0x7fff530331a0, receiver=0x706da20, event=0x7fff530322d0) at kernel/qcoreapplication.cpp:726
#15 0x00007fb6e5f431e5 in sendEvent (receiver=0x706da20, event=0x7fff530322d0, alienWidget=0x706da20, nativeWidget=0x3b31440, buttonDown=0x7fb6e69edb28, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#16 QApplicationPrivate::sendMouseEvent (receiver=0x706da20, event=0x7fff530322d0, alienWidget=0x706da20, nativeWidget=0x3b31440, buttonDown=0x7fb6e69edb28, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#17 0x00007fb6e5fbd6c8 in QETWidget::translateMouseEvent (this=0x3b31440, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#18 0x00007fb6e5fbbe19 in QApplication::x11ProcessEvent (this=0x7fff530331a0, event=0x7fff53032c30) at kernel/qapplication_x11.cpp:3513
#19 0x00007fb6e5fe2492 in x11EventSourceDispatch (s=0xe868a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007fb6dfd71a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fb6dfd72270 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fb6dfd72510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fb6e6b7867f in QEventDispatcherGlib::processEvents (this=0x619440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00007fb6e5fe214e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fb6e6b4f292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007fb6e6b4f495 in QEventLoop::exec (this=0x7fff53032f50, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007fb6e6b5388b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#28 0x00000000004088d8 in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-28 14:11:57 UTC
looks like a Qt bug to me. Maybe you could run kdevelop through valgrind if you can reproduce the crash. Or give us a way to reproduce it.

Otherwise nothing we can do about it.
Comment 2 Steven Sroka 2010-10-28 16:51:09 UTC
It might be a KDevelop bug. I'm hoping that if it is, that it was fixed in KDevelop 4.1. There was a bug fixed regarding an innocent crash in KDevelop:

"Fixed a common crash on shutdown (which never resulted in data losses but was very annoying)" - http://dot.kde.org/2010/10/26/kdevelop-41-brings-git-integration

If it's a Qt bug, then I have to wait until Qt 4.7 becomes stable on my OS.
Comment 3 Milian Wolff 2010-10-28 17:12:04 UTC
it's definitely not the bug I mentioned in the release announcement. so if you ever come around to get a valgrind report then send it to us.

thanks
Comment 4 Kevin Funk 2012-12-01 20:08:11 UTC
*** Bug 308069 has been marked as a duplicate of this bug. ***
Comment 5 Kevin Funk 2012-12-01 20:08:52 UTC
Upstream bug, likely.