You are not logged in.

#1 2024-06-26 13:31:01

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

mesa-git causing coredump in X and wayland

This just started happening recently.

I was wondeing if anyone else is seeing this.


[jbarks@carlos ~]$ coredumpctl debug 741
           PID: 741 (Xorg)
           UID: 1000 (jbarks)
           GID: 1000 (jbarks)
        Signal: 6 (ABRT)
     Timestamp: Sun 2024-06-23 10:15:48 EDT (2 days ago)
  Command Line: /usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.AsY7SvjKFV
    Executable: /usr/lib/Xorg
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (jbarks)
       Boot ID: 91bbe1e02af540d9a80f6a2d18af4b1d
    Machine ID: 0e505b3e1f4e4e3497a0054f3ce88b99
      Hostname: carlos.home
       Storage: /var/lib/systemd/coredump/core.Xorg.1000.91bbe1e02af540d9a80f6a2d18af4b1d.741.1719152148000000.zst (present)
  Size on Disk: 1.3M
       Message: Process 741 (Xorg) of user 1000 dumped core.
                
                Stack trace of thread 741:
                #0  0x00007aa74f804e44 n/a (libc.so.6 + 0x94e44)
                #1  0x00007aa74f7aca30 raise (libc.so.6 + 0x3ca30)
                #2  0x00007aa74f7944c3 abort (libc.so.6 + 0x244c3)
                #3  0x00005f04ba80db00 OsAbort (Xorg + 0x14ab00)
                #4  0x00005f04ba80de3b FatalError (Xorg + 0x14ae3b)
                #5  0x00005f04ba805d46 n/a (Xorg + 0x142d46)
                #6  0x00007aa74f7acae0 n/a (libc.so.6 + 0x3cae0)
                #7  0x00007aa74d48cc58 n/a (nouveau_dri.so + 0xe8cc58)
                #8  0x00007aa74cfc2461 nouveau_drm_screen_create (nouveau_dri.so + 0x9c2461)
                #9  0x00007aa74c62bdf3 n/a (nouveau_dri.so + 0x2bdf3)
                #10 0x00007aa74cd06860 n/a (nouveau_dri.so + 0x706860)
                #11 0x00007aa74c62e0aa n/a (nouveau_dri.so + 0x2e0aa)
                #12 0x00007aa74c636fa0 n/a (nouveau_dri.so + 0x36fa0)
                #13 0x00007aa74fd9c976 n/a (libgbm.so.1 + 0x4976)
                #14 0x00007aa74fd9d533 n/a (libgbm.so.1 + 0x5533)
                #15 0x00007aa74fd9b326 n/a (libgbm.so.1 + 0x3326)
                #16 0x00007aa74fd9b480 gbm_create_device (libgbm.so.1 + 0x3480)
                #17 0x00007aa74ec666d5 glamor_egl_init (libglamoregl.so + 0x86d5)
                #18 0x00007aa74ecffe39 n/a (modesetting_drv.so + 0xfe39)
                #19 0x00005f04ba82acc2 InitOutput (Xorg + 0x167cc2)
                #20 0x00005f04ba6f1f93 n/a (Xorg + 0x2ef93)
                #21 0x00007aa74f795c88 n/a (libc.so.6 + 0x25c88)
                #22 0x00007aa74f795d4c __libc_start_main (libc.so.6 + 0x25d4c)
                #23 0x00005f04ba6f35c5 _start (Xorg + 0x305c5)
                
                Stack trace of thread 742:
                #0  0x00007aa74f7ff4e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007aa74f801ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x00007aa74c69b51e n/a (nouveau_dri.so + 0x9b51e)
                #3  0x00007aa74c678f2c n/a (nouveau_dri.so + 0x78f2c)
                #4  0x00007aa74c69b44d n/a (nouveau_dri.so + 0x9b44d)
                #5  0x00007aa74f802ded n/a (libc.so.6 + 0x92ded)
                #6  0x00007aa74f8860dc n/a (libc.so.6 + 0x1160dc)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[url]http://gnu.org/licenses/gpl.html[/url]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<[url]https://www.gnu.org/software/gdb/bugs/[/url]>.
Find the GDB manual and other documentation resources online at:
    <[url]http://www.gnu.org/software/gdb/documentation/[/url]>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/Xorg...

This GDB supports auto-downloading debuginfo from the following URLs:
  <[url]https://debuginfod.archlinux.org[/url]>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for /usr/lib/Xorg
Reading symbols from /home/jbarks/.cache/debuginfod_client/ba1857cf96d75d3311bab2f7b2072600a775425d/debuginfo...
[New LWP 741]
[New LWP 742]

warning: .dynamic section for "/usr/lib/dri/nouveau_dri.so" is not at the expected address (wrong library or version mismatch?)
Downloading separate debug info for /usr/lib/libnettle.so.8                                            
Downloading separate debug info for /usr/lib/libXfont2.so.2                                            
Downloading separate debug info for /usr/lib/libunwind.so.8                                            
Downloading separate debug info for /usr/lib/libdbus-1.so.3                                            
Downloading separate debug info for /usr/lib/libtirpc.so.3                                             
Downloading separate debug info for /usr/lib/libxcvt.so.0                                              
--Type <RET> for more, q to quit, c to continue without paging--c                                      
Downloading separate debug info for /usr/lib/libfontenc.so.1
Downloading separate debug info for /usr/lib/libgssapi_krb5.so.2                                       
Downloading separate debug info for /usr/lib/libkrb5.so.3                                              
Downloading separate debug info for /usr/lib/libk5crypto.so.3                                          
Downloading separate debug info for /usr/lib/libcom_err.so.2                                           
Downloading separate debug info for /usr/lib/libkrb5support.so.0                                       
Downloading separate debug info for /usr/lib/libkeyutils.so.1                                          
Downloading separate debug info for /usr/lib/libresolv.so.2                                            
Downloading separate debug info for /usr/lib/xorg/modules/extensions/libglx.so                         
Downloading separate debug info for /usr/lib/libGL.so.1                                                
Downloading separate debug info for /usr/lib/libGLX.so.0                                               
Downloading separate debug info for /usr/lib/xorg/modules/drivers/modesetting_drv.so                   
Downloading separate debug info for /usr/lib/xorg/modules/libglamoregl.so                              
Downloading separate debug info for /usr/lib/libepoxy.so.0                                             
Downloading separate debug info for /usr/lib/libLLVM.so.19.0git                                        
[Thread debugging using libthread_db enabled]                                                          
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.AsY7SvjKFV'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, 
    no_tid=no_tid@entry=0) at pthread_kill.c:44
44	     return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;                
[Current thread is 1 (Thread 0x7aa74f0d59c0 (LWP 741))]
(gdb) thread apply all backtrace full

Thread 2 (Thread 0x7aa7412006c0 (LWP 742)):
#0  0x00007aa74f7ff4e9 in __futex_abstimed_wait_common64 (private=0, futex_word=0x5f04e4233218, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
        sc_cancel_oldtype = 0
        __arg6 = <optimized out>
        __arg3 = <optimized out>
        _a5 = <optimized out>
        _a2 = <optimized out>
        sc_ret = <optimized out>
        __arg4 = <optimized out>
        __arg1 = <optimized out>
        _a6 = <optimized out>
        _a3 = <optimized out>
        resultvar = <optimized out>
        __arg5 = <optimized out>
        __arg2 = <optimized out>
        _a4 = <optimized out>
        _a1 = <optimized out>
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5f04e4233218, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
        err = <optimized out>
        clockbit = 256
        op = 393
#2  0x00007aa74f7ff56f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5f04e4233218, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
No locals.
#3  0x00007aa74f801ed9 in __pthread_cond_wait_common (cond=0x5f04e42331f0, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
        spin = 0
        buffer = {__routine = 0x7aa74f801c10 <__condvar_cleanup_waiting>, __arg = 0x7aa7411ffaa0, __canceltype = 0, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x5f04e42331f0, mutex = 0x5f04e42331c0, private = 0}
        err = <optimized out>
        g = 0
        flags = <optimized out>
        g1_start = <optimized out>
        maxspin = 0
        signals = <optimized out>
        result = 0
        wseq = 0
        seq = 0
        private = 0
        maxspin = <optimized out>
        err = <optimized out>
        result = <optimized out>
        wseq = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--c
        g = <optimized out>
        seq = <optimized out>
        flags = <optimized out>
        private = <optimized out>
        signals = <optimized out>
        done = <optimized out>
        g1_start = <optimized out>
        spin = <optimized out>
        buffer = <optimized out>
        cbuffer = <optimized out>
        s = <optimized out>
#4  ___pthread_cond_wait (cond=0x5f04e42331f0, mutex=<optimized out>) at pthread_cond_wait.c:618
No locals.
#5  0x00007aa74c69b51e in ?? ()
No symbol table info available.
#6  0x00007aa7411ffc20 in ?? ()
No symbol table info available.
#7  0x00007aa74c678f2c in ?? ()
No symbol table info available.
#8  0x00007aa7411ffb80 in ?? ()
No symbol table info available.
#9  0x00007aa74f8101cb in alloc_new_heap (size=0, top_pad=<optimized out>, pagesize=2, mmap_flags=<optimized out>) at /usr/src/debug/glibc/glibc/malloc/arena.c:448
        p1 = <optimized out>
        p2 = 0x5f04e42331c0 ""
        ul = <optimized out>
        h = <optimized out>
        min_size = <optimized out>
        max_size = 104474612019696
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0x7aa74f0d59c0 (LWP 741)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {0}}
        ret = <optimized out>
#1  0x00007aa74f804eb3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
No locals.
#2  0x00007aa74f7aca30 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00007aa74f7944c3 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {0, 0, 0, 0, 0, 0, 0, 104474611507360, 1, 104474611406848, 140729014712944, 104474611399216, 104473913624021, 0, 0, 104474611263857}}, sa_flags = 0, sa_restorer = 0x7aa74f9534e0 <_IO_2_1_stderr_>}
#4  0x00005f04ba80db00 in OsAbort () at ../xorg-server/os/utils.c:1361
No locals.
#5  0x00005f04ba80de3b in AbortServer () at ../xorg-server/os/log.c:879
No locals.
#6  FatalError (f=<optimized out>) at ../xorg-server/os/log.c:1017
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7ffe06ee7be0, reg_save_area = 0x7ffe06ee7b10}}
        args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffe06ee7be0, reg_save_area = 0x7ffe06ee7b10}}
        beenhere = 1
#7  0x00005f04ba805d46 in OsSigHandler (unused=<optimized out>, sip=<optimized out>, signo=11) at ../xorg-server/os/osinit.c:156
No locals.
#8  OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../xorg-server/os/osinit.c:110
No locals.
#9  <signal handler called>
No locals.
#10 0x00007aa74d48cc58 in ?? () from /usr/lib/dri/nouveau_dri.so
No symbol table info available.
#11 0x00007aa74cfc2461 in ?? () from /usr/lib/dri/nouveau_dri.so/code]/
No symbol table info available.
#12 0x0000000000000002 in ?? ()
No symbol table info available.
#13 0x00005f04e41b6000 in ?? ()
No symbol table info available.
#14 0x00005f04e4230ab0 in ?? ()
No symbol table info available.
#15 0x76b4443b7886cd00 in ?? ()
No symbol table info available.
#16 0x00005f04e422f620 in ?? ()
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)

Last edited by Zod (2024-06-26 13:51:27)

Offline

#2 2024-06-27 08:48:36

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,574

Re: mesa-git causing coredump in X and wayland

Which llvm variant are you building against ?

Did you logout of graphical env (or reboot) after building & installing mesa-git  ?

Please post the full outputs of

$ lspci -knn
$ glxinfo -B
$ eglinfo -B

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

Board footer

Powered by FluxBB