Bug 265945

Summary: Dolphin crash when opening .zip in "Columns"-View
Product: [Applications] dolphin Reporter: Fabian <derdominique>
Component: view-engine: columns modeAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bongissimo, contact, frank78ac, ivan, john, kde-bugs, marian.trenkwalder, nickjon, xavier
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Fabian 2011-02-10 00:06:31 UTC
Application: dolphin (1.6)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I was navigating through my file tree in the Dolphin "Columns"-mode. 
The "current" directory was displayed in the second column from the left.
I left-clicked on a .zip-file in Dolphin to look into it.

Effect: Dolphin immediately crashed.

However: 
When trying to reproduce, I noticed that this behaviour only occured, when the file being clicked was NOT in the first column from the left.
If the file is in the left-most column, the .zip opens as folder properly (in the /same/ column though).

Steps to reproduce:
1) Put a .zip file in ~/dir/subdir/
2) navigate dolphin to ~/
3) switch to "Columns"-View
4) navigate to ~/dir/subdir/
5) click on the zip

- Custom settings of the application:
Dolphin in "Columns"-Mode
Dolphin is set to "Open archives as folder"

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2fef427760 (LWP 6286))]

Thread 3 (Thread 0x7f2fdb48b700 (LWP 6287)):
#0  __pthread_mutex_lock (mutex=0xd182e8) at pthread_mutex_lock.c:51
#1  0x00007f2fe73f7a43 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f2fe73f7e78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f2fe73f845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f2feb0b71e6 in QEventDispatcherGlib::processEvents (this=0xd1e830, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f2feb089a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f2feb089dec in QEventLoop::exec (this=0x7f2fdb48adb0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f2feaf942fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f2feb0695f8 in QInotifyFileSystemWatcherEngine::run (this=0xcb9160) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f2feaf9727e in QThreadPrivate::start (arg=0xcb9160) at thread/qthread_unix.cpp:266
#10 0x00007f2fe78b6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f2feed3092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2fd38c2700 (LWP 6307)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f2fd1f1f0d1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2fe78b6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#3  0x00007f2feed3092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2fef427760 (LWP 6286)):
[KCrash Handler]
#6  0x00007f2feb3bc880 in QString::shared_null () from /usr/lib/libQtCore.so.4
#7  0x00007f2febfbb4d4 in QAbstractItemViewPrivate::viewOptionsV4 (this=0x138ff10) at itemviews/qabstractitemview.cpp:3481
#8  0x00007f2febfc6eb0 in QAbstractItemView::mouseReleaseEvent (this=0xf05170, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1792
#9  0x00007f2fee0910e4 in DolphinTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libdolphinprivate.so.4
#10 0x00007f2febac304e in QWidget::event (this=0xf05170, event=0x7fffeaf21ec0) at kernel/qwidget.cpp:8187
#11 0x00007f2febe8e5e6 in QFrame::event (this=0xf05170, e=0x7fffeaf21ec0) at widgets/qframe.cpp:557
#12 0x00007f2febfc7a8b in QAbstractItemView::viewportEvent (this=0xf05170, event=0x7fffeaf21ec0) at itemviews/qabstractitemview.cpp:1619
#13 0x00007f2fec005d65 in QTreeView::viewportEvent (this=0xf05170, event=0x7fffeaf21ec0) at itemviews/qtreeview.cpp:1256
#14 0x00007f2feb08a507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x13e64a0, event=0x7fffeaf21ec0) at kernel/qcoreapplication.cpp:847
#15 0x00007f2feba6cfac in QApplicationPrivate::notify_helper (this=0xb268e0, receiver=0x13e64a0, e=0x7fffeaf21ec0) at kernel/qapplication.cpp:4392
#16 0x00007f2feba7330e in QApplication::notify (this=0x7fffeaf22bd0, receiver=0x13e64a0, e=0x7fffeaf21ec0) at kernel/qapplication.cpp:3959
#17 0x00007f2fec7fca36 in KApplication::notify (this=0x7fffeaf22bd0, receiver=0x13e64a0, event=0x7fffeaf21ec0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f2feb08acdc in QCoreApplication::notifyInternal (this=0x7fffeaf22bd0, receiver=0x13e64a0, event=0x7fffeaf21ec0) at kernel/qcoreapplication.cpp:732
#19 0x00007f2feba71dbe in sendEvent (receiver=0x13e64a0, event=0x7fffeaf21ec0, alienWidget=0x13e64a0, nativeWidget=0xc20600, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QApplicationPrivate::sendMouseEvent (receiver=0x13e64a0, event=0x7fffeaf21ec0, alienWidget=0x13e64a0, nativeWidget=0xc20600, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#21 0x00007f2febaf5345 in QETWidget::translateMouseEvent (this=0xc20600, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#22 0x00007f2febaf3c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffeaf227e0) at kernel/qapplication_x11.cpp:3536
#23 0x00007f2febb200e2 in x11EventSourceDispatch (s=0xb243c0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007f2fe73f4342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f2fe73f82a8 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f2fe73f845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007f2feb0b7193 in QEventDispatcherGlib::processEvents (this=0xaf9e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#28 0x00007f2febb1fa4e in QGuiEventDispatcherGlib::processEvents (this=0x7fffeaf20f40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f2feb089a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f2feb089dec in QEventLoop::exec (this=0x7fffeaf22b10, flags=) at kernel/qeventloop.cpp:201
#31 0x00007f2feb08debb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x00007f2fef013e7f in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#33 0x00007f2feec68d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffeaf230e8) at libc-start.c:226
#34 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 marian.trenkwalder 2011-02-12 11:34:19 UTC
Created attachment 57183 [details]
New crash information added by DrKonqi

dolphin (1.6) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.0

dolphin crash when try to open a zip in colum view

-- Backtrace (Reduced):
#7  0x00007f1dcc5046c4 in QAbstractItemViewPrivate::viewOptionsV4 (this=<value optimized out>) at itemviews/qabstractitemview.cpp:3481
#8  0x00007f1dcc508f38 in QAbstractItemView::mouseReleaseEvent (this=0x12f9520, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1792
#9  0x00007f1dbc2fdc24 in DolphinTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libdolphinprivate.so.4
#10 0x00007f1dcc010144 in QWidget::event (this=0x12f9520, event=0x7fff60c0b6f0) at kernel/qwidget.cpp:8187
#11 0x00007f1dcc3df816 in QFrame::event (this=0x12f9520, e=0x7fff60c0b6f0) at widgets/qframe.cpp:557
Comment 2 Frank Reininghaus 2011-02-12 19:24:32 UTC
Thanks for the bug report! I can confirm in master and 4.6 branch.
Comment 3 Ivan D Vasin 2011-03-31 03:22:58 UTC
Created attachment 58473 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

same problem with Gentoo, KDE 4.6.1, same settings in Dolphin, also a zip file.

-- Backtrace (Reduced):
#6  0x00007f5150ebfd4e in QAbstractItemViewPrivate::viewOptionsV4 (this=<value optimized out>) at itemviews/qabstractitemview.cpp:3492
#7  0x00007f5150ec45b0 in QAbstractItemView::mouseReleaseEvent (this=0x12c54a0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1801
#8  0x00007f513dd72584 in DolphinTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libdolphinprivate.so.4
#9  0x00007f51509abf91 in QWidget::event (this=0x12c54a0, event=0x7fff6ba06880) at kernel/qwidget.cpp:8259
#10 0x00007f5150d9ce76 in QFrame::event (this=0x12c54a0, e=0x7fff6ba06880) at widgets/qframe.cpp:557
Comment 4 Peter Penz 2011-04-20 18:33:29 UTC
*** Bug 271366 has been marked as a duplicate of this bug. ***
Comment 5 Ondřej Michálek 2011-05-07 12:21:57 UTC
Created attachment 59720 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
I clicked on a zip file to open it while in Collumn view mode. My Dolphin is set to "Open archives as folder". Dolphin does not crash in the same situation when in "Icons" or "Details" view mode.

-- Backtrace (Reduced):
#6  0x00007fe81d2a6f16 in QAbstractItemView::mouseReleaseEvent (this=0x15fea20, event=0x7fffcb723f70) at itemviews/qabstractitemview.cpp:1804
#7  0x00007fe81f2fb78c in DolphinTreeView::mouseReleaseEvent (this=0x15fea20, event=0x7fffcb723f70) at ../../../dolphin/src/views/dolphintreeview.cpp:165
#8  0x00007fe81cde2cb8 in QWidget::event (this=0x15fea20, event=0x7fffcb723f70) at kernel/qwidget.cpp:8259
#9  0x00007fe81d192a66 in QFrame::event (this=0x15fea20, e=0x7fffcb723f70) at widgets/qframe.cpp:557
#10 0x00007fe81d2a3d7b in QAbstractItemView::viewportEvent (this=0x15fea20, event=0x7fffcb723f70) at itemviews/qabstractitemview.cpp:1628
Comment 6 Xavier Brochard 2011-09-14 09:32:27 UTC
Created attachment 63642 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

Was trying to open a tar.xz file in column mode.

-- Backtrace (Reduced):
#6  0x00007fe878aba829 in QAbstractItemViewPrivate::viewOptionsV4 (this=<optimized out>) at itemviews/qabstractitemview.cpp:3492
#7  0x00007fe878abf1dd in QAbstractItemView::mouseReleaseEvent (this=0x1e806c0, event=0x7ffff3950a40) at itemviews/qabstractitemview.cpp:1801
#8  0x00007fe87ab602c9 in DolphinTreeView::mouseReleaseEvent (this=0x1e806c0, event=0x7ffff3950a40) at ../../../dolphin/src/views/dolphintreeview.cpp:165
#9  0x00007fe87860b016 in QWidget::event (this=0x1e806c0, event=0x7ffff3950a40) at kernel/qwidget.cpp:8259
#10 0x00007fe8789ac066 in QFrame::event (this=0x1e806c0, e=0x7ffff3950a40) at widgets/qframe.cpp:557
Comment 7 Frank Reininghaus 2011-10-05 21:34:42 UTC
*** Bug 283297 has been marked as a duplicate of this bug. ***
Comment 8 Frank Reininghaus 2011-11-06 17:44:26 UTC
*** Bug 285147 has been marked as a duplicate of this bug. ***
Comment 9 Dan Haughey 2011-11-28 10:11:01 UTC
Created attachment 66144 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.3 (4.7.3) using Qt 4.8.0

- What I was doing when the application crashed:

In column mode, I click on a .zip file in the 2nd column and Dolphin crashes. It works fine if the file is in the first column, and shows the archive contents as expected.

-- Backtrace (Reduced):
#7  0x0000003bdd8e19ff in QAbstractItemViewPrivate::viewOptionsV4 (this=0x22fdc60) at itemviews/qabstractitemview.cpp:3584
#8  0x0000003bdd8e4cdd in QAbstractItemView::mouseReleaseEvent (this=0x2302b40, event=0x7fff75e68180) at itemviews/qabstractitemview.cpp:1817
#9  0x0000003bdf255649 in DolphinTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libdolphinprivate.so.4
#10 0x0000003bdd419d8a in QWidget::event (this=0x2302b40, event=0x7fff75e68180) at kernel/qwidget.cpp:8350
#11 0x0000003bdd7d1956 in QFrame::event (this=0x2302b40, e=0x7fff75e68180) at widgets/qframe.cpp:557
Comment 10 Peter Penz 2012-01-05 21:54:00 UTC

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