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

List:       kdevelop-bugs
Subject:    [Bug 235595] New: Crash when launching the debugger
From:       Dima Ryazanov <dima () gmail ! com>
Date:       2010-04-28 1:24:06
Message-ID: bug-235595-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Crash when launching the debugger
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: dima@gmail.com


Application: kdevelop (3.10.2 (using KDevPlatform 0.10.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I got a crash after (accidentally) clicking the "Debug" button.

I see that bug 201030 looks similar, and is resolved "invalid" with a comment
"your installation is somehow broken". I'm fairly certain that my KDevelop is
installed correctly; I've run into problems earlier and fixed them by following
the instructions at
http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling (except that I
installed KDevelop in /usr/local rather than $HOME/kdevelop4).


 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f542eb53750 (LWP 32745))]

Thread 8 (Thread 0x7f541b948910 (LWP 32746)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f542b45a692 in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x3286bd0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3286bd0,
time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f54280aaace in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x3286bb0) at
/home/dima/src/kdevplatform-0.10.2/language/duchain/duchain.cpp:286
#4  0x00007f542b459775 in QThreadPrivate::start (arg=0x3286bb0) at
thread/qthread_unix.cpp:248
#5  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f54115b2910 (LWP 304)):
#0  0x00007f54298923c3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5424d7437c in g_main_context_poll (context=0x7f5414054880,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x7f5414054880, block=<value optimized
out>, dispatch=<value optimized out>, self=<value optimized out>) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#3  0x00007f5424d746c0 in IA__g_main_context_iteration (context=0x7f5414054880,
may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007f542b577386 in QEventDispatcherGlib::processEvents
(this=0x7f541401d280, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f542b54c732 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f542b54cb0c in QEventLoop::exec (this=0x7f54115b2040, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007f542b456d59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f542b459775 in QThreadPrivate::start (arg=0x4d2c5b0) at
thread/qthread_unix.cpp:248
#9  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f540d945910 (LWP 305)):
#0  0x00007f54298923c3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5424d7437c in g_main_context_poll (context=0x4d2d410, block=<value
optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x4d2d410, block=<value optimized out>,
dispatch=<value optimized out>, self=<value optimized out>) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#3  0x00007f5424d746c0 in IA__g_main_context_iteration (context=0x4d2d410,
may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007f542b577386 in QEventDispatcherGlib::processEvents (this=0x3d3e780,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f542b54c732 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f542b54cb0c in QEventLoop::exec (this=0x7f540d945040, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007f542b456d59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f542b459775 in QThreadPrivate::start (arg=0x4d2b260) at
thread/qthread_unix.cpp:248
#9  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7f540d144910 (LWP 306)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f542b4590e5 in thread_sleep (ti=0x7f540d144000) at
thread/qthread_unix.cpp:398
#2  0x00007f542b459250 in QThread::msleep (msecs=<value optimized out>) at
thread/qthread_unix.cpp:424
#3  0x00007f540e25ffb1 in UIBlockTester::UIBlockTesterThread::run
(this=0x4d2f510) at
/home/dima/src/kdevelop-3.10.2/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f542b459775 in QThreadPrivate::start (arg=0x4d2f510) at
thread/qthread_unix.cpp:248
#5  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f540c273910 (LWP 321)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5428c67396 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f5428f45220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f5428c673d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f5428f532ec) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4  0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f540abe0910 (LWP 322)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f542b45a72b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2f27560, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2f27560,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f542cfba096 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x31b0f00,
th=0x6c77ab0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f542cfbc74b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x31b1870, th=0x6c77ab0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f542cfbabff in ThreadWeaver::ThreadRunHelper::run
(this=0x7f540abe0050, parent=0x31b0f00, th=0x6c77ab0) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f542cfbb058 in ThreadWeaver::Thread::run (this=0x6c77ab0) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f542b459775 in QThreadPrivate::start (arg=0x6c77ab0) at
thread/qthread_unix.cpp:248
#8  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f540a3df910 (LWP 323)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f542b45a72b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2f27560, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2f27560,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f542cfba096 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x31b0f00,
th=0x3e3cab0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f542cfbc74b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x31b1870, th=0x3e3cab0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f542cfbc764 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x31b1870, th=0x3e3cab0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f542cfbabff in ThreadWeaver::ThreadRunHelper::run
(this=0x7f540a3df050, parent=0x31b0f00, th=0x3e3cab0) at
../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f542cfbb058 in ThreadWeaver::Thread::run (this=0x3e3cab0) at
../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f542b459775 in QThreadPrivate::start (arg=0x3e3cab0) at
thread/qthread_unix.cpp:248
#9  0x00007f542b1caa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f542989e80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f542eb53750 (LWP 32745)):
[KCrash Handler]
#5  KDevelop::IPlugin::core (this=0x0) at
/home/dima/src/kdevplatform-0.10.2/interfaces/iplugin.cpp:171
#6  0x00007f542e2cbdd9 in KDevelop::IPlugin::extensionManager (this=0x0) at
/home/dima/src/kdevplatform-0.10.2/interfaces/iplugin.cpp:177
#7  0x00007f541a4948f4 in KDevelop::IPlugin::extension<IExecutePlugin>
(this=0x3ae3680, launchMode=<value optimized out>, cfg=0x4493c20) at
/usr/local/include/kdevplatform/interfaces/iplugin.h:174
#8  GdbLauncher::start (this=0x3ae3680, launchMode=<value optimized out>,
cfg=0x4493c20) at
/home/dima/src/kdevelop-3.10.2/debuggers/gdb/gdblaunchconfig.cpp:144
#9  0x00007f542e033713 in KDevelop::RunController::execute (this=0x31b2f40,
runMode=..., launch=<value optimized out>) at
/home/dima/src/kdevplatform-0.10.2/shell/runcontroller.cpp:390
#10 0x00007f542e03886a in KDevelop::RunController::executeDefaultLaunch
(this=0x31b2f40, runMode=...) at
/home/dima/src/kdevplatform-0.10.2/shell/runcontroller.cpp:752
#11 0x00007f542e033518 in KDevelop::RunController::slotDebug (this=0x31b2f40)
at /home/dima/src/kdevplatform-0.10.2/shell/runcontroller.cpp:486
#12 0x00007f542e038780 in KDevelop::RunController::qt_metacall (this=0x31b2f40,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffec410960)
    at /home/dima/src/kdevplatform-0.10.2/build/shell/runcontroller.moc:99
#13 0x00007f542b560c0f in QMetaObject::activate (sender=0x31bb050, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1a1701) at
kernel/qobject.cpp:3293
#14 0x00007f542a6e6022 in QAction::triggered (this=0x0, _t1=false) at
.moc/release-shared/moc_qaction.cpp:263
#15 0x00007f542a6e809b in QAction::activate (this=0x31bb050, event=<value
optimized out>) at kernel/qaction.cpp:1255
#16 0x00007f542aaa1ada in QAbstractButtonPrivate::click (this=0x323e3c0) at
widgets/qabstractbutton.cpp:528
#17 0x00007f542aaa1d8c in QAbstractButton::mouseReleaseEvent (this=0x323b720,
e=0x7fffec4112b0) at widgets/qabstractbutton.cpp:1121
#18 0x00007f542ab6dd4a in QToolButton::mouseReleaseEvent (this=0x0, e=0x0) at
widgets/qtoolbutton.cpp:721
#19 0x00007f542a742502 in QWidget::event (this=0x323b720, event=0x7fffec4112b0)
at kernel/qwidget.cpp:7998
#20 0x00007f542a6ec12c in QApplicationPrivate::notify_helper (this=0x25e3ec0,
receiver=0x323b720, e=0x7fffec4112b0) at kernel/qapplication.cpp:4300
#21 0x00007f542a6f2efb in QApplication::notify (this=0x7fffec4120d0,
receiver=0x323b720, e=0x7fffec4112b0) at kernel/qapplication.cpp:3865
#22 0x00007f542bd11076 in KApplication::notify (this=0x7fffec4120d0,
receiver=0x323b720, event=0x7fffec4112b0) at
../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f542b54de0c in QCoreApplication::notifyInternal
(this=0x7fffec4120d0, receiver=0x323b720, event=0x7fffec4112b0) at
kernel/qcoreapplication.cpp:704
#24 0x00007f542a6f20d6 in QCoreApplication::sendEvent (receiver=0x323b720,
event=0x7fffec4112b0, alienWidget=0x323b720, nativeWidget=0x3228f00,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QApplicationPrivate::sendMouseEvent (receiver=0x323b720,
event=0x7fffec4112b0, alienWidget=0x323b720, nativeWidget=0x3228f00,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at
kernel/qapplication.cpp:2965
#26 0x00007f542a771c65 in QETWidget::translateMouseEvent (this=0x3228f00,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#27 0x00007f542a77097a in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fffec411bd0) at kernel/qapplication_x11.cpp:3501
#28 0x00007f542a79c322 in x11EventSourceDispatch (s=0x2ddee90, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f5424d70bce in g_main_dispatch (context=0x2dde080) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x2dde080) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#31 0x00007f5424d74598 in g_main_context_iterate (context=0x2dde080,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#32 0x00007f5424d746c0 in IA__g_main_context_iteration (context=0x2dde080,
may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#33 0x00007f542b577333 in QEventDispatcherGlib::processEvents (this=0x25a25a0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f542a79bf0e in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f542b54c732 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f542b54cb0c in QEventLoop::exec (this=0x7fffec411f00, flags=) at
kernel/qeventloop.cpp:201
#37 0x00007f542b55084b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#38 0x00000000004089bf in main (argc=<value optimized out>, argv=<value
optimized out>) at /home/dima/src/kdevelop-3.10.2/app/main_internal.cpp:232
The current source language is "auto; currently c".

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

Possible duplicates by query: bug 209617.

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