This bug was fixed in the package gnome-shell - 46.0-0ubuntu6~24.04.8

---------------
gnome-shell (46.0-0ubuntu6~24.04.8) noble; urgency=medium

  [ Alessandro Astone ]
  * Backport patch for connecting to a new Wi-Fi network from the log-in screen
    (LP: #2098016)

gnome-shell (46.0-0ubuntu6~24.04.7) noble; urgency=medium

  [ Alessandro Astone ]
  * Backport patch to fix setenv/getenv crash on startup (LP: #2039340)

 -- Marco Trevisan (TreviƱo) <ma...@ubuntu.com>  Wed, 05 Mar 2025
16:24:15 +0100

** Changed in: gnome-shell (Ubuntu Noble)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2039340

Title:
  gnome-shell crashes on startup with SIGSEGV in
  __GI_getenv("EXPAT_ACCOUNTING_DEBUG") from getDebugLevel() from
  parserInit()

Status in Mutter:
  New
Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gnome-shell source package in Noble:
  Fix Released

Bug description:
  [ Impact ]

  gnome-shell may crash on startup due to multiple threads writing and
  reading environment variables.

  gnome-shell adds variables like DISPLAY, XAUTHORITY, WAYLAND_DISPLAY
  to its own environment. However it might do so while libraries running
  in other threads are trying to read environment variables that may
  affect their behaviour. If a call to `getenv` is interrupted by a call
  to `setenv` that causes re-allocation of memory, it will trigger a
  crash.

  To mitigate the issue, we avoid starting the fontconfig thread right
  before setting the environment variables.

  [ Test Plan ]

  There are no reproducer steps that trigger the crash reliably enough to be 
verified.
  Instead, we are going to verify that the patch does not introduce 
regressions, and will verify the effectiveness of the fix by monitoring 
errors.ubuntu.com after the update has landed.

  1. Install the gnome-shell update
  2. Reboot
  3. Verify that the log-in screen loaded correctly
  4. Log-in
  5. Verify that the desktop loaded correctly
  6. Verify that the font rendering quality is not degraded

  [ Where problems could occur ]

  The patch delays the disablement of text mipmapping to the first time
  a font is rendered, instead of doing so on startup. A mistake in the
  patch could thus affect font rendering. The test plan asks to verify
  that that is not the case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2039340/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to