sudden crash of X server with malloc in the journalctl

Olivier Fourdan ofourdan at redhat.com
Wed Apr 10 07:21:45 UTC 2024


Hi

This is most likely
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1659 fixed with
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1479

Cheers
Olivier

On Wed, Apr 10, 2024 at 9:15 AM Jan Kurella <kurellajunior at gmail.com> wrote:

> Hi there,
>
> I am a bit puzzled, the second time today my screen went black and afet a
> few seconds came up again with the login screen (ubuntu 22.04). I found the
> following entries in log files:
>
> $ journalctl -b -0
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]:
> malloc(): unaligned tcache chunk detected
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Backtrace:
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 0:
> /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x557b5eed3ab9]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 1:
> /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x7fc520bcd520]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 2:
> /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0x12c) [0x7fc520c219fc]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 3:
> /lib/x86_64-linux-gnu/libc.so.6 (raise+0x16) [0x7fc520bcd476]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 4:
> /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd3) [0x7fc520bb37f3]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 5:
> /lib/x86_64-linux-gnu/libc.so.6 (__fsetlocking+0x426) [0x7fc520c14676]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 6:
> /lib/x86_64-linux-gnu/libc.so.6 (timer_settime+0x2cc) [0x7fc520c2bcfc]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 7:
> /lib/x86_64-linux-gnu/libc.so.6 (malloc+0x33c) [0x7fc520c303dc]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 8:
> /usr/lib/xorg/Xorg (SetGlyphPicture+0x15d) [0x557b5ee2d11d]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 9:
> /usr/lib/xorg/Xorg (AddTraps+0x347a) [0x557b5ee358da]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 10:
> /usr/lib/xorg/Xorg (SendErrorToClient+0x365) [0x557b5ed5d635]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 11:
> /usr/lib/xorg/Xorg (InitFonts+0x3c4) [0x557b5ed616b4]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 12:
> /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x90) [0x7fc520bb4d90]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 13:
> /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [0x7fc520bb4e40]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE) 14:
> /usr/lib/xorg/Xorg (_start+0x25) [0x557b5ed4a605]
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: Fatal
> server error:
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Caught signal 6 (Aborted). Server aborting
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: Please
> consult the The X.Org Foundation support
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]:
>  at http://wiki.x.org
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]:  for
> help.
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Please also check the log file at
> "/home/kurella/.local/share/xorg/Xorg.0.log" for additional information.
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (II)
> AIGLX: Suspending AIGLX clients for VT switch
> Apr 09 15:40:09 DEBER54-LXL006 /usr/libexec/gdm-x-session[55646]: (EE)
> Server terminated with error (1). Closing log file.
>> followed by many loglines from shutdown and reboot
>
> $ less /home/kurella/.local/share/xorg/Xorg.0.log.old
> [ 22758.826] (EE) event10 - HID 046a:0023: client bug: event processing
> lagging behind by 29ms, your system is too slow
> [ 23062.725] (EE)
> [ 23062.725] (EE) Backtrace:
> [ 23062.725] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139)
> [0x557b5eed3ab9]
> [ 23062.726] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50)
> [0x7fc520bcd520]
> [ 23062.727] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0x12c)
> [0x7fc520c219fc]
> [ 23062.728] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (raise+0x16)
> [0x7fc520bcd476]
> [ 23062.729] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd3)
> [0x7fc520bb37f3]
> [ 23062.730] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__fsetlocking+0x426)
> [0x7fc520c14676]
> [ 23062.730] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (timer_settime+0x2cc)
> [0x7fc520c2bcfc]
> [ 23062.731] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (malloc+0x33c)
> [0x7fc520c303dc]
> [ 23062.731] (EE) 8: /usr/lib/xorg/Xorg (SetGlyphPicture+0x15d)
> [0x557b5ee2d11d]
> [ 23062.731] (EE) 9: /usr/lib/xorg/Xorg (AddTraps+0x347a) [0x557b5ee358da]
> [ 23062.731] (EE) 10: /usr/lib/xorg/Xorg (SendErrorToClient+0x365)
> [0x557b5ed5d635]
> [ 23062.732] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x3c4) [0x557b5ed616b4]
> [ 23062.732] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6
> (__libc_init_first+0x90) [0x7fc520bb4d90]
> [ 23062.733] (EE) 13: /lib/x86_64-linux-gnu/libc.so.6
> (__libc_start_main+0x80) [0x7fc520bb4e40]
> [ 23062.733] (EE) 14: /usr/lib/xorg/Xorg (_start+0x25) [0x557b5ed4a605]
> [ 23062.733] (EE)
> [ 23062.733] (EE)
> Fatal server error:
> [ 23062.733] (EE) Caught signal 6 (Aborted). Server aborting
> [ 23062.733] (EE)
> [ 23062.733] (EE)
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
> [ 23062.733] (EE) Please also check the log file at
> "/home/kurella/.local/share/xorg/Xorg.0.log" for additional information.
> [ 23062.733] (EE)
> [ 23062.733] (II) AIGLX: Suspending AIGLX clients for VT switch
> [ 23062.778] (EE) Server terminated with error (1). Closing log file.
>
> It asked me to contact you, so here I am. Any idea what this is about?
>
> Jan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20240410/d8952ca1/attachment-0001.htm>


More information about the xorg mailing list