Bug 321266 - Crash when configuring selected project
Summary: Crash when configuring selected project
Status: RESOLVED DUPLICATE of bug 266283
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 321267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-17 12:40 UTC by Magnus Reftel
Modified: 2013-12-01 18:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Reftel 2013-06-17 12:40:44 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.0-23-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Opened KDevelop for the first time. Added a manual debug target, and ran it. Opened the Makefile as a project, and built it. Exited KDevelop and started it again. Selected the menu item for configuring the selection. KDevelop crashed. The KDevelop build is the one that comes with Ubuntu 13.04.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f453b5a17c0 (LWP 31187))]

Thread 12 (Thread 0x7f451de6a700 (LWP 31190)):
#0  0x00007f4537d6eb0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45321df6cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45321a0d3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45321a1175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f45321a16ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4523c134f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f45321c4eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f45370e5f8e in start_thread (arg=0x7f451de6a700) at pthread_create.c:311
#8  0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 11 (Thread 0x7f450eda2700 (LWP 31192)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f45390770a7 in wait (time=1000, this=0x38ccda0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x3920988, mutex=mutex@entry=0x3920990, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f45351d327b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3920970) at ../../language/duchain/duchain.cpp:282
#4  0x00007f4539076bec in QThreadPrivate::start (arg=0x3920970) at thread/qthread_unix.cpp:338
#5  0x00007f45370e5f8e in start_thread (arg=0x7f450eda2700) at pthread_create.c:311
#6  0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7f44fa25b700 (LWP 31195)):
#0  0x00007f4537d703cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45321a11dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45321a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45391a2036 in QEventDispatcherGlib::processEvents (this=0x7f44f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f453917238f in QEventLoop::processEvents (this=this@entry=0x7f44fa25ad90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4539172618 in QEventLoop::exec (this=this@entry=0x7f44fa25ad90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4539074410 in QThread::exec (this=this@entry=0x4461000) at thread/qthread.cpp:542
#7  0x00007f4539153edf in QInotifyFileSystemWatcherEngine::run (this=0x4461000) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f4539076bec in QThreadPrivate::start (arg=0x4461000) at thread/qthread_unix.cpp:338
#9  0x00007f45370e5f8e in start_thread (arg=0x7f44fa25b700) at pthread_create.c:311
#10 0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f44f9a5a700 (LWP 31196)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4534554e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f4534554ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f45370e5f8e in start_thread (arg=0x7f44f9a5a700) at pthread_create.c:311
#4  0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f44f33e3700 (LWP 31217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f452f21f585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f452f21f5d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f45370e5f8e in start_thread (arg=0x7f44f33e3700) at pthread_create.c:311
#4  0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f44f3be4700 (LWP 31222)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f452ef65a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f452f24dcee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f45370e5f8e in start_thread (arg=0x7f44f3be4700) at pthread_create.c:311
#4  0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f44f13dd700 (LWP 31223)):
#0  0x00007f4537d6eb0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f45321df6cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45321a0d3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45321a1175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f45321a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f45391a2036 in QEventDispatcherGlib::processEvents (this=0x7f44940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f453917238f in QEventLoop::processEvents (this=this@entry=0x7f44f13dcdc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4539172618 in QEventLoop::exec (this=this@entry=0x7f44f13dcdc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4539074410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f4539076bec in QThreadPrivate::start (arg=0x4f70f50) at thread/qthread_unix.cpp:338
#10 0x00007f45370e5f8e in start_thread (arg=0x7f44f13dd700) at pthread_create.c:311
#11 0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f449ae0c700 (LWP 31235)):
#0  0x00007f45321e035c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f45321e05b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f45321a0de6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f45321a1248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f45321a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f45391a2036 in QEventDispatcherGlib::processEvents (this=0x7f448c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f453917238f in QEventLoop::processEvents (this=this@entry=0x7f449ae0bdc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4539172618 in QEventLoop::exec (this=this@entry=0x7f449ae0bdc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4539074410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f4539076bec in QThreadPrivate::start (arg=0x52f83e0) at thread/qthread_unix.cpp:338
#10 0x00007f45370e5f8e in start_thread (arg=0x7f449ae0c700) at pthread_create.c:311
#11 0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f449a60b700 (LWP 31238)):
#0  0x00007fff809feaf7 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4499df5700 (LWP 31244)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f453907714b in wait (time=18446744073709551615, this=0x2a02210) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2a007c8, mutex=0x26ef4b0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f452fcd5041 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2a007a0, th=0x534b780) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f452fcd794b in ThreadWeaver::WorkingHardState::applyForWork (this=0x26f0680, th=0x534b780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f452fcd7964 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26f0680, th=0x534b780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f452fcd663f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f4499df4dc0, parent=0x2a007a0, th=th@entry=0x534b780) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f452fcd66cb in ThreadWeaver::Thread::run (this=0x534b780) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f4539076bec in QThreadPrivate::start (arg=0x534b780) at thread/qthread_unix.cpp:338
#9  0x00007f45370e5f8e in start_thread (arg=0x7f4499df5700) at pthread_create.c:311
#10 0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f44995f4700 (LWP 31245)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f453907714b in wait (time=18446744073709551615, this=0x2a02210) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2a007c8, mutex=0x26ef4b0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f452fcd5041 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2a007a0, th=0x7f4484002250) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f452fcd794b in ThreadWeaver::WorkingHardState::applyForWork (this=0x26f0680, th=0x7f4484002250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f452fcd663f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f44995f3dc0, parent=0x2a007a0, th=th@entry=0x7f4484002250) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f452fcd66cb in ThreadWeaver::Thread::run (this=0x7f4484002250) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4539076bec in QThreadPrivate::start (arg=0x7f4484002250) at thread/qthread_unix.cpp:338
#8  0x00007f45370e5f8e in start_thread (arg=0x7f44995f4700) at pthread_create.c:311
#9  0x00007f4537d7ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f453b5a17c0 (LWP 31187)):
[KCrash Handler]
#6  0x000000000061dd20 in QString::shared_null ()
#7  0x00007f45357bc712 in KDevelop::BuilderJobPrivate::addJob (this=0x50cd0d0, t=t@entry=KDevelop::BuilderJob::Configure, item=0x505b700) at ../../project/builderjob.cpp:82
#8  0x00007f45357bcbe9 in KDevelop::BuilderJob::addItem (this=this@entry=0x3892b50, t=t@entry=KDevelop::BuilderJob::Configure, item=<optimized out>) at ../../project/builderjob.cpp:115
#9  0x00007f450c052041 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x3892b50, t=KDevelop::BuilderJob::Configure, items=...) at ../../../plugins/projectmanagerview/builditembuilderjob.cpp:35
#10 0x00007f450c045641 in ProjectManagerViewPlugin::runBuilderJob (this=<optimized out>, t=KDevelop::BuilderJob::Configure) at ../../../plugins/projectmanagerview/projectmanagerviewplugin.cpp:344
#11 0x00007f45391880ef in QMetaObject::activate (sender=sender@entry=0x3910150, m=m@entry=0x7f4538fbb7a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff8097c000) at kernel/qobject.cpp:3539
#12 0x00007f4538513152 in QAction::triggered (this=this@entry=0x3910150, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007f4538514580 in QAction::activate (this=0x3910150, event=<optimized out>) at kernel/qaction.cpp:1257
#14 0x00007f453918d5be in QObject::event (this=0x3910150, e=e@entry=0x61d71f0) at kernel/qobject.cpp:1194
#15 0x00007f4538514651 in event (e=0x61d71f0, this=<optimized out>) at kernel/qaction.cpp:1187
#16 QAction::event (this=<optimized out>, e=e@entry=0x61d71f0) at kernel/qaction.cpp:1172
#17 0x00007f453989d1f7 in KAction::event (this=<optimized out>, event=0x61d71f0) at ../../kdeui/actions/kaction.cpp:131
#18 0x00007f45385198ec in QApplicationPrivate::notify_helper (this=this@entry=0x2467780, receiver=receiver@entry=0x3910150, e=e@entry=0x61d71f0) at kernel/qapplication.cpp:4567
#19 0x00007f453851c25b in QApplication::notify (this=this@entry=0x7fff8097cf30, receiver=receiver@entry=0x3910150, e=e@entry=0x61d71f0) at kernel/qapplication.cpp:4428
#20 0x00007f4539978af6 in KApplication::notify (this=0x7fff8097cf30, receiver=0x3910150, event=0x61d71f0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f453917363e in QCoreApplication::notifyInternal (this=0x7fff8097cf30, receiver=receiver@entry=0x3910150, event=event@entry=0x61d71f0) at kernel/qcoreapplication.cpp:946
#22 0x00007f4539177171 in sendEvent (event=0x61d71f0, receiver=0x3910150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24291f0) at kernel/qcoreapplication.cpp:1570
#24 0x00007f45391774a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#25 0x00007f45391a1e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x2468710) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007f45321a0f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f45321a1248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f45321a1304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f45391a2016 in QEventDispatcherGlib::processEvents (this=0x2468230, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f45385bf1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f453917238f in QEventLoop::processEvents (this=this@entry=0x7fff8097c9f0, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f4539172618 in QEventLoop::exec (this=this@entry=0x7fff8097c9f0, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f4539177cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007f4538517ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x000000000040e71a in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:519

Reported using DrKonqi
Comment 1 Magnus Reftel 2013-06-17 12:42:10 UTC
The exact menu item was Project->Configure Selection.
Comment 2 Aleix Pol 2013-07-02 23:46:40 UTC
*** Bug 321267 has been marked as a duplicate of this bug. ***
Comment 3 Milian Wolff 2013-12-01 18:33:10 UTC
Crashed b/c no builder was found, merging with other bug.

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