Bug 344908 - Parsing ZF2 PHP project
Summary: Parsing ZF2 PHP project
Status: RESOLVED DUPLICATE of bug 296520
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.7.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-06 16:29 UTC by Ondřej Doněk
Modified: 2015-03-06 16:36 UTC (History)
0 users

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 Ondřej Doněk 2015-03-06 16:29:40 UTC
Application: kdevelop (4.7.0)
KDE Platform Version: 4.14.5
Qt Version: 4.8.6
Operating System: Linux 3.19.0-7-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

I just opened KDevelop and waited for finishing parsing project files (large "vendor/zendframework2") folder.

The crash can be reproduced sometimes.

-- 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 0x7f9aeea34840 (LWP 1157))]

Thread 9 (Thread 0x7f9ad2310700 (LWP 1158)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9ae781fa8a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9ae781fab9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f9aea46a0a5 in start_thread (arg=0x7f9ad2310700) at pthread_create.c:309
#4  0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f9a51029700 (LWP 1159)):
#0  0x00007fffb85f8c2e in clock_gettime ()
#1  0x00007f9aeb12689d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f9aeb7c57f5 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f9aeb8a8aa5 in updateCurrentTime (this=0x7f9a4c0030e0) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f9a4c0030e0, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f9aeb8a735c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f9a51028b74) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007f9aeb8a7425 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007f9ae51b53fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f9ae51b5de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f9ae51b5fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f9aeb8a7c9e in QEventDispatcherGlib::processEvents (this=0x7f9a4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007f9aeb877161 in QEventLoop::processEvents (this=this@entry=0x7f9a51028d40, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f9aeb8774c5 in QEventLoop::exec (this=this@entry=0x7f9a51028d40, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f9aeb76bc59 in QThread::exec (this=this@entry=0xb04520) at thread/qthread.cpp:538
#15 0x00007f9aeb8579c3 in QInotifyFileSystemWatcherEngine::run (this=0xb04520) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0xb04520) at thread/qthread_unix.cpp:349
#17 0x00007f9aea46a0a5 in start_thread (arg=0x7f9a51029700) at pthread_create.c:309
#18 0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f9a4beeb700 (LWP 1174)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f9aeb76ea04 in wait (time=1000, this=0x25cf690) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x25cda78, mutex=mutex@entry=0x25cda80, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9ae828f4b6 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x25cda60) at /build/buildd/kdevplatform-1.7.0/language/duchain/duchain.cpp:283
#4  0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0x25cda60) at thread/qthread_unix.cpp:349
#5  0x00007f9aea46a0a5 in start_thread (arg=0x7f9a4beeb700) at pthread_create.c:309
#6  0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f9a4a454700 (LWP 1175)):
#0  0x00007f9ae51fa7a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9ae51b53f0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9ae51b5de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9ae51b5fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9aeb8a7c9e in QEventDispatcherGlib::processEvents (this=0x7f9a3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f9aeb877161 in QEventLoop::processEvents (this=this@entry=0x7f9a4a453d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9aeb8774c5 in QEventLoop::exec (this=this@entry=0x7f9a4a453d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9aeb76bc59 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0x2e86c80) at thread/qthread_unix.cpp:349
#9  0x00007f9aea46a0a5 in start_thread (arg=0x7f9a4a454700) at pthread_create.c:309
#10 0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f9a3bfff700 (LWP 1176)):
#0  0x00007fffb85f8c2e in clock_gettime ()
#1  0x00007f9aeb12689d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f9aeb7c57f5 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f9aeb8a8aa5 in updateCurrentTime (this=0x7f9a34002ee0) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f9a34002ee0, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f9aeb8a735c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f9a3bffebc4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007f9ae51b53fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f9ae51b5de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f9ae51b5fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f9aeb8a7c9e in QEventDispatcherGlib::processEvents (this=0x7f9a340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#11 0x00007f9aeb877161 in QEventLoop::processEvents (this=this@entry=0x7f9a3bffed90, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f9aeb8774c5 in QEventLoop::exec (this=this@entry=0x7f9a3bffed90, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f9aeb76bc59 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#14 0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0x2eccd58) at thread/qthread_unix.cpp:349
#15 0x00007f9aea46a0a5 in start_thread (arg=0x7f9a3bfff700) at pthread_create.c:309
#16 0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f9a1e440700 (LWP 1195)):
#0  0x00007f9ae51fa780 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9ae51b5fb8 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9aeb8a7c9e in QEventDispatcherGlib::processEvents (this=0x7f9a180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#3  0x00007f9aeb877161 in QEventLoop::processEvents (this=this@entry=0x7f9a1e43fd40, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f9aeb8774c5 in QEventLoop::exec (this=this@entry=0x7f9a1e43fd40, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f9aeb76bc59 in QThread::exec (this=this@entry=0x480af20) at thread/qthread.cpp:538
#6  0x00007f9aeb8579c3 in QInotifyFileSystemWatcherEngine::run (this=0x480af20) at io/qfilesystemwatcher_inotify.cpp:265
#7  0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0x480af20) at thread/qthread_unix.cpp:349
#8  0x00007f9aea46a0a5 in start_thread (arg=0x7f9a1e440700) at pthread_create.c:309
#9  0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9a29345700 (LWP 1203)):
[KCrash Handler]
#6  KDevelop::Declaration::indexedType (this=this@entry=0x0) at /build/buildd/kdevplatform-1.7.0/language/duchain/declaration.cpp:265
#7  0x00007f9ae82c83ad in KDevelop::isPublicBaseClassInternal (self=0x0, base=0x7f9a11661610, topContext=0x7f9a1262a3d0, baseConversionLevels=0x0, depth=0, checked=0x0) at /build/buildd/kdevplatform-1.7.0/language/duchain/classdeclaration.cpp:112
#8  0x00007f9a4a91db88 in Php::TypeBuilder::visitStatement (this=0x7f9a29344b30, node=0x7f9a127afdb0) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/typebuilder.cpp:537
#9  0x00007f9a4a906ebc in Php::DeclarationBuilder::visitStatement (this=0x7f9a29344b30, node=0x7f9a12708a88) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/declarationbuilder.cpp:1242
#10 0x00007f9a4a6b6a56 in Php::DefaultVisitor::visitTopStatement (this=0x7f9a29344b88, node=0x7f9a12708a40) at /build/buildd/kdevelop-php-1.7.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:1016
#11 0x00007f9a4a6b5e5d in Php::DefaultVisitor::visitInnerStatementList (this=0x7f9a29344b88, node=<optimized out>) at /build/buildd/kdevelop-php-1.7.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:555
#12 0x00007f9a4a90e93d in Php::ContextBuilder::visitClassStatement (this=this@entry=0x7f9a29344b30, node=node@entry=0x7f9a12707c90) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/contextbuilder.cpp:258
#13 0x00007f9a4a91c158 in Php::TypeBuilder::visitClassStatement (this=0x7f9a29344b30, node=0x7f9a12707c90) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/typebuilder.cpp:309
#14 0x00007f9a4a9045ff in Php::DeclarationBuilder::visitClassStatement (this=0x7f9a29344b30, node=0x7f9a12707c90) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/declarationbuilder.cpp:367
#15 0x00007f9a4a6b551d in Php::DefaultVisitor::visitClassBody (this=0x7f9a29344b88, node=<optimized out>) at /build/buildd/kdevelop-php-1.7.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:205
#16 0x00007f9a4a90d12f in Php::ContextBuilder::visitClassDeclarationStatement (this=this@entry=0x7f9a29344b30, node=node@entry=0x7f9a1269bac8) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/contextbuilder.cpp:214
#17 0x00007f9a4a9189a5 in Php::TypeBuilder::visitClassDeclarationStatement (this=this@entry=0x7f9a29344b30, node=node@entry=0x7f9a1269bac8) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/typebuilder.cpp:282
#18 0x00007f9a4a8ffbf8 in Php::DeclarationBuilder::visitClassDeclarationStatement (this=0x7f9a29344b30, node=0x7f9a1269bac8) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/declarationbuilder.cpp:183
#19 0x00007f9a4a6b6a70 in Php::DefaultVisitor::visitTopStatement (this=0x7f9a29344b88, node=0x7f9a1269ba80) at /build/buildd/kdevelop-php-1.7.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:1018
#20 0x00007f9a4a8fdf15 in Php::DeclarationBuilder::visitOuterTopStatement (this=0x7f9a29344b30, node=0x7f9a1269ba50) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/declarationbuilder.cpp:899
#21 0x00007f9a4a6b651d in Php::DefaultVisitor::visitStart (this=0x7f9a29344b88, node=<optimized out>) at /build/buildd/kdevelop-php-1.7.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:843
#22 0x00007f9a4a9136fb in Php::ContextBuilder::startVisiting (this=0x7f9a29344b30, node=0x7f9a12692ff0) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/contextbuilder.cpp:130
#23 0x00007f9a4a9073ae in supportBuild (context=0x7f9a1262a3d0, node=0x7f9a12692ff0, this=0x7f9a29344b30) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
#24 supportBuild (context=<optimized out>, node=0x7f9a12692ff0, this=<optimized out>) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
#25 Php::DeclarationBuilder::supportBuild (this=0x7f9a29344b30, node=0x7f9a12692ff0, context=<optimized out>) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/declarationbuilder.cpp:1426
#26 0x00007f9a4a8fefe7 in build (updateContext=..., node=0x7f9a12692ff0, url=..., this=0x7f9a29344b30) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
#27 Php::DeclarationBuilder::build (this=this@entry=0x7f9a29344b30, url=..., node=node@entry=0x7f9a12692ff0, updateContext=...) at /build/buildd/kdevelop-php-1.7.0/duchain/builders/declarationbuilder.cpp:151
#28 0x00007f9a4ab8796d in Php::ParseJob::run (this=0x4baf3d0) at /build/buildd/kdevelop-php-1.7.0/phpparsejob.cpp:132
#29 0x00007f9ae33f1f42 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f9a29344d50, th=th@entry=0x3c610d0, job=job@entry=0x4baf3d0) at ../../../threadweaver/Weaver/Job.cpp:106
#30 0x00007f9ae33f2158 in ThreadWeaver::Job::execute (this=0x4baf3d0, th=0x3c610d0) at ../../../threadweaver/Weaver/Job.cpp:135
#31 0x00007f9ae33f18fb in ThreadWeaver::Thread::run (this=0x3c610d0) at ../../../threadweaver/Weaver/Thread.cpp:108
#32 0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0x3c610d0) at thread/qthread_unix.cpp:349
#33 0x00007f9aea46a0a5 in start_thread (arg=0x7f9a29345700) at pthread_create.c:309
#34 0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9a28b44700 (LWP 1204)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9aeb76ea26 in wait (time=18446744073709551615, this=0x10e0ba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x10e0a78, mutex=0x10e0d20, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9ae33efe9c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10e0a50, th=0x3748b80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f9ae33f2d73 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10e0db0, th=0x3748b80, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f9ae33f2d8c in ThreadWeaver::WorkingHardState::applyForWork (this=0x10e0db0, th=0x3748b80, previous=0x4b72fc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f9ae33f185f in ThreadWeaver::Thread::run (this=0x3748b80) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f9aeb76e4cf in QThreadPrivate::start (arg=0x3748b80) at thread/qthread_unix.cpp:349
#8  0x00007f9aea46a0a5 in start_thread (arg=0x7f9a28b44700) at pthread_create.c:309
#9  0x00007f9aeb11857d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9aeea34840 (LWP 1157)):
#0  0x00007f9aeb109ddd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9ae51f92f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9ae51b596c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9ae51b5e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9ae51b5fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9aeb8a7c7e in QEventDispatcherGlib::processEvents (this=0xa04610, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#6  0x00007f9aebe51c86 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f9aeb877161 in QEventLoop::processEvents (this=this@entry=0x7fffb852a430, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f9aeb8774c5 in QEventLoop::exec (this=this@entry=0x7fffb852a430, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f9aeb87cf49 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#10 0x00007f9aebda7c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#11 0x000000000041035c in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:564

Possible duplicates by query: bug 296520.

Reported using DrKonqi
Comment 1 Kevin Funk 2015-03-06 16:36:26 UTC
Still not fixed, but marking as dupe. I'll reopen the other bug.

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