Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789675 - x11-apps/xauth-1.1: xauth[8462]: segfault at 1 ip 00007ff0040885b5 sp 00007ffcd9f05b88 error 4 in libc-2.32.so[7ff00400b000+144000]
Summary: x11-apps/xauth-1.1: xauth[8462]: segfault at 1 ip 00007ff0040885b5 sp 00007ff...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL: https://dpaste.com/A365HM9RP
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-12 12:51 UTC by Stas
Modified: 2021-05-15 08:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stas 2021-05-12 12:51:30 UTC
Installed a new system ...
Launching "Awesome WM" from the console (Display Manager - "NO") ...
The start of "Awesome WM" takes a long time, 5-15 seconds, with the error "xauth: timeout in locking authority file / home / [user] /. Xauthority" ....
When exiting "Awesome WM" and trying to restart it, it repeats again, but for a longer time, the error repeats 4 times and "Awesome WM" may not even start ...
Dmesg output:
"xauth [3027]: segfault at 1 ip 00007fc3872615b5 sp 00007ffde3412998 error 4 in libc-2.32.so [7fc3871e4000 + 144000]"
The "Dmesg" output is attached after restarting "Awesome WM". 

Reproducible: Always

Steps to Reproduce:
1. The system is started without a Grub bootloader using initramfs ...
2. From the console I enter "startx"...
Actual Results:  
The start of "Awesome WM" takes a long time, 5-15 seconds, with the error:
"xauth: timeout in locking authority file /home/[user]/.Xauthority"

The error is visible in the console when starting "Awesome".
Segmentation fault libc-2.32.so occurs when the package "xauth" is running!


.xinitrc {
#!/bin/sh                                                                                                                                                                                
xrdb -load ~/.Xresources
numlockx on
volumeicon &
setxkbmap -model pc104 -layout "us,ru(srp)" -option "grp:alt_shift_toggle"
exec dbus-launch --exit-with-session awesome
}

VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)
RAM 32Gb
Comment 1 Stas 2021-05-12 15:14:06 UTC
Dmesg:
https://dpaste.com/CL25HRUPN

First launch of WM "Awesome":
{
xauth:  timeout in locking authority file /home/[user]/.Xauthority
^C^C^C

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.10.27-gentoo x86_64 Gentoo
Current Operating System: Linux ZioN 5.10.27-gentoo #5 SMP Tue May 11 09:11:01 EEST 2021 x86_64
Kernel command line:
Build Date: 12 May 2021  07:36:51AM

Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/pumba/.local/share/xorg/Xorg.0.log", Time: Wed May 12 13:32:56 2021
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down urxvt: X connection to ':0' broken, unable to recover, exiting...(II) Server terminated successfully (0). Closing log file.

/usr/bin/startx: строка 219:  8462 Ошибка сегментирования                   xauth remove $removelist
}

Restarting WM "Awesome":
{
xauth:  timeout in locking authority file /home/pumba/.Xauthority
xauth:  timeout in locking authority file /home/pumba/.Xauthority
xauth:  timeout in locking authority file /home/pumba/.Xauthority
xauth:  timeout in locking authority file /home/pumba/.Xauthority


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.10.27-gentoo x86_64 Gentoo
Current Operating System: Linux ZioN 5.10.27-gentoo #5 SMP Tue May 11 09:11:01 EEST 2021 x86_64
Kernel command line:
Build Date: 12 May 2021  07:36:51AM

Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/pumba/.local/share/xorg/Xorg.0.log", Time: Wed May 12 14:36:38 2021
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down ..(II) Server terminated successfully (0). Closing log file.connec
xinit: server error
xauth:  timeout in locking authority file /home/[user]/.Xauthority
}
Comment 2 Stas 2021-05-12 15:36:56 UTC
(In reply to Stas from comment #1)
> Dmesg:
> https://dpaste.com/CL25HRUPN
> 
> First launch of WM "Awesome":
> {
> xauth:  timeout in locking authority file /home/[user]/.Xauthority
> ^C^C^C
> 
> X.Org X Server 1.20.11
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 5.10.27-gentoo x86_64 Gentoo
> Current Operating System: Linux ZioN 5.10.27-gentoo #5 SMP Tue May 11
> 09:11:01 EEST 2021 x86_64
> Kernel command line:
> Build Date: 12 May 2021  07:36:51AM
> 
> Current version of pixman: 0.40.0
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/home/pumba/.local/share/xorg/Xorg.0.log", Time: Wed May 12
> 13:32:56 2021
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> waiting for X server to shut down urxvt: X connection to ':0' broken, unable
> to recover, exiting...(II) Server terminated successfully (0). Closing log
> file.
> 
> /usr/bin/startx: строка 219:  8462 Ошибка сегментирования                  
> xauth remove $removelist
> }
> 
> Restarting WM "Awesome":
> {
> xauth:  timeout in locking authority file /home/[user]/.Xauthority
> xauth:  timeout in locking authority file /home/[user]/.Xauthority
> xauth:  timeout in locking authority file /home/[user]/.Xauthority
> xauth:  timeout in locking authority file /home/[user]/.Xauthority
> 
> 
> X.Org X Server 1.20.11
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 5.10.27-gentoo x86_64 Gentoo
> Current Operating System: Linux ZioN 5.10.27-gentoo #5 SMP Tue May 11
> 09:11:01 EEST 2021 x86_64
> Kernel command line:
> Build Date: 12 May 2021  07:36:51AM
> 
> Current version of pixman: 0.40.0
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/home/pumba/.local/share/xorg/Xorg.0.log", Time: Wed May 12
> 14:36:38 2021
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> waiting for X server to shut down ..(II) Server terminated successfully (0).
> Closing log file.connec
> xinit: server error
> xauth:  timeout in locking authority file /home/[user]/.Xauthority
> }
Comment 3 Mike Gilbert gentoo-dev 2021-05-12 15:55:12 UTC
Please do not use pastebin links; they tend to expire/disappear over time.

Please attach emerge --info and any additional logs to this bug report directly.
Comment 4 Mike Gilbert gentoo-dev 2021-05-12 16:01:40 UTC
It might be helpful to get a backtrace from the core dump after xauth segfaults.

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces#Core_dumps

Make sure you rebuild relevant packages with debug symbols first.
Comment 5 Jonas Stein gentoo-dev 2021-05-15 08:14:18 UTC
Please attach the files and reopen the ticket.
If you need help with it, you can ask on IRC [1] channel #gentoo

[1] https://www.gentoo.org/get-involved/irc-channels/