Bug 292621 - KDevelop crashed after trying to debug withI old version of gdb
Summary: KDevelop crashed after trying to debug withI old version of gdb
Status: RESOLVED WORKSFORME
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: triaged
: 310560 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-27 18:28 UTC by Dave Clark
Modified: 2018-10-27 02:04 UTC (History)
1 user (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 Dave Clark 2012-01-27 18:28:05 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-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I'm working on an embedded project with a cross compiler, so I have a certain gdb to use:
GNU gdb (Sourcery G++ Lite 4.3-51) 6.8.50.20080821-cvs

When I tried to start debugging, kdevelop tells me the version is tool old (not >= 7.0) and that it can't open a tty or ptty. Then it crashes. This is easily reproducible for me.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f064f37e780 (LWP 29998))]

Thread 12 (Thread 0x7f0635331700 (LWP 30001)):
#0  0x00007f064c546773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f06474d9f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f06474da792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f063cc56516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f06474ff2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f064b8d1efc in start_thread (arg=0x7f0635331700) at pthread_create.c:304
#6  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f06255f7700 (LWP 30003)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f064d87d11e in wait (time=1000, this=0x3702560) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x36fad00, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0649c40c7b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x36face0) at ../../language/duchain/duchain.cpp:286
#4  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x36face0) at thread/qthread_unix.cpp:331
#5  0x00007f064b8d1efc in start_thread (arg=0x7f06255f7700) at pthread_create.c:304
#6  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f0623f01700 (LWP 30004)):
#0  0x00007f064c546773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f06474d9f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f06474da429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f064d98ef3e in QEventDispatcherGlib::processEvents (this=0x27e9530, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f064d962cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f064d962ef7 in QEventLoop::exec (this=0x7f0623f00dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f064d87a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f064d945cbf in QInotifyFileSystemWatcherEngine::run (this=0x3fa0ee0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x3fa0ee0) at thread/qthread_unix.cpp:331
#9  0x00007f064b8d1efc in start_thread (arg=0x7f0623f01700) at pthread_create.c:304
#10 0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f0617db9700 (LWP 30012)):
#0  unixCheckClockType () at tools/qelapsedtimer_unix.cpp:76
#1  0x00007f064d8cd059 in do_gettime (frac=0x7f0617db8b88, sec=0x7f0617db8b80) at tools/qelapsedtimer_unix.cpp:120
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f064d98f6ed in QTimerInfoList::updateCurrentTime (this=0x7f0628011850) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f064d98fa33 in QTimerInfoList::timerWait (this=0x7f0628011850, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007f064d98e44c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0617db8c6c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f064d98e4f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f06474d8ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f06474d9dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f06474da429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f064d98ef3e in QEventDispatcherGlib::processEvents (this=0x43470a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00007f064d962cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f064d962ef7 in QEventLoop::exec (this=0x7f0617db8e00, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f064d87a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#14 0x00007f064d87cd05 in QThreadPrivate::start (arg=0x4369fc0) at thread/qthread_unix.cpp:331
#15 0x00007f064b8d1efc in start_thread (arg=0x7f0617db9700) at pthread_create.c:304
#16 0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f06175b8700 (LWP 30013)):
#0  0x00007f064c546773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f06474d9f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f06474da429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f064d98ef3e in QEventDispatcherGlib::processEvents (this=0x4350320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f064d962cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f064d962ef7 in QEventLoop::exec (this=0x7f06175b7e00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f064d87a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x436a2a0) at thread/qthread_unix.cpp:331
#8  0x00007f064b8d1efc in start_thread (arg=0x7f06175b8700) at pthread_create.c:304
#9  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f06164b3700 (LWP 30018)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0626947fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f0626948019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f064b8d1efc in start_thread (arg=0x7f06164b3700) at pthread_create.c:304
#4  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f06156da700 (LWP 30019)):
#0  0x00007f064c546773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f06474d9f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f06474da429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f064d98ef3e in QEventDispatcherGlib::processEvents (this=0x5d953f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f064d962cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f064d962ef7 in QEventLoop::exec (this=0x7f06156d9dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f064d87a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f064d945cbf in QInotifyFileSystemWatcherEngine::run (this=0x5d91420) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x5d91420) at thread/qthread_unix.cpp:331
#9  0x00007f064b8d1efc in start_thread (arg=0x7f06156da700) at pthread_create.c:304
#10 0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0614c30700 (LWP 30027)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f064d87d1ab in wait (time=18446744073709551615, this=0x28496a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2606dd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0645013864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2845110, th=0x51ceff0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0645015e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x280e140, th=0x51ceff0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0645015e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x280e140, th=0x51ceff0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f0645014ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f0614c2fe20, parent=0x2845110, th=0x51ceff0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f0645014d5b in ThreadWeaver::Thread::run (this=0x51ceff0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x51ceff0) at thread/qthread_unix.cpp:331
#9  0x00007f064b8d1efc in start_thread (arg=0x7f0614c30700) at pthread_create.c:304
#10 0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f061442f700 (LWP 30028)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f064d87d1ab in wait (time=18446744073709551615, this=0x28496a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2606dd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0645013864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2845110, th=0x505b580) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0645015e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x280e140, th=0x505b580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0645014ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f061442ee20, parent=0x2845110, th=0x505b580) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f0645014d5b in ThreadWeaver::Thread::run (this=0x505b580) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x505b580) at thread/qthread_unix.cpp:331
#8  0x00007f064b8d1efc in start_thread (arg=0x7f061442f700) at pthread_create.c:304
#9  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f060e264700 (LWP 30032)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f064462fc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f064462fd59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f064b8d1efc in start_thread (arg=0x7f060e264700) at pthread_create.c:304
#4  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f060d95b700 (LWP 30033)):
#0  0x00007f064c546773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f06474d9f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f06474da429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f064d98ef3e in QEventDispatcherGlib::processEvents (this=0x47b5d50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f064d962cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f064d962ef7 in QEventLoop::exec (this=0x7f060d95ae00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f064d87a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f064d87cd05 in QThreadPrivate::start (arg=0x68ecc40) at thread/qthread_unix.cpp:331
#8  0x00007f064b8d1efc in start_thread (arg=0x7f060d95b700) at pthread_create.c:304
#9  0x00007f064c55289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f064f37e780 (LWP 29998)):
[KCrash Handler]
#6  0x00007f06204f7328 in ?? () from /usr/lib/kde4/kdevgdb.so
#7  0x00007f06204fe78d in ?? () from /usr/lib/kde4/kdevgdb.so
#8  0x00007f064e84bde5 in KDevelop::RunController::registerJob (this=0x2848ec0, job=0x796e770) at ../../shell/runcontroller.cpp:558
#9  0x00007f064e8484c0 in KDevelop::RunController::execute (this=0x2848ec0, runMode=<optimized out>, launch=<optimized out>) at ../../shell/runcontroller.cpp:389
#10 0x00007f064e849efa in KDevelop::RunController::executeDefaultLaunch (this=0x2848ec0, runMode=...) at ../../shell/runcontroller.cpp:781
#11 0x00007f064e849ac4 in KDevelop::RunController::slotDebug (this=0x2848ec0) at ../../shell/runcontroller.cpp:499
#12 0x00007f064e84dbd0 in KDevelop::RunController::qt_metacall (this=0x2848ec0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff8dc97780) at ./runcontroller.moc:99
#13 0x00007f064d976eba in QMetaObject::activate (sender=0x28256b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8dc97780) at kernel/qobject.cpp:3278
#14 0x00007f064cd0cbb2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x00007f064cd0cd9f in QAction::activate (this=0x28256b0, event=<optimized out>) at kernel/qaction.cpp:1257
#16 0x00007f064d0cb4fa in QAbstractButtonPrivate::click (this=0x36e9170) at widgets/qabstractbutton.cpp:528
#17 0x00007f064d0cb7ac in QAbstractButton::mouseReleaseEvent (this=0x36d1660, e=0x7fff8dc97ee0) at widgets/qabstractbutton.cpp:1121
#18 0x00007f064d18839a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:721
#19 0x00007f064cd63cea in QWidget::event (this=0x36d1660, event=0x7fff8dc97ee0) at kernel/qwidget.cpp:8295
#20 0x00007f064cd13474 in notify_helper (e=0x7fff8dc97ee0, receiver=0x36d1660, this=0x22d6d50) at kernel/qapplication.cpp:4486
#21 QApplicationPrivate::notify_helper (this=0x22d6d50, receiver=0x36d1660, e=0x7fff8dc97ee0) at kernel/qapplication.cpp:4458
#22 0x00007f064cd18cbb in QApplication::notify (this=<optimized out>, receiver=0x36d1660, e=0x7fff8dc97ee0) at kernel/qapplication.cpp:4047
#23 0x00007f064e142466 in KApplication::notify (this=0x7fff8dc98cf0, receiver=0x36d1660, event=0x7fff8dc97ee0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x000000000040a896 in _start ()

Reported using DrKonqi
Comment 1 Kevin Funk 2012-12-01 20:39:35 UTC
Please install debugsymbols for KDevelop.
Comment 2 Kevin Funk 2012-12-01 21:17:47 UTC
*** Bug 310560 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Crouthamel 2018-09-24 02:07:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:04:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!