Bug 377251

Summary: Plasma crash on on connecting external monitor
Product: [Plasma] plasmashell Reporter: Guille <ibarramewi>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: crash CC: alain.shema, bhush94, brunozellner57, christian, dariusz.ostolski, felipesabrahao, igiwatson, invalid.path, isushik94, junta.kristobal, kde, kinerix, Martin.Deppe, notmart, plasma-bugs, s4bba7, santini, skycoder42.de, stephan.dietzel, tim.taylor+bugzilla.bugs.kde.org
Priority: NOR Keywords: drkonqi
Version: 5.9.2   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-19746-0.html
Stack trace

Description Guille 2017-03-05 18:05:31 UTC
Application: plasmashell (5.9.2)

Qt Version: 5.8.0
Frameworks Version: 5.31.0
Operating System: Linux 4.4.52-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
I was watching a stream on my tv using it as a extended screen, then the full screen display crashes. Beside that, everyting  its working fine.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fca55eea800 (LWP 776))]

Thread 10 (Thread 0x7fc96d1f5700 (LWP 4894)):
#0  0x00007fca4a40ae49 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fca4a3c51b4 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca4a3c5744 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fca52dd0025 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fc96ffff700 (LWP 4790)):
#0  0x00007fca4a40ae49 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fca4a3c4c99 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca4a3c56cb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fca52dd0025 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fc989ee6700 (LWP 929)):
#0  0x00007fca4f5a34ed in read () at /usr/lib/libc.so.6
#1  0x00007fca4a409aa0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca4a3c526e in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4a3c5744 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fc98c7b80a7 in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#9  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fc99db12700 (LWP 923)):
#0  0x00007fca4a40ae64 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fca4a3c4c80 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca4a3c56cb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fca53983fd6 in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fca2bfff700 (LWP 922)):
#0  0x00007fca4eb6c10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fca55678234 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fca55678279 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fca35f71700 (LWP 921)):
#0  0x00007fca4fc92c49 in QMutex::unlock() () at /usr/lib/libQt5Core.so.5
#1  0x00007fca4feca955 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007fca4a3c51a9 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4a3c5744 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fca52dd0025 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fca379d1700 (LWP 857)):
#0  0x00007fca4a40ae64 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fca4a3c575a in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fca52dd0025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fca3d571700 (LWP 797)):
#0  0x00007fca4a40ae64 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fca4a3c579a in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fca4fecb06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fca4fc96a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fca502e0125 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fca3f1cb700 (LWP 783)):
#0  0x00007fca4f5a748d in poll () at /usr/lib/libc.so.6
#1  0x00007fca5459e8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fca545a0679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fca4110a239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fca4fc9b6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fca4eb66454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fca4f5b07df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fca55eea800 (LWP 776)):
[KCrash Handler]
#6  0x00007fca50655590 in QWindow::screen() const () at /usr/lib/libQt5Gui.so.5
#7  0x0000000000443d74 in  ()
#8  0x00007fca4fea20be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007fca50645af2 in QGuiApplication::primaryScreenChanged(QScreen*) () at /usr/lib/libQt5Gui.so.5
#10 0x00007fca41109e5d in QXcbConnection::createScreen(QXcbVirtualDesktop*, xcb_randr_output_change_t const&, xcb_randr_get_output_info_reply_t*) () at /usr/lib/libQt5XcbQpa.so.5
#11 0x00007fca4110b877 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007fca4110c1d3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#13 0x00007fca4110c655 in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#14 0x00007fca4fea2ba9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007fca50de434c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fca50debb61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fca4fe76440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007fca4fe78bcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x00007fca4fecac43 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007fca4a3c55a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007fca4a3c5810 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007fca4a3c58bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007fca4fecb04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007fca4fe7489a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007fca4fe7cde4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x000000000041ca42 in  ()
#27 0x00007fca4f4e8291 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000000000041cdca in _start ()

Reported using DrKonqi
Comment 1 Marco Martin 2017-03-06 14:46:59 UTC
did it crash when you either plugged or unplugged the tv or in between *not* near either of those events?
Comment 2 David Edmundson 2017-03-06 23:23:23 UTC
*** Bug 376096 has been marked as a duplicate of this bug. ***
Comment 3 Guille 2017-03-11 18:06:45 UTC
Created attachment 104510 [details]
attachment-19746-0.html

Sorry for the delay. It crashed when i was already plugged and watching a
stream. In fact, i only noticed when turned off the full screen mode.

2017-03-06 8:46 GMT-06:00 Marco Martin <bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=377251
>
> Marco Martin <notmart@gmail.com> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>                  CC|                            |notmart@gmail.com
>
> --- Comment #1 from Marco Martin <notmart@gmail.com> ---
> did it crash when you either plugged or unplugged the tv or in between
> *not*
> near either of those events?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Aliaksandr Susha 2017-03-18 11:15:44 UTC
Created attachment 104627 [details]
Stack trace

Hello, there.

It seems I've got a crash like your's today. I only plugged HDMI monitor and closed lid of my laptop. Then the screen of monitor flickered and when plasma appeared again, panel's toolbar contained a crash icon with segmentation fault.

I use Arch Linux with plasma version 5.9.3.

Best regards, Aliaksandr Susha.
Comment 5 Marco Martin 2017-03-22 13:21:39 UTC
*** Bug 377833 has been marked as a duplicate of this bug. ***
Comment 6 Marco Martin 2017-03-22 13:28:45 UTC
*** Bug 377870 has been marked as a duplicate of this bug. ***
Comment 7 Marco Martin 2017-03-22 13:40:11 UTC
*** Bug 377919 has been marked as a duplicate of this bug. ***
Comment 8 Marco Martin 2017-03-28 11:32:11 UTC
*** Bug 378170 has been marked as a duplicate of this bug. ***
Comment 9 Marco Martin 2017-04-04 11:20:59 UTC
*** Bug 378345 has been marked as a duplicate of this bug. ***
Comment 10 Marco Martin 2017-04-21 13:49:32 UTC
*** Bug 378992 has been marked as a duplicate of this bug. ***
Comment 11 Marco Martin 2017-04-21 13:49:40 UTC
*** Bug 378783 has been marked as a duplicate of this bug. ***
Comment 12 Marco Martin 2017-04-21 13:49:46 UTC
*** Bug 378739 has been marked as a duplicate of this bug. ***
Comment 13 Anna Smirnova 2017-04-21 14:14:52 UTC
(In reply to Marco Martin from comment #1)
> did it crash when you either plugged or unplugged the tv or in between *not*
> near either of those events?

My situation:
Crash did when I use settitngs "Screen edges" "All windows = All Desctops". 
Yes, I plugged the monitor to my notebook. I always use the monitor.
But now I disactivated settitng "Screen edges" "All windows = All Desctops". I use only one settitng "Screen edges" - "All windows = Current desktop"
The crash didn't happen again.
Comment 14 Anna Smirnova 2017-04-21 14:18:19 UTC
Crash did when I approached the edge of the screen "All windows = All Desctops"
Comment 15 Christoph Feck 2017-05-07 11:30:31 UTC
*** Bug 379517 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2017-05-07 11:30:46 UTC
*** Bug 379323 has been marked as a duplicate of this bug. ***
Comment 17 Marco Martin 2017-05-16 08:44:20 UTC
*** Bug 379742 has been marked as a duplicate of this bug. ***
Comment 18 Marco Martin 2017-05-16 08:44:28 UTC
*** Bug 379876 has been marked as a duplicate of this bug. ***
Comment 19 Marco Martin 2017-09-04 12:45:33 UTC
*** Bug 383586 has been marked as a duplicate of this bug. ***
Comment 20 Marco Martin 2017-09-04 12:45:58 UTC
*** Bug 383769 has been marked as a duplicate of this bug. ***
Comment 21 Marco Martin 2017-09-04 13:22:45 UTC
*** Bug 384350 has been marked as a duplicate of this bug. ***
Comment 22 Marco Martin 2017-10-10 12:07:34 UTC
*** Bug 385129 has been marked as a duplicate of this bug. ***
Comment 23 Christoph Feck 2018-03-15 01:18:39 UTC
*** Bug 390925 has been marked as a duplicate of this bug. ***
Comment 24 David Edmundson 2018-04-11 10:26:48 UTC
*** Bug 392864 has been marked as a duplicate of this bug. ***
Comment 25 David Edmundson 2018-04-11 10:28:08 UTC
Crash is in Qt. All of these have < Qt 5.8. 
There were some changes in QtBase then.

Please reopen if seen in >= Qt5.8