Bug 1387851 - sddm-greeter segfault in libpthread-2.23.so
Summary: sddm-greeter segfault in libpthread-2.23.so
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: sddm
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Bříza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-22 12:35 UTC by Sergei LITVINENKO
Modified: 2016-10-31 19:19 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-25 01:21:18 UTC
Type: Bug


Attachments (Terms of Use)

Description Sergei LITVINENKO 2016-10-22 12:35:56 UTC
Description of problem:

Is it not possible to login into KDE again after screen is blocked.


Version-Release number of selected component (if applicable):

sddm-0.13.0-7.fc24.x86_64
kernel-core-4.7.7-200.fc24.x86_64


How reproducible:
100%


Steps to Reproduce:
1. Keep PC unlocked for 5 minutes (wait screen blocking time)
2. Try to login
3.

Actual results:

sddm-greeter restart and ask for authorization again


Expected results:

login in to KDE


Additional info:

1. KDE

2. [59.945641] sddm-greeter[1530]: segfault at 10 ip 00007fec6aacb9a0 sp 00007ffcc3e24b58 error 4 in libpthread-2.23.so[7fec6aac2000+17000]

3. Replacing of sddm by kdm solve issue.

Comment 1 Rex Dieter 2016-10-23 21:55:19 UTC
We'll need a more complete backtrace to debug this further.

Comment 2 Sergei LITVINENKO 2016-10-24 17:37:07 UTC
Continuing.
[Thread 0x7fb967110700 (LWP 1528) exited]
[Thread 0x7fb945a82700 (LWP 1665) exited]
[Thread 0x7fb95235d700 (LWP 1530) exited]

Thread 1 "sddm-greeter" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:67
67        unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);

Comment 3 Rex Dieter 2016-10-24 17:40:07 UTC
That's all? still seems to be an incomplete backtrace

is nvidia libs/driver involved at all?  (if so, you may need to contact them, we won't be able to debug it)

Comment 4 Sergei LITVINENKO 2016-10-24 17:54:57 UTC
[root@homedesk ~]# ps -ef | grep gree
root 4416  1492  0 20:50 ?  00:00:00 /usr/libexec/sddm-helper --socket /tmp/sddm-auth40fe5d2b-3091-453e-8264-83f70bad6245 --id 6 --start /usr/bin/sddm-greeter --socket /tmp/sddm-:0-lgdkBh --theme /usr/share/sddm/themes/01-breeze-fedora --user sddm --greeter
sddm 4420  4416  7 20:50 ?  00:00:01 /usr/bin/sddm-greeter --socket /tmp/sddm-:0-lgdkBh --theme /usr/share/sddm/themes/01-breeze-fedora



[root@homedesk ~]# gdb -q -p 4420
Attaching to process 4420
[New LWP 4424]
[New LWP 4426]
[New LWP 4427]
[New LWP 4429]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f29c684f3ed in poll () at ../sysdeps/unix/syscall-template.S:84
84      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) c
Continuing.
[Thread 0x7f29b38fc700 (LWP 4424) exited]
[Thread 0x7f2992251700 (LWP 4429) exited]
[Thread 0x7f299eb2e700 (LWP 4427) exited]

Thread 1 "sddm-greeter" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:67
67        unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
(gdb) bt
#0  0x00007f29c63419a0 in __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:67
#1  0x00007f29b263f82c in  () at /usr/lib64/nvidia/libGLX_nvidia.so.0
#2  0x00007f29b2616d28 in  () at /usr/lib64/nvidia/libGLX_nvidia.so.0
#3  0x00007f29b514df89 in __eglFini () at libegl.c:1283
#4  0x00007f29c8ae14aa in _dl_fini () at dl-fini.c:235
#5  0x00007f29c67911e8 in __run_exit_handlers (status=0, listp=0x7f29c6b145d8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#6  0x00007f29c6791235 in __GI_exit (status=<optimized out>) at exit.c:104
#7  0x00007f29c6778738 in __libc_start_main (main=                                                                                                           
    0x5627234ff9e0 <main(int, char**)>, argc=5, argv=0x7ffca59cecd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffca59cecc8) at ../csu/libc-start.c:323                                                                                                                          
#8  0x00005627234ffc79 in _start ()                                                                                                                          
(gdb)

Comment 5 Sergei LITVINENKO 2016-10-24 17:58:08 UTC
>> is nvidia libs/driver involved at all?

yes, i use nvidia 

[root@homedesk ~]# rpm -qa | grep nvidia
xorg-x11-drv-nvidia-devel-367.57-1.fc24.x86_64
xorg-x11-drv-nvidia-kmodsrc-367.57-1.fc24.x86_64
kmod-nvidia-4.7.7-200.fc24.x86_64-367.57-1.fc24.x86_64
nvidia-texture-tools-2.0.8-13.fc24.x86_64
xorg-x11-drv-nvidia-cuda-367.57-1.fc24.x86_64
xorg-x11-drv-nvidia-devel-367.57-1.fc24.i686
nvidia-texture-tools-devel-2.0.8-13.fc24.i686
xorg-x11-drv-nvidia-libs-367.57-1.fc24.x86_64
xorg-x11-drv-nvidia-libs-367.57-1.fc24.i686
xorg-x11-drv-nvidia-367.57-1.fc24.x86_64
kmod-nvidia-367.57-1.fc24.x86_64
akmod-nvidia-367.57-1.fc24.x86_64
nvidia-texture-tools-2.0.8-13.fc24.i686
kmod-nvidia-4.7.9-200.fc24.x86_64-367.57-1.fc24.x86_64
xorg-x11-drv-nvidia-cuda-367.57-1.fc24.i686
pcp-pmda-nvidia-gpu-3.11.4-1.fc24.x86_64
nvidia-texture-tools-devel-2.0.8-13.fc24.x86_64

Comment 6 Rex Dieter 2016-10-25 01:21:18 UTC
we've received reports of several other users having problems with 367.57 driver release.  most issues resolved by downgrading (to 367.44)

Comment 7 George 2016-10-27 02:36:01 UTC
Also problems with the rpmfusion 340 nvidia drivers.

Comment 8 leigh scott 2016-10-31 08:48:01 UTC
(In reply to George from comment #7)
> Also problems with the rpmfusion 340 nvidia drivers.

That isn't possible as 304xx doesn't use libglvnd!

Comment 9 leigh scott 2016-10-31 08:49:15 UTC
(In reply to Sergei LITVINENKO from comment #5)
> >> is nvidia libs/driver involved at all?
> 
> yes, i use nvidia 
> 
> [root@homedesk ~]# rpm -qa | grep nvidia
> xorg-x11-drv-nvidia-devel-367.57-1.fc24.x86_64
> xorg-x11-drv-nvidia-kmodsrc-367.57-1.fc24.x86_64
> kmod-nvidia-4.7.7-200.fc24.x86_64-367.57-1.fc24.x86_64
> nvidia-texture-tools-2.0.8-13.fc24.x86_64
> xorg-x11-drv-nvidia-cuda-367.57-1.fc24.x86_64
> xorg-x11-drv-nvidia-devel-367.57-1.fc24.i686
> nvidia-texture-tools-devel-2.0.8-13.fc24.i686
> xorg-x11-drv-nvidia-libs-367.57-1.fc24.x86_64
> xorg-x11-drv-nvidia-libs-367.57-1.fc24.i686
> xorg-x11-drv-nvidia-367.57-1.fc24.x86_64
> kmod-nvidia-367.57-1.fc24.x86_64
> akmod-nvidia-367.57-1.fc24.x86_64
> nvidia-texture-tools-2.0.8-13.fc24.i686
> kmod-nvidia-4.7.9-200.fc24.x86_64-367.57-1.fc24.x86_64
> xorg-x11-drv-nvidia-cuda-367.57-1.fc24.i686
> pcp-pmda-nvidia-gpu-3.11.4-1.fc24.x86_64
> nvidia-texture-tools-devel-2.0.8-13.fc24.x86_64

Should be fixed in version xorg-x11-drv-nvidia-367.57-3

Comment 10 leigh scott 2016-10-31 08:53:16 UTC
(In reply to Rex Dieter from comment #6)
> we've received reports of several other users having problems with 367.57
> driver release.  most issues resolved by downgrading (to 367.44)

It isn't possible to downgrade using dnf as rpmfusion doesn't keep old versions in the repo.

http://download1.rpmfusion.org/nonfree/fedora/updates/24/x86_64/x/

Comment 11 Sergei LITVINENKO 2016-10-31 19:19:11 UTC
for x64 rpmfusion provide updated version
Now for me everything is OK...


[sergeil@homedesk MySql]$ rpm -qa | grep nvidia
xorg-x11-drv-nvidia-367.57-3.fc24.x86_64
xorg-x11-drv-nvidia-libs-367.57-3.fc24.i686
xorg-x11-drv-nvidia-cuda-367.57-3.fc24.i686
kmod-nvidia-4.7.7-200.fc24.x86_64-367.57-1.fc24.x86_64
nvidia-texture-tools-2.0.8-13.fc24.x86_64
pcp-pmda-nvidia-gpu-3.11.5-1.fc24.x86_64
xorg-x11-drv-nvidia-devel-367.57-3.fc24.x86_64
nvidia-texture-tools-devel-2.0.8-13.fc24.i686
kmod-nvidia-4.8.4-200.fc24.x86_64-367.57-1.fc24.x86_64
kmod-nvidia-367.57-1.fc24.x86_64
xorg-x11-drv-nvidia-devel-367.57-3.fc24.i686
xorg-x11-drv-nvidia-libs-367.57-3.fc24.x86_64
xorg-x11-drv-nvidia-kmodsrc-367.57-3.fc24.x86_64
xorg-x11-drv-nvidia-cuda-367.57-3.fc24.x86_64
akmod-nvidia-367.57-1.fc24.x86_64
nvidia-texture-tools-2.0.8-13.fc24.i686
kmod-nvidia-4.7.9-200.fc24.x86_64-367.57-1.fc24.x86_64
nvidia-texture-tools-devel-2.0.8-13.fc24.x86_64


Note You need to log in before you can comment on or make changes to this bug.