Bug 391857 - The logout dialog doesn't run If I switch PRIME profiles in Nvidia X server settings
Summary: The logout dialog doesn't run If I switch PRIME profiles in Nvidia X server s...
Status: RESOLVED DUPLICATE of bug 394508
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: ui (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-14 15:49 UTC by Mina
Modified: 2018-12-20 16:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mina 2018-03-14 15:49:17 UTC
If I open the Nvidia X server settings, then I change PRIME profiles (either from intel to nvidia or the opposite), then I try to logout, the logout dialog can't run. It crashes and shows a notification to report the bug.
Comment 1 Nate Graham 2018-03-14 20:12:36 UTC
That notification should walk you through producing a backtrace and filing a crash bug. Can you do that, or at least attach the backtrace here?
Comment 2 Mina 2018-03-22 07:42:20 UTC
It says "ksmserver-logout-greeter does not provide a bug reporting address"

In the "developer information" tab:

Application: ksmserver-logout-greeter (ksmserver-logout-greeter), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa6d9a59940 (LWP 6849))]

Thread 3 (Thread 0x7fa6bb7fe700 (LWP 6853)):
#0  0x00007fa6d535b74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa6cdf9838c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa6cdf9849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa6d5c8e5cb in QEventDispatcherGlib::processEvents (this=0x7fa6ac0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa6d5c3564a in QEventLoop::exec (this=this@entry=0x7fa6bb7fdc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fa6d5a55554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007fa6d7cb5a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fa6d5a5a6eb in QThreadPrivate::start (arg=0x1983180) at thread/qthread_unix.cpp:376
#8  0x00007fa6cff506ba in start_thread (arg=0x7fa6bb7fe700) at pthread_create.c:333
#9  0x00007fa6d536741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa6bbfff700 (LWP 6852)):
#0  __lll_unlock_wake () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371
#1  0x00007fa6cff544ff in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fa6cf8de950) at pthread_mutex_unlock.c:55
#2  __GI___pthread_mutex_unlock (mutex=0x7fa6cf8de950) at pthread_mutex_unlock.c:314
#3  0x00007fa6cf6599e5 in ?? () from /usr/lib/nvidia-390/libGL.so.1
#4  0x00007fa6cf65f0bb in ?? () from /usr/lib/nvidia-390/libGL.so.1
#5  0x00007fa6cb7050f1 in ?? () from /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.25
#6  0x00007fa6cdfdb6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fa6cdf97e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fa6cdf98330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fa6cdf9849c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fa6d5c8e5cb in QEventDispatcherGlib::processEvents (this=0x7fa6b40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#11 0x00007fa6d5c3564a in QEventLoop::exec (this=this@entry=0x7fa6bbffec50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#12 0x00007fa6d5a55554 in QThread::exec (this=this@entry=0x7fa6d6aa8d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522
#13 0x00007fa6d68342c5 in QDBusConnectionManager::run (this=0x7fa6d6aa8d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#14 0x00007fa6d5a5a6eb in QThreadPrivate::start (arg=0x7fa6d6aa8d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376
#15 0x00007fa6cff506ba in start_thread (arg=0x7fa6bbfff700) at pthread_create.c:333
#16 0x00007fa6d536741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa6d9a59940 (LWP 6849)):
[KCrash Handler]
#6  0x00007fa6d5295428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fa6d529702a in __GI_abort () at abort.c:89
#8  0x00007fa6d5a44311 in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1710
#9  QMessageLogger::fatal (this=this@entry=0x7ffd225af1f0, msg=msg@entry=0x7fa6d858a47d "%s") at global/qlogging.cpp:816
#10 0x00007fa6d83a1068 in QSGRenderLoop::handleContextCreationFailure (this=this@entry=0x197dea0, window=0x19772a0, isEs=<optimized out>) at scenegraph/qsgrenderloop.cpp:274
#11 0x00007fa6d83a22a7 in QSGGuiThreadRenderLoop::renderWindow (this=this@entry=0x197dea0, window=0x19772a0) at scenegraph/qsgrenderloop.cpp:368
#12 0x00007fa6d83a2aa5 in QSGGuiThreadRenderLoop::exposureChanged (this=0x197dea0, window=0x19772a0) at scenegraph/qsgrenderloop.cpp:477
#13 0x00007fa6d61dc625 in QWindow::event (this=this@entry=0x19772a0, ev=ev@entry=0x7ffd225af6a0) at kernel/qwindow.cpp:2328
#14 0x00007fa6d841a8c5 in QQuickWindow::event (this=this@entry=0x19772a0, e=e@entry=0x7ffd225af6a0) at items/qquickwindow.cpp:1627
#15 0x0000000000408f31 in KSMShutdownDlg::event (this=0x19772a0, e=0x7ffd225af6a0) at /workspace/build/ksmserver/shutdowndlg.cpp:234
#16 0x00007fa6d6e08acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fa6d6e10417 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fa6d5c373c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x19772a0, event=event@entry=0x7ffd225af6a0) at kernel/qcoreapplication.cpp:1044
#19 0x00007fa6d61d128d in QCoreApplication::sendSpontaneousEvent (event=0x7ffd225af6a0, receiver=0x19772a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#20 QGuiApplicationPrivate::processExposeEvent (e=0x1c8fc80) at kernel/qguiapplication.cpp:2880
#21 0x00007fa6d61d1ebd in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1c8fc80) at kernel/qguiapplication.cpp:1803
#22 0x00007fa6d61ab8fb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:976
#23 0x00007fa6c493d1ab in QPAEventDispatcherGlib::processEvents (this=0x1961980, flags=...) at qeventdispatcher_glib.cpp:70
#24 0x00007fa6d5c3564a in QEventLoop::exec (this=this@entry=0x7ffd225af850, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#25 0x00007fa6d5c3e854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#26 0x0000000000405dfc in main (argc=6, argv=<optimized out>) at /workspace/build/ksmserver/logout-greeter/main.cpp:224



sorry for replying late
Comment 3 Christoph Feck 2018-03-30 18:07:38 UTC
If you are sure the nvidia OpenGL drivers and its kernel modules are installed correctly, and this still happens after a reboot, please report this issue directly to nvidia developers via https://devtalk.nvidia.com/default/topic/522835/linux/if-you-have-a-problem-please-read-this-first/
Comment 4 Christoph Feck 2018-12-20 16:12:27 UTC

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