Bug 357238 - crash when attempting to unlock with nvidia proprietary drivers
Summary: crash when attempting to unlock with nvidia proprietary drivers
Status: RESOLVED WORKSFORME
Alias: None
Product: kscreenlocker
Classification: Unmaintained
Component: greeter (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-27 23:54 UTC by hashbang173
Modified: 2016-02-09 09:29 UTC (History)
3 users (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 hashbang173 2015-12-27 23:54:37 UTC
lockscreen crashes with nvidia proprietary drivers installed when trying to unlock.

On a recent install of arch linux

log: https://paste.kde.org/pwdkv4o97/4flvf1

Reproducible: Always

Steps to Reproduce:
1. Install nvidia proprietary drivers
2. lock screen
3. attempt to unlock

Actual Results:  
crashes and restarts

loop, impossible to unlock through GUI
Comment 1 tom 2015-12-29 16:28:15 UTC
I have the same issue since switching  to a nvidia card a couple of days ago (it worked with the old card and the radeon driver). After being unable to unlock the session 3 or 4 times I get the message to unlock the session using "loginctl unlock-sessions" from a tty. When I do that and switch back to X the entire system hangs and I need to perform a hard reset. Interestingly the log mentions libEGL_nvidia although I have kwin configured to use the glx backend.

Log:
Dec 29 12:06:52 arch-workstation systemd-coredump[1823]: Process 1813 (kscreenlocker_g) of user 1000 dumped core.
                                                         
                                                         Stack trace of thread 1813:
                                                         #0  0x00007fe0386dd5f8 raise (libc.so.6)
                                                         #1  0x00007fe03a166e97 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                         #2  0x00007fe0386dd680 __restore_rt (libc.so.6)
                                                         #3  0x00007fe033ce57e0 __lll_unlock_elision (libpthread.so.0)
                                                         #4  0x00007fe01dae0ccc n/a (libEGL_nvidia.so.0)
                                                         #5  0x00007fe01da6e252 n/a (libEGL_nvidia.so.0)
Comment 2 Martin Flöser 2016-01-04 09:49:35 UTC
can you please get a complete backtrace from coredump?
Comment 3 tom 2016-01-04 14:48:42 UTC
The complete stacktrace is:

Thread 1 (Thread 0x7fba0d6eb880 (LWP 1720)):
#0  0x00007fba1d7615f8 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007fba1f1eae97 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF5Crash.so.5
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x00007fba18d697e0 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
No symbol table info available.
#4  0x00007fb9faae1ccc in ?? () from /usr/lib/libEGL_nvidia.so.0
No symbol table info available.
#5  0x00007fb9faa6f252 in ?? () from /usr/lib/libEGL_nvidia.so.0
No symbol table info available.
#6  0x00007ffd14670740 in ?? ()
No symbol table info available.
#7  0x00007fb9faaf70b1 in ?? () from /usr/lib/libEGL_nvidia.so.0
No symbol table info available.
#8  0x00000000ffffffff in ?? ()
No symbol table info available.
#9  0x00007fba20ebd885 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
Comment 4 Martin Flöser 2016-01-04 15:12:30 UTC
That's all? bah! All we have are locations in the nvidia driver. That's not giving us anything :-(

What surprises me is that it says libEGL. Did you somehow configure to use EGL or OpenGL ES instead of GLX or OpenGL?
Comment 5 tom 2016-01-04 15:32:19 UTC
I checked that but it's configured for glx and opengl 3. The relevant part of kwinrc is:

[Compositing]
AnimationSpeed=3
Backend=OpenGL
Enabled=true
GLColorCorrection=false
GLCore=true
GLPlatformInterface=glx
GLPreferBufferSwap=a
GLTextureFilter=2
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false
Comment 6 Martin Flöser 2016-01-04 16:25:24 UTC
kwinrc is irrelevant for that. It's rather a Qt thing.
Comment 7 tom 2016-01-04 16:47:25 UTC
Is there some config file for that? I'm using the default qt5 provided by arch and haven't configured this manually in qt.
Comment 8 hashbang173 2016-02-08 21:46:55 UTC
Just noticed today that I can unlock with nvidia proprietary drivers installed
Comment 9 tom 2016-02-09 09:09:52 UTC
Works for me aswell now, seems to have been fixed in one of the recent bug fix releases.
Comment 10 Martin Flöser 2016-02-09 09:29:32 UTC
Thanks for the updates. I change to worksforme. If it happens again, please reopen.