Bug 363918

Summary: After switching output display, opening a file crashes Dolphin
Product: [Applications] dolphin Reporter: Morten Lind <morten>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: elvis.angelaccio
Priority: NOR Keywords: drkonqi
Version: 16.12.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Morten Lind 2016-06-03 23:05:46 UTC
Application: dolphin (16.04.1)

Qt Version: 5.5.1
Frameworks Version: 5.22.0
Operating System: Linux 4.5.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
When switching between monitor and laptop display while Dolphin is open, a subsequent opening of a file in Dolphin crashes it.

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 0x7fa18fdbb940 (LWP 6253))]

Thread 3 (Thread 0x7fa18e85b700 (LWP 6254)):
#0  0x00007fa1a4110dcd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fa198816382 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa198817ff7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa18fb52789 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa19eca180e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa19b440454 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fa1a4119e5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fa185efb700 (LWP 6255)):
#0  0x00007fa1a4110dcd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fa19a8b339c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa19a8b34ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa19eed8a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa19ee7fdaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa19ec9c864 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa19eca180e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa19b440454 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007fa1a4119e5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7fa18fdbb940 (LWP 6253)):
[KCrash Handler]
#6  0x00007fa19f1b0f44 in QPlatformScreen::screen() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007fa18fb6d8bc in QXcbWindow::create() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fa18fb5a291 in QXcbIntegration::createPlatformWindow(QWindow*) const () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007fa19f1cb1e4 in QWindowPrivate::create(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007fa19f7ac360 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fa19f7ac79b in QWidget::create(unsigned long long, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fa19f7acdd1 in QWidgetPrivate::createWinId(unsigned long long) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fa19f7aaca7 in QWidget::setAttribute(Qt::WidgetAttribute, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fa19f7aaa5e in QWidget::setAttribute(Qt::WidgetAttribute, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fa19f7accd8 in QWidgetPrivate::createWinId(unsigned long long) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fa19f7aaca7 in QWidget::setAttribute(Qt::WidgetAttribute, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fa19f7accd8 in QWidgetPrivate::createWinId(unsigned long long) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fa19f7aaca7 in QWidget::setAttribute(Qt::WidgetAttribute, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fa19f7accd8 in QWidgetPrivate::createWinId(unsigned long long) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fa19f7aaca7 in QWidget::setAttribute(Qt::WidgetAttribute, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fa19f7accd8 in QWidgetPrivate::createWinId(unsigned long long) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fa19f7aaca7 in QWidget::setAttribute(Qt::WidgetAttribute, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fa19f7abe70 in QWidget::winId() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fa1a29ce317 in KRun::runService(KService const&, QList<QUrl> const&, QWidget*, bool, QString const&, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#25 0x00007fa1a29d1394 in KRun::runUrl(QUrl const&, QString const&, QWidget*, bool, bool, QString const&, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#26 0x00007fa1a29d1bb0 in KRun::foundMimeType(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#27 0x00007fa1a29cb892 in KRun::mimeTypeDetermined(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#28 0x00007fa1a29d02b3 in KRun::init() () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#29 0x00007fa1a29d25ed in KRun::slotTimeout() () from /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#30 0x00007fa19eeb0f8a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fa19eebd838 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fa19eeb1e13 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fa19f774ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fa19f77a4b6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007fa19ee825eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fa19eed785d in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fa19eed7d61 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fa19a8b31a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fa19a8b3400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fa19a8b34ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fa19eed8a3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fa19ee7fdaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007fa19ee87e4c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fa1a4434419 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#45 0x00007fa1a40515f0 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#46 0x00000000004006f9 in _start ()

Possible duplicates by query: bug 361522.

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2016-12-10 16:54:47 UTC
Qt 5.5 is very old, and 5.6 got a lot of screen-related fixes.