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

            Bug ID: 381037
           Summary: Plasma desktop crash after changing Nvidia Prime to
                    intel after reboot
           Product: plasmashell
           Version: 5.10.1
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: ramdaniel...@gmail.com
                CC: bhus...@gmail.com, plasma-b...@kde.org
  Target Milestone: 1.0

Application: plasmashell (5.10.1)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.8.0-54-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:
Nvidia graphic card was on and I change Nvidia Prime to Intel and reboot. After
reboot, I opened Blender and it worked fine but when I opened Firefox the
system froze for few minutes than KDE Plasma desktop crashed. I have a feeling
that it somehow related to Nvidia drivers. For some reason there are a lot of
troubles after I'm changing from Nvidia to Intel in Nvidia Prime.

My system:

Dell Inspiron 17R-5720 with hybrid graphics Intel and Nvidia GT GeForce 630m.

- Custom settings of the application:

I almost sure that it is related to Nvidia Prime and Nvidia driver.

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".
[Current thread is 1 (Thread 0x7f28bc59c8c0 (LWP 1552))]

Thread 9 (Thread 0x7f27ee674700 (LWP 1753)):
#0  0x00007f28b6ed469d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f28b26b16f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28b266de74 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28b266e330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f28b77f875b in QEventDispatcherGlib::processEvents
(this=0x7f27e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7f27ee673cc0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f28b75d2f64 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#8  0x00007f27f0b52587 in KCupsConnection::run() () from
/usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x51b8950) at
thread/qthread_unix.cpp:368
#10 0x00007f28b647d6ba in start_thread (arg=0x7f27ee674700) at
pthread_create.c:333
#11 0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f2806320700 (LWP 1732)):
#0  idleTimerSourcePrepare (source=0x7f27f8002d20, timeout=0x7f280631fac4) at
kernel/qeventdispatcher_glib.cpp:202
#1  0x00007f28b266d91d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28b266e2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f28b77f875b in QEventDispatcherGlib::processEvents
(this=0x7f27f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7f280631fc90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f28b75d2f64 in QThread::exec (this=this@entry=0x297ec70) at
thread/qthread.cpp:507
#7  0x00007f28ba58afc6 in QQuickPixmapReader::run (this=0x297ec70) at
util/qquickpixmapcache.cpp:822
#8  0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x297ec70) at
thread/qthread_unix.cpp:368
#9  0x00007f28b647d6ba in start_thread (arg=0x7f2806320700) at
pthread_create.c:333
#10 0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f280861f700 (LWP 1730)):
#0  0x00007f28b266df25 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f28b266e3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28b77f875b in QEventDispatcherGlib::processEvents
(this=0x7f28000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7f280861ed00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f28b75d2f64 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#6  0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x22e0790) at
thread/qthread_unix.cpp:368
#7  0x00007f28b647d6ba in start_thread (arg=0x7f280861f700) at
pthread_create.c:333
#8  0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f289cc2f700 (LWP 1728)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f28bbfef6f4 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f28bbfef739 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f28b647d6ba in start_thread (arg=0x7f289cc2f700) at
pthread_create.c:333
#4  0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f289e9a7700 (LWP 1727)):
#0  0x00007f28b75cef41 in QMutex::lock (this=this@entry=0x1f93430) at
thread/qmutex.cpp:223
#1  0x00007f28b77f7eaf in QMutexLocker::QMutexLocker (m=0x1f93430,
this=<synthetic pointer>) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:137
#2  QThreadData::canWaitLocked (this=0x1f93400) at
../../include/QtCore/5.7.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:253
#3  postEventSourcePrepare (s=0x7f288c0012d0, timeout=0x7f289e9a6b14) at
kernel/qeventdispatcher_glib.cpp:259
#4  0x00007f28b266d91d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f28b266e2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f28b77f875b in QEventDispatcherGlib::processEvents
(this=0x7f288c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7f289e9a6ce0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#9  0x00007f28b75d2f64 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#10 0x00007f28b9c03bf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x1f94140) at
thread/qthread_unix.cpp:368
#12 0x00007f28b647d6ba in start_thread (arg=0x7f289e9a7700) at
pthread_create.c:333
#13 0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f289ffff700 (LWP 1653)):
#0  0x00007f28b6ed8b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f28b266e38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28b77f875b in QEventDispatcherGlib::processEvents
(this=0x7f28940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7f289fffece0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f28b75d2f64 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#6  0x00007f28b9c03bf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x206a070) at
thread/qthread_unix.cpp:368
#8  0x00007f28b647d6ba in start_thread (arg=0x7f289ffff700) at
pthread_create.c:333
#9  0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f28a6232700 (LWP 1583)):
#0  0x00007f28b6ed8b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f28b266e38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28b77f875b in QEventDispatcherGlib::processEvents
(this=0x7f28980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7f28a6231cd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f28b75d2f64 in QThread::exec (this=this@entry=0x7f28bc74dd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#6  0x00007f28bc6d9735 in QDBusConnectionManager::run (this=0x7f28bc74dd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#7  0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x7f28bc74dd60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#8  0x00007f28b647d6ba in start_thread (arg=0x7f28a6232700) at
pthread_create.c:333
#9  0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f28a7a50700 (LWP 1558)):
#0  0x00007f28b6ed8b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f28baf50c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f28baf528d7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f28a9b96d79 in QXcbEventReader::run (this=0x1f8be20) at
qxcbconnection.cpp:1343
#4  0x00007f28b75d7b48 in QThreadPrivate::start (arg=0x1f8be20) at
thread/qthread_unix.cpp:368
#5  0x00007f28b647d6ba in start_thread (arg=0x7f28a7a50700) at
pthread_create.c:333
#6  0x00007f28b6ee482d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f28bc59c8c0 (LWP 1552)):
[KCrash Handler]
#6  0x00000000060c03e8 in ?? ()
#7  0x00007f27ed3fb8cc in PackageKit::TransactionPrivate::destroy() () from
/usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#8  0x00007f27ed3fba06 in
PackageKit::TransactionPrivate::methodCallFinished(QDBusPendingCallWatcher*) ()
from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#9  0x00007f27ed3f8b98 in ?? () from
/usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#10 0x00007f28b77cfe89 in QMetaObject::activate (sender=0x5fa83c0,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffebb74a190) at kernel/qobject.cpp:3740
#11 0x00007f28b77d0837 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f28bc74c5c0 <QDBusPendingCallWatcher::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffebb74a190)
at kernel/qobject.cpp:3602
#12 0x00007f28bc7304af in QDBusPendingCallWatcher::finished (this=<optimized
out>, _t1=0x5fa83c0) at .moc/moc_qdbuspendingcall.cpp:152
#13 0x00007f28bc7305a8 in QDBusPendingCallWatcherPrivate::_q_finished
(this=<optimized out>) at qdbuspendingcall.cpp:494
#14 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qdbuspendingcall.cpp:83
#15 0x00007f28b77d0d99 in QObject::event (this=0x5fa83c0, e=<optimized out>) at
kernel/qobject.cpp:1263
#16 0x00007f28b8083ecc in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5fa83c0, e=0x7f289806c070) at kernel/qapplication.cpp:3799
#17 0x00007f28b808b8c6 in QApplication::notify (this=0x7ffebb74a8a0,
receiver=0x5fa83c0, e=0x7f289806c070) at kernel/qapplication.cpp:3556
#18 0x00007f28b77a50c8 in QCoreApplication::notifyInternal2
(receiver=0x5fa83c0, event=event@entry=0x7f289806c070) at
kernel/qcoreapplication.cpp:988
#19 0x00007f28b77a778b in QCoreApplication::sendEvent (event=0x7f289806c070,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x1f69b90) at
kernel/qcoreapplication.cpp:1649
#21 0x00007f28b77a7bf8 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1503
#22 0x00007f28b77f8333 in postEventSourceDispatch (s=0x1faf310) at
kernel/qeventdispatcher_glib.cpp:276
#23 0x00007f28b266e197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f28b266e3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f28b266e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f28b77f873f in QEventDispatcherGlib::processEvents (this=0x1fc9ba0,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f28b77a30ba in QEventLoop::exec (this=this@entry=0x7ffebb74a730,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#28 0x00007f28b77ab6cc in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1261
#29 0x00007f28b7ae024c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1633
#30 0x00007f28b8083e25 in QApplication::exec () at kernel/qapplication.cpp:2975
#31 0x000000000041ce18 in main (argc=1, argv=<optimized out>) at
/workspace/build/shell/main.cpp:166

Reported using DrKonqi

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

Reply via email to