Bug 166786 - crash after adding two separators to main toolbar
Summary: crash after adding two separators to main toolbar
Status: RESOLVED DUPLICATE of bug 173717
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 00:01 UTC by Bohan
Modified: 2008-12-14 17:27 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 Bohan 2008-07-17 00:01:21 UTC
Version:           4.0.98 Release 7.1 (using KDE 4.0.98)
Installed from:    SuSE RPMs
Compiler:          gcc 4.3.1 openSUSE 11.0
OS:                Linux

Currently konqueror has an issue that prevents placing the Main and Location bars on the same row, in that the location bar will, upon restart, 'eat up' the main toolbar and clip off the screen. This morning I tried to solve it by placing two separators on the end of the Main bar in the hope that this will be a 'barrier' to the hunger of the Location bar. However when I exit Konqueror after doing this, it crashes with signal 6:

Application: Konqueror (konqueror), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f2db9879700 (LWP 3657)]
[KCrash handler]
#5  0x00007f2db2e885c5 in raise () from /lib64/libc.so.6
#6  0x00007f2db2e89bb3 in abort () from /lib64/libc.so.6
#7  0x00007f2db2ecbb20 in ?? () from /lib64/libc.so.6
#8  0x00007f2db71c97ac in QString::free (d=0xf3d210) at tools/qstring.cpp:931
#9  0x00007f2db51b0c8a in ~QDomNodePrivate (this=0xbc49d0)
    at ../../include/QtCore/../../src/corelib/tools/qstring.h:831
#10 0x00007f2db51b9233 in ~QDomAttrPrivate (this=0xe49) at dom/qdom.cpp:362
#11 0x00007f2db51b0351 in QDomNamedNodeMapPrivate::clearMap (this=0xc8f5f0)
    at dom/qdom.cpp:3043
#12 0x00007f2db51b0409 in ~QDomNamedNodeMapPrivate (this=0xe49)
    at dom/qdom.cpp:3015
#13 0x00007f2db51b0e0a in ~QDomElementPrivate (this=0xbc4950)
    at dom/qdom.cpp:4391
#14 0x00007f2db51b0be9 in ~QDomNodePrivate (this=0xf3c680) at dom/qdom.cpp:1461
#15 0x00007f2db51b0e1a in ~QDomElementPrivate (this=0xf3c680)
    at dom/qdom.cpp:4392
#16 0x00007f2db51b0be9 in ~QDomNodePrivate (this=0xad2a40) at dom/qdom.cpp:1461
#17 0x00007f2db51b0e1a in ~QDomElementPrivate (this=0xad2a40)
    at dom/qdom.cpp:4392
#18 0x00007f2db51b0be9 in ~QDomNodePrivate (this=0xf872b0) at dom/qdom.cpp:1461
#19 0x00007f2db51b0cf5 in ~QDomDocumentPrivate (this=0xf872b0)
    at dom/qdom.cpp:6137
#20 0x00007f2db85d48de in ~KXMLGUIClient (this=0x6d4238)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/xmlgui/kxmlguiclient.cpp:54
#21 0x00007f2db942828c in ~KonqMainWindow (this=0x6d3f60)
    at /usr/src/debug/kdebase-4.0.98/apps/konqueror/src/konqmainwindow.cpp:351
#22 0x00007f2db726ca05 in QObject::event (this=0x6d3f60, e=0xe49)
    at kernel/qobject.cpp:1124
#23 0x00007f2db45319ec in QWidget::event (this=0xe49, event=0xdd1b10)
    at kernel/qwidget.cpp:7310
#24 0x00007f2db47fd0fb in QMainWindow::event (this=0x6d3f60, event=0xdd1b10)
    at widgets/qmainwindow.cpp:1252
#25 0x00007f2db85d08f8 in KXmlGuiWindow::event (this=0xe49, ev=0xe49)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/xmlgui/kxmlguiwindow.cpp:122
#26 0x00007f2db94321db in KonqMainWindow::event (this=0x6d3f60, e=0xdd1b10)
    at /usr/src/debug/kdebase-4.0.98/apps/konqueror/src/konqmainwindow.cpp:5608
#27 0x00007f2db44e592d in QApplicationPrivate::notify_helper (this=0x61ea20, 
    receiver=0x6d3f60, e=0xdd1b10) at kernel/qapplication.cpp:3772
#28 0x00007f2db44ebcfa in QApplication::notify (this=0x7fffc18b2000, 
    receiver=0x6d3f60, e=0xdd1b10) at kernel/qapplication.cpp:3739
#29 0x00007f2db84e79ab in KApplication::notify (this=0x7fffc18b2000, 
    receiver=0x6d3f60, event=0xdd1b10)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/kernel/kapplication.cpp:311
#30 0x00007f2db725ee9c in QCoreApplication::notifyInternal (
    this=0x7fffc18b2000, receiver=0x6d3f60, event=0xdd1b10)
    at kernel/qcoreapplication.cpp:584
#31 0x00007f2db725f7cb in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=52, data=0x602d80)
    at kernel/qcoreapplication.h:215
#32 0x00007f2db725fa50 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:851
#33 0x00007f2db946bc34 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /usr/src/debug/kdebase-4.0.98/apps/konqueror/src/konqmain.cpp:227
#34 0x00007f2db2e74436 in __libc_start_main () from /lib64/libc.so.6
#35 0x0000000000400879 in _start ()
#0  0x00007f2db2ef8230 in nanosleep () from /lib64/libc.so.6

Konqueror
Version 4.00.98 (KDE 4.0.98 (4.1 RC1)) "release 7.1"
Using KDE 4.00.98 (KDE 4.0.98 (4.1 RC1)) "release 7.1"
openSUSE Build Service KDE4:/Factory 16/07/08
Comment 1 Bohan 2008-07-17 00:43:33 UTC
This time I tried to fix the issue by copying all the buttons from Main to Location toolbar and then removing the Main toolbar. However this causes a crash (sig 11):

Application: Konqueror (konqueror), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7fcb5773a700 (LWP 3832)]
[KCrash handler]
#5  QObjectPrivate::removeReceiver (this=0xe69e80, 
    signal=<value optimized out>, receiver=0x12e6cd0) at kernel/qobject.cpp:354
#6  0x00007fcb55134304 in ~QObject (this=0x12e6cd0) at kernel/qobject.cpp:850
#7  0x00007fcb523f10f7 in ~QWidget (this=0x12e6cd0) at kernel/qwidget.cpp:1346
#8  0x00007fcb5645bb0b in ~KMenu (this=0x12e6cd0)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/widgets/kmenu.cpp:171
#9  0x00007fcb562d9009 in ~KActionMenu (this=0x12e6e40)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/actions/kactionmenu.cpp:77
#10 0x00007fcb564941e6 in KDEPrivate::ToolBarHandler::setupActions (
    this=0x106f590) at /usr/include/QtCore/qalgorithms.h:352
#11 0x00007fcb5648861b in KToolBar::Private::slotContextAboutToShow (
    this=0x134aa80)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/widgets/ktoolbar.cpp:479
#12 0x00007fcb56488bd9 in KToolBar::qt_metacall (this=0x10e09c0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff5f771790)
    at /usr/src/debug/kdelibs-4.0.98/build/kdeui/ktoolbar.moc:90
#13 0x00007fcb551314f0 in QMetaObject::activate (sender=0x1382a90, 
    from_signal_index=<value optimized out>, to_signal_index=27, 
    argv=0x124de00) at kernel/qobject.cpp:3007
#14 0x00007fcb526dff08 in QMenu::popup (this=0x1382a90, p=@0x7fff5f772040, 
    atAction=0x0) at widgets/qmenu.cpp:1726
#15 0x00007fcb526e3973 in QMenu::exec (this=0x1382a90, p=@0x7fff5f772040, 
    action=0xe69fe0) at widgets/qmenu.cpp:1926
#16 0x00007fcb564885a0 in KToolBar::contextMenuEvent (this=0x10e09c0, 
    event=0x7fff5f772020)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/widgets/ktoolbar.cpp:735
#17 0x00007fcb523f357d in QWidget::event (this=0xe69e80, event=0x7fff5f772020)
    at kernel/qwidget.cpp:7083
#18 0x00007fcb5271789b in QToolBar::event (this=0x10e09c0, 
    event=0x7fff5f772020) at widgets/qtoolbar.cpp:1145
#19 0x00007fcb523a692d in QApplicationPrivate::notify_helper (this=0x61ea20, 
    receiver=0x10e09c0, e=0x7fff5f772020) at kernel/qapplication.cpp:3772
#20 0x00007fcb523ada5e in QApplication::notify (this=<value optimized out>, 
    receiver=0x9, e=0x7fff5f772020) at kernel/qapplication.cpp:3586
#21 0x00007fcb563a89ab in KApplication::notify (this=0x7fff5f772ec0, 
    receiver=0x10e09c0, event=0x7fff5f772020)
    at /usr/src/debug/kdelibs-4.0.98/kdeui/kernel/kapplication.cpp:311
#22 0x00007fcb5511fe9c in QCoreApplication::notifyInternal (
    this=0x7fff5f772ec0, receiver=0x10e09c0, event=0x7fff5f772020)
    at kernel/qcoreapplication.cpp:584
#23 0x00007fcb52404f1f in QETWidget::translateMouseEvent (this=0xe7e9b0, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4137
#24 0x00007fcb524034fb in QApplication::x11ProcessEvent (this=0x7fff5f772ec0, 
    event=0x7fff5f772ac0) at kernel/qapplication_x11.cpp:3253
#25 0x00007fcb5242757c in QEventDispatcherX11::processEvents (this=0x61e2b0, 
    flags={i = 1601645520}) at kernel/qeventdispatcher_x11.cpp:134
#26 0x00007fcb5511e7f2 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = 1601645568})
    at kernel/qeventloop.cpp:149
#27 0x00007fcb5511e985 in QEventLoop::exec (this=0x7fff5f772c40, flags=
      {i = 1601645648}) at kernel/qeventloop.cpp:196
#28 0x00007fcb55120a25 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:846
#29 0x00007fcb5732cc34 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /usr/src/debug/kdebase-4.0.98/apps/konqueror/src/konqmain.cpp:227
#30 0x00007fcb50d35436 in __libc_start_main () from /lib64/libc.so.6
#31 0x0000000000400879 in _start ()
#0  0x00007fcb50db9230 in nanosleep () from /lib64/libc.so.6
Comment 2 Christophe Marin 2008-07-17 00:52:07 UTC
Please don't mix the backtraces, it makes finding the duplicate ones more difficult for us.
Comment 3 Bohan 2008-07-17 01:10:35 UTC
Should I resubmit it as a second bug? just that the two are closely
related that all.

On 16 Jul 2008 22:52:07 -0000, Christophe Giboudeaux <kropx77@gmail.com> wrote:
[bugs.kde.org quoted mail]
Comment 4 Dario Andres 2008-12-04 17:55:47 UTC
The backtrace in comment 0 looks similar to the one described at bug 173717. (similar situation, ~KXMLGUIClient, modifying toolbars)
Comment 5 Dario Andres 2008-12-14 17:27:05 UTC
Marking as duplicate of bug 173717

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