Bug 280407 - Konqueror crashes after resetting toolbar buttons.
Summary: Konqueror crashes after resetting toolbar buttons.
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 11:08 UTC by Adrian Cozma
Modified: 2011-08-24 14:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Cozma 2011-08-19 11:08:29 UTC
Application: konqueror (4.7.00 (4.7.0))
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
Konqueror crashes after resetting toolbar buttons, subsequent to the disappearance of the location bar.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f88f08a6780 (LWP 5397))]

Thread 2 (Thread 0x7f88d105b700 (LWP 5404)):
#0  0x00007fff4c9b7861 in clock_gettime ()
#1  0x00007f88e92b0146 in clock_gettime (clock_id=1, tp=0x7f88d105ab30) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f88edbcd304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f88edc8ee3d in QTimerInfoList::updateCurrentTime (this=0xd41060) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f88edc8f1a5 in QTimerInfoList::timerWait (this=0xd41060, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f88edc8dc2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f88d105ac4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f88edc8dcd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f88e8fff0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f88e8ffff9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f88e9000639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f88edc8e446 in QEventDispatcherGlib::processEvents (this=0xb59d10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f88edc62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f88edc62abc in QEventLoop::exec (this=0x7f88d105add0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f88edb79924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007f88edc44c2f in QInotifyFileSystemWatcherEngine::run (this=0xd3fcf0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f88edb7c175 in QThreadPrivate::start (arg=0xd3fcf0) at thread/qthread_unix.cpp:320
#17 0x00007f88e98c3d8c in start_thread (arg=0x7f88d105b700) at pthread_create.c:304
#18 0x00007f88f014404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f88f08a6780 (LWP 5397)):
[KCrash Handler]
#6  QObject::property (this=0x0, name=0x7f88ee817665 "_k_DefaultShortcut") at kernel/qobject.cpp:3459
#7  0x00007f88ee79017e in KXMLGUIFactoryPrivate::saveDefaultActionProperties (this=<value optimized out>, actions=<value optimized out>) at ../../kdeui/xmlgui/kxmlguifactory.cpp:367
#8  0x00007f88ee7923e8 in KXMLGUIFactory::plugActionList (this=0xba62b0, client=0xa12e80, name=<value optimized out>, actionList=...) at ../../kdeui/xmlgui/kxmlguifactory.cpp:575
#9  0x00007f88f046bc81 in KonqMainWindow::plugViewModeActions (this=0xa12b90) at ../../../konqueror/src/konqmainwindow.cpp:4911
#10 0x00007f88f046d1ed in KonqMainWindow::slotNewToolbarConfig (this=0xa12b90) at ../../../konqueror/src/konqmainwindow.cpp:1813
#11 0x00007f88f0487aed in KonqMainWindow::qt_metacall (this=0xa12b90, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0x7fff4c85b770) at ./konqmainwindow.moc:386
#12 0x00007f88edc785f8 in QMetaObject::activate (sender=0x7fff4c85d150, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#13 0x00007f88ee5f084f in KEditToolBarPrivate::_k_slotApply (this=0x14813c0) at ../../kdeui/dialogs/kedittoolbar.cpp:681
#14 0x00007f88ee5f433d in KEditToolBar::qt_metacall (this=0x7fff4c85d150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c85b860) at ./kedittoolbar.moc:85
#15 0x00007f88edc785f8 in QMetaObject::activate (sender=0x7fff4c85d150, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#16 0x00007f88ee5e810e in KDialog::slotButtonClicked (this=0x7fff4c85d150, button=8) at ../../kdeui/dialogs/kdialog.cpp:887
#17 0x00007f88ee5e86b2 in KDialog::qt_metacall (this=0x7fff4c85d150, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff4c85ba10) at ./kdialog.moc:190
#18 0x00007f88ee5f42c0 in KEditToolBar::qt_metacall (this=0x7fff4c85d150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c85ba10) at ./kedittoolbar.moc:77
#19 0x00007f88edc785f8 in QMetaObject::activate (sender=0x14dd110, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4c85ba10) at kernel/qobject.cpp:3287
#20 0x00007f88edc7c38e in QSignalMapper::mapped (this=<value optimized out>, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#21 0x00007f88edc7c496 in QSignalMapper::map (this=0x14dd110, sender=0x152da10) at kernel/qsignalmapper.cpp:266
#22 0x00007f88edc7cba0 in QSignalMapper::qt_metacall (this=0x14dd110, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff4c85bb60) at .moc/release-shared/moc_qsignalmapper.cpp:87
#23 0x00007f88edc785f8 in QMetaObject::activate (sender=0x152da10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4c85bb60) at kernel/qobject.cpp:3287
#24 0x00007f88ed421942 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#25 0x00007f88ed16af2e in QAbstractButtonPrivate::emitClicked (this=0x142c740) at widgets/qabstractbutton.cpp:546
#26 0x00007f88ed16c4ab in QAbstractButtonPrivate::click (this=0x142c740) at widgets/qabstractbutton.cpp:539
#27 0x00007f88ed16c71c in QAbstractButton::mouseReleaseEvent (this=0x152da10, e=0x7fff4c85c4a0) at widgets/qabstractbutton.cpp:1121
#28 0x00007f88ecdfacc8 in QWidget::event (this=0x152da10, event=0x7fff4c85c4a0) at kernel/qwidget.cpp:8259
#29 0x00007f88ecda99f4 in QApplicationPrivate::notify_helper (this=0x960590, receiver=0x152da10, e=0x7fff4c85c4a0) at kernel/qapplication.cpp:4462
#30 0x00007f88ecdaedc3 in QApplication::notify (this=<value optimized out>, receiver=0x152da10, e=0x7fff4c85c4a0) at kernel/qapplication.cpp:4023
#31 0x00007f88ee68c796 in KApplication::notify (this=0x7fff4c85e250, receiver=0x152da10, event=0x7fff4c85c4a0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f88edc6349c in QCoreApplication::notifyInternal (this=0x7fff4c85e250, receiver=0x152da10, event=0x7fff4c85c4a0) at kernel/qcoreapplication.cpp:731
#33 0x00007f88ecdaaa1d in sendEvent (receiver=0x152da10, event=0x7fff4c85c4a0, alienWidget=0x152da10, nativeWidget=0x7fff4c85d150, buttonDown=0x7f88ed88d218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x152da10, event=0x7fff4c85c4a0, alienWidget=0x152da10, nativeWidget=0x7fff4c85d150, buttonDown=0x7f88ed88d218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#35 0x00007f88ece2c190 in QETWidget::translateMouseEvent (this=0x7fff4c85d150, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#36 0x00007f88ece2aab7 in QApplication::x11ProcessEvent (this=0x7fff4c85e250, event=0x7fff4c85cdf0) at kernel/qapplication_x11.cpp:3680
#37 0x00007f88ece53842 in x11EventSourceDispatch (s=0x963d90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f88e8fffbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f88e90003a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f88e9000639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f88edc8e3ef in QEventDispatcherGlib::processEvents (this=0x910340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f88ece534de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f88edc62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f88edc62abc in QEventLoop::exec (this=0x7fff4c85d0f0, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f88ed26afd6 in QDialog::exec (this=0x7fff4c85d150) at dialogs/qdialog.cpp:552
#46 0x00007f88f04828ba in KonqMainWindow::slotConfigureToolbars (this=0xa12b90) at ../../../konqueror/src/konqmainwindow.cpp:1802
#47 0x00007f88f0487ac2 in KonqMainWindow::qt_metacall (this=0xa12b90, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0x1528930) at ./konqmainwindow.moc:383
#48 0x00007f88edc7749a in QObject::event (this=0xa12b90, e=<value optimized out>) at kernel/qobject.cpp:1226
#49 0x00007f88ecdfa67d in QWidget::event (this=0xa12b90, event=0xb2f590) at kernel/qwidget.cpp:8718
#50 0x00007f88ed1c6c0b in QMainWindow::event (this=0xa12b90, event=0xb2f590) at widgets/qmainwindow.cpp:1480
#51 0x00007f88ee7852a8 in KXmlGuiWindow::event (this=0xa12b90, ev=0xb2f590) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#52 0x00007f88f046bb3c in KonqMainWindow::event (this=0xa12b90, e=0xb2f590) at ../../../konqueror/src/konqmainwindow.cpp:5582
#53 0x00007f88ecda99f4 in QApplicationPrivate::notify_helper (this=0x960590, receiver=0xa12b90, e=0xb2f590) at kernel/qapplication.cpp:4462
#54 0x00007f88ecdae3ba in QApplication::notify (this=<value optimized out>, receiver=0xa12b90, e=0xb2f590) at kernel/qapplication.cpp:4341
#55 0x00007f88ee68c796 in KApplication::notify (this=0x7fff4c85e250, receiver=0xa12b90, event=0xb2f590) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x00007f88edc6349c in QCoreApplication::notifyInternal (this=0x7fff4c85e250, receiver=0xa12b90, event=0xb2f590) at kernel/qcoreapplication.cpp:731
#57 0x00007f88edc66c25 in sendEvent (receiver=0x0, event_type=0, data=0x910b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x910b60) at kernel/qcoreapplication.cpp:1372
#59 0x00007f88edc8e253 in sendPostedEvents (s=0x962dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#60 postEventSourceDispatch (s=0x962dc0) at kernel/qeventdispatcher_glib.cpp:277
#61 0x00007f88e8fffbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f88e90003a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f88e9000639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f88edc8e3ef in QEventDispatcherGlib::processEvents (this=0x910340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#65 0x00007f88ece534de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007f88edc62882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007f88edc62abc in QEventLoop::exec (this=0x7fff4c85e000, flags=...) at kernel/qeventloop.cpp:201
#68 0x00007f88edc66ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#69 0x00007f88f04a5aea in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../konqueror/src/konqmain.cpp:242
#70 0x00007f88f007ceff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=2, ubp_av=0x7fff4c85eb98, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff4c85eb88) at libc-start.c:226
#71 0x0000000000400669 in _start ()

This bug may be a duplicate of or related to bug 274803, bug 265217, bug 270236.

Possible duplicates by query: bug 274803, bug 270236, bug 265217.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2011-08-24 02:39:07 UTC

*** This bug has been marked as a duplicate of bug 265217 ***
Comment 2 Dawit Alemayehu 2011-08-24 14:23:01 UTC
Git commit 42d9f4df5e6028b91a43a696c0abd58aaefd527f by Dawit Alemayehu.
Committed on 24/08/2011 at 16:19.
Pushed by adawit into branch 'KDE/4.7'.

Do not insert a null QAction into the list since it will cause a crash in
KXMLGuiFactory.

BUG: 280407
FIXED-IN: 4.7.1

M  +5    -1    konqueror/src/konqmainwindow.cpp

http://commits.kde.org/kde-baseapps/42d9f4df5e6028b91a43a696c0abd58aaefd527f
Comment 3 Dawit Alemayehu 2011-08-24 14:24:04 UTC
Git commit 9de156ef1cd59bea621fbdb9a675f4e2525ba0a6 by Dawit Alemayehu.
Committed on 24/08/2011 at 16:19.
Pushed by adawit into branch 'master'.

Do not insert a null QAction into the list since it will cause a crash in
KXMLGuiFactory.

BUG: 280407
FIXED-IN: 4.7.1

(cherry picked from commit 42d9f4df5e6028b91a43a696c0abd58aaefd527f)

M  +5    -1    konqueror/src/konqmainwindow.cpp

http://commits.kde.org/kde-baseapps/9de156ef1cd59bea621fbdb9a675f4e2525ba0a6