Bug 253518

Summary: Kdevelop crash while navigating source filed
Product: [Applications] kdevelop Reporter: ardhael <ardhael>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: 4.1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ardhael 2010-10-07 16:47:56 UTC
Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Kdevelop crash when popup of var information is open on lines use

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f9a0f996710 (LWP 26495)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f9a2115bf42 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x29f8730, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x29f8730, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9a1cbda06e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x29f8710) at ../../language/duchain/duchain.cpp:286
#4  0x00007f9a2115af95 in QThreadPrivate::start (arg=0x29f8710) at thread/qthread_unix.cpp:248
#5  0x00007f9a1fb989ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f9a1fe956fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9a0af31710 (LWP 26496)):
#0  0x00007f9a1fe88f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9a1a5754a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f9a1a5758fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f9a21274406 in QEventDispatcherGlib::processEvents (this=0x33a6870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f9a212496c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f9a21249a9c in QEventLoop::exec (this=0x7f9a0af30df0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f9a211588db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f9a2115af95 in QThreadPrivate::start (arg=0x338a990) at thread/qthread_unix.cpp:248
#8  0x00007f9a1fb989ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9a1fe956fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9a01bae710 (LWP 26510)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9a2115bfdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2927540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2927540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9a18010026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2925f00, th=0x4668220) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9a180126ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2929b90, th=0x4668220) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9a18010bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9a01bade00, parent=0x2925f00, th=0x4668220) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9a18011168 in ThreadWeaver::Thread::run (this=0x4668220) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9a2115af95 in QThreadPrivate::start (arg=0x4668220) at thread/qthread_unix.cpp:248
#8  0x00007f9a1fb989ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f9a1fe956fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9a023af710 (LWP 26511)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9a2115bfdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2927540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2927540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9a18010026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2925f00, th=0x5385960) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9a180126ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2929b90, th=0x5385960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9a180126c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2929b90, th=0x5385960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9a180126c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2929b90, th=0x5385960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f9a180126c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2929b90, th=0x5385960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f9a18010bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f9a023aee00, parent=0x2925f00, th=0x5385960) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f9a18011168 in ThreadWeaver::Thread::run (this=0x5385960) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f9a2115af95 in QThreadPrivate::start (arg=0x5385960) at thread/qthread_unix.cpp:248
#11 0x00007f9a1fb989ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f9a1fe956fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9a229b1760 (LWP 26494)):
[KCrash Handler]
#5  0x00007f9a208665ed in adjustRightBearing (this=0xa, maxGlyphs=<value optimized out>) at text/qtextlayout.cpp:1692
#6  QTextLine::layout_helper (this=0xa, maxGlyphs=<value optimized out>) at text/qtextlayout.cpp:1930
#7  0x00007f9a2075f086 in qt_format_text (fnt=<value optimized out>, _r=<value optimized out>, tf=<value optimized out>, option=<value optimized out>, str=<value optimized out>, 
    brect=<value optimized out>, tabstops=56, tabarraylen=0, painter=0x7fffda956740) at painting/qpainter.cpp:7746
#8  0x00007f9a2076018e in QPainter::drawText (this=0x7fffda956740, r=..., flags=<value optimized out>, str=<value optimized out>, br=0x0) at painting/qpainter.cpp:5807
#9  0x00007f9a208f92d4 in QStyle::drawItemText (this=<value optimized out>, painter=0x7fffda956740, rect=..., alignment=1041, pal=<value optimized out>, enabled=true, text=..., 
    textRole=QPalette::ToolTipText) at styles/qstyle.cpp:540
#10 0x00007f9a20a086d1 in QLabel::paintEvent (this=<value optimized out>) at widgets/qlabel.cpp:1036
#11 0x00007f9a20645a1d in QTipLabel::paintEvent (this=0x56e97b0, ev=0x7fffda957050) at kernel/qtooltip.cpp:229
#12 0x00007f9a2065aaf2 in QWidget::event (this=0x56e97b0, event=0x7fffda957050) at kernel/qwidget.cpp:8190
#13 0x00007f9a20a03646 in QFrame::event (this=0x56e97b0, e=0x7fffda957050) at widgets/qframe.cpp:557
#14 0x00007f9a20604c0c in QApplicationPrivate::notify_helper (this=0x1dbb690, receiver=0x56e97b0, e=0x7fffda957050) at kernel/qapplication.cpp:4302
#15 0x00007f9a2060b0eb in QApplication::notify (this=0x7fffda958340, receiver=0x56e97b0, e=0x7fffda957050) at kernel/qapplication.cpp:4185
#16 0x00007f9a21793a16 in KApplication::notify (this=0x7fffda958340, receiver=0x56e97b0, event=0x7fffda957050) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007f9a2124ad9c in QCoreApplication::notifyInternal (this=0x7fffda958340, receiver=0x56e97b0, event=0x7fffda957050) at kernel/qcoreapplication.cpp:726
#18 0x00007f9a206630ed in QCoreApplication::sendSpontaneousEvent (this=0x5cb5330, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x5c86ee0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x5cb5330, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x5c86ee0)
    at kernel/qwidget.cpp:5363
#20 0x00007f9a2081dc75 in QWidgetBackingStore::sync (this=0x5c86ee0) at painting/qbackingstore.cpp:1300
#21 0x00007f9a2081dfc9 in QWidgetBackingStore::sync (this=0x5c86ee0, exposedWidget=0x56e97b0, exposedRegion=...) at painting/qbackingstore.cpp:1105
#22 0x00007f9a2067e24a in QETWidget::translatePaintEvent (this=0x56e97b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:5094
#23 0x00007f9a206898cb in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffda957e40) at kernel/qapplication_x11.cpp:3413
#24 0x00007f9a206b55a2 in x11EventSourceDispatch (s=0x1d8e610, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f9a1a5718c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f9a1a575748 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f9a1a5758fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f9a212743b3 in QEventDispatcherGlib::processEvents (this=0x1d6af50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f9a206b518e in QGuiEventDispatcherGlib::processEvents (this=0x27e0b80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f9a212496c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f9a21249a9c in QEventLoop::exec (this=0x7fffda958170, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f9a2124e73b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#33 0x00000000004088cf in _start ()

This bug may be a duplicate of or related to bug 246803.

Possible duplicates by query: bug 246803.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-08 19:16:53 UTC

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