Bug 298823 - KDevelop crashed on building CMake project
Summary: KDevelop crashed on building CMake project
Status: RESOLVED DUPLICATE of bug 297644
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Make (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 20:23 UTC by Alexey Chernov
Modified: 2012-05-01 22:06 UTC (History)
2 users (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 Alexey Chernov 2012-04-25 20:23:53 UTC
Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.2 (4.8.2) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.4 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
I started building CMake project and when it was approx. 40% done KDevelop suddenly crashed. I also changed input focus to another window, maybe it affected somehow.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd4947aa760 (LWP 8081))]

Thread 9 (Thread 0x7fd46c5e0710 (LWP 8082)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fd490760eb9 in wait (time=<optimized out>, this=<optimized out>) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x20f59b0, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd48c934f1a in KDevelop::DUChainPrivate::CleanupThread::run (this=0x20f5990) at /usr/src/packages/kdevplatform-1.3.1/language/duchain/duchain.cpp:282
#4  0x00007fd490760179 in QThreadPrivate::start (arg=0x20f5990) at thread/qthread_unix.cpp:298
#5  0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#6  0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7fd458df8710 (LWP 8085)):
#0  0x00007fd48e93f273 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd488b3e9fa in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd488b3f0f4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fd4908c54e6 in QEventDispatcherGlib::processEvents (this=0x2be7340, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd49088ab12 in QEventLoop::processEvents (this=<optimized out>, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:149
#5  0x00007fd49088af3d in QEventLoop::exec (this=0x7fd458df7e20, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:204
#6  0x00007fd49075d248 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd490760179 in QThreadPrivate::start (arg=0x2bf1e60) at thread/qthread_unix.cpp:298
#8  0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#9  0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7fd4585f7710 (LWP 8086)):
#0  0x00007fd48e93f273 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd488b3e9fa in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd488b3f0f4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fd4908c54e6 in QEventDispatcherGlib::processEvents (this=0x2bf2280, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd49088ab12 in QEventLoop::processEvents (this=<optimized out>, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:149
#5  0x00007fd49088af3d in QEventLoop::exec (this=0x7fd4585f6e20, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:204
#6  0x00007fd49075d248 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd490760179 in QThreadPrivate::start (arg=0x2bead50) at thread/qthread_unix.cpp:298
#8  0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#9  0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fd456916710 (LWP 8094)):
#0  0x00007fffc235f856 in ?? ()
#1  0x00007fd48d9d405f in *__GI_clock_gettime (clock_id=1452366688, tp=0x7fd456915b60) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007fd4907ca7f9 in do_gettime (frac=<optimized out>, sec=<optimized out>) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fd4908c92b7 in updateCurrentTime (this=<optimized out>) at kernel/qeventdispatcher_unix.cpp:343
#5  QTimerInfoList::timerWait (this=0x7fd456915b60, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fd4908c56f6 in timerSourcePrepareHelper (timeout=<optimized out>, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:136
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7fd456915c3c) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fd488b3dd0a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#9  0x00007fd488b3e7f2 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#10 0x00007fd488b3f0f4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#11 0x00007fd4908c54e6 in QEventDispatcherGlib::processEvents (this=0x616e3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fd49088ab12 in QEventLoop::processEvents (this=<optimized out>, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:149
#13 0x00007fd49088af3d in QEventLoop::exec (this=0x7fd456915de0, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:204
#14 0x00007fd49075d248 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fd490862620 in QInotifyFileSystemWatcherEngine::run (this=0x6142c20) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fd490760179 in QThreadPrivate::start (arg=0x6142c20) at thread/qthread_unix.cpp:298
#17 0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#18 0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fd4558ce710 (LWP 8109)):
#0  0x00007fd488b3dbf3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007fd488b3e7f2 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd488b3f0f4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fd4908c54e6 in QEventDispatcherGlib::processEvents (this=0x5008c40, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd49088ab12 in QEventLoop::processEvents (this=<optimized out>, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:149
#5  0x00007fd49088af3d in QEventLoop::exec (this=0x7fd4558cde20, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:204
#6  0x00007fd49075d248 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd490760179 in QThreadPrivate::start (arg=0x7fd464000c60) at thread/qthread_unix.cpp:298
#8  0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#9  0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fd453392710 (LWP 8152)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4878780b4 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#2  0x00007fd4878781e9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#3  0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#4  0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fd41084b710 (LWP 8507)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd490760f53 in wait (time=<optimized out>, this=<optimized out>) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10a85d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd492c8d6c1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x11f8130, th=0x8f76020) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd492c91b40 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1188ab0, th=0x8f76020) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd492c8ff24 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd41084ae30, parent=0x11f8130, th=0x8f76020) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd492c90024 in ThreadWeaver::Thread::run (this=0x8f76020) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd490760179 in QThreadPrivate::start (arg=0x8f76020) at thread/qthread_unix.cpp:298
#8  0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#9  0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd41004a710 (LWP 8508)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd490760f53 in wait (time=<optimized out>, this=<optimized out>) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10a85d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd492c8d6c1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x11f8130, th=0x7fd464039b30) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd492c91b40 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1188ab0, th=0x7fd464039b30) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd492c91b59 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1188ab0, th=0x7fd464039b30) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd492c91b59 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1188ab0, th=0x7fd464039b30) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd492c8ff24 in ThreadWeaver::ThreadRunHelper::run (this=0x7fd410049e30, parent=0x11f8130, th=0x7fd464039b30) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#8  0x00007fd492c90024 in ThreadWeaver::Thread::run (this=0x7fd464039b30) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#9  0x00007fd490760179 in QThreadPrivate::start (arg=0x7fd464039b30) at thread/qthread_unix.cpp:298
#10 0x00007fd4904b6aca in start_thread (arg=<optimized out>) at pthread_create.c:297
#11 0x00007fd48e94858d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd4947aa760 (LWP 8081)):
[KCrash Handler]
#6  0x00007fd48e89a315 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fd48e89b99f in *__GI_abort () at abort.c:92
#8  0x00007fd49075418f in qt_message_output (msgType=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2252
#9  0x00007fd490754332 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fd49090c700 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffc22c0630) at global/qglobal.cpp:2298
#10 0x00007fd4907544e5 in qFatal (msg=0x1f91 <Address 0x1f91 out of bounds>) at global/qglobal.cpp:2481
#11 0x00007fd490883460 in QAbstractItemModel::beginInsertRows (this=0x7531f00, parent=..., first=19, last=18) at kernel/qabstractitemmodel.cpp:2413
#12 0x00007fd455f066ce in MakeOutputModel::addLineBatch (this=<optimized out>) at /usr/src/packages/kdevelop-4.3.1/projectbuilders/makebuilder/makeoutputmodel.cpp:217
#13 0x00007fd4908a400e in QObject::event (this=0x7531f00, e=0x1f91) at kernel/qobject.cpp:1195
#14 0x00007fd48f7f3880 in QApplicationPrivate::notify_helper (this=0xdb1090, receiver=0x7531f00, e=0x9e5b8f0) at kernel/qapplication.cpp:4554
#15 0x00007fd48f801081 in QApplication::notify (this=0x7fffc22c1b50, receiver=<optimized out>, e=0x9e5b8f0) at kernel/qapplication.cpp:4415
#16 0x00007fd4910f9571 in KApplication::notify (this=0x7fffc22c1b50, receiver=0x7531f00, event=0x9e5b8f0) at /usr/src/packages/kde4/4.8.2/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#17 0x00007fd49088bffb in QCoreApplication::notifyInternal (this=0x7fffc22c1b50, receiver=0x7531f00, event=0x9e5b8f0) at kernel/qcoreapplication.cpp:876
#18 0x00007fd490891897 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0xd5c380) at kernel/qcoreapplication.cpp:1500
#20 0x00007fd4908c5823 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#21 postEventSourceDispatch (s=0xdb3dc0) at kernel/qeventdispatcher_glib.cpp:279
#22 0x00007fd488b3cc12 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007fd488b3ec68 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#24 0x00007fd488b3f0f4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007fd4908c5493 in QEventDispatcherGlib::processEvents (this=0xd5bc10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x00007fd48f8c203e in QGuiEventDispatcherGlib::processEvents (this=0x1f91, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fd49088ab12 in QEventLoop::processEvents (this=<optimized out>, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:149
#28 0x00007fd49088af3d in QEventLoop::exec (this=0x7fffc22c1780, flags=<error reading variable: DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjunction with DW_OP_piece or DW_OP_bit_piece.>) at kernel/qeventloop.cpp:204
#29 0x00007fd490891cf9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#30 0x000000000040917a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/packages/kdevelop-4.3.1/app/main.cpp:479

Reported using DrKonqi
Comment 1 emw-kdebugs 2012-05-01 10:44:22 UTC
Hi all,

seems that this bug is a duplicate of  bug 297644:

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

In master and branch 4.3 it is fixed.

Best regards, 

   Martin
Comment 2 Milian Wolff 2012-05-01 22:06:56 UTC

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