Bug 319841 - KDevelop crashes when importing project
Summary: KDevelop crashes when importing project
Status: RESOLVED DUPLICATE of bug 260741
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.5.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 19:37 UTC by Andrey Khanov
Modified: 2013-05-14 19:51 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 Andrey Khanov 2013-05-14 19:37:50 UTC
Application: kdevelop (4.5.0)
KDE Platform Version: 4.9.5 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Linux Mint 14 Nadia

-- Information about the crash:
- What I was doing when the application crashed:
Import Project -> Select Directory -> Use Generic Project -> Finish -> Crash
- Custom settings of the application:

Compiled from source, with kdevelop-php plugin

The crash can be reproduced every time.

-- 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 0x7fad8254b780 (LWP 19441))]

Thread 10 (Thread 0x7fad76fde700 (LWP 19444)):
#0  __pthread_mutex_lock (mutex=0x7fad70013990) at pthread_mutex_lock.c:113
#1  0x00007fad8bde1e21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad8bda4623 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad8bda4cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fad8bda51e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fad7e6d84a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fad8bdc8645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fad90b25e9a in start_thread (arg=0x7fad76fde700) at pthread_create.c:308
#8  0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fad6dab3700 (LWP 19452)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007fad92d29fa7 in wait (time=1000, this=0x228b9f0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2265990, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fad8ebfc18b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2265970) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/language/duchain/duchain.cpp:282
#4  0x00007fad92d29aec in QThreadPrivate::start (arg=0x2265970) at thread/qthread_unix.cpp:338
#5  0x00007fad90b25e9a in start_thread (arg=0x7fad6dab3700) at pthread_create.c:308
#6  0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fad62eb2700 (LWP 19453)):
#0  0x00007fad8bd7aff0 in g_ptr_array_set_size () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fad8bda455f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad8bda4cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad8bda4ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fad92e54c16 in QEventDispatcherGlib::processEvents (this=0x7fad5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fad92e252bf in QEventLoop::processEvents (this=this@entry=0x7fad62eb1e00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fad92e25548 in QEventLoop::exec (this=0x7fad62eb1e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fad92d26b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fad92d29aec in QThreadPrivate::start (arg=0xf8dbc0) at thread/qthread_unix.cpp:338
#9  0x00007fad90b25e9a in start_thread (arg=0x7fad62eb2700) at pthread_create.c:308
#10 0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fad55cb5700 (LWP 19456)):
#0  0x00007fad90b2905d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fad48000a60) at pthread_mutex_unlock.c:290
#2  0x00007fad8bde1e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad8bda460b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fad8bda4cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fad8bda4ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fad92e54c16 in QEventDispatcherGlib::processEvents (this=0x7fad480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007fad92e252bf in QEventLoop::processEvents (this=this@entry=0x7fad55cb4dd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fad92e25548 in QEventLoop::exec (this=0x7fad55cb4dd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fad92d26b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fad92e059af in QInotifyFileSystemWatcherEngine::run (this=0x2e70f00) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fad92d29aec in QThreadPrivate::start (arg=0x2e70f00) at thread/qthread_unix.cpp:338
#12 0x00007fad90b25e9a in start_thread (arg=0x7fad55cb5700) at pthread_create.c:308
#13 0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fad554b4700 (LWP 19480)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad8df64cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fad8df64d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fad90b25e9a in start_thread (arg=0x7fad554b4700) at pthread_create.c:308
#4  0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fad4fdf2700 (LWP 19565)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad92d2a04b in wait (time=18446744073709551615, this=0x13936b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1392ae0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fad896850e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1392980, th=0x2c73fe0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad8968792b in ThreadWeaver::WorkingHardState::applyForWork (this=0x13917c0, th=0x2c73fe0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad8968679f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fad4fdf1e00, parent=0x1392980, th=th@entry=0x2c73fe0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fad8968682b in ThreadWeaver::Thread::run (this=0x2c73fe0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fad92d29aec in QThreadPrivate::start (arg=0x2c73fe0) at thread/qthread_unix.cpp:338
#8  0x00007fad90b25e9a in start_thread (arg=0x7fad4fdf2700) at pthread_create.c:308
#9  0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fad4f5f1700 (LWP 19569)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad92d2a04b in wait (time=18446744073709551615, this=0x13936b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1392ae0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fad896850e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1392980, th=0x2282b90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad8968792b in ThreadWeaver::WorkingHardState::applyForWork (this=0x13917c0, th=0x2282b90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad89687944 in ThreadWeaver::WorkingHardState::applyForWork (this=0x13917c0, th=0x2282b90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fad8968679f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fad4f5f0e00, parent=0x1392980, th=th@entry=0x2282b90) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fad8968682b in ThreadWeaver::Thread::run (this=0x2282b90) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fad92d29aec in QThreadPrivate::start (arg=0x2282b90) at thread/qthread_unix.cpp:338
#9  0x00007fad90b25e9a in start_thread (arg=0x7fad4f5f1700) at pthread_create.c:308
#10 0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fad4cbaa700 (LWP 19605)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad88a38b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fad88a38c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fad90b25e9a in start_thread (arg=0x7fad4cbaa700) at pthread_create.c:308
#4  0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fad42ffe700 (LWP 19606)):
#0  0x00007fad91a27313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fad8bda4d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad8bda4ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad92e54c16 in QEventDispatcherGlib::processEvents (this=0x7fad300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fad92e252bf in QEventLoop::processEvents (this=this@entry=0x7fad42ffde00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fad92e25548 in QEventLoop::exec (this=0x7fad42ffde00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fad92d26b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fad92d29aec in QThreadPrivate::start (arg=0x33de920) at thread/qthread_unix.cpp:338
#8  0x00007fad90b25e9a in start_thread (arg=0x7fad42ffe700) at pthread_create.c:308
#9  0x00007fad91a32ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fad8254b780 (LWP 19441)):
[KCrash Handler]
#6  QUrl::scheme (this=0x0) at io/qurl.cpp:4530
#7  0x00007fad94a6be66 in hasSubUrl (url=...) at ../../kdecore/io/kurl.cpp:986
#8  KUrl::hasSubUrl (this=this@entry=0x0) at ../../kdecore/io/kurl.cpp:1031
#9  0x00007fad94a703ea in KUrl::fileName (this=0x0, options=...) at ../../kdecore/io/kurl.cpp:1285
#10 0x00007fad8f1fe21b in KDevelop::ProjectFolderItem::ProjectFolderItem (this=0x3e08810, project=0x7fff672d9f70, dir=..., parent=0x3fa1730) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/project/projectmodel.cpp:580
#11 0x00007fad8f209abf in KDevelop::AbstractFileManagerPlugin::createFolderItem (this=<optimized out>, project=project@entry=0x7fff672d9f70, url=..., parent=parent@entry=0x3fa1730) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/project/abstractfilemanagerplugin.cpp:630
#12 0x00007fad8f20d8d1 in KDevelop::AbstractFileManagerPlugin::Private::addJobItems (this=0x405ced0, job=0x4051d80, baseItem=0x40492e0, entries=..., forceRecursion=false) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/project/abstractfilemanagerplugin.cpp:176
#13 0x00007fad92e3bf5f in QMetaObject::activate (sender=0x4051d80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff672da1c0) at kernel/qobject.cpp:3547
#14 0x00007fad8f20f9b2 in KDevelop::FileManagerListJob::entries (this=this@entry=0x4051d80, _t1=_t1@entry=0x4051d80, _t2=0x40492e0, _t3=..., _t4=false) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/build/project/filemanagerlistjob.moc:115
#15 0x00007fad8f20fd7b in slotResult (job=0x404e2c0, this=0x4051d80) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/project/filemanagerlistjob.cpp:88
#16 KDevelop::FileManagerListJob::slotResult (this=0x4051d80, job=0x404e2c0) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevplatform-1.5.0/project/filemanagerlistjob.cpp:82
#17 0x00007fad92e3bf5f in QMetaObject::activate (sender=0x404e2c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff672da3a0) at kernel/qobject.cpp:3547
#18 0x00007fad94a77f22 in KJob::result (this=this@entry=0x404e2c0, _t1=_t1@entry=0x404e2c0) at ./kjob.moc:208
#19 0x00007fad94a77f60 in KJob::emitResult (this=0x404e2c0) at ../../kdecore/jobs/kjob.cpp:318
#20 0x00007fad8fbf9845 in KIO::SimpleJob::slotFinished (this=this@entry=0x404e2c0) at ../../kio/kio/job.cpp:494
#21 0x00007fad8fbfd8db in KIO::ListJob::slotFinished (this=0x404e2c0) at ../../kio/kio/job.cpp:2675
#22 0x00007fad92e3bf5f in QMetaObject::activate (sender=0x3537660, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00007fad8fc9c561 in KIO::SlaveInterface::dispatch (this=0x3537660, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#24 0x00007fad8fc9963a in KIO::SlaveInterface::dispatch (this=0x3537660) at ../../kio/kio/slaveinterface.cpp:88
#25 0x00007fad8fc8da9e in KIO::Slave::gotInput (this=0x3537660) at ../../kio/kio/slave.cpp:344
#26 0x00007fad92e3bf5f in QMetaObject::activate (sender=0x12eb9f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#27 0x00007fad8fbce732 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#28 KIO::ConnectionPrivate::dequeue (this=0x2ed2780) at ../../kio/kio/connection.cpp:71
#29 0x00007fad92e3b43e in QObject::event (this=0x12eb9f0, e=<optimized out>) at kernel/qobject.cpp:1195
#30 0x00007fad921cde9c in QApplicationPrivate::notify_helper (this=this@entry=0xff7900, receiver=receiver@entry=0x12eb9f0, e=e@entry=0x4109000) at kernel/qapplication.cpp:4562
#31 0x00007fad921d230a in QApplication::notify (this=0x7fff672db750, receiver=0x12eb9f0, e=0x4109000) at kernel/qapplication.cpp:4423
#32 0x00007fad933a71f6 in KApplication::notify (this=0x7fff672db750, receiver=0x12eb9f0, event=0x4109000) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007fad92e2656e in QCoreApplication::notifyInternal (this=0x7fff672db750, receiver=receiver@entry=0x12eb9f0, event=event@entry=0x4109000) at kernel/qcoreapplication.cpp:915
#34 0x00007fad92e2a3f1 in sendEvent (event=0x4109000, receiver=0x12eb9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf3c670) at kernel/qcoreapplication.cpp:1539
#36 0x00007fad92e54a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0xff9140) at kernel/qeventdispatcher_glib.cpp:279
#38 0x00007fad8bda4ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fad8bda4de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fad8bda4ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fad92e54bf6 in QEventDispatcherGlib::processEvents (this=0xf3db30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007fad92272c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fad92e252bf in QEventLoop::processEvents (this=this@entry=0x7fff672db370, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fad92e25548 in QEventLoop::exec (this=0x7fff672db370, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fad92e2a708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#46 0x000000000040dc61 in main (argc=<optimized out>, argv=<optimized out>) at /home/likewise-open/CIOHQ/andreyk/SOURCE/kdevelop-4.5.0/app/main.cpp:522

Possible duplicates by query: bug 290314, bug 275134.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-05-14 19:51:02 UTC

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