Bug 352613 - Crash during debugging
Summary: Crash during debugging
Status: RESOLVED UPSTREAM
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.7.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-12 11:51 UTC by Aleksandar Dezelin
Modified: 2015-09-14 17:42 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 Aleksandar Dezelin 2015-09-12 11:51:14 UTC
Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.1.6-200.fc22.x86_64+debug x86_64
Distribution: "Fedora release 22 (Twenty Two)"

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

I was debugging a Boost Spirit grammar when it crashed. A breakpoint has been set inside qi::parser() template.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7977a5a900 (LWP 4024))]

Thread 9 (Thread 0x7f794f84e700 (LWP 4025)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7970b71b5a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7970e74f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f7970b71b89 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f79728ce555 in start_thread (arg=0x7f794f84e700) at pthread_create.c:333
#4  0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f78c7fff700 (LWP 4039)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f7972b5dff4 in wait (time=1000, this=0x4398420) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x3b75958, mutex=mutex@entry=0x3b75960, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7970f5c586 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3b75940) at ../../language/duchain/duchain.cpp:283
#4  0x00007f7972b5daac in QThreadPrivate::start (arg=0x3b75940) at thread/qthread_unix.cpp:349
#5  0x00007f79728ce555 in start_thread (arg=0x7f78c7fff700) at pthread_create.c:333
#6  0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f78bfdd4700 (LWP 4040)):
#0  0x00007f796ae522fb in g_main_context_prepare (context=context@entry=0x7f78b80009a0, priority=priority@entry=0x7f78bfdd3b90) at gmain.c:3388
#1  0x00007f796ae52ceb in g_main_context_iterate (context=context@entry=0x7f78b80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3788
#2  0x00007f796ae52ecc in g_main_context_iteration (context=0x7f78b80009a0, may_block=1) at gmain.c:3869
#3  0x00007f7972c9d4ee in QEventDispatcherGlib::processEvents (this=0x7f78b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f7972c6b791 in QEventLoop::processEvents (this=this@entry=0x7f78bfdd3cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7972c6bb05 in QEventLoop::exec (this=this@entry=0x7f78bfdd3cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7972b5b289 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f7972b5daac in QThreadPrivate::start (arg=0x444e228) at thread/qthread_unix.cpp:349
#8  0x00007f79728ce555 in start_thread (arg=0x7f78bfdd4700) at pthread_create.c:333
#9  0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f78b41bb700 (LWP 4049)):
#0  g_source_iter_next (iter=iter@entry=0x7f78b41bab10, source=source@entry=0x7f78b41bab08) at gmain.c:894
#1  0x00007f796ae522fb in g_main_context_prepare (context=context@entry=0x7f78ac0009a0, priority=priority@entry=0x7f78b41bab90) at gmain.c:3388
#2  0x00007f796ae52ceb in g_main_context_iterate (context=context@entry=0x7f78ac0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3788
#3  0x00007f796ae52ecc in g_main_context_iteration (context=0x7f78ac0009a0, may_block=1) at gmain.c:3869
#4  0x00007f7972c9d4ee in QEventDispatcherGlib::processEvents (this=0x7f78ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f7972c6b791 in QEventLoop::processEvents (this=this@entry=0x7f78b41bacd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7972c6bb05 in QEventLoop::exec (this=this@entry=0x7f78b41bacd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7972b5b289 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f7972b5daac in QThreadPrivate::start (arg=0x48173c0) at thread/qthread_unix.cpp:349
#9  0x00007f79728ce555 in start_thread (arg=0x7f78b41bb700) at pthread_create.c:333
#10 0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f78a0a7c700 (LWP 4086)):
#0  0x00007f7971d5d2fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f796ae52dbc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f789c003450, timeout=<optimized out>, context=0x7f789c002ee0) at gmain.c:4103
#2  g_main_context_iterate (context=context@entry=0x7f789c002ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007f796ae52ecc in g_main_context_iteration (context=0x7f789c002ee0, may_block=1) at gmain.c:3869
#4  0x00007f7972c9d4ee in QEventDispatcherGlib::processEvents (this=0x7f789c002e00, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f7972c6b791 in QEventLoop::processEvents (this=this@entry=0x7f78a0a7bc80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7972c6bb05 in QEventLoop::exec (this=this@entry=0x7f78a0a7bc80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7972b5b289 in QThread::exec (this=this@entry=0x7742310) at thread/qthread.cpp:538
#8  0x00007f7972c4b863 in QInotifyFileSystemWatcherEngine::run (this=0x7742310) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f7972b5daac in QThreadPrivate::start (arg=0x7742310) at thread/qthread_unix.cpp:349
#10 0x00007f79728ce555 in start_thread (arg=0x7f78a0a7c700) at pthread_create.c:333
#11 0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f78a127d700 (LWP 4099)):
#0  0x00007f7971d5d2fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f796ae52dbc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f7894003010, timeout=<optimized out>, context=0x7f78940009a0) at gmain.c:4103
#2  g_main_context_iterate (context=context@entry=0x7f78940009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007f796ae52ecc in g_main_context_iteration (context=0x7f78940009a0, may_block=1) at gmain.c:3869
#4  0x00007f7972c9d4ee in QEventDispatcherGlib::processEvents (this=0x7f78940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f7972c6b791 in QEventLoop::processEvents (this=this@entry=0x7f78a127cc80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7972c6bb05 in QEventLoop::exec (this=this@entry=0x7f78a127cc80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7972b5b289 in QThread::exec (this=this@entry=0x207ff70) at thread/qthread.cpp:538
#8  0x00007f7972c4b863 in QInotifyFileSystemWatcherEngine::run (this=0x207ff70) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f7972b5daac in QThreadPrivate::start (arg=0x207ff70) at thread/qthread_unix.cpp:349
#10 0x00007f79728ce555 in start_thread (arg=0x7f78a127d700) at pthread_create.c:333
#11 0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f78ab7fe700 (LWP 4375)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7972b5e016 in wait (time=18446744073709551615, this=0x26a3bf0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x26a3ac8, mutex=0x26a3d70, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7972fdf6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26a3aa0, th=0x5781b20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f7972fe23f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26a3e00, th=0x5781b20, previous=0x9e08760) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f7972fe0f4f in ThreadWeaver::Thread::run (this=0x5781b20) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f7972b5daac in QThreadPrivate::start (arg=0x5781b20) at thread/qthread_unix.cpp:349
#7  0x00007f79728ce555 in start_thread (arg=0x7f78ab7fe700) at pthread_create.c:333
#8  0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f78aaffd700 (LWP 4376)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7972b5e016 in wait (time=18446744073709551615, this=0x26a3bf0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x26a3ac8, mutex=0x26a3d70, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7972fdf6ec in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26a3aa0, th=0x7f788c003380) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f7972fe23f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26a3e00, th=0x7f788c003380, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f7972fe240c in ThreadWeaver::WorkingHardState::applyForWork (this=0x26a3e00, th=0x7f788c003380, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f7972fe240c in ThreadWeaver::WorkingHardState::applyForWork (this=0x26a3e00, th=0x7f788c003380, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007f7972fe240c in ThreadWeaver::WorkingHardState::applyForWork (this=0x26a3e00, th=0x7f788c003380, previous=0xa08f5c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00007f7972fe0f4f in ThreadWeaver::Thread::run (this=0x7f788c003380) at ../../../threadweaver/Weaver/Thread.cpp:98
#9  0x00007f7972b5daac in QThreadPrivate::start (arg=0x7f788c003380) at thread/qthread_unix.cpp:349
#10 0x00007f79728ce555 in start_thread (arg=0x7f78aaffd700) at pthread_create.c:333
#11 0x00007f7971d68b9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f7977a5a900 (LWP 4024)):
[KCrash Handler]
#6  0x00007f7971c9a9c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f7971c9c65a in __GI_abort () at abort.c:89
#8  0x00007f7971cdda92 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f7971df07e0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f7971ce7a01 in malloc_printerr (ptr=0x8ec8c70, str=0x7f7971dee0e0 "corrupted double-linked list", action=3) at malloc.c:4976
#10 _int_malloc (av=av@entry=0x7f7972020b20 <main_arena>, bytes=bytes@entry=72) at malloc.c:3703
#11 0x00007f7971ce946e in __GI___libc_malloc (bytes=bytes@entry=72) at malloc.c:2898
#12 0x00007f79725d3158 in operator new (sz=sz@entry=72) at ../../../../libstdc++-v3/libsupc++/new_op.cc:50
#13 0x00007f797378c7be in QPen::QPen (this=0x7ffd5a185130, brush=..., width=0, s=Qt::SolidLine, c=Qt::SquareCap, j=Qt::BevelJoin) at painting/qpen.cpp:323
#14 0x00007f7973873dca in setPenAndDrawBackground (p=p@entry=0x7ffd5a186500, defaultPen=..., chf=..., r=...) at text/qtextlayout.cpp:2095
#15 0x00007f79738751a3 in QTextLine::draw (this=this@entry=0x7ffd5a185d10, p=p@entry=0x7ffd5a186500, pos=..., selection=selection@entry=0x0) at text/qtextlayout.cpp:2345
#16 0x00007f797387aa01 in QTextLayout::draw (this=0x767bff0, p=0x7ffd5a186500, pos=..., selections=..., clip=...) at text/qtextlayout.cpp:1192
#17 0x00007f78b7c45846 in KateRenderer::paintTextLine(QPainter&, KSharedPtr<KateLineLayout>, int, int, KTextEditor::Cursor const*) () from /lib64/libkatepartinterfaces.so.4
#18 0x00007f78b7c96eff in KateViewInternal::paintEvent(QPaintEvent*) () from /lib64/libkatepartinterfaces.so.4
#19 0x00007f797365d340 in QWidget::event (this=0x86234d0, event=0x7ffd5a1869a0) at kernel/qwidget.cpp:8775
#20 0x00007f79736093ac in QApplicationPrivate::notify_helper (this=0x1e15e70, receiver=0x86234d0, e=0x7ffd5a1869a0) at kernel/qapplication.cpp:4565
#21 0x00007f7973610206 in QApplication::notify (this=this@entry=0x7ffd5a1875d0, receiver=receiver@entry=0x86234d0, e=e@entry=0x7ffd5a1869a0) at kernel/qapplication.cpp:4351
#22 0x00007f7974b0405a in KApplication::notify (this=0x7ffd5a1875d0, receiver=0x86234d0, event=0x7ffd5a1869a0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f7972c6cf1d in QCoreApplication::notifyInternal (this=0x7ffd5a1875d0, receiver=0x86234d0, event=0x7ffd5a1869a0) at kernel/qcoreapplication.cpp:953
#24 0x00007f7973657997 in QWidgetPrivate::drawWidget (this=this@entry=0x948c260, pdev=0x7133510, rgn=..., offset=..., flags=68, flags@entry=1511549600, sharedPainter=sharedPainter@entry=0x0, backingStore=0x263ec80) at ../../src/corelib/kernel/qcoreapplication.h:234
#25 0x00007f7973827668 in QWidgetBackingStore::sync (this=0x263ec80) at painting/qbackingstore.cpp:1365
#26 0x00007f797364a6b0 in QWidgetPrivate::syncBackingStore (this=0x2583660) at kernel/qwidget.cpp:1894
#27 0x00007f797365d428 in QWidget::event (this=this@entry=0x25834e0, event=event@entry=0xa72d910) at kernel/qwidget.cpp:8693
#28 0x00007f7973a3d363 in QMainWindow::event (this=this@entry=0x25834e0, event=event@entry=0xa72d910) at widgets/qmainwindow.cpp:1478
#29 0x00007f7974bcc4a1 in KMainWindow::event (this=this@entry=0x25834e0, ev=ev@entry=0xa72d910) at ../../kdeui/widgets/kmainwindow.cpp:1126
#30 0x00007f7974c09c79 in KXmlGuiWindow::event (this=0x25834e0, ev=0xa72d910) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#31 0x00007f79736093ac in QApplicationPrivate::notify_helper (this=0x1e15e70, receiver=0x25834e0, e=0xa72d910) at kernel/qapplication.cpp:4565
#32 0x00007f7973610206 in QApplication::notify (this=this@entry=0x7ffd5a1875d0, receiver=receiver@entry=0x25834e0, e=e@entry=0xa72d910) at kernel/qapplication.cpp:4351
#33 0x00007f7974b0405a in KApplication::notify (this=0x7ffd5a1875d0, receiver=0x25834e0, event=0xa72d910) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f7972c6cf1d in QCoreApplication::notifyInternal (this=0x7ffd5a1875d0, receiver=receiver@entry=0x25834e0, event=event@entry=0xa72d910) at kernel/qcoreapplication.cpp:953
#35 0x00007f7972c70536 in sendEvent (event=0xa72d910, receiver=0x25834e0) at kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d51a30) at kernel/qcoreapplication.cpp:1577
#37 0x00007f7972c70813 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#38 0x00007f7972c9d35e in sendPostedEvents () at kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=0x1e10d80) at kernel/qeventdispatcher_glib.cpp:300
#40 0x00007f796ae52a8a in g_main_dispatch (context=0x1e0d340) at gmain.c:3122
#41 g_main_context_dispatch (context=context@entry=0x1e0d340) at gmain.c:3737
#42 0x00007f796ae52e20 in g_main_context_iterate (context=context@entry=0x1e0d340, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#43 0x00007f796ae52ecc in g_main_context_iteration (context=0x1e0d340, may_block=1) at gmain.c:3869
#44 0x00007f7972c9d4ce in QEventDispatcherGlib::processEvents (this=0x1d52f60, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#45 0x00007f79736af626 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x00007f7972c6b791 in QEventLoop::processEvents (this=this@entry=0x7ffd5a187410, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f7972c6bb05 in QEventLoop::exec (this=this@entry=0x7ffd5a187410, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f7972c716a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#49 0x00007f7973607b3c in QApplication::exec () at kernel/qapplication.cpp:3823
#50 0x000000000041046c in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:582

Possible duplicates by query: bug 352572, bug 349223, bug 348699, bug 347139, bug 347134.

Reported using DrKonqi
Comment 1 Kevin Funk 2015-09-14 17:42:10 UTC
Unfortunately that backtrace looks useless. Crashes somewhere deep inside Qt; we don't have control over this.

Please reopen if it happens again, then post more details such as Qt version in use, etc.