https://bugs.kde.org/show_bug.cgi?id=359650

            Bug ID: 359650
           Summary: plasmashell crashed after screen detached
           Product: plasmashell
           Version: 5.5.4
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: ber...@codewiz.org
                CC: bhus...@gmail.com, plasma-b...@kde.org

Application: plasmashell (5.5.4)

Qt Version: 5.5.1
Operating System: Linux 4.3.5-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
I detached my laptop from the external monitor, and both plasmashell and kwin
crashed almost simultaneously. I couldn't capture the kwin crash.

Additionally, KDE does not seem to detect monitor plug/unplug events
automatically. At least, not reliably. Everything works fine in Gnome.

This system is using the intel driver:
xorg-x11-drv-intel-2.99.917-19.20151206.fc23.x86_64.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7ffff7ee7940 (LWP 4482))]

Thread 7 (Thread 0x7fffde425700 (LWP 4486)):
#0  0x00007fffef8c7fdd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff5d7e272 in poll (__timeout=-1, __nfds=1, __fds=0x7fffde424b80)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x555555836cf0, cond=cond@entry=0x555555836d30,
vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007ffff5d7fee7 in xcb_wait_for_event (c=0x555555836cf0) at xcb_in.c:693
#4  0x00007fffe03afda9 in QXcbEventReader::run (this=0x555555840cf0) at
qxcbconnection.cpp:1255
#5  0x00007ffff04d03de in QThreadPrivate::start (arg=0x555555840cf0) at
thread/qthread_unix.cpp:331
#6  0x00007fffeec0b60a in start_thread (arg=0x7fffde425700) at
pthread_create.c:334
#7  0x00007fffef8d3a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffd79cf700 (LWP 4524)):
#0  0x00007fffef8c7fdd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffeadec16c in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fffd0003070, timeout=<optimized out>, context=0x7fffd0000990) at
gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7fffd0000990,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3835
#3  0x00007fffeadec27c in g_main_context_iteration (context=0x7fffd0000990,
may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007ffff0707ecb in QEventDispatcherGlib::processEvents
(this=0x7fffd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ffff06aeeca in QEventLoop::exec (this=this@entry=0x7fffd79cec60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ffff04cb434 in QThread::exec (this=this@entry=0x55555592f530) at
thread/qthread.cpp:503
#7  0x00007ffff48169b5 in QQmlThreadPrivate::run (this=0x55555592f530) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007ffff04d03de in QThreadPrivate::start (arg=0x55555592f530) at
thread/qthread_unix.cpp:331
#9  0x00007fffeec0b60a in start_thread (arg=0x7fffd79cf700) at
pthread_create.c:334
#10 0x00007fffef8d3a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffce97c700 (LWP 4525)):
#0  g_mutex_unlock (mutex=0x7fffc8000990) at gthread-posix.c:1350
#1  0x00007fffeadebba9 in g_main_context_check
(context=context@entry=0x7fffc8000990, max_priority=2147483647,
fds=fds@entry=0x7fffc8002e70, n_fds=n_fds@entry=1) at gmain.c:3679
#2  0x00007fffeadec110 in g_main_context_iterate
(context=context@entry=0x7fffc8000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#3  0x00007fffeadec27c in g_main_context_iteration (context=0x7fffc8000990,
may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007ffff0707ecb in QEventDispatcherGlib::processEvents
(this=0x7fffc80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ffff06aeeca in QEventLoop::exec (this=this@entry=0x7fffce97bc60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ffff04cb434 in QThread::exec (this=this@entry=0x555555bcdc60) at
thread/qthread.cpp:503
#7  0x00007ffff48169b5 in QQmlThreadPrivate::run (this=0x555555bcdc60) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007ffff04d03de in QThreadPrivate::start (arg=0x555555bcdc60) at
thread/qthread_unix.cpp:331
#9  0x00007fffeec0b60a in start_thread (arg=0x7fffce97c700) at
pthread_create.c:334
#10 0x00007fffef8d3a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffccf78700 (LWP 4526)):
#0  0x00007fffeec1192b in __GI___pthread_getspecific (key=3) at
pthread_getspecific.c:32
#1  0x00007fffeae12ce0 in g_thread_self () at gthread.c:976
#2  0x00007fffeadeb0fc in g_main_context_acquire (context=0x7fffc0000990) at
gmain.c:3209
#3  0x00007fffeadec025 in g_main_context_iterate
(context=context@entry=0x7fffc0000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3790
#4  0x00007fffeadec27c in g_main_context_iteration (context=0x7fffc0000990,
may_block=may_block@entry=1) at gmain.c:3901
#5  0x00007ffff0707ecb in QEventDispatcherGlib::processEvents
(this=0x7fffc00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007ffff06aeeca in QEventLoop::exec (this=this@entry=0x7fffccf77c60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007ffff04cb434 in QThread::exec (this=this@entry=0x555555cc55d0) at
thread/qthread.cpp:503
#8  0x00007ffff48169b5 in QQmlThreadPrivate::run (this=0x555555cc55d0) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#9  0x00007ffff04d03de in QThreadPrivate::start (arg=0x555555cc55d0) at
thread/qthread_unix.cpp:331
#10 0x00007fffeec0b60a in start_thread (arg=0x7fffccf78700) at
pthread_create.c:334
#11 0x00007fffef8d3a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffc75f7700 (LWP 4527)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff766e514 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7ffff7957380 <QTWTF::pageheap_memory>) at
/usr/src/debug/qtscript-opensource-src-5.5.1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ffff766e559 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
/usr/src/debug/qtscript-opensource-src-5.5.1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fffeec0b60a in start_thread (arg=0x7fffc75f7700) at
pthread_create.c:334
#4  0x00007fffef8d3a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fff3f911700 (LWP 4528)):
#0  0x00007fffef8c7fdd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffeadec16c in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fff38003120, timeout=<optimized out>, context=0x7fff38000990) at
gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7fff38000990,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3835
#3  0x00007fffeadec27c in g_main_context_iteration (context=0x7fff38000990,
may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007ffff0707ecb in QEventDispatcherGlib::processEvents
(this=0x7fff380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ffff06aeeca in QEventLoop::exec (this=this@entry=0x7fff3f910c10,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ffff04cb434 in QThread::exec (this=this@entry=0x555556081d50) at
thread/qthread.cpp:503
#7  0x00007ffff53c38d6 in QQuickPixmapReader::run (this=0x555556081d50) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/util/qquickpixmapcache.cpp:760
#8  0x00007ffff04d03de in QThreadPrivate::start (arg=0x555556081d50) at
thread/qthread_unix.cpp:331
#9  0x00007fffeec0b60a in start_thread (arg=0x7fff3f911700) at
pthread_create.c:334
#10 0x00007fffef8d3a4d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7ee7940 (LWP 4482)):
[KCrash Handler]
#5  QXcbScreen::mapFromNative (this=0x0, pos=...) at qxcbscreen.cpp:249
#6  0x00007fffe03c81c8 in QXcbWindow::handleLeaveNotifyEvent
(this=0x555555f8c880, event=<optimized out>) at qxcbwindow.cpp:2347
#7  0x00007fffe03b1ab5 in QXcbConnection::handleXcbEvent
(this=this@entry=0x555555834b50, event=event@entry=0x7fffd8014f10) at
qxcbconnection.cpp:1087
#8  0x00007fffe03b2433 in QXcbConnection::processXcbEvents
(this=0x555555834b50) at qxcbconnection.cpp:1528
#9  0x00007ffff06e1161 in QObject::event (this=0x555555834b50, e=<optimized
out>) at kernel/qobject.cpp:1239
#10 0x00007ffff1c6541c in QApplicationPrivate::notify_helper
(this=this@entry=0x555555828440, receiver=receiver@entry=0x555555834b50,
e=e@entry=0x7fffd8005470) at kernel/qapplication.cpp:3716
#11 0x00007ffff1c6a8e6 in QApplication::notify (this=0x7fffffffdbe0,
receiver=0x555555834b50, e=0x7fffd8005470) at kernel/qapplication.cpp:3499
#12 0x00007ffff06b173b in QCoreApplication::notifyInternal
(this=0x7fffffffdbe0, receiver=0x555555834b50,
event=event@entry=0x7fffd8005470) at kernel/qcoreapplication.cpp:965
#13 0x00007ffff06b3b36 in QCoreApplication::sendEvent (event=0x7fffd8005470,
receiver=<optimized out>) at kernel/qcoreapplication.h:224
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x55555581e530) at
kernel/qcoreapplication.cpp:1593
#15 0x00007ffff06b4018 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1451
#16 0x00007ffff0707aa3 in postEventSourceDispatch (s=0x555555877670) at
kernel/qeventdispatcher_glib.cpp:271
#17 0x00007fffeadebe3a in g_main_dispatch (context=0x7fffd80016f0) at
gmain.c:3154
#18 g_main_context_dispatch (context=context@entry=0x7fffd80016f0) at
gmain.c:3769
#19 0x00007fffeadec1d0 in g_main_context_iterate
(context=context@entry=0x7fffd80016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#20 0x00007fffeadec27c in g_main_context_iteration (context=0x7fffd80016f0,
may_block=may_block@entry=1) at gmain.c:3901
#21 0x00007ffff0707eaf in QEventDispatcherGlib::processEvents
(this=0x5555558698b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#22 0x00007ffff06aeeca in QEventLoop::exec (this=this@entry=0x7fffffffda80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#23 0x00007ffff06b6fac in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1229
#24 0x000055555558908a in main ()

Possible duplicates by query: bug 357685, bug 356894.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to