Bug 297617 - KDevelop crash when right clicking toolbar
Summary: KDevelop crash when right clicking toolbar
Status: RESOLVED DUPLICATE of bug 296622
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.3.0
Platform: Chakra Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 18:35 UTC by Steven Sroka
Modified: 2012-04-17 17:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (18.05 KB, text/plain)
2012-04-11 00:56 UTC, Steven Sroka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Sroka 2012-04-06 18:35:10 UTC
Application: kdevelop (4.3.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2-CHAKRA x86_64
Distribution: "Chakra Linux"

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

Right clicked the Main Toolbar and the crash occurred. I can't reproduce it.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7facb97d5780 (LWP 2913))]

Thread 11 (Thread 0x7fac9f094700 (LWP 2914)):
#0  0x00007facb666fecb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007facb7c2909f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007facb421378b in ?? () from /usr/lib/libkdevplatformlanguage.so.5
#3  0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#5  0x00007facb695539d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fac8e411700 (LWP 2920)):
#0  0x00007facb694d123 in poll () from /lib/libc.so.6
#1  0x00007facb14adc14 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007facb14ae14d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007facb7d56956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007facb7d267b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007facb7d26a07 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007facb7c25c07 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007facb7d0660f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#10 0x00007facb695539d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fac8d203700 (LWP 3029)):
#0  0x00007facb666fb54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007facae613d1c in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007facae613e49 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#4  0x00007facb695539d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fac8da04700 (LWP 3030)):
#0  0x00007facb694d123 in poll () from /lib/libc.so.6
#1  0x00007facb14adc14 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007facb14ae14d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007facb7d56956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007facb7d267b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007facb7d26a07 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007facb7c25c07 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#9  0x00007facb695539d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fac4ae33700 (LWP 3215)):
#0  0x00007facb666fb54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007facb7c2913b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007facaf01c2db in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4a40eb0, th=0x4ae4b10) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007facaf01ebcb in ThreadWeaver::WorkingHardState::applyForWork (this=0x3a95b30, th=0x4ae4b10) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007facaf01da3f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac4ae32e20, parent=0x4a40eb0, th=0x4ae4b10) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#5  0x00007facaf01dacb in ThreadWeaver::Thread::run (this=0x4ae4b10) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#6  0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#8  0x00007facb695539d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fac493d1700 (LWP 3299)):
#0  0x00007fff47cdd98f in clock_gettime ()
#1  0x00007facb55f7dbb in clock_gettime () from /lib/librt.so.1
#2  0x00007facb7c7f494 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007facb7d570bd in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007facb7d573f3 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007facb7d55e2c in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007facb7d55ed5 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007facb14acb87 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00007facb14adaa9 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007facb14ae14d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007facb7d56956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00007facb7d267b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007facb7d26a07 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007facb7c25c07 in QThread::exec() () from /usr/lib/libQtCore.so.4
#14 0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#16 0x00007facb695539d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fac48bd0700 (LWP 3300)):
#0  0x00007fff47cdd98f in clock_gettime ()
#1  0x00007facb55f7dbb in clock_gettime () from /lib/librt.so.1
#2  0x00007facb7c7f494 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007facb7d570bd in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007facb7d573f3 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007facb7d55e2c in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007facb7d55ed5 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007facb14acb87 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00007facb14adaa9 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007facb14ae14d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007facb7d56956 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00007facb7d267b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007facb7d26a07 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007facb7c25c07 in QThread::exec() () from /usr/lib/libQtCore.so.4
#14 0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#16 0x00007facb695539d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fac483cf700 (LWP 3305)):
#0  0x00007facb666fb54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007facb7c2913b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007facaf01c2db in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c376c0, th=0x4b154b0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007facaf01ebcb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b1fdd0, th=0x4b154b0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007facaf01ebe4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b1fdd0, th=0x4b154b0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007facaf01da3f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac483cee20, parent=0x1c376c0, th=0x4b154b0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007facaf01dacb in ThreadWeaver::Thread::run (this=0x4b154b0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#9  0x00007facb695539d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fac47bce700 (LWP 3306)):
#0  0x00007facb666fb54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007facb7c2913b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007facaf01c2db in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c376c0, th=0x7fac98185cd0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007facaf01ebcb in ThreadWeaver::WorkingHardState::applyForWork (this=0x1b1fdd0, th=0x7fac98185cd0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007facaf01da3f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac47bcde20, parent=0x1c376c0, th=0x7fac98185cd0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:87
#5  0x00007facaf01dacb in ThreadWeaver::Thread::run (this=0x7fac98185cd0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/threadweaver/Weaver/Thread.cpp:142
#6  0x00007facb7c28c2b in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#8  0x00007facb695539d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fac4a632700 (LWP 3311)):
#0  0x00007facb666fb54 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fac9f421662 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007fac9f421699 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007facb666bdf0 in start_thread () from /lib/libpthread.so.0
#4  0x00007facb695539d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7facb97d5780 (LWP 2913)):
[KCrash Handler]
#6  value (akey=..., this=0x10) at /usr/include/QtCore/qmap.h:502
#7  KActionCollection::action (this=0x4b04b10, name=<optimized out>) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/actions/kactioncollection.cpp:137
#8  0x00007facb8655338 in KToolBar::Private::findAction (this=<optimized out>, actionName=..., clientOut=0x0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:548
#9  0x00007facb86559d7 in KToolBar::Private::slotContextAboutToShow (this=0x2aa87f0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:574
#10 0x00007facb7d3b751 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007facb7503742 in QMenu::popup(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4
#12 0x00007facb750426d in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4
#13 0x00007facb8655942 in contextMenuEvent (event=0x5c36db0, this=0x2aa40d0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:873
#14 KToolBar::contextMenuEvent (this=0x2aa40d0, event=0x5c36db0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:867
#15 0x00007facb7129a14 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007facb753c2cb in QToolBar::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007facb70d9614 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007facb70de94d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007facb8562676 in KApplication::notify (this=0x7fff47cc7200, receiver=0x2aa40d0, event=0x5c36db0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#20 0x00007facb7d279cc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#21 0x00007facb7d2b26a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#22 0x00007facb7d564c3 in ?? () from /usr/lib/libQtCore.so.4
#23 0x00007facb14ad6d3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007facb14adeb0 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007facb14ae14d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007facb7d568ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007facb717c88e in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007facb7d267b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007facb7d26a07 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007facb7d2b565 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#31 0x000000000040a1c9 in ?? ()
#32 0x00007facb68a217d in __libc_start_main () from /lib/libc.so.6
#33 0x000000000040a921 in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2012-04-07 11:39:13 UTC
we'll need a way to reproduce this, and a valgrind log then:

valgrind --track-origins=yes kdevelop
Comment 2 Steven Sroka 2012-04-09 19:03:53 UTC
Hmmm I haven't been able to reproduce it these passed few days. You can close the report and I'll reopen it if I ever run into the problem again.
Comment 3 Steven Sroka 2012-04-11 00:56:20 UTC
Created attachment 70301 [details]
New crash information added by DrKonqi

kdevelop (4.3.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

Right clicked the 'Build Selection' button. This time Dr. Konqi suggested Bug#296622 as a possible duplicate.

Crash might be related to KToolBar?

I will still try to find a way to consistently reproduce the crash and if I can, I will run KDevelop through Valgrind.

-- Backtrace (Reduced):
#6  0x00007f3bb0eb132a in KToolBar::Private::findAction (this=<optimized out>, actionName=..., clientOut=0x0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:548
#7  0x00007f3bb0eb19d7 in KToolBar::Private::slotContextAboutToShow (this=0x2000430) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:574
[...]
#9  0x00007f3bafd5f742 in QMenu::popup(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4
#10 0x00007f3bafd6026d in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4
#11 0x00007f3bb0eb1942 in contextMenuEvent (event=0x7fffcdf85d60, this=0x1ffeaf0) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.8.2/kdeui/widgets/ktoolbar.cpp:873
Comment 4 Milian Wolff 2012-04-17 17:54:26 UTC
jup looks like a dupe of that report

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