Bug 324722 - Open archive as folder crashes dolphin on new tab inside a archive (ASSERT: "!listers.isEmpty()")
Summary: Open archive as folder crashes dolphin on new tab inside a archive (ASSERT: "...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.13.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 331741 333893 335694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-09 20:56 UTC by Filzmaier Josef
Modified: 2018-04-24 21:08 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.11 KB, text/plain)
2014-08-05 05:23 UTC, Martin
Details
New crash information added by DrKonqi (9.11 KB, text/plain)
2014-08-05 05:23 UTC, Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filzmaier Josef 2013-09-09 20:56:38 UTC
I have enabled the dolphin option "Open archive as folder".
If you enter an archive and then open up a new tab in this archive with Ctrl+t, dolphin crashes.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Enable the "Open archive as folder" option in Settings->config Dolphin->Navigation
3. enter a *.zip or *.tar.gz file
4. Open up a new tab
5. Dolphin Crashes
Actual Results:  
Dolphin Crashed.

Expected Results:  
Dolphin should have opened the current subfolder of the zip/tar file in a new tab.

This does seem to be dependent on the file format (crashes happened with *.zip and *.tar.gz files, not with *.tar.bz2 though)
Comment 1 Frank Reininghaus 2013-09-09 21:07:27 UTC
Thanks for the bug report. I can reproduce by opening any ZIP file and then pressing Ctrl+T.

I can also reproduce in the KDE/4.10 branch, so it seems that it's not a recent regression.

Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa002dab780 (LWP 23654))]

Thread 4 (Thread 0x7f9feb9f6700 (LWP 23656)):
#0  0x00007f9ffc242623 in select () from /lib64/libc.so.6
#1  0x00007f9ffd3d2d2e in QProcessManager::run (this=0x7f9ffd7c88e0 <processManager()::processManager>) at io/qprocess_unix.cpp:247
#2  0x00007f9ffd2c5132 in QThreadPrivate::start (arg=0x7f9ffd7c88e0 <processManager()::processManager>) at thread/qthread_unix.cpp:349
#3  0x00007f9ffcfd6e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9ffc2497dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9fea6ea700 (LWP 23659)):
#0  0x00007f9ffc24087d in poll () from /lib64/libc.so.6
#1  0x00007f9ff88dbaa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9ff88dbbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9ffd43dfb4 in QEventDispatcherGlib::processEvents (this=0x7f9fdc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f9ffd3fe0b4 in QEventLoop::processEvents (this=0x7f9fea6e9d40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9ffd3fe248 in QEventLoop::exec (this=0x7f9fea6e9d40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9ffd2c269d in QThread::exec (this=0x193ff80) at thread/qthread.cpp:537
#7  0x00007f9ffd3d8a65 in QInotifyFileSystemWatcherEngine::run (this=0x193ff80) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f9ffd2c5132 in QThreadPrivate::start (arg=0x193ff80) at thread/qthread_unix.cpp:349
#9  0x00007f9ffcfd6e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9ffc2497dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9fe9274700 (LWP 23671)):
#0  0x00007f9ffc24087d in poll () from /lib64/libc.so.6
#1  0x00007f9ff88dbaa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9ff88dbbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9ffd43dfb4 in QEventDispatcherGlib::processEvents (this=0x7f9fe00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f9ffd3fe0b4 in QEventLoop::processEvents (this=0x7f9fe9273d40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9ffd3fe248 in QEventLoop::exec (this=0x7f9fe9273d40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9ffd2c269d in QThread::exec (this=0x1ec5db0) at thread/qthread.cpp:537
#7  0x00007f9ffd3d8a65 in QInotifyFileSystemWatcherEngine::run (this=0x1ec5db0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f9ffd2c5132 in QThreadPrivate::start (arg=0x1ec5db0) at thread/qthread_unix.cpp:349
#9  0x00007f9ffcfd6e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9ffc2497dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa002dab780 (LWP 23654)):
[KCrash Handler]
#6  0x00007f9ffc1963d5 in raise () from /lib64/libc.so.6
#7  0x00007f9ffc197858 in abort () from /lib64/libc.so.6
#8  0x00007f9ffd2b78ab in qt_message_output (msgType=QtFatalMsg, buf=0x1fc7178 "ASSERT: \"!listers.isEmpty()\" in file /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp, line 1700") at global/qglobal.cpp:2323
#9  0x00007f9ffd2b7a27 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f9ffd4863e8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff69174588) at global/qglobal.cpp:2369
#10 0x00007f9ffd2b81f1 in qFatal (msg=0x7f9ffd4863e8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#11 0x00007f9ffd2b7464 in qt_assert (assertion=0x7fa000e2ab8e "!listers.isEmpty()", file=0x7fa000e29bc8 "/home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp", line=1700) at global/qglobal.cpp:2018
#12 0x00007fa000cd8a25 in KDirListerCache::slotUpdateResult (this=0x19644f0, j=0x214e1d0) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:1700
#13 0x00007fa000cdf50d in KDirListerCache::qt_static_metacall (_o=0x19644f0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff69174aa0) at /home/kde-4.11/kde/build/KDE/kdelibs/kio/kdirlister_p.moc:84
#14 0x00007f9ffd41f7f7 in QMetaObject::activate (sender=0x214e1d0, m=0x7f9ffdd20320 <KJob::staticMetaObject>, local_signal_index=3, argv=0x7fff69174aa0) at kernel/qobject.cpp:3547
#15 0x00007f9ffd9345eb in KJob::result (this=0x214e1d0, _t1=0x214e1d0) at /home/kde-4.11/kde/build/KDE/kdelibs/kdecore/kjob.moc:207
#16 0x00007f9ffd933aaf in KJob::emitResult (this=0x214e1d0) at /home/kde-4.11/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:318
#17 0x00007fa000cb15c3 in KIO::SimpleJob::slotFinished (this=0x214e1d0) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/job.cpp:496
#18 0x00007fa000cbab0f in KIO::ListJob::slotFinished (this=0x214e1d0) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/job.cpp:2716
#19 0x00007fa000cbdb09 in KIO::ListJob::qt_static_metacall (_o=0x214e1d0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff69174dc0) at /home/kde-4.11/kde/build/KDE/kdelibs/kio/jobclasses.moc:913
#20 0x00007f9ffd41f7f7 in QMetaObject::activate (sender=0x1eed090, m=0x7fa0010d7c80 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007fa000d73411 in KIO::SlaveInterface::finished (this=0x1eed090) at /home/kde-4.11/kde/build/KDE/kdelibs/kio/slaveinterface.moc:184
#22 0x00007fa000d715b6 in KIO::SlaveInterface::dispatch (this=0x1eed090, _cmd=104, rawdata=...) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:176
#23 0x00007fa000d71208 in KIO::SlaveInterface::dispatch (this=0x1eed090) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:92
#24 0x00007fa000d66880 in KIO::Slave::gotInput (this=0x1eed090) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/slave.cpp:344
#25 0x00007fa000d67a4e in KIO::Slave::qt_static_metacall (_o=0x1eed090, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff69175300) at /home/kde-4.11/kde/build/KDE/kdelibs/kio/slave.moc:56
#26 0x00007f9ffd41f7f7 in QMetaObject::activate (sender=0x1f4e350, m=0x7fa0010d0f60 <KIO::Connection::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#27 0x00007fa000c7f4cd in KIO::Connection::readyRead (this=0x1f4e350) at /home/kde-4.11/kde/build/KDE/kdelibs/kio/connection.moc:105
#28 0x00007fa000c7bf4c in KIO::ConnectionPrivate::dequeue (this=0x2080290) at /home/kde-4.11/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#29 0x00007fa000c7f375 in KIO::Connection::qt_static_metacall (_o=0x1f4e350, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1fcd560) at /home/kde-4.11/kde/build/KDE/kdelibs/kio/connection.moc:55
#30 0x00007f9ffd418fbf in QMetaCallEvent::placeMetaCall (this=0x1f88700, object=0x1f4e350) at kernel/qobject.cpp:524
#31 0x00007f9ffd41a251 in QObject::event (this=0x1f4e350, e=0x1f88700) at kernel/qobject.cpp:1194
#32 0x00007f9ffe773ede in QApplicationPrivate::notify_helper (this=0x17033b0, receiver=0x1f4e350, e=0x1f88700) at kernel/qapplication.cpp:4562
#33 0x00007f9ffe7713da in QApplication::notify (this=0x7fff69176130, receiver=0x1f4e350, e=0x1f88700) at kernel/qapplication.cpp:3944
#34 0x00007f9fff82ff7e in KApplication::notify (this=0x7fff69176130, receiver=0x1f4e350, event=0x1f88700) at /home/kde-4.11/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#35 0x00007f9ffd400d5c in QCoreApplication::notifyInternal (this=0x7fff69176130, receiver=0x1f4e350, event=0x1f88700) at kernel/qcoreapplication.cpp:949
#36 0x00007f9ffe764853 in QCoreApplication::sendEvent (receiver=0x1f4e350, event=0x1f88700) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 0x00007f9ffd401d9c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x16d32a0) at kernel/qcoreapplication.cpp:1573
#38 0x00007f9ffd4019b9 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1466
#39 0x00007f9ffe84459d in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#40 0x00007f9ffd43d6da in postEventSourceDispatch (s=0x1703880) at kernel/qeventdispatcher_glib.cpp:280
#41 0x00007f9ff88db7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f9ff88dbb08 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f9ff88dbbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f9ffd43df91 in QEventDispatcherGlib::processEvents (this=0x16d86c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#45 0x00007f9ffe850a42 in QGuiEventDispatcherGlib::processEvents (this=0x16d86c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f9ffd3fe0b4 in QEventLoop::processEvents (this=0x7fff691760a0, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f9ffd3fe248 in QEventLoop::exec (this=0x7fff691760a0, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f9ffd4013f2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#49 0x00007f9ffe770fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#50 0x00007fa00292ce25 in kdemain (argc=1, argv=0x7fff691766d8) at /home/kde-4.11/kde/src/KDE/kde-baseapps/dolphin/src/main.cpp:93
#51 0x0000000000400a6e in main (argc=1, argv=0x7fff691766d8) at /home/kde-4.11/kde/build/KDE/kde-baseapps/dolphin/src/dolphin_dummy.cpp:3
Comment 2 Dawit Alemayehu 2013-12-25 18:35:42 UTC
I can reproduce this crash in Dolphin but not in Konqueror. To emulate the same behavior of opening a new tab in Dolphin, you would have to duplicate the tab (CTRL+D) in Konqueror instead. Regardless of how I create a new tab in Konqueror, I do not see the crash there.
Comment 3 Frank Reininghaus 2014-03-05 07:38:23 UTC
*** Bug 331741 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2014-04-26 08:12:05 UTC
*** Bug 333893 has been marked as a duplicate of this bug. ***
Comment 5 Frank Reininghaus 2014-06-02 09:17:12 UTC
*** Bug 335694 has been marked as a duplicate of this bug. ***
Comment 6 Martin 2014-08-05 05:23:45 UTC
Created attachment 88119 [details]
New crash information added by DrKonqi

dolphin (4.13.0) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed:

This bug is still valid in 4.13. When I tried to reproduce the bug it did not work after directly restarting Dolphin. With the restarted version I could open new tabs all day long. Only when I closed the program, waited a few seconds an then tried again a single crash occurred.

-- Backtrace (Reduced):
#7  begin (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:267
#8  KDirListerCache::slotUpdateResult (this=0x1c78230, j=<optimized out>) at ../../kio/kio/kdirlister.cpp:1748
[...]
#10 0x00007fc7a62c8622 in KJob::result (this=this@entry=0x2702940, _t1=_t1@entry=0x2702940) at ./kjob.moc:207
#11 0x00007fc7a62c8660 in KJob::emitResult (this=this@entry=0x2702940) at ../../kdecore/jobs/kjob.cpp:318
#12 0x00007fc7a7c9639a in KIO::SimpleJob::slotFinished (this=this@entry=0x2702940) at ../../kio/kio/job.cpp:496
Comment 7 Martin 2014-08-05 05:23:45 UTC
Created attachment 88120 [details]
New crash information added by DrKonqi

dolphin (4.13.0) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed:

This bug is still valid in 4.13. When I tried to reproduce the bug it did not work after directly restarting Dolphin. With the restarted version I could open new tabs all day long. Only when I closed the program, waited a few seconds an then tried again a single crash occurred.

-- Backtrace (Reduced):
#7  begin (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:267
#8  KDirListerCache::slotUpdateResult (this=0x1c78230, j=<optimized out>) at ../../kio/kio/kdirlister.cpp:1748
[...]
#10 0x00007fc7a62c8622 in KJob::result (this=this@entry=0x2702940, _t1=_t1@entry=0x2702940) at ./kjob.moc:207
#11 0x00007fc7a62c8660 in KJob::emitResult (this=this@entry=0x2702940) at ../../kdecore/jobs/kjob.cpp:318
#12 0x00007fc7a7c9639a in KIO::SimpleJob::slotFinished (this=this@entry=0x2702940) at ../../kio/kio/job.cpp:496
Comment 8 Nate Graham 2018-04-24 21:08:00 UTC
This works just fine for me with KDE Frameworks 5.45 and Dolphin 18.04.