xorg-server-21.1.3 SEGV during login
Last few days we started to see this SEGV during login on different machines and GPUs, in both MATE and KDE We have not updated anything significant but gcc 9 to 11
Rebuilt several Xorg pkgs:, xorg-serv, all X drivers, libX11 etc. but didn't help. Any clues welcome.
1362 DRI2Authenticate(ClientPtr client, ScreenPtr pScreen, uint32_t magic)
1363 {
1364 DRI2ScreenPtr ds;
1365 DRI2ClientPtr dri2_client = dri2ClientPrivate(client);
1366 ScreenPtr primescreen;
1367
1368 ds = DRI2GetScreenPrime(pScreen, dri2_client->prime_id);
1369 if (ds == NULL)
(gdb) bt
#0 DRI2Authenticate (client=client@entry=0x5588c132b270, pScreen=0x5588c0700770, magic=1)
at /var/tmp/portage/x11-base/xorg-server-21.1.3-r1/xorg-server-21.1.3/hw/xfree86/dri2/dri2.c:1368
#1 0x00005588bfce2ae2 in ProcDRI2Authenticate (client=0x5588c132b270)
at /var/tmp/portage/x11-base/xorg-server-21.1.3-r1/xorg-server-21.1.3/hw/xfree86/dri2/dri2ext.c:156
#2 ProcDRI2Dispatch (client=0x5588c132b270)
at /var/tmp/portage/x11-base/xorg-server-21.1.3-r1/xorg-server-21.1.3/hw/xfree86/dri2/dri2ext.c:609
#3 0x00005588bfb9bc25 in Dispatch ()
at /var/tmp/portage/x11-base/xorg-server-21.1.3-r1/xorg-server-21.1.3/dix/dispatch.c:550
#4 0x00005588bfb9f934 in dix_main (argc=14, argv=0x7fffad3bbdb8, envp=<optimized out>)
at /var/tmp/portage/x11-base/xorg-server-21.1.3-r1/xorg-server-21.1.3/dix/main.c:272
#5 0x00007fcaaffde19a in __libc_start_call_main (main=main@entry=0x5588bfb63a60 <main>, argc=argc@entry=14,
argv=argv@entry=0x7fffad3bbdb8) at ../sysdeps/nptl/libc_start_call_main.h:58
#6 0x00007fcaaffde248 in __libc_start_main_impl (main=0x5588bfb63a60 <main>, argc=14, argv=0x7fffad3bbdb8,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffad3bbda8)
at ../csu/libc-start.c:409
#7 0x00005588bfb63a91 in _start ()
print dri2_client
$1 = (DRI2ClientPtr) 0x1
Obviously 1 is not a good ptr vaule.