Bug 265217 - konqueror: crash when resetting toolbars
Summary: konqueror: crash when resetting toolbars
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 270236 274803 278884 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-02 19:15 UTC by Jon Nelson
Modified: 2011-11-22 01:32 UTC (History)
7 users (show)

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


Attachments
New crash information added by DrKonqi (10.69 KB, text/plain)
2011-07-13 05:54 UTC, Vamp898
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson 2011-02-02 19:15:10 UTC
Application: konqueror (4.6.00 (4.6.0) "release 375")
KDE Platform Version: 4.6.00 (4.6.0) "release 375"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
using KDE 4.6.0, if I choose:

Settings -> Configure Toolbars
and click Defaults, after accepting the dialog konqueror crashes.
Every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  QObject::property (this=0x0, name=0x7fa87792b050 "_k_DefaultShortcut") at kernel/qobject.cpp:3444
#7  0x00007fa8777e35cc in KXMLGUIFactoryPrivate::saveDefaultActionProperties (this=<value optimized out>, actions=<value optimized out>)
    at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguifactory.cpp:367
#8  0x00007fa8778ca445 in KXMLGUIFactory::plugActionList (this=0x865e10, client=0x90b710, name=<value optimized out>, actionList=...)
    at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguifactory.cpp:575
#9  0x00007fa867535dc4 in ?? () from /usr/lib64/libkdeinit4_konqueror.so
#10 0x00007fa867537405 in ?? () from /usr/lib64/libkdeinit4_konqueror.so
#11 0x00007fa86755133d in ?? () from /usr/lib64/libkdeinit4_konqueror.so
#12 0x00007fa876a9bfef in QMetaObject::activate (sender=0x7fffe69bbbe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#13 0x00007fa8778ce92f in KEditToolBarPrivate::_k_slotDefault (this=0xf70e60) at /usr/src/debug/kdelibs-4.6.0/kdeui/dialogs/kedittoolbar.cpp:654
#14 0x00007fa8778cefad in KEditToolBar::qt_metacall (this=0x7fffe69bbbe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe69ba240)
    at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kedittoolbar.moc:87
#15 0x00007fa876a9bfef in QMetaObject::activate (sender=0x7fffe69bbbe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#16 0x00007fa87789080e in KDialog::slotButtonClicked (this=0x7fffe69bbbe0, button=2) at /usr/src/debug/kdelibs-4.6.0/kdeui/dialogs/kdialog.cpp:923
#17 0x00007fa877891fc2 in KDialog::qt_metacall (this=0x7fffe69bbbe0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffe69ba400) at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kdialog.moc:190
#18 0x00007fa8778cef80 in KEditToolBar::qt_metacall (this=0x7fffe69bbbe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe69ba400)
    at /usr/src/debug/kdelibs-4.6.0/build/kdeui/kedittoolbar.moc:77
#19 0x00007fa876a9bfef in QMetaObject::activate (sender=0xf70660, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe69ba400) at kernel/qobject.cpp:3272
#20 0x00007fa876a9fd1e in QSignalMapper::mapped (this=<value optimized out>, _t1=2) at .moc/release-shared/moc_qsignalmapper.cpp:101
#21 0x00007fa876a9ff45 in QSignalMapper::map (this=0xf70660, sender=0x10b5b50) at kernel/qsignalmapper.cpp:266
#22 0x00007fa876aa0600 in QSignalMapper::qt_metacall (this=0xf70660, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffe69ba570) at .moc/release-shared/moc_qsignalmapper.cpp:87
#23 0x00007fa876a9bfef in QMetaObject::activate (sender=0x10b5b50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe69ba570) at kernel/qobject.cpp:3272
#24 0x00007fa87629e6b2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#25 0x00007fa875fe371b in QAbstractButtonPrivate::emitClicked (this=0xf6eb10) at widgets/qabstractbutton.cpp:546
#26 0x00007fa875fe4ceb in QAbstractButtonPrivate::click (this=0xf6eb10) at widgets/qabstractbutton.cpp:539
#27 0x00007fa875fe4f5c in QAbstractButton::mouseReleaseEvent (this=0x10b5b50, e=0x7fffe69baef0) at widgets/qabstractbutton.cpp:1121
#28 0x00007fa875c794a8 in QWidget::event (this=0x10b5b50, event=0x7fffe69baef0) at kernel/qwidget.cpp:8200
#29 0x00007fa875c27cd4 in QApplicationPrivate::notify_helper (this=0x6b89d0, receiver=0x10b5b50, e=0x7fffe69baef0) at kernel/qapplication.cpp:4445
#30 0x00007fa875c30a4a in QApplication::notify (this=<value optimized out>, receiver=0x10b5b50, e=0x7fffe69baef0) at kernel/qapplication.cpp:4006
#31 0x00007fa87773bec6 in KApplication::notify (this=0x7fffe69bcd20, receiver=0x10b5b50, event=0x7fffe69baef0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#32 0x00007fa876a86e2c in QCoreApplication::notifyInternal (this=0x7fffe69bcd20, receiver=0x10b5b50, event=0x7fffe69baef0) at kernel/qcoreapplication.cpp:732
#33 0x00007fa875c28cd5 in sendEvent (receiver=0x10b5b50, event=0x7fffe69baef0, alienWidget=0x10b5b50, nativeWidget=0x7fffe69bbbe0, buttonDown=0x7fa876703178, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x10b5b50, event=0x7fffe69baef0, alienWidget=0x10b5b50, nativeWidget=0x7fffe69bbbe0, buttonDown=0x7fa876703178, lastMouseReceiver=..., spontaneous=
    true) at kernel/qapplication.cpp:3105
#35 0x00007fa875ca6ef8 in QETWidget::translateMouseEvent (this=0x7fffe69bbbe0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#36 0x00007fa875ca55d9 in QApplication::x11ProcessEvent (this=0x7fffe69bcd20, event=0x7fffe69bb850) at kernel/qapplication_x11.cpp:3564
#37 0x00007fa875ccd212 in x11EventSourceDispatch (s=0x6bc730, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007fa87232ea93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fa87232f270 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007fa87232f510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007fa876ab1a8f in QEventDispatcherGlib::processEvents (this=0x617ca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007fa875ccceae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fa876a86262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fa876a86475 in QEventLoop::exec (this=0x7fffe69bbb70, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007fa8760e2d3e in QDialog::exec (this=0x7fffe69bbbe0) at dialogs/qdialog.cpp:552
#46 0x00007fa86754c59b in ?? () from /usr/lib64/libkdeinit4_konqueror.so
#47 0x00007fa867551312 in ?? () from /usr/lib64/libkdeinit4_konqueror.so
#48 0x00007fa876a9ac6a in QObject::event (this=0x90b420, e=<value optimized out>) at kernel/qobject.cpp:1211
#49 0x00007fa875c78e4d in QWidget::event (this=0x90b420, event=0x11e46f0) at kernel/qwidget.cpp:8659
#50 0x00007fa87603fdcb in QMainWindow::event (this=0x90b420, event=0x11e46f0) at widgets/qmainwindow.cpp:1478
#51 0x00007fa8777e7463 in KXmlGuiWindow::event (this=0x90b420, ev=0x11e46f0) at /usr/src/debug/kdelibs-4.6.0/kdeui/xmlgui/kxmlguiwindow.cpp:126
#52 0x00007fa86753386c in ?? () from /usr/lib64/libkdeinit4_konqueror.so
#53 0x00007fa875c27cd4 in QApplicationPrivate::notify_helper (this=0x6b89d0, receiver=0x90b420, e=0x11e46f0) at kernel/qapplication.cpp:4445
#54 0x00007fa875c301ca in QApplication::notify (this=<value optimized out>, receiver=0x90b420, e=0x11e46f0) at kernel/qapplication.cpp:4324
#55 0x00007fa87773bec6 in KApplication::notify (this=0x7fffe69bcd20, receiver=0x90b420, event=0x11e46f0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#56 0x00007fa876a86e2c in QCoreApplication::notifyInternal (this=0x7fffe69bcd20, receiver=0x90b420, event=0x11e46f0) at kernel/qcoreapplication.cpp:732
#57 0x00007fa876a8a625 in sendEvent (receiver=0x0, event_type=0, data=0x6103e0) at kernel/qcoreapplication.h:215
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6103e0) at kernel/qcoreapplication.cpp:1373
#59 0x00007fa876ab18f3 in sendPostedEvents (s=0x6bc520) at kernel/qcoreapplication.h:220
#60 postEventSourceDispatch (s=0x6bc520) at kernel/qeventdispatcher_glib.cpp:277
#61 0x00007fa87232ea93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#62 0x00007fa87232f270 in ?? () from /usr/lib64/libglib-2.0.so.0
#63 0x00007fa87232f510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#64 0x00007fa876ab1a8f in QEventDispatcherGlib::processEvents (this=0x617ca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#65 0x00007fa875ccceae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007fa876a86262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007fa876a86475 in QEventLoop::exec (this=0x7fffe69bcaf0, flags=...) at kernel/qeventloop.cpp:201
#68 0x00007fa876a8a8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#69 0x00007fa86756e2da in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#70 0x0000000000407609 in launch (argc=1, _name=0x682238 "konqueror", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40b397 "0") at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:730
#71 0x0000000000408125 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:1222
#72 0x000000000040889a in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:1415
#73 0x00000000004094f0 in main (argc=4, argv=0x7fffe69be698, envp=0x7fffe69be6c0) at /usr/src/debug/kdelibs-4.6.0/kinit/kinit.cpp:1903

Reported using DrKonqi
Comment 1 Tommi Tervo 2011-04-06 19:44:51 UTC
*** Bug 270236 has been marked as a duplicate of this bug. ***
Comment 2 Tommi Tervo 2011-06-12 21:31:16 UTC
*** Bug 274803 has been marked as a duplicate of this bug. ***
Comment 3 Dawit Alemayehu 2011-06-20 02:06:43 UTC
Cannot reproduce this on my system. Is this still an issue in the latest version of KDE  (v4.6.4) ?
Comment 4 Vamp898 2011-07-13 05:54:49 UTC
Created attachment 61830 [details]
New crash information added by DrKonqi

konqueror (4.6.2 (4.6.2)) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I remove the Favourites Menu from the Toolbar

-- Backtrace (Reduced):
#6  QObject::property (this=0x0, name=0x7f482f2d6fc5 "_k_DefaultShortcut") at kernel/qobject.cpp:3459
#7  0x00007f482f25fb2e in KXMLGUIFactoryPrivate::saveDefaultActionProperties (this=<value optimized out>, actions=<value optimized out>) at ../../kdeui/xmlgui/kxmlguifactory.cpp:367
#8  0x00007f482f262248 in KXMLGUIFactory::plugActionList (this=0x1f3fe70, client=0x1d6a880, name=<value optimized out>, actionList=...) at ../../kdeui/xmlgui/kxmlguifactory.cpp:575
#9  0x00007f4830f414b1 in KonqMainWindow::plugViewModeActions (this=0x1d6a590) at ../../../konqueror/src/konqmainwindow.cpp:4873
#10 0x00007f4830f42a3d in KonqMainWindow::slotNewToolbarConfig (this=0x1d6a590) at ../../../konqueror/src/konqmainwindow.cpp:1785
Comment 5 Jon Nelson 2011-07-29 16:51:52 UTC
Not sure how this bug can still be UNCONFIRMED.
It happens 100% of the time and is easy to reproduce.
Still happening on 4.7.0 final.

tap tap tap. Is this thing on?
Comment 6 Tommi Tervo 2011-07-29 18:18:10 UTC
==10654== Invalid read of size 4
==10654==    at 0x50E073B: QObject::property(char const*) const (qscopedpointer.h:135)
==10654==    by 0x4BAE39A: KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) (kxmlguifactory.cpp:575)
==10654==    by 0x4BAAD2D: KXMLGUIClient::plugActionList(QString const&, QList<QAction*> const&) (kxmlguiclient.cpp:657)
==10654==    by 0x40B8624: KonqMainWindow::plugViewModeActions() (konqmainwindow.cpp:4922)
==10654==    by 0x40A399B: KonqMainWindow::slotNewToolbarConfig() (konqmainwindow.cpp:1812)
==10654==    by 0x40BE0B8: KonqMainWindow::qt_metacall(QMetaObject::Call, int, void**) (konqmainwindow.moc:386)
==10654==    by 0x50D407C: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==10654==    by 0x132ADE7F: ???
==10654==  Address 0x4 is not stack'd, malloc'd or (recently) free'd
Comment 7 Gérard Talbot (no longer involved) 2011-08-24 00:45:42 UTC
> Not sure how this bug can still be UNCONFIRMED.
> It happens 100% of the time and is easy to reproduce.
> Still happening on 4.7.0 final.

Jon, I agree with you and confirm your findings. 

I can crash 100% of the time while using
Application: konqueror (4.7.00 (4.7.0)) (using KHTML rendering engine)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic-pae i686 (32bits)
Distribution: Ubuntu 11.04

I can provide crash data, backtrace ([KCrash Handler]) if requested.

-------------

Bug 280407 may be a DUPLICATE of this bug: it has the same description for starters.

-------------

Jon, just one question please (a bit off-topic; sorry!). Do you have difficulties with displaying the Bookmarks toolbar?

Thanks in advance,

regards, Gérard Talbot
Comment 8 Dawit Alemayehu 2011-08-24 02:39:07 UTC
*** Bug 280407 has been marked as a duplicate of this bug. ***
Comment 9 Dawit Alemayehu 2011-11-21 21:28:34 UTC
*** Bug 278884 has been marked as a duplicate of this bug. ***
Comment 10 Dawit Alemayehu 2011-11-22 01:28:36 UTC
See https://git.reviewboard.kde.org/r/102419/. I forgot to include a BUG: keyword in the commit message, but this was fixed for KDE 4.7.1 release.
Comment 11 Gérard Talbot (no longer involved) 2011-11-22 01:32:41 UTC
Hello,

I just tried a few min. ago and this time I did *not* crash.

After clearing history, after clearing cache and after disabling javascript debugger, I did

Settings/Configure toolbars.../Main Konqueror toolbar

I clicked the Defaults button and after accepting Dialog Reset, I did not crash.

I am using
Application: Konqueror 4.7.3 (using KHTML rendering engine)
KDE Platform Version: 4.7.3
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic-pae i686 (32bits)
Distribution: Kubuntu 11.10 oneiric
here.

regards, Gérard