Bug 361553 - Plasma crash on startup when switching between tty and plasma
Summary: Plasma crash on startup when switching between tty and plasma
Status: RESOLVED DUPLICATE of bug 348812
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-09 10:54 UTC by Adrien Navratil
Modified: 2016-04-13 08:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Navratil 2016-04-09 10:54:59 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-35-generic x86_64
Distribution: Ubuntu 15.10

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

Plasma was starting, I did CTRL + ALT + F1 to go on TTY to do some things, then I went back to KDE (CTRL  + ALT  + F7) and it crashed, I justed pressed the restart button.
Also I did it another time (2 minutes later) and it crashed again, but it doesn't do it everytime.

- Unusual behavior I noticed:

Just before crashing I saw some weird shapes (graphical bugs) but It does it everytime (when I switch from tty or when I switch from a fullscreen application) without crashing.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f8c3eb34800 (LWP 2961))]

Thread 8 (Thread 0x7f8c28685700 (LWP 2963)):
#0  0x00007f8c392e188d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8c3d328bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8c3d32a74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8c2b244a39 in QXcbEventReader::run (this=0xb40640) at qxcbconnection.cpp:1105
#4  0x00007f8c399d42be in QThreadPrivate::start (arg=0xb40640) at thread/qthread_unix.cpp:337
#5  0x00007f8c38ac36aa in start_thread (arg=0x7f8c28685700) at pthread_create.c:333
#6  0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f8c25e4e700 (LWP 2967)):
#0  0x00007f8c392e188d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8c3608e1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c3608e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c39c0b29b in QEventDispatcherGlib::processEvents (this=0x7f8c180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f8c39bb175a in QEventLoop::exec (this=this@entry=0x7f8c25e4dda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f8c399cf3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f8c3c1f7f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f8c399d42be in QThreadPrivate::start (arg=0xc63290) at thread/qthread_unix.cpp:337
#8  0x00007f8c38ac36aa in start_thread (arg=0x7f8c25e4e700) at pthread_create.c:333
#9  0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f8c16fe6700 (LWP 2968)):
#0  0x00007f8c392dd44d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8c320def75 in ?? () from /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.63
#2  0x00007f8c360d14e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c3608dcd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8c3608e190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8c3608e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8c39c0b29b in QEventDispatcherGlib::processEvents (this=0x7f8c100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f8c39bb175a in QEventLoop::exec (this=this@entry=0x7f8c16fe5da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f8c399cf3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f8c3c1f7f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f8c399d42be in QThreadPrivate::start (arg=0x1049a10) at thread/qthread_unix.cpp:337
#11 0x00007f8c38ac36aa in start_thread (arg=0x7f8c16fe6700) at pthread_create.c:333
#12 0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f8c14e41700 (LWP 2972)):
#0  0x00007fff7537e949 in ?? ()
#1  0x00007fff7537ec75 in clock_gettime ()
#2  0x00007f8c392fb33d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f8c14e40b10) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007f8c39a853a6 in qt_clock_gettime (ts=0x7f8c14e40b10, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#5  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#6  0x00007f8c39c08d29 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f8c0c002ed0) at kernel/qtimerinfo_unix.cpp:84
#7  0x00007f8c39c09295 in QTimerInfoList::timerWait (this=0x7f8c0c002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#8  0x00007f8c39c0a67e in timerSourcePrepareHelper (timeout=0x7f8c14e40be4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#9  timerSourcePrepare (source=<optimized out>, timeout=0x7f8c14e40be4) at kernel/qeventdispatcher_glib.cpp:160
#10 0x00007f8c3608d77d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f8c3608e11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f8c3608e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f8c39c0b29b in QEventDispatcherGlib::processEvents (this=0x7f8c0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#14 0x00007f8c39bb175a in QEventLoop::exec (this=this@entry=0x7f8c14e40da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#15 0x00007f8c399cf3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#16 0x00007f8c3c1f7f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007f8c399d42be in QThreadPrivate::start (arg=0x11a12f0) at thread/qthread_unix.cpp:337
#18 0x00007f8c38ac36aa in start_thread (arg=0x7f8c14e41700) at pthread_create.c:333
#19 0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f8c073d8700 (LWP 2993)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8c3e583114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f8c3e583159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f8c38ac36aa in start_thread (arg=0x7f8c073d8700) at pthread_create.c:333
#4  0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f8b84b73700 (LWP 3000)):
#0  0x00007f8c360d2884 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8c3608e1e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c3608e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c39c0b29b in QEventDispatcherGlib::processEvents (this=0x7f8b800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f8c39bb175a in QEventLoop::exec (this=this@entry=0x7f8b84b72d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f8c399cf3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f8c3cb73ef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f8c399d42be in QThreadPrivate::start (arg=0x1446420) at thread/qthread_unix.cpp:337
#8  0x00007f8c38ac36aa in start_thread (arg=0x7f8b84b73700) at pthread_create.c:333
#9  0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8b7d139700 (LWP 3001)):
[KCrash Handler]
#6  __strstr_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S:40
#7  0x00007f8c3cbc480a in QSGRenderContext::initialize(QOpenGLContext*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f8c3cbe7619 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f8c399d42be in QThreadPrivate::start (arg=0x17e22a0) at thread/qthread_unix.cpp:337
#10 0x00007f8c38ac36aa in start_thread (arg=0x7f8b7d139700) at pthread_create.c:333
#11 0x00007f8c392ece9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f8c3eb34800 (LWP 2961)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8c399d555b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x17fe310) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17e22e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f8c3cbe383b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f8c3cbe632f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f8c3cbe693b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f8c39ede7c5 in QWindow::event (this=0x132bf70, ev=<optimized out>) at kernel/qwindow.cpp:2058
#7  0x00007f8c3cc16fd3 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x000000000043e906 in DesktopView::event (this=0x132bf70, e=0x7fff752c0080) at ../../shell/desktopview.cpp:206
#9  0x00007f8c3a691b8c in QApplicationPrivate::notify_helper (this=this@entry=0xb13c70, receiver=receiver@entry=0x132bf70, e=e@entry=0x7fff752c0080) at kernel/qapplication.cpp:3720
#10 0x00007f8c3a697230 in QApplication::notify (this=0x7fff752c04c0, receiver=0x132bf70, e=0x7fff752c0080) at kernel/qapplication.cpp:3503
#11 0x00007f8c39bb3f1b in QCoreApplication::notifyInternal (this=0x7fff752c04c0, receiver=receiver@entry=0x132bf70, event=event@entry=0x7fff752c0080) at kernel/qcoreapplication.cpp:935
#12 0x00007f8c39ed7336 in QCoreApplication::sendSpontaneousEvent (event=0x7fff752c0080, receiver=0x132bf70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#13 QGuiApplicationPrivate::processExposeEvent (e=0x1321480) at kernel/qguiapplication.cpp:2616
#14 0x00007f8c39ed807d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1321480) at kernel/qguiapplication.cpp:1638
#15 0x00007f8c39ebd5b8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#16 0x00007f8c2b271250 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#17 0x00007f8c3608dff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f8c3608e250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f8c3608e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f8c39c0b27f in QEventDispatcherGlib::processEvents (this=0xb6e760, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#21 0x00007f8c39bb175a in QEventLoop::exec (this=this@entry=0x7fff752c0340, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#22 0x00007f8c39bb92cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#23 0x00007f8c39ece00c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#24 0x00007f8c3a68e025 in QApplication::exec () at kernel/qapplication.cpp:2956
#25 0x00000000004322c3 in main (argc=4, argv=<optimized out>) at ../../shell/main.cpp:176

Possible duplicates by query: bug 361302, bug 358964, bug 358883, bug 358297, bug 356907.

Reported using DrKonqi
Comment 1 Marco Martin 2016-04-13 08:56:04 UTC

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