Bug 309076

Summary: crash trying to reproduce bug 192139
Product: [Applications] dolphin Reporter: Jaime Torres <jtamate>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: markg85
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.0

Description Jaime Torres 2012-10-27 08:49:47 UTC
Application: dolphin (2.1)
KDE Platform Version: 4.9.80 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.6.2-7-desktop x86_64
Distribution: "openSUSE 12.3 Milestone 0 (x86_64)"

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

Trying to reproduce bug 19139, just dragged an mp3 file from one subdirectory, and tried to drop it on the breadcump "> " icon.

As drkonqui shows so many possible duplicated bugs, I could not choose any of them as clear duplicate. Therefore, I create a new one.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f37618d17c0 (LWP 31032))]

Thread 2 (Thread 0x7f3751ac9700 (LWP 31034)):
#0  0x00007f37665b52bd in poll () from /lib64/libc.so.6
#1  0x00007f3762af6af4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3762af6c14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f376851b4ce in QEventDispatcherGlib::processEvents (this=0x7f375080e040, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f37684e830f in QEventLoop::processEvents (this=this@entry=0x7f3751ac8d80, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#5  0x00007f37684e85c8 in QEventLoop::exec (this=0x7f3751ac8d80, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#6  0x00007f37683de38d in QThread::exec (this=<optimized out>) at /g/kdegit/qt/src/corelib/thread/qthread.cpp:501
#7  0x00007f37684c73f3 in QInotifyFileSystemWatcherEngine::run (this=0x7f37613e8340) at /g/kdegit/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f37683e10b9 in QThreadPrivate::start (arg=0x7f37613e8340) at /g/kdegit/qt/src/corelib/thread/qthread_unix.cpp:338
#9  0x00007f3768131e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f37665bd44d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f37618d17c0 (LWP 31032)):
[KCrash Handler]
#6  QETWidget::translateMouseEvent (this=this@entry=0x7f374ba5c790, event=event@entry=0x7fff3c8b59a0) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:4459
#7  0x00007f37675c7a61 in QApplication::x11ProcessEvent (this=0x7fff3c8b9580, event=0x7fff3c8b59a0) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:3631
#8  0x00007f37675eef12 in x11EventSourceDispatch (s=0x7f376112c200, callback=0x0, user_data=0x0) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#9  0x00007f3762af6825 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f3762af6b58 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f3762af6c14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f376851b4a4 in QEventDispatcherGlib::processEvents (this=0x7f3761123b20, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f37675eebc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#14 0x00007f37684e830f in QEventLoop::processEvents (this=this@entry=0x7fff3c8b5d80, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#15 0x00007f37684e85c8 in QEventLoop::exec (this=0x7fff3c8b5d80, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#16 0x00007f37679e15a9 in QMenu::exec (this=0x7f374ba5c790, p=..., action=<optimized out>) at /g/kdegit/qt/src/gui/widgets/qmenu.cpp:2113
#17 0x00007f3756983523 in openSubDirsMenu (this=0x7f374ba0e660, job=<optimized out>) at /g/kdegit/kdelibs/kfile/kurlnavigatorbutton.cpp:506
#18 0x00007f376850153f in QMetaObject::activate (sender=0x7f3750d88300, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3c8b5f90) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3539
#19 0x00007f3768c15192 in KJob::result(KJob*) (this=this@entry=0x7f3750d88300, _t1=_t1@entry=0x7f3750d88300) at /g/b45/kdelibs/kdecore/kjob.moc:208
#20 0x00007f3768c15535 in KJob::emitResult() (this=0x7f3750d88300) at /g/kdegit/kdelibs/kdecore/jobs/kjob.cpp:318
#21 0x00007f3760c14209 in KIO::SimpleJob::slotFinished (this=0x7f3750d88300) at /g/kdegit/kdelibs/kio/kio/job.cpp:494
#22 0x00007f3760c013c8 in KIO::ListJob::slotFinished() (this=0x7f3750d88300) at /g/kdegit/kdelibs/kio/kio/job.cpp:2675
#23 0x00007f376850153f in QMetaObject::activate (sender=0x7f3750c92560, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3539
#24 0x00007f3760d28281 in KIO::SlaveInterface::dispatch(int, QByteArray const&) (this=<optimized out>, _cmd=104, rawdata=...) at /g/kdegit/kdelibs/kio/kio/slaveinterface.cpp:172
#25 0x00007f3760cbe015 in KIO::SlaveInterface::dispatch() (this=0x7f3750c92560) at /g/kdegit/kdelibs/kio/kio/slaveinterface.cpp:88
#26 0x00007f3760c14a15 in KIO::Slave::gotInput (this=0x7f3750c92560) at /g/kdegit/kdelibs/kio/kio/slave.cpp:344
#27 0x00007f376850153f in QMetaObject::activate (sender=0x7f3750c909a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3539
#28 0x00007f3760cbee2a in dequeue (this=0x7f374f92b6d0) at /g/kdegit/kdelibs/kio/kio/connection.cpp:82
#29 0x00007f3768500afe in QObject::event (this=0x7f3750c909a0, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:1194
#30 0x00007f3767540491 in QApplicationPrivate::notify_helper (this=this@entry=0x7f37610688c0, receiver=receiver@entry=0x7f3750c909a0, e=e@entry=0x7f374ad45b00) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4560
#31 0x00007f3767545539 in QApplication::notify (this=0x7fff3c8b9580, receiver=0x7f3750c909a0, e=0x7f374ad45b00) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4421
#32 0x00007f376930aad6 in KApplication::notify (this=0x7fff3c8b9580, receiver=0x7f3750c909a0, event=0x7f374ad45b00) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#33 0x00007f37684e9dad in QCoreApplication::notifyInternal (this=0x7fff3c8b9580, receiver=receiver@entry=0x7f3750c909a0, event=event@entry=0x7f374ad45b00) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:944
#34 0x00007f37684ed737 in QCoreApplication::sendEvent (event=0x7f374ad45b00, receiver=0x7f3750c909a0) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7f376102b780) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1568
#36 0x00007f376851b333 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x7f376102c900) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:279
#38 0x00007f3762af6825 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f3762af6b58 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f3762af6c14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f376851b4a4 in QEventDispatcherGlib::processEvents (this=0x7f3761123b20, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f37675eebc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f37684e830f in QEventLoop::processEvents (this=this@entry=0x7f374ba62910, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#44 0x00007f37684e85c8 in QEventLoop::exec (this=0x7f374ba62910, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#45 0x00007f37675d6083 in QDragManager::drag (this=0x7f374ae6a470, o=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qdnd_x11.cpp:2028
#46 0x00007f37675539da in QDrag::exec (this=0x7f374d2d8700, supportedActions=..., defaultDropAction=Qt::CopyAction) at /g/kdegit/qt/src/gui/kernel/qdrag.cpp:284
#47 0x00007f375642fc12 in KItemListController::startDragging (this=this@entry=0x7f37613e6480) at /g/kdegit/kde-baseapps/dolphin/src/kitemviews/kitemlistcontroller.cpp:1141
#48 0x00007f375642fdac in KItemListController::mouseMoveEvent (this=0x7f37613e6480, event=0x7fff3c8b7ea0, transform=...) at /g/kdegit/kde-baseapps/dolphin/src/kitemviews/kitemlistcontroller.cpp:669
#49 0x00007f375642e554 in KItemListController::processEvent (this=0x7f37613e6480, event=event@entry=0x7fff3c8b7ea0, transform=...) at /g/kdegit/kde-baseapps/dolphin/src/kitemviews/kitemlistcontroller.cpp:997
#50 0x00007f3756437760 in KItemListView::event (this=0x7f376106a300, event=0x7fff3c8b7ea0) at /g/kdegit/kde-baseapps/dolphin/src/kitemviews/kitemlistview.cpp:868
#51 0x00007f3767540491 in QApplicationPrivate::notify_helper (this=this@entry=0x7f37610688c0, receiver=receiver@entry=0x7f376106a300, e=e@entry=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4560
#52 0x00007f3767545539 in QApplication::notify (this=0x7fff3c8b9580, receiver=0x7f376106a300, e=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4421
#53 0x00007f376930aad6 in KApplication::notify (this=0x7fff3c8b9580, receiver=0x7f376106a300, event=0x7fff3c8b7ea0) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#54 0x00007f37684e9dad in QCoreApplication::notifyInternal (this=0x7fff3c8b9580, receiver=0x7f376106a300, event=0x7fff3c8b7ea0) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:944
#55 0x00007f3767bba2eb in sendEvent (event=0x7fff3c8b7ea0, item=0x7f376106a310, this=<optimized out>) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsscene.cpp:1217
#56 QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x7f376106a310, event=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsscene.cpp:1197
#57 0x00007f3767bbae4a in sendMouseEvent (mouseEvent=0x7fff3c8b7ea0, this=0x7f3761307500) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsscene.cpp:1295
#58 QGraphicsScenePrivate::sendMouseEvent (this=0x7f3761307500, mouseEvent=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsscene.cpp:1274
#59 0x00007f3767bbbce4 in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsscene.cpp:4102
#60 0x00007f3767bd0c69 in QGraphicsScene::event (this=0x7f3750c9e390, event=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsscene.cpp:3451
#61 0x00007f3767540491 in QApplicationPrivate::notify_helper (this=this@entry=0x7f37610688c0, receiver=receiver@entry=0x7f3750c9e390, e=e@entry=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4560
#62 0x00007f3767545539 in QApplication::notify (this=0x7fff3c8b9580, receiver=0x7f3750c9e390, e=0x7fff3c8b7ea0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4421
#63 0x00007f376930aad6 in KApplication::notify (this=0x7fff3c8b9580, receiver=0x7f3750c9e390, event=0x7fff3c8b7ea0) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#64 0x00007f37684e9dad in QCoreApplication::notifyInternal (this=0x7fff3c8b9580, receiver=0x7f3750c9e390, event=0x7fff3c8b7ea0) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:944
#65 0x00007f3767be75e0 in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x7f3761329100, event=event@entry=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsview.cpp:646
#66 0x00007f3767beaa79 in QGraphicsView::mouseMoveEvent (this=0x7f3761317280, event=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsview.cpp:3276
#67 0x00007f3767598d23 in QWidget::event (this=0x7f3761317280, event=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:8356
#68 0x00007f376799f2de in QFrame::event (this=0x7f3761317280, e=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/widgets/qframe.cpp:557
#69 0x00007f3767beb36b in QGraphicsView::viewportEvent (this=0x7f3761317280, event=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/graphicsview/qgraphicsview.cpp:2866
#70 0x00007f37684e9f9e in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x7f3761317700, event=0x7fff3c8b8930) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1054
#71 0x00007f3767540481 in QApplicationPrivate::notify_helper (this=this@entry=0x7f37610688c0, receiver=receiver@entry=0x7f3761317700, e=e@entry=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4556
#72 0x00007f3767545ed4 in QApplication::notify (this=<optimized out>, receiver=0x7f3761317700, e=0x7fff3c8b8930) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4103
#73 0x00007f376930aad6 in KApplication::notify (this=0x7fff3c8b9580, receiver=0x7f3761317700, event=0x7fff3c8b8930) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311
#74 0x00007f37684e9dad in QCoreApplication::notifyInternal (this=0x7fff3c8b9580, receiver=0x7f3761317700, event=0x7fff3c8b8930) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:944
#75 0x00007f37675418c2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:231
#76 QApplicationPrivate::sendMouseEvent (receiver=0x7f3761317700, event=0x7fff3c8b8930, alienWidget=0x7f3761317700, nativeWidget=0x7f376125e480, buttonDown=0x7f37681264a8 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:3171
#77 0x00007f37675c919e in QETWidget::translateMouseEvent (this=this@entry=0x7f376125e480, event=event@entry=0x7fff3c8b9080) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:4508
#78 0x00007f37675c7a61 in QApplication::x11ProcessEvent (this=0x7fff3c8b9580, event=0x7fff3c8b9080) at /g/kdegit/qt/src/gui/kernel/qapplication_x11.cpp:3631
#79 0x00007f37675eef12 in x11EventSourceDispatch (s=0x7f376112c200, callback=0x0, user_data=0x0) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#80 0x00007f3762af6825 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#81 0x00007f3762af6b58 in ?? () from /usr/lib64/libglib-2.0.so.0
#82 0x00007f3762af6c14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#83 0x00007f376851b4a4 in QEventDispatcherGlib::processEvents (this=0x7f3761123b20, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#84 0x00007f37675eebc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#85 0x00007f37684e830f in QEventLoop::processEvents (this=this@entry=0x7fff3c8b9440, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149
#86 0x00007f37684e85c8 in QEventLoop::exec (this=0x7fff3c8b9440, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:204
#87 0x00007f37684edb48 in QCoreApplication::exec () at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1216
#88 0x00007f3756a349ff in kdemain (argc=5, argv=0x7f376118a430) at /g/kdegit/kde-baseapps/dolphin/src/main.cpp:89
#89 0x00000000004082fa in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) [clone .3924] (argc=5, _name=0x7f37610904c8 "/opt/kde4/bin/dolphin", args=0x7f376109050a "\001", cwd=0x0, envc=<optimized out>, envs=0x7f376109051d "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x7f3761090525 "filemon;1351327227;478841;3513_TIME138486707") at /g/kdegit/kdelibs/kinit/kinit.cpp:726
#90 0x000000000040b613 in handle_launcher_request(int, char const*) [clone .3940] (sock=8, who=<optimized out>) at /g/kdegit/kdelibs/kinit/kinit.cpp:1218
#91 0x000000000040a4e2 in handle_requests (waitForPid=waitForPid@entry=0) at /g/kdegit/kdelibs/kinit/kinit.cpp:1411
#92 0x000000000040adcf in main (argc=4, argv=<optimized out>, envp=0x7fff3c8b9e30) at /g/kdegit/kdelibs/kinit/kinit.cpp:1899

Possible duplicates by query: bug 309022, bug 308907, bug 308348, bug 308162, bug 308136.

Reported using DrKonqi
Comment 1 Jaime Torres 2012-10-27 09:17:50 UTC
This bug backtrace reminds me the bug 278366.
Perhaps the solution is similar.
Comment 2 Frank Reininghaus 2012-10-29 20:35:57 UTC
Thanks for the report! Yes, I can also reproduce sometimes, but with yet another backtrace. You might be right about the other report though, maybe the root cause is really similar.
Comment 3 Mark 2012-10-30 17:16:16 UTC
Confirmed but difficult to reproduce.

I just dragged a idem (.txt, not mp3) the the ">" from the breadcrumb and i was welcomed with a nice hard crash! However, reproducing it seems to fail thus far..
Comment 4 Frank Reininghaus 2013-07-02 17:31:50 UTC
Git commit 669ee3250d233b96bc2f2e63865b048d33215674 by Frank Reininghaus.
Committed on 02/07/2013 at 17:27.
Pushed by freininghaus into branch 'master'.

Fix crash when dropping URLs on the URL navigator's drop down menus

The problem was that the files were copied/moved inside the nested event
loop of the drag, which caused problems if the "File exists" dialog was
shown.

The solution is to make the copy/move operation delayed, such that it is
executed in the main event loop.

Note that dropping files on these menus does apparently not work at the
moment when using the Oxygen style (see bug 310016).
Related: bug 192139, bug 256338, bug 293220
FIXED-IN: 4.11.0
REVIEW: 111273

M  +30   -2    dolphin/src/dolphinviewcontainer.cpp
M  +15   -0    dolphin/src/dolphinviewcontainer.h

http://commits.kde.org/kde-baseapps/669ee3250d233b96bc2f2e63865b048d33215674