Bug 171721 - dolphin/kio crash when going inside zip archive and pressing back or up afterwards (ON KDE 4.1.2 TAG)
Summary: dolphin/kio crash when going inside zip archive and pressing back or up after...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 172364 174335 174578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-27 01:39 UTC by Jan Mette
Modified: 2008-11-13 21:16 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (3.57 KB, text/plain)
2008-09-27 01:40 UTC, Jan Mette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Mette 2008-09-27 01:39:34 UTC
Version:            (using Devel)
Compiler:          GCC 4.3.2 
OS:                Linux
Installed from:    Compiled sources

Hi there,

dolphin crashes when i go inside a zip archive and press the "back" or "up"
button afterwards... It doesnt happen when i click on a location from inside
the archive, just when pressing one of these buttons...

The culprit for the crash seems to be this commit:

http://websvn.kde.org/?view=rev&revision=862739

When i revert it, dolphin doesnt crash anymore...

Greetings

Jan
Comment 1 Jan Mette 2008-09-27 01:40:13 UTC
Created attachment 27584 [details]
backtrace
Comment 2 FiNeX 2008-09-27 01:52:43 UTC
copied backtrace from comment #1 attachment:


Anwendung: Dolphin (dolphin), Signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb60ad700 (LWP 18723)]
[New Thread 0xb456fb90 (LWP 18745)]
[KCrash handler]
#6  0xb7f0c424 in __kernel_vsyscall ()
#7  0xb646e720 in raise () from /lib/libc.so.6
#8  0xb6470058 in abort () from /lib/libc.so.6
#9  0xb738b965 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb738ba17 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb738baa6 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7cec487 in KDirModelPrivate::nodeForUrl (this=0xa598570, 
    _url=@0xa283080, returnLastParent=false)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kio/kio/kdirmodel.cpp:193
#13 0xb7cedcdb in KDirModel::indexForUrl (this=0xa5eea40, url=@0xa283080)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kio/kio/kdirmodel.cpp:701
#14 0xb7edbcad in DolphinView::restoreCurrentItem (this=0xa283028)
    at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/dolphinview.cpp:968
#15 0xb7edfa7e in DolphinView::qt_metacall (this=0xa283028, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfd28228)
    at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/dolphinview.moc:203
#16 0xb7480b03 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb7481063 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb7cd3518 in KDirLister::completed (this=0x9d89cd8)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/build/kio/kdirlister.moc:202
#19 0xb7cdffca in KDirListerCache::emitItemsFromCache (this=0x9f13338, 
    lister=0x9d89cd8, items=@0xa5849d0, rootItem=@0xa5849d4, _url=@0xa5849c8, 
    _reload=false, _emitCompleted=true)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kio/kio/kdirlister.cpp:291
#20 0xb7ce016b in KDirLister::Private::CachedItemsJob::done (this=0xa5849b8)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kio/kio/kdirlister.cpp:255
#21 0xb7ce02b5 in KDirLister::Private::CachedItemsJob::qt_metacall (
    this=0xa5849b8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xa0008d8)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/build/kio/kdirlister_p.moc:154
#22 0xb747b92b in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#23 0xb747d4f9 in QObject::event () from /usr/lib/libQtCore.so.4
#24 0xb690d1bc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#25 0xb6913733 in QApplication::notify () from /usr/lib/libQtGui.so.4
#26 0xb7a4fe9e in KApplication::notify (this=0xbfd28ae4, receiver=0xa5849b8, 
    event=0xa1fd188)
    at /home/jan/Dev/packages/kdemod-core/work/kdelibs/src/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#27 0xb746ef60 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#28 0xb746f8e0 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#29 0xb74993cb in QEventDispatcherUNIX::processEvents ()
   from /usr/lib/libQtCore.so.4
#30 0xb6998576 in ?? () from /usr/lib/libQtGui.so.4
#31 0x09d6a828 in ?? ()
#32 0xbfd289cc in ?? ()
#33 0x00000046 in ?? ()
#34 0xb746d65b in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb746d83a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0xb746fb3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0xb690d028 in QApplication::exec () from /usr/lib/libQtGui.so.4
#38 0x080855df in main (argc=6, argv=0xbfd28c94)
    at /home/jan/Dev/packages/kdemod-core/work/kdebase/src/kdebase-4.1.2/apps/dolphin/src/main.cpp:94
#0  0xb7f0c424 in __kernel_vsyscall ()
Comment 3 Frederik Schwarzer 2008-10-01 16:56:24 UTC
This also occurs in trunk @ r866572
Comment 4 auxsvr 2008-10-02 18:48:48 UTC
Same crash here (opensuse 11, kde 4.1.2):
 
Application: Dolphin (dolphin), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb5fcb700 (LWP 18443)]
[KCrash handler]
#6  KDirModelPrivate::nodeForUrl (this=0x8203328, _url=@0x8244430, 
    returnLastParent=false) at /usr/include/QtCore/qhash.h:588
#7  0xb7e2c28c in KDirModel::indexForUrl (this=0x82346f8, url=@0x8244430)
    at /usr/src/debug/kdelibs-4.1.2/kio/kio/kdirmodel.cpp:701
#8  0xb7fd91dc in DolphinView::restoreCurrentItem (this=0x82443d8)
    at /usr/src/debug/kdebase-4.1.2/apps/dolphin/src/dolphinview.cpp:968
#9  0xb7fdccc6 in DolphinView::qt_metacall (this=0x82443d8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfc5bce8)
    at /usr/src/debug/kdebase-4.1.2/build/apps/dolphin/src/dolphinview.moc:203
#10 0xb75f9730 in QMetaObject::activate (sender=0x8205b08, 
    from_signal_index=5, to_signal_index=5, argv=0x0)
    at kernel/qobject.cpp:3031
#11 0xb75fa4b2 in QMetaObject::activate (sender=0x8205b08, m=0x80a51d0, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3101
#12 0xb7e17f57 in KDirLister::completed (this=0x8205b08)
    at /usr/src/debug/kdelibs-4.1.2/build/kio/kdirlister.moc:202
#13 0xb7e20c4a in KDirListerCache::emitItemsFromCache (this=0x823fae0, 
    lister=0x8205b08, items=@0x872ef98, rootItem=@0x872ef9c, _url=@0x872ef90, 
    _reload=false, _emitCompleted=true)
    at /usr/src/debug/kdelibs-4.1.2/kio/kio/kdirlister.cpp:291
#14 0xb7e20db5 in KDirLister::Private::CachedItemsJob::done (this=0x872ef80)
    at /usr/src/debug/kdelibs-4.1.2/kio/kio/kdirlister.cpp:255
#15 0xb7e20ef5 in KDirLister::Private::CachedItemsJob::qt_metacall (
    this=0x872ef80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x87a7fc8)
    at /usr/src/debug/kdelibs-4.1.2/build/kio/kdirlister_p.moc:154
#16 0xb75f287b in QMetaCallEvent::placeMetaCall (this=0x87307b0, 
    object=0x872ef80) at kernel/qobject.cpp:529
#17 0xb75f4439 in QObject::event (this=0x872ef80, e=0x87307b0)
    at kernel/qobject.cpp:1155
#18 0xb686f82c in QApplicationPrivate::notify_helper (this=0x80b8d40, 
    receiver=0x872ef80, e=0x87307b0) at kernel/qapplication.cpp:3803
#19 0xb68776ce in QApplication::notify (this=0xbfc5c4f4, receiver=0x872ef80, 
    e=0x87307b0) at kernel/qapplication.cpp:3393
#20 0xb7bc9e0d in KApplication::notify (this=0xbfc5c4f4, receiver=0x872ef80, 
    event=0x87307b0)
    at /usr/src/debug/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:311
#21 0xb75e4a61 in QCoreApplication::notifyInternal (this=0xbfc5c4f4, 
    receiver=0x872ef80, event=0x87307b0) at kernel/qcoreapplication.cpp:587
#22 0xb75e56d5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x80a6808) at kernel/qcoreapplication.h:209
#23 0xb75e58cd in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#24 0xb760f5af in postEventSourceDispatch (s=0x80bab90)
    at kernel/qcoreapplication.h:214
#25 0xb62402d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb624385b in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb62439d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb760f1f8 in QEventDispatcherGlib::processEvents (this=0x80b3fd0, flags=
      {i = -1077558312}) at kernel/qeventdispatcher_glib.cpp:319
#29 0xb6908885 in QGuiEventDispatcherGlib::processEvents (this=0x80b3fd0, 
    flags={i = -1077558264}) at kernel/qguieventdispatcher_glib.cpp:198
#30 0xb75e313a in QEventLoop::processEvents (this=0xbfc5c480, flags=
      {i = -1077558200}) at kernel/qeventloop.cpp:143
#31 0xb75e32fa in QEventLoop::exec (this=0xbfc5c480, flags={i = -1077558136})
    at kernel/qeventloop.cpp:194
#32 0xb75e5995 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#33 0xb686f6a7 in QApplication::exec () at kernel/qapplication.cpp:3331
#34 0x080839df in main (argc=6, argv=0xbfc5c6a4)
    at /usr/src/debug/kdebase-4.1.2/apps/dolphin/src/main.cpp:94
#0  0xffffe430 in __kernel_vsyscall ()
Comment 5 David Faure 2008-10-02 21:21:04 UTC
Guilty as charged.
Fixed in trunk (r867090) and 4.1-branch (r867092), with unit test so that it can't regress again.
Comment 6 David Faure 2008-10-17 10:22:38 UTC
*** Bug 172364 has been marked as a duplicate of this bug. ***
Comment 7 Frank Reininghaus 2008-11-05 18:58:26 UTC
*** Bug 174335 has been marked as a duplicate of this bug. ***
Comment 8 Frank Reininghaus 2008-11-13 21:16:41 UTC
*** Bug 174578 has been marked as a duplicate of this bug. ***