Bug 201478 - konqueror crashes when i start konsole via context menu sometimes
Summary: konqueror crashes when i start konsole via context menu sometimes
Status: RESOLVED DUPLICATE of bug 195237
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
: 203306 (view as bug list)
Depends on:
Reported: 2009-07-25 19:15 UTC by Daniel Frenzel
Modified: 2009-10-08 14:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:

amarok got terminated after opening a konsole in the kontexmenu. most times (if error occurs) konqueror get terminated (14.59 KB, application/octet-stream)
2009-07-27 00:09 UTC, Daniel Frenzel
trace with debug-files; amarok and alls konqueror-threads terminated. (3.80 KB, application/octet-stream)
2009-07-27 00:26 UTC, Daniel Frenzel
another of amarok and the debug-trace (17.54 KB, application/octet-stream)
2009-07-27 00:30 UTC, Daniel Frenzel

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Frenzel 2009-07-25 19:15:30 UTC
Version:            (using KDE 4.2.98)
Compiler:          g++ 
OS:                Linux
Installed from:    SuSE RPMs

sometimes konqueror crashes if i start konsole via context menu. the konsole-program gets startet but konqueror is closed. problem is a memory alloc. but this problem occurs only sometimes.
Comment 1 Dario Andres 2009-07-25 23:05:49 UTC
If Konqueror is crashing, can you get a backtrace? Thanks
Comment 2 Daniel Frenzel 2009-07-27 00:09:46 UTC
Created attachment 35656 [details]
amarok got terminated after opening a konsole in the kontexmenu. most times (if error occurs) konqueror get terminated
Comment 3 Daniel Frenzel 2009-07-27 00:10:39 UTC
i am sorry, i have no debug-files installed. nevertheless i tried to reproduce the crash, after some times of using the context-action therewas a crash again. amarok got killed. so it seems, that not only konqueror could get terminated, but i cant explain why this is possible. are there special interapplication signals or is it a random event? 

problem is btw reproducible with many kde-versions on two pc's with opensuse-packages.
Comment 4 Dario Andres 2009-07-27 00:14:37 UTC
Mh, seems like a KIO-related bug.

- Do the following: install the "kdelibs5-debuginfo" package; reproduce the (Amarok?) crash (you will get a more complete backtrace) and paste it in a new bug report against the "amarok" product.

If Konqueror is not showing the "Crash Handler" dialog to fetch a backtrace there are other ways to get it (if you have time).

The crash between the two apps may be related if the bug is inside the "file listing" code of KIO.

Comment 5 Daniel Frenzel 2009-07-27 00:26:10 UTC
Created attachment 35658 [details]
trace with debug-files; amarok and alls konqueror-threads terminated.

i installed the debug-files now an tested another 50 times to produce this problem.
Comment 6 Dario Andres 2009-07-27 00:27:43 UTC
Thanks for the efforts...
Pasting the backtrace inline:

Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0xb77bf218 in KDirModelNode::rowNumber (this=0x0) at /usr/src/debug/kdelibs-4.2.98/kio/kio/kdirmodel.cpp:120
#7  0xb77bf2c0 in KDirModelPrivate::indexForNode (this=0xbff5768, node=0x0, rowNumber=-1) at /usr/src/debug/kdelibs-4.2.98/kio/kio/kdirmodel.cpp:284
#8  0xb77c3d9e in KDirModelPrivate::_k_slotNewItems (this=0xbff5768, directoryUrl=@0xbfeecf0, items=@0xbfeecf8) at /usr/src/debug/kdelibs-4.2.98/kio/kio/kdirmodel.cpp:377
#9  0xb77c513c in KDirModel::qt_metacall (this=0x843a918, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9dd2a8) at /usr/src/debug/kdelibs-4.2.98/build/kio/kdirmodel.moc:82
#10 0xb7ebd788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb7ebe412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb77a7cb9 in KDirLister::itemsAdded (this=0xbfd5ed0, _t1=@0xbfeecf0, _t2=@0xbfeecf8) at /usr/src/debug/kdelibs-4.2.98/build/kio/kdirlister.moc:268
#13 0xb77a8bd6 in KDirLister::Private::emitItems (this=0x8cf6068) at /usr/src/debug/kdelibs-4.2.98/kio/kio/kdirlister.cpp:2303
#14 0xb77ab784 in KDirListerCache::processPendingUpdates (this=0x8a6f6b0) at /usr/src/debug/kdelibs-4.2.98/kio/kio/kdirlister.cpp:1796
#15 0xb77bad4d in KDirListerCache::slotFilesChanged (this=0x8a6f6b0, fileList=@0xa661de0) at /usr/src/debug/kdelibs-4.2.98/kio/kio/kdirlister.cpp:850
#16 0xb77bb902 in KDirListerCache::qt_metacall (this=0x8a6f6b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9dd52c) at /usr/src/debug/kdelibs-4.2.98/build/kio/kdirlister_p.moc:93
#17 0xb7ebd788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb7ebe412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb77c6cf3 in OrgKdeKDirNotifyInterface::FilesChanged (this=0x89a9920, _t1=@0xa661de0) at /usr/src/debug/kdelibs-4.2.98/build/kio/kdirnotify.moc:118
#20 0xb77c6eba in OrgKdeKDirNotifyInterface::qt_metacall (this=0x89a9920, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9dd6dc) at /usr/src/debug/kdelibs-4.2.98/build/kio/kdirnotify.moc:82
#21 0xb7154873 in ?? () from /usr/lib/libQtDBus.so.4
#22 0xb715cab7 in ?? () from /usr/lib/libQtDBus.so.4
#23 0xb7eb8970 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb68707fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb6878aee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb736427d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb7ea816b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb7ea8db5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#29 0xb7ea8fad in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#30 0xb7ed3c8f in ?? () from /usr/lib/libQtCore.so.4
#31 0xb640a9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb640e083 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb640e241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7ed38d8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6910cc5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb7ea678a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb7ea6bd2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb7ea9079 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb6870677 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0xb491342f in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#41 0x0804e505 in _start ()
Comment 7 Daniel Frenzel 2009-07-27 00:30:44 UTC
Created attachment 35659 [details]
another of amarok and the debug-trace
Comment 8 Dario Andres 2009-07-27 00:33:00 UTC
The backtraces seem related to bug 192770 / bug 190535. Thanks
Comment 9 Tommi Tervo 2009-08-10 13:24:04 UTC
*** Bug 203306 has been marked as a duplicate of this bug. ***
Comment 10 BRULE Herman 2009-08-10 13:30:08 UTC
By bt:
[KCrash Handler]
#5  KDirModelNode::rowNumber (this=0x0) at
#6  0x00007ff70e60ef40 in KDirModelPrivate::indexForNode (this=0x1f7c740,
node=0x0, rowNumber=-1) at
#7  0x00007ff70e613815 in KDirModelPrivate::_k_slotNewItems (this=0x1f7c740,
directoryUrl=<value optimized out>, items=@0x1f6f2c0)
#8  0x00007ff70e614b0a in KDirModel::qt_metacall (this=0x1f72110,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd07d4e80)
#9  0x00007ff70f731880 in QMetaObject::activate (sender=0x1f73430,
from_signal_index=<value optimized out>, to_signal_index=14, argv=0xffffffff)
at kernel/qobject.cpp:3101
#10 0x00007ff70e5f782a in KDirLister::itemsAdded (this=0x0, _t1=<value
optimized out>, _t2=<value optimized out>)
#11 0x00007ff70e5f8723 in KDirLister::Private::emitItems (this=0x1f75060) at
#12 0x00007ff70e5fb396 in KDirListerCache::processPendingUpdates
(this=0x1f734e0) at
#13 0x00007ff70e609255 in KDirListerCache::slotFilesChanged (this=0x1f734e0,
fileList=@0x2155d80) at
#14 0x00007ff70e609ccc in KDirListerCache::qt_metacall (this=0x1f734e0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd07d5250)
#15 0x00007ff70f731880 in QMetaObject::activate (sender=0x1f81830,
from_signal_index=<value optimized out>, to_signal_index=8, argv=0xffffffff) at
#16 0x00007ff70e6166e5 in OrgKdeKDirNotifyInterface::FilesChanged (this=0x0,
_t1=<value optimized out>) at
#17 0x00007ff70e616864 in OrgKdeKDirNotifyInterface::qt_metacall
(this=0x1f81830, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
#18 0x00007ff70d715eb3 in QDBusConnectionPrivate::deliverCall (this=0x1ba0520,
object=0x1f81830, msg=@0x208cbd8, metaTypes=@0x208cbe0, slotIdx=8) at
#19 0x00007ff70d71c6df in QDBusCallDeliveryEvent::placeMetaCall
(this=0x216a480, object=0x1f7c740) at qdbusintegrator_p.h:101
#20 0x00007ff70f72e389 in QObject::event (this=0x1f81830, e=0x208cb90) at
#21 0x00007ff70cafb8dd in QApplicationPrivate::notify_helper (this=0x1b48c80,
receiver=0x1f81830, e=0x208cb90) at kernel/qapplication.cpp:4056
#22 0x00007ff70cb0451a in QApplication::notify (this=0x7fffd07d60f0,
receiver=0x1f81830, e=0x208cb90) at kernel/qapplication.cpp:4021
#23 0x00007ff70db7caea in KApplication::notify (this=0x7fffd07d60f0,
receiver=0x1f81830, event=0x208cb90)
#24 0x00007ff70f71e22b in QCoreApplication::notifyInternal
(this=0x7fffd07d60f0, receiver=0x1f81830, event=0x208cb90) at
#25 0x00007ff70f71ebef in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x1ae6de0) at kernel/qcoreapplication.h:213
#26 0x00007ff70f7466d3 in postEventSourceDispatch (s=<value optimized out>) at
#27 0x00007ff70b584739 in IA__g_main_context_dispatch (context=0x1b4b840) at
#28 0x00007ff70b5880ad in g_main_context_iterate (context=0x1b4b840, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#29 0x00007ff70b58825d in IA__g_main_context_iteration (context=0x1b4b840,
may_block=1) at gmain.c:2841
#30 0x00007ff70f7462cf in QEventDispatcherGlib::processEvents (this=0x1b48eb0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007ff70cb8bce8 in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007ff70f71c832 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = -797090240}) at kernel/qeventloop.cpp:149
#33 0x00007ff70f71ca1c in QEventLoop::exec (this=0x7fffd07d5e80, flags={i =
-797090160}) at kernel/qeventloop.cpp:197
#34 0x00007ff70f71ee5c in QCoreApplication::exec () at
#35 0x00007ff7033f9947 in kdemain (argc=<value optimized out>, argv=<value
optimized out>) at
#36 0x000000000040792e in launch (argc=4, _name=0x1b322b8 "konqueror",
args=<value optimized out>, cwd=0x1b322ee "/home/user", envc=47, envs=0x1b32b82
"", reset_env=true, tty=0x0, avoid_loops=false, 
    startup_id_str=0x1b32b8b "localhost;1249902606;819587;9579_TIME2192483") at
#37 0x00000000004080db in handle_launcher_request (sock=23, who=<value
optimized out>) at
#38 0x000000000040855d in handle_requests (waitForPid=0) at
#39 0x0000000000408d22 in main (argc=2, argv=0x7fffd07d7708,
envp=0x7fffd07d7720) at
Thanks to solve it.
Comment 11 Frank Reininghaus 2009-10-08 14:49:34 UTC
The backtrace and the use case seem to match bug 195237 (which might be a duplicate of bug 190535, as Darío said).

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