https://bugs.kde.org/show_bug.cgi?id=499271
Bug ID: 499271 Summary: kde-open crashes every time in sm_performSaveYourself when nvidia driver is installed Classification: I don't know Product: kde Version: unspecified Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: brunopit...@hotmail.com Target Milestone: --- SUMMARY kde-open (and possibly other programs) crashes on systems with Nvidia GPUs inside sm_performSaveYourself STEPS TO REPRODUCE 1. Download a file in Falkon 2. Double click the file in download-manager OBSERVED RESULT The file opens EXPECTED RESULT kde-open produces a coredump stack trace: #0 0x00007f7adf15f6e4 in ?? () from /lib64/libnvidia-tls.so.550.144.03 #1 0x00007f7ad1a675fc in give_pwd_free (pwd=pwd@entry=0x7ffcc970a9a0) at nss_compat/compat-pwd.c:106 #2 0x00007f7ad1a676a2 in internal_setpwent (ent=ent@entry=0x7ffcc970a980, stayopen=stayopen@entry=0, needent=needent@entry=0) at nss_compat/compat-pwd.c:234 #3 0x00007f7ad1a68f84 in _nss_compat_getpwuid_r (uid=<optimized out>, pwd=<optimized out>, buffer=0x7ffcc970acd8 '\376' <repeats 200 times>..., buflen=1024, errnop=<optimized out>) at nss_compat/compat-pwd.c:1067 #4 0x00007f7ae1552c91 in __getpwuid_r (uid=<optimized out>, resbuf=<optimized out>, buffer=<optimized out>, buflen=1024, result=<optimized out>) at ../nss/getXXbyYY_r.c:273 #5 0x00007f7add15de9a in sm_performSaveYourself (sm=0x5642f340d8a0) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbsessionmanager.cpp:177 #6 0x00007f7add15eab7 in sm_saveYourselfCallback (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbsessionmanager.cpp:149 #7 sm_saveYourselfCallback (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/plugins/platforms/xcb/qxcbsessionmanager.cpp:132 #8 0x00007f7add0578e3 in _SmcProcessMessage (iceConn=0x5642f344b9c0, clientData=0x5642f2f6b1f0, opcode=<optimized out>, length=1, swap=0, replyWait=0x0, replyReadyRet=0x7ffcc970b1b0) at /usr/src/debug/libSM-1.2.5/src/sm_process.c:354 #9 0x00007f7add0477f5 in IceProcessMessages (iceConn=0x5642f344b9c0, replyWait=0x0, replyReadyRet=0x0) at /usr/src/debug/libICE-1.1.2/src/process.c:386 #10 0x00007f7ae1e0dd81 in doActivate<false> (sender=0x5642f2fcfd20, signal_index=3, argv=0x7ffcc970b2f0) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qobject.cpp:4136 #11 0x00007f7ae1e10c83 in QSocketNotifier::activated (this=this@entry=0x5642f2fcfd20, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/debug/qtbase-everywhere-src-6.8.1/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:198 #12 0x00007f7ae1e1186e in QSocketNotifier::event (this=0x5642f2fcfd20, e=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qsocketnotifier.cpp:327 #13 0x00007f7ae2fdec35 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5642f2fcfd20, e=0x7ffcc970b430) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/widgets/kernel/qapplication.cpp:3296 #14 0x00007f7ae1dac948 in QCoreApplication::notifyInternal2 (receiver=0x5642f2fcfd20, event=0x7ffcc970b430) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qcoreapplication.cpp:1168 #15 0x00007f7ae200918c in socketNotifierSourceDispatch (source=0x5642f2f4fc90) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qeventdispatcher_glib.cpp:77 #16 0x00007f7ae11c7ef8 in g_main_dispatch (context=0x7f7ad4000f50) at ../glib/gmain.c:3357 #17 g_main_context_dispatch_unlocked (context=context@entry=0x7f7ad4000f50) at ../glib/gmain.c:4208 #18 0x00007f7ae11c9ce8 in g_main_context_iterate_unlocked (context=context@entry=0x7f7ad4000f50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273 #19 0x00007f7ae11ca4fc in g_main_context_iteration (context=0x7f7ad4000f50, may_block=1) at ../glib/gmain.c:4338 #20 0x00007f7ae2000723 in QEventDispatcherGlib::processEvents (this=0x5642f2ede450, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #21 0x00007f7ae1db5aa2 in QEventLoop::exec (this=this@entry=0x7ffcc970b6d0, flags=..., flags@entry=...) at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/global/qflags.h:34 #22 0x00007f7ae1db5f8a in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/corelib/global/qflags.h:74 #23 0x00007f7ae260eed0 in QGuiApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/gui/kernel/qguiapplication.cpp:1975 #24 0x00007f7ae2fdbef9 in QApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.8.1/src/widgets/kernel/qapplication.cpp:2564 #25 0x00005642c58e94e1 in ClientApp::kde_open (allowExec=false, this=0x7ffcc970b7b0, _url=..., mimeType=...) at /usr/src/debug/kde-cli-tools-6.2.91/kioclient/kioclient.cpp:266 #26 ClientApp::doIt (this=0x7ffcc970b7b0, parser=...) at /usr/src/debug/kde-cli-tools-6.2.91/kioclient/kioclient.cpp:380 #27 main (argc=<optimized out>, argc@entry=2, argv=argv@entry=0x7ffcc970ba68) at /usr/src/debug/kde-cli-tools-6.2.91/kioclient/kioclient.cpp:219 #28 0x00007f7ae142a2ae in __libc_start_call_main (main=main@entry=0x5642c58e8a00 <main(int, char**)>, argc=argc@entry=2, argv=argv@entry=0x7ffcc970ba68) at ../sysdeps/nptl/libc_start_call_main.h:58 #29 0x00007f7ae142a379 in __libc_start_main_impl (main=0x5642c58e8a00 <main(int, char**)>, argc=2, argv=0x7ffcc970ba68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcc970ba58) at ../csu/libc-start.c:360 #30 0x00005642c58e97b5 in _start () at ../sysdeps/x86_64/start.S:115 SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20250127 KDE Plasma Version: 6.2.91 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 nvidia-gl-G06 version 660.144.03-3.1 ADDITIONAL INFORMATION NVIDIA Quadro P620 in optimus configuration with Intel iGPU on a laptop. I'm running falkon with the folloing environment variables: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia VK_ICD_FILENAMES=/etc/vulkan/icd.d/nvidia_icd.json to make it use discrete GPU. -- You are receiving this mail because: You are watching all bug changes.