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

List:       kdevelop-bugs
Subject:    [Bug 235502] New: Crash when using the GDB command-line
From:       Dima Ryazanov <dima () gmail ! com>
Date:       2010-04-26 22:57:09
Message-ID: bug-235502-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Crash when using the GDB command-line
           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'm not 100% sure, but I think I was about to type a GDB command when KDevelop
crashed. I was already experiencing weird behavior with the GDB command line:
bug 235501.


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

Thread 9 (Thread 0x7f9f65cce910 (LWP 28057)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f9f7554f692 in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1b58910, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b58910,
time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9f7219face in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x1b588f0) at
/home/dima/src/kdevplatform-0.10.2/language/duchain/duchain.cpp:286
#4  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x1b588f0) at
thread/qthread_unix.cpp:248
#5  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9f5b978910 (LWP 28061)):
#0  0x00007f9f7398c412 in select () from /lib/libc.so.6
#1  0x00007f9f7561fdb3 in QProcessManager::run (this=0x7f9f75956f20) at
io/qprocess_unix.cpp:245
#2  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x7f9f75956f20) at
thread/qthread_unix.cpp:248
#3  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4  0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 7 (Thread 0x7f9f5883e910 (LWP 28094)):
#0  0x00007f9f739873c3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9f6ee6937c in g_main_context_poll (context=0x266cbb0, 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=0x266cbb0, 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  0x00007f9f6ee696c0 in IA__g_main_context_iteration (context=0x266cbb0,
may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007f9f7566c386 in QEventDispatcherGlib::processEvents (this=0x1736610,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f9f75641732 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f9f75641b0c in QEventLoop::exec (this=0x7f9f5883e040, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007f9f7554bd59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x246c510) at
thread/qthread_unix.cpp:248
#9  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 6 (Thread 0x7f9f5803d910 (LWP 28095)):
#0  0x00007f9f739873c3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9f6ee6937c in g_main_context_poll (context=0x2673110, 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=0x2673110, 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  0x00007f9f6ee696c0 in IA__g_main_context_iteration (context=0x2673110,
may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007f9f7566c386 in QEventDispatcherGlib::processEvents (this=0x2493a60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f9f75641732 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f9f75641b0c in QEventLoop::exec (this=0x7f9f5803d040, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007f9f7554bd59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x26767e0) at
thread/qthread_unix.cpp:248
#9  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9f5783c910 (LWP 28096)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f9f7554e0e5 in thread_sleep (ti=0x7f9f5783c000) at
thread/qthread_unix.cpp:398
#2  0x00007f9f7554e250 in QThread::msleep (msecs=<value optimized out>) at
thread/qthread_unix.cpp:424
#3  0x00007f9f59009fb1 in UIBlockTester::UIBlockTesterThread::run
(this=0x7f9f600020f0) at
/home/dima/src/kdevelop-3.10.2/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x7f9f600020f0) at
thread/qthread_unix.cpp:248
#5  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9f56bf8910 (LWP 28099)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9f72d5c396 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f9f7303a220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f9f72d5c3d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f9f730482ec) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4  0x00007f9f7399380d 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 0x7f9f555f0910 (LWP 28104)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9f7554f72b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1a910a0, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1a910a0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9f770af096 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a90e80,
th=0x2d96970) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9f770b174b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1a91180, th=0x2d96970) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9f770afbff in ThreadWeaver::ThreadRunHelper::run
(this=0x7f9f555f0050, parent=0x1a90e80, th=0x2d96970) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f9f770b0058 in ThreadWeaver::Thread::run (this=0x2d96970) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x2d96970) at
thread/qthread_unix.cpp:248
#8  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9f54def910 (LWP 28105)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9f7554f72b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x1a910a0, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1a910a0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9f770af096 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a90e80,
th=0x2d8a600) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9f770b174b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1a91180, th=0x2d8a600) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9f770b1764 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1a91180, th=0x2d8a600) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9f770afbff in ThreadWeaver::ThreadRunHelper::run
(this=0x7f9f54def050, parent=0x1a90e80, th=0x2d8a600) at
../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9f770b0058 in ThreadWeaver::Thread::run (this=0x2d8a600) at
../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9f7554e775 in QThreadPrivate::start (arg=0x2d8a600) at
thread/qthread_unix.cpp:248
#9  0x00007f9f752bfa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007f9f7399380d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9f78c48750 (LWP 28056)):
[KCrash Handler]
#5  GDBDebugger::GDB::interrupt (this=0x0) at
/home/dima/src/kdevelop-3.10.2/debuggers/gdb/gdb.cpp:145
#6  0x00007f9f648139a0 in GDBDebugger::DebugSession::interruptDebugger
(this=0x4552ce0) at
/home/dima/src/kdevelop-3.10.2/debuggers/gdb/debugsession.cpp:383
#7  0x00007f9f648195e7 in GDBDebugger::DebugSession::qt_metacall
(this=0x4552ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff360fa9e0)
    at /home/dima/src/kdevelop-3.10.2/build/debuggers/gdb/debugsession.moc:190
#8  0x00007f9f75655c0f in QMetaObject::activate (sender=0x2d9d710, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3293
#9  0x00007f9f64801b2c in GDBDebugger::GDBOutputWidget::qt_metacall
(this=0x2d9d710, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff360fab70)
    at
/home/dima/src/kdevelop-3.10.2/build/debuggers/gdb/gdboutputwidget.moc:98
#10 0x00007f9f75655c0f in QMetaObject::activate (sender=0x2da4480, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3293
#11 0x00007f9f74e7b3b2 in QAbstractButton::clicked (this=0x0, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:206
#12 0x00007f9f74b95c5b in QAbstractButtonPrivate::emitClicked (this=0x2da58f0)
at widgets/qabstractbutton.cpp:546
#13 0x00007f9f74b96b1b in QAbstractButtonPrivate::click (this=0x2da58f0) at
widgets/qabstractbutton.cpp:539
#14 0x00007f9f748372c7 in QWidget::event (this=0x2da4480, event=0x7fff360fb3b0)
at kernel/qwidget.cpp:8070
#15 0x00007f9f747e112c in QApplicationPrivate::notify_helper (this=0x16bd2b0,
receiver=0x2da4480, e=0x7fff360fb3b0) at kernel/qapplication.cpp:4300
#16 0x00007f9f747e8ee1 in QApplication::notify (this=<value optimized out>,
receiver=0x2da4480, e=0x7fff360fb3b0) at kernel/qapplication.cpp:3763
#17 0x00007f9f75e06076 in KApplication::notify (this=0x7fff360fc480,
receiver=0x2da4480, event=0x7fff360fb3b0) at
../../kdeui/kernel/kapplication.cpp:302
#18 0x00007f9f75642e0c in QCoreApplication::notifyInternal
(this=0x7fff360fc480, receiver=0x2da4480, event=0x7fff360fb3b0) at
kernel/qcoreapplication.cpp:704
#19 0x00007f9f7488bc1a in QKeyMapper::sendKeyEvent (keyWidget=0x2da4480,
grab=<value optimized out>, type=QEvent::KeyRelease, code=32, modifiers=<value
optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=0) at
kernel/qkeymapper_x11.cpp:1861
#20 0x00007f9f7488e190 in QKeyMapperPrivate::translateKeyEvent (this=0x16fbeb0,
keyWidget=0x2da4480, event=<value optimized out>, grab=23) at
kernel/qkeymapper_x11.cpp:1831
#21 0x00007f9f74865734 in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fff360fbf80) at kernel/qapplication_x11.cpp:3394
#22 0x00007f9f74891322 in x11EventSourceDispatch (s=0x16c0f70, callback=<value
optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#23 0x00007f9f6ee65bce in g_main_dispatch (context=0x16bfc80) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x16bfc80) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#25 0x00007f9f6ee69598 in g_main_context_iterate (context=0x16bfc80,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#26 0x00007f9f6ee696c0 in IA__g_main_context_iteration (context=0x16bfc80,
may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#27 0x00007f9f7566c333 in QEventDispatcherGlib::processEvents (this=0xe6b5a0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007f9f74890f0e in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f9f75641732 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f9f75641b0c in QEventLoop::exec (this=0x7fff360fc2b0, flags=) at
kernel/qeventloop.cpp:201
#31 0x00007f9f7564584b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#32 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 235501.

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