Bug 332983 - Dropbox plugin causes crash on startup
Summary: Dropbox plugin causes crash on startup
Status: RESOLVED DUPLICATE of bug 332481
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: dropbox (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Emmanuel Pescosta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-02 20:42 UTC by erik_hahn
Modified: 2014-04-02 21:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output of crashing dolphin session (8.01 KB, text/plain)
2014-04-02 21:27 UTC, erik_hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erik_hahn 2014-04-02 20:42:28 UTC
I compiled dolphin-plugins with the Dropbox plugin from git. The rest of KDE is at 4.12.4, from KDE:Current (I haven't tested if this problem is actually due to the version mix but it didn't look like that to me.) 

If Dropbox is running, Dolphin crashes on startup. This does not happen if the plugin is disabled or Dropbox is not running.

Reproducible: Always

Steps to Reproduce:
1. Install dolphin-plugins from git
2. enable the dropbox plugin
3. make sure dropbox is running
4. start dolphin
Actual Results:  
Dolphin crashes


(gdb) thread apply all backtrace

Thread 7 (Thread 0x7f2edb86a8c0 (LWP 5271)):
#0  0x00007f2edb142329 in writev () from /lib64/libc.so.6
#1  0x00007f2ecbece15c in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2ecbece613 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f2ecbece693 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007f2ed4109d06 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007f2ed410a1e8 in _XReply () from /usr/lib64/libX11.so.6
#6  0x00007f2ed41076d3 in XTranslateCoordinates () from /usr/lib64/libX11.so.6
#7  0x00007f2ed79f3702 in QWidgetPrivate::mapFromGlobal (this=0x2250640, pos=...) at kernel/qwidget_x11.cpp:1352
#8  0x00007f2ed79f3689 in QWidgetPrivate::mapFromGlobal (this=0x22708c0, pos=...) at kernel/qwidget_x11.cpp:1345
#9  0x00007f2ed79f3689 in QWidgetPrivate::mapFromGlobal (this=0x23082e0, pos=...) at kernel/qwidget_x11.cpp:1345
#10 0x00007f2ed79f3689 in QWidgetPrivate::mapFromGlobal (this=0x24c15f0, pos=...) at kernel/qwidget_x11.cpp:1345
#11 0x00007f2ed79f3689 in QWidgetPrivate::mapFromGlobal (this=0x22a9f90, pos=...) at kernel/qwidget_x11.cpp:1345
#12 0x00007f2ed79f375d in QWidget::mapFromGlobal (this=this@entry=0x23c4e90, pos=...) at kernel/qwidget_x11.cpp:1365
#13 0x00007f2ed79687e2 in QApplicationPrivate::pickMouseReceiver (candidate=candidate@entry=0x233e5d0, globalPos=..., pos=..., type=type@entry=QEvent::MouseMove, buttons=..., buttonDown=0x0, alienWidget=alienWidget@entry=0x23c4e90)
    at kernel/qapplication.cpp:3100
#14 0x00007f2ed79dfefc in QETWidget::translateMouseEvent (this=this@entry=0x233e5d0, event=event@entry=0x7fff2bfde910) at kernel/qapplication_x11.cpp:4518
#15 0x00007f2ed79de9ec in QApplication::x11ProcessEvent (this=0x7fff2bfdee20, event=event@entry=0x7fff2bfde910) at kernel/qapplication_x11.cpp:3651
#16 0x00007f2ed7a05882 in x11EventSourceDispatch (s=0x1d72770, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007f2ed28f9316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f2ed28f9668 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f2ed28f970c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f2ed6f86d55 in QEventDispatcherGlib::processEvents (this=0x1d72490, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#21 0x00007f2ed7a05936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f2ed6f58d0f in QEventLoop::processEvents (this=this@entry=0x7fff2bfdecf0, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f2ed6f59005 in QEventLoop::exec (this=this@entry=0x7fff2bfdecf0, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007f2ed6f5e13b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#25 0x00007f2ed796706c in QApplication::exec () at kernel/qapplication.cpp:3823
#26 0x00007f2edb464927 in kdemain (argc=2, argv=0x7fff2bfdef58) at /usr/src/debug/kde-baseapps-4.12.4/dolphin/src/main.cpp:93
#27 0x00007f2edb083be5 in __libc_start_main () from /lib64/libc.so.6
#28 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:122

Thread 6 (Thread 0x7f2eb554f700 (LWP 6035)):
#0  0x00007f2edb140b3d in poll () from /lib64/libc.so.6
#1  0x00007f2ed28f9604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ed28f970c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#3  0x00007f2ed6f86d76 in QEventDispatcherGlib::processEvents (this=0x7f2ea002c510, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f2ed6f58d0f in QEventLoop::processEvents (this=this@entry=0x7f2eb554ece0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2ed6f59005 in QEventLoop::exec (this=this@entry=0x7f2eb554ece0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2ed6e57fef in QThread::exec (this=this@entry=0x2993f50) at thread/qthread.cpp:536
#7  0x00007f2ed6f3a513 in QInotifyFileSystemWatcherEngine::run (this=0x2993f50) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f2ed6e5a68f in QThreadPrivate::start (arg=0x2993f50) at thread/qthread_unix.cpp:338
#9  0x00007f2ed55260db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2edb14990d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2eb7fff700 (LWP 5275)):
#0  0x00007f2edb140b3d in poll () from /lib64/libc.so.6
#1  0x00007f2ed28f9604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ed28f970c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ed6f86d76 in QEventDispatcherGlib::processEvents (this=0x7f2eb00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f2ed6f58d0f in QEventLoop::processEvents (this=this@entry=0x7f2eb7ffece0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2ed6f59005 in QEventLoop::exec (this=this@entry=0x7f2eb7ffece0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2ed6e57fef in QThread::exec (this=this@entry=0x2199440) at thread/qthread.cpp:536
#7  0x00007f2ed6f3a513 in QInotifyFileSystemWatcherEngine::run (this=0x2199440) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f2ed6e5a68f in QThreadPrivate::start (arg=0x2199440) at thread/qthread_unix.cpp:338
#9  0x00007f2ed55260db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2edb14990d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2eb77fe700 (LWP 5276)):
#0  0x00007f2edb140b3d in poll () from /lib64/libc.so.6
#1  0x00007f2ed28f9604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ed28f970c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ed6f86d55 in QEventDispatcherGlib::processEvents (this=0x7f2ea80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2ed6f58d0f in QEventLoop::processEvents (this=this@entry=0x7f2eb77fdd20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2ed6f59005 in QEventLoop::exec (this=this@entry=0x7f2eb77fdd20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2ed6e57fef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x00007f2ed6e5a68f in QThreadPrivate::start (arg=0x2394c50) at thread/qthread_unix.cpp:338
#8  0x00007f2ed55260db in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2edb14990d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2eb6d8f700 (LWP 5277)):
#0  0x00007f2edb140b3d in poll () from /lib64/libc.so.6
#1  0x00007f2ed28f9604 in ?? () from /usr/lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007f2ed28f970c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ed6f86d76 in QEventDispatcherGlib::processEvents (this=0x7f2eac0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f2ed6f58d0f in QEventLoop::processEvents (this=this@entry=0x7f2eb6d8ece0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2ed6f59005 in QEventLoop::exec (this=this@entry=0x7f2eb6d8ece0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2ed6e57fef in QThread::exec (this=this@entry=0x22f0af0) at thread/qthread.cpp:536
#7  0x00007f2ed6f3a513 in QInotifyFileSystemWatcherEngine::run (this=0x22f0af0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f2ed6e5a68f in QThreadPrivate::start (arg=0x22f0af0) at thread/qthread_unix.cpp:338
#9  0x00007f2ed55260db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2edb14990d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2ebd538700 (LWP 5272)):
#0  0x00007f2edb142913 in select () from /lib64/libc.so.6
#1  0x00007f2ed6f37261 in QProcessManager::run (this=0x7f2ed72c0520 <processManager()::processManager>) at io/qprocess_unix.cpp:247
#2  0x00007f2ed6e5a68f in QThreadPrivate::start (arg=0x7f2ed72c0520 <processManager()::processManager>) at thread/qthread_unix.cpp:338
#3  0x00007f2ed55260db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2edb14990d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2eb48dc700 (LWP 6036)):
#0  0x00007f2edb097849 in raise () from /lib64/libc.so.6
#1  0x00007f2edb098cd8 in abort () from /lib64/libc.so.6
#2  0x00007f2edb0d6114 in __libc_message () from /lib64/libc.so.6
#3  0x00007f2edb15a657 in __fortify_fail () from /lib64/libc.so.6
#4  0x00007f2edb158800 in __chk_fail () from /lib64/libc.so.6
#5  0x00007f2edb15a5c7 in __fdelt_warn () from /lib64/libc.so.6
#6  0x00007f2ed4732478 in QLocalSocket::waitForConnected (this=0x29935f0, msec=msec@entry=500) at socket/qlocalsocket_unix.cpp:525
#7  0x00007f2eb48e0b49 in FileViewDropboxPlugin::connectWithDropbox (this=0x29936f0, socket=..., timeout=FileViewDropboxPlugin::LongTimeout) at /usr/src/debug/dolphin-plugins-4.12.97+git11/dropbox/fileviewdropboxplugin.cpp:215
#8  0x00007f2eda4aea91 in UpdateItemStatesThread::run (this=0x2341630) at /usr/src/debug/kde-baseapps-4.12.4/dolphin/src/views/versioncontrol/updateitemstatesthread.cpp:54
#9  0x00007f2ed6e5a68f in QThreadPrivate::start (arg=0x2341630) at thread/qthread_unix.cpp:338
#10 0x00007f2ed55260db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2edb14990d in clone () from /lib64/libc.so.6
(gdb)
Comment 1 Frank Reininghaus 2014-04-02 21:06:02 UTC
Thanks for the bug report. Can you start Dolphin from a Konsole and check if the output before the crash contains what is printed in 332481 comment 10 ?
Comment 2 erik_hahn 2014-04-02 21:27:01 UTC
It does, I'll attach the rest of the output.
Comment 3 erik_hahn 2014-04-02 21:27:33 UTC
Created attachment 85918 [details]
Output of crashing dolphin session
Comment 4 Frank Reininghaus 2014-04-02 21:30:03 UTC
Thanks.

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