Bug 361522

Summary: Dolphin crashes on opening LibreOffice Calc associated .csv fie
Product: [Applications] dolphin Reporter: Martin van Es <bugs>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: elvis.angelaccio, frapell
Priority: NOR Keywords: drkonqi
Version: 15.12.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Martin van Es 2016-04-08 12:18:33 UTC
Application: dolphin (15.12.1)

Qt Version: 5.5.1
Operating System: Linux 4.5.0 x86_64
Distribution: Ubuntu Xenial Xerus (development branch)

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

I double-clicked a .csv file to open it in LibreOffice Calc (default app).

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff1cf2d58c0 (LWP 2877))]

Thread 3 (Thread 0x7ff1ccbc3700 (LWP 2878)):
#0  0x00007ff1e20ff5ad in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ff1d6889c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff1d688b8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff1cef154a9 in QXcbEventReader::run (this=0xa41740) at qxcbconnection.cpp:1253
#4  0x00007ff1dccd07fe in QThreadPrivate::start (arg=0xa41740) at thread/qthread_unix.cpp:331
#5  0x00007ff1d947e6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ff1e210b2dd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7ff1c2ca0700 (LWP 2880)):
#0  0x00007ff1d8936a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff1d88f2312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff1d88f243c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff1dcf07a7b in QEventDispatcherGlib::processEvents (this=0x7ff1bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff1dceaed8a in QEventLoop::exec (this=this@entry=0x7ff1c2c9fd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff1dcccb854 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff1dccd07fe in QThreadPrivate::start (arg=0xf1a320) at thread/qthread_unix.cpp:331
#7  0x00007ff1d947e6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007ff1e210b2dd in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7ff1cf2d58c0 (LWP 2877)):
[KCrash Handler]
#6  QWeakPointer<QObject>::data (this=0x3) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:588
#7  QPointer<QScreen>::data (this=0x3) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:70
#8  QPointer<QScreen>::operator QScreen* (this=0x3) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:76
#9  QPlatformScreen::screen (this=this@entry=0xa4f3e0) at kernel/qplatformscreen.cpp:116
#10 0x00007ff1cef304ec in QXcbWindow::create (this=0x123bc00) at qxcbwindow.cpp:426
#11 0x00007ff1cef1ce81 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x12fd370) at qxcbintegration.cpp:201
#12 0x00007ff1dd40a5b4 in QWindowPrivate::create (this=0x10f5fb0, recursive=recursive@entry=false) at kernel/qwindow.cpp:392
#13 0x00007ff1dd40a7bb in QWindow::create (this=this@entry=0x12fd370) at kernel/qwindow.cpp:548
#14 0x00007ff1dd9eb3c0 in QWidgetPrivate::create_sys (this=this@entry=0xb0be80, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true) at kernel/qwidget.cpp:1454
#15 0x00007ff1dd9eb7fb in QWidget::create (this=0xaaa350, window=0, initializeWindow=<optimized out>, destroyOldWindow=<optimized out>) at kernel/qwidget.cpp:1318
#16 0x00007ff1dd9ebe31 in QWidgetPrivate::createWinId (this=<optimized out>, winid=0) at kernel/qwidget.cpp:2514
#17 0x00007ff1dd9e9d07 in QWidget::setAttribute (this=0xb7d5b0, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11076
#18 0x00007ff1dd9e9abe in QWidgetPrivate::enforceNativeChildren (this=0xb0eea0) at ../../include/QtWidgets/5.5.1/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:574
#19 QWidget::setAttribute (this=this@entry=0xae64c0, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11074
#20 0x00007ff1dd9ebd38 in QWidgetPrivate::createWinId (this=<optimized out>, winid=0) at kernel/qwidget.cpp:2504
#21 0x00007ff1dd9e9d07 in QWidget::setAttribute (this=this@entry=0xb111f0, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11076
#22 0x00007ff1dd9ebd38 in QWidgetPrivate::createWinId (this=<optimized out>, winid=0) at kernel/qwidget.cpp:2504
#23 0x00007ff1dd9e9d07 in QWidget::setAttribute (this=this@entry=0xce65c0, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11076
#24 0x00007ff1dd9ebd38 in QWidgetPrivate::createWinId (this=<optimized out>, winid=0) at kernel/qwidget.cpp:2504
#25 0x00007ff1dd9e9d07 in QWidget::setAttribute (this=this@entry=0xc68120, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11076
#26 0x00007ff1dd9ebd38 in QWidgetPrivate::createWinId (this=<optimized out>, winid=0) at kernel/qwidget.cpp:2504
#27 0x00007ff1dd9e9d07 in QWidget::setAttribute (this=this@entry=0xedb030, attribute=attribute@entry=Qt::WA_NativeWindow, on=on@entry=true) at kernel/qwidget.cpp:11076
#28 0x00007ff1dd9eaed0 in QWidget::winId (this=0xedb030) at kernel/qwidget.cpp:2483
#29 0x00007ff1e09c3267 in KRun::runService(KService const&, QList<QUrl> const&, QWidget*, bool, QString const&, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#30 0x00007ff1e09c621e in KRun::runUrl(QUrl const&, QString const&, QWidget*, bool, bool, QString const&, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#31 0x00007ff1e09c6a40 in KRun::foundMimeType(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#32 0x00007ff1e09c07e2 in KRun::mimeTypeDetermined(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#33 0x00007ff1e09c5203 in KRun::init() () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#34 0x00007ff1e09c747d in KRun::slotTimeout() () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#35 0x00007ff1dcedffaa in QMetaObject::activate (sender=sender@entry=0x1122150, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#36 0x00007ff1dcee07b7 in QMetaObject::activate (sender=sender@entry=0x1122150, m=m@entry=0x7ff1dd0fa840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#37 0x00007ff1dcf5f690 in QTimer::timeout (this=this@entry=0x1122150) at .moc/moc_qtimer.cpp:197
#38 0x00007ff1dceec858 in QTimer::timerEvent (this=0x1122150, e=<optimized out>) at kernel/qtimer.cpp:247
#39 0x00007ff1dcee0e33 in QObject::event (this=0x1122150, e=<optimized out>) at kernel/qobject.cpp:1261
#40 0x00007ff1dd9b405c in QApplicationPrivate::notify_helper (this=this@entry=0xa293e0, receiver=receiver@entry=0x1122150, e=e@entry=0x7ffeeb01b680) at kernel/qapplication.cpp:3716
#41 0x00007ff1dd9b9516 in QApplication::notify (this=0x7ffeeb01b9f0, receiver=0x1122150, e=0x7ffeeb01b680) at kernel/qapplication.cpp:3499
#42 0x00007ff1dceb15cb in QCoreApplication::notifyInternal (this=0x7ffeeb01b9f0, receiver=0x1122150, event=event@entry=0x7ffeeb01b680) at kernel/qcoreapplication.cpp:965
#43 0x00007ff1dcf0687d in QCoreApplication::sendEvent (event=0x7ffeeb01b680, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#44 QTimerInfoList::activateTimers (this=0xa61d90) at kernel/qtimerinfo_unix.cpp:637
#45 0x00007ff1dcf06d81 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#46 0x00007ff1d88f2137 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ff1d88f2390 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ff1d88f243c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ff1dcf07a5f in QEventDispatcherGlib::processEvents (this=0xa60740, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#50 0x00007ff1dceaed8a in QEventLoop::exec (this=this@entry=0x7ffeeb01b8c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#51 0x00007ff1dceb6e2c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#52 0x00007ff1e242bfeb in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#53 0x00007ff1e2024841 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#54 0x0000000000400749 in _start ()

Reported using DrKonqi
Comment 1 Franco Pellegrini 2016-07-07 01:32:57 UTC
Created attachment 99909 [details]
New crash information added by DrKonqi

dolphin (15.12.3) using Qt 5.5.1

- What I was doing when the application crashed:

browse to a folder and clicked a PDF file to open it

-- Backtrace (Reduced):
#6  QWeakPointer<QObject>::data (this=0x34) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:588
#7  QPointer<QScreen>::data (this=0x34) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:70
#8  QPointer<QScreen>::operator QScreen* (this=0x34) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:76
#9  QPlatformScreen::screen (this=this@entry=0x1dbca40) at kernel/qplatformscreen.cpp:116
#10 0x00007f0ab15637cc in QXcbWindow::create (this=0x2736ed0) at qxcbwindow.cpp:426
Comment 2 Elvis Angelaccio 2016-12-25 11:40:39 UTC
Crash in Qt, looks screen-related. Please update to Qt 5.6.x
Comment 3 Martin van Es 2016-12-25 12:26:41 UTC
In the meantime xenial had updates and yakkety has arrived and I have not seen this bug in a long time. For me, I regard this bug resolved.