Bug 274759

Summary: Dolphin crashes when browsing network shares with port number provided in column view
Product: [Applications] dolphin Reporter: Geert Lamers <bugs.kde>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bert.linux, frank78ac, jonaschuette, kanf, kevinsine, marcinkrotosz, nilspeper, salcolon
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Geert Lamers 2011-06-02 15:29:55 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.2"

-- Information about the crash:
- What I was doing when the application crashed:
I use an Avahi .service file to broadcast NFS shares on the network. The .service file requires a port number (in my case, 2049). When this port number is omitted, it seems to default to 0.

When browsing to the network share via Network->Network Services->NFS remote directory->share, all files and folders in the share show up. However, when trying to open a folder in the share, Dolphin crashes.

When the port number is omitted from the address bar, browsing works fine.

The same thing happens using the KIO slave. nfs://server:port/share crashes, nfs://server/share works.


- Custom settings of the application:
This only happens when Dolphin is used in the "Columns" view mode, Details and Icons views work fine. Konqueror works in all modes, even Columns, and with port number supplied.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fe94216f700 (LWP 17521)):
#0  0x00007fffeaf948e4 in clock_gettime ()
#1  0x0000003df8a04308 in clock_gettime () from /lib64/librt.so.1
#2  0x0000003dfd2f68fe in do_gettime (sec=0x7fe94216e9c8, frac=0x7fe94216e9c0) at tools/qelapsedtimer_unix.cpp:123
#3  0x0000003dfd2f695a in qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003dfd3fa174 in QTimerInfoList::updateCurrentTime (this=0x1028550) at kernel/qeventdispatcher_unix.cpp:339
#5  0x0000003dfd3fa628 in QTimerInfoList::timerWait (this=0x1028550, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x0000003dfd3f606d in timerSourcePrepareHelper (src=0x10284f0, timeout=0x7fe94216eb4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003dfd3f6212 in timerSourcePrepare (source=0x10284f0, timeout=0x7fe94216eb4c) at kernel/qeventdispatcher_glib.cpp:169
#8  0x0000003dfb646810 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x0000003dfb646c68 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x0000003dfb64723c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x0000003dfd3f775a in QEventDispatcherGlib::processEvents (this=0xfae050, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#12 0x0000003dfd3b7550 in QEventLoop::processEvents (this=0x7fe94216ed80, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003dfd3b76a6 in QEventLoop::exec (this=0x7fe94216ed80, flags=...) at kernel/qeventloop.cpp:201
#14 0x0000003dfd289184 in QThread::exec (this=0x101d540) at thread/qthread.cpp:492
#15 0x0000003dfd392f39 in QInotifyFileSystemWatcherEngine::run (this=0x101d540) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x0000003dfd28bbe7 in QThreadPrivate::start (arg=0x101d540) at thread/qthread_unix.cpp:320
#17 0x0000003df8206bda in start_thread () from /lib64/libpthread.so.0
#18 0x0000003df76cf77d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe946d8c760 (LWP 17519)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x0000003dff8bde53 in QAbstractItemViewPrivate::viewOptionsV4 (this=0x13ea4d0) at itemviews/qabstractitemview.cpp:3492
#8  0x0000003dff8b5d15 in QAbstractItemView::mouseReleaseEvent (this=0x13d30c0, event=0x7fffeaf14d50) at itemviews/qabstractitemview.cpp:1801
#9  0x0000003dff903786 in QTreeView::mouseReleaseEvent (this=0x13d30c0, event=0x7fffeaf14d50) at itemviews/qtreeview.cpp:1828
#10 0x000000386426c2d0 in DolphinTreeView::mouseReleaseEvent (this=0x13d30c0, event=0x7fffeaf14d50) at /var/tmp/portage/kde-base/dolphin-4.6.3/work/dolphin-4.6.3/dolphin/src/views/dolphintreeview.cpp:165
#11 0x0000003dff269f0f in QWidget::event (this=0x13d30c0, event=0x7fffeaf14d50) at kernel/qwidget.cpp:8259
#12 0x0000003dff731177 in QFrame::event (this=0x13d30c0, e=0x7fffeaf14d50) at widgets/qframe.cpp:557
#13 0x0000003dff7eadd9 in QAbstractScrollArea::viewportEvent (this=0x13d30c0, e=0x7fffeaf14d50) at widgets/qabstractscrollarea.cpp:1043
#14 0x0000003dff8b4a51 in QAbstractItemView::viewportEvent (this=0x13d30c0, event=0x7fffeaf14d50) at itemviews/qabstractitemview.cpp:1628
#15 0x0000003dff9006c6 in QTreeView::viewportEvent (this=0x13d30c0, event=0x7fffeaf14d50) at itemviews/qtreeview.cpp:1256
#16 0x0000003dff7eba59 in QAbstractScrollAreaPrivate::viewportEvent (this=0x13ea4d0, event=0x7fffeaf14d50) at widgets/qabstractscrollarea_p.h:100
#17 0x0000003dff7ebb64 in QAbstractScrollAreaFilter::eventFilter (this=0x13de1e0, o=0x13d31d0, e=0x7fffeaf14d50) at widgets/qabstractscrollarea_p.h:116
#18 0x0000003dfd3ba167 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xeaabe0, receiver=0x13d31d0, event=0x7fffeaf14d50) at kernel/qcoreapplication.cpp:846
#19 0x0000003dff1f5bd1 in QApplicationPrivate::notify_helper (this=0xeaabe0, receiver=0x13d31d0, e=0x7fffeaf14d50) at kernel/qapplication.cpp:4458
#20 0x0000003dff1f3acd in QApplication::notify (this=0x7fffeaf15d40, receiver=0x13d31d0, e=0x7fffeaf14d50) at kernel/qapplication.cpp:4023
#21 0x0000003e0288b78a in KApplication::notify (this=0x7fffeaf15d40, receiver=0x13d31d0, event=0x7fffeaf14d50) at /var/tmp/portage/kde-base/kdelibs-4.6.3-r1/work/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#22 0x0000003dfd3b9e60 in QCoreApplication::notifyInternal (this=0x7fffeaf15d40, receiver=0x13d31d0, event=0x7fffeaf14d50) at kernel/qcoreapplication.cpp:731
#23 0x0000003dff1f8c09 in QCoreApplication::sendSpontaneousEvent (receiver=0x13d31d0, event=0x7fffeaf14d50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 0x0000003dff1f1f65 in QApplicationPrivate::sendMouseEvent (receiver=0x13d31d0, event=0x7fffeaf14d50, alienWidget=0x13d31d0, nativeWidget=0xea6500, buttonDown=0x3dfff8d6c8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#25 0x0000003dff2a722a in QETWidget::translateMouseEvent (this=0xea6500, event=0x7fffeaf158c0) at kernel/qapplication_x11.cpp:4461
#26 0x0000003dff2a3b06 in QApplication::x11ProcessEvent (this=0x7fffeaf15d40, event=0x7fffeaf158c0) at kernel/qapplication_x11.cpp:3465
#27 0x0000003dff2e02bb in x11EventSourceDispatch (s=0xeae520, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x0000003dfb642a31 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x0000003dfb647088 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x0000003dfb64723c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x0000003dfd3f7737 in QEventDispatcherGlib::processEvents (this=0xea92f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#32 0x0000003dff2e09c8 in QGuiEventDispatcherGlib::processEvents (this=0xea92f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x0000003dfd3b7550 in QEventLoop::processEvents (this=0x7fffeaf15ca0, flags=...) at kernel/qeventloop.cpp:149
#34 0x0000003dfd3b76a6 in QEventLoop::exec (this=0x7fffeaf15ca0, flags=...) at kernel/qeventloop.cpp:201
#35 0x0000003dfd3ba548 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x0000003dff1f2c76 in QApplication::exec () at kernel/qapplication.cpp:3736
#37 0x000000385ce4dc85 in kdemain (argc=5, argv=0x7fffeaf16278) at /var/tmp/portage/kde-base/dolphin-4.6.3/work/dolphin-4.6.3/dolphin/src/main.cpp:98
#38 0x0000000000400886 in main (argc=5, argv=0x7fffeaf16278) at /var/tmp/portage/kde-base/dolphin-4.6.3/work/dolphin-4.6.3_build/dolphin/src/dolphin_dummy.cpp:3

This bug may be a duplicate of or related to bug 268488.

Possible duplicates by query: bug 268488.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2011-07-02 12:54:56 UTC
*** Bug 276334 has been marked as a duplicate of this bug. ***
Comment 2 Frank Reininghaus 2011-07-02 12:58:02 UTC
Thanks for the bug reports! There is a crash with the same backtrace when opening a zip-file in the Columns View (see bug 265945). I wonder if both issues are due to the same bug in the code.
Comment 3 Frank Reininghaus 2011-10-05 21:35:02 UTC
*** Bug 268488 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2011-10-13 16:48:57 UTC
*** Bug 283407 has been marked as a duplicate of this bug. ***
Comment 5 Lamarque V. Souza 2011-11-10 23:51:34 UTC
*** Bug 286251 has been marked as a duplicate of this bug. ***
Comment 6 Frank Reininghaus 2011-11-23 19:18:19 UTC
*** Bug 287339 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2011-12-04 09:21:50 UTC
*** Bug 287003 has been marked as a duplicate of this bug. ***
Comment 8 Peter Penz 2012-01-05 21:57:31 UTC

*** This bug has been marked as a duplicate of bug 290747 ***
Comment 9 kevin 2012-01-15 23:30:02 UTC
Created attachment 67868 [details]
New crash information added by DrKonqi

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

i was searching network drives with colum view in dolpin when dolphin closed out does not happen in regular view

-- Backtrace (Reduced):
#9  0x297517d6 in QAbstractItemViewPrivate::viewOptionsV4 () from /usr/local/lib/qt4/libQtGui.so.4
#10 0x29752d72 in QAbstractItemView::mouseReleaseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#11 0x29797fdc in QTreeView::mouseReleaseEvent () from /usr/local/lib/qt4/libQtGui.so.4
#12 0x281d84a1 in DolphinTreeView::mouseReleaseEvent () from /usr/local/lib/libdolphinprivate.so.5
#13 0x291ef189 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4