Bug#1040297: marked as done (gnome-shell: fails to start on login: failed to allocate 51540049304 bytes)

2023-07-08 Thread Debian Bug Tracking System
Your message dated Sat, 8 Jul 2023 23:02:59 +0100
with message-id 
and subject line Re: Bug#1040297: gnome-shell: fails to start on login: failed 
to allocate 51540049304 bytes
has caused the Debian Bug report #1040297,
regarding gnome-shell: fails to start on login: failed to allocate 51540049304 
bytes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1040297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040297
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gnome
Version: 1:43+1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: vent...@debian.org

Dear Maintainer,

since yesterday, Gnome fails to start and falls back to GDM3 when I try to
login. I cannot start gnome on wayland nor xorg anymore. Gnome classic fails as
well. Falling back to the terminal and trying `startx` does also not start
gnome either. Installing something else (MATE) helps.

Since there was no upgrade in Gnome recently, I suspect that one of the
dependencies got an upgrade. I do vaguely remember evolution, systemd and libc6
being the biggest updates today.

Here's some output of journalctl that looks suspicious. Maybe it helps you:

Jul 03 16:48:14 fiona dbus-daemon[1894]: [session uid=1000 pid=1894] Activating 
service name='org.gnome.ScreenSaver' requested by ':1.63' (uid=1000 pid=2485 
comm="/usr/libexec/gsd-usb-pr>
Jul 03 16:48:14 fiona dbus-daemon[1894]: [session uid=1000 pid=1894] 
Successfully activated service 'org.freedesktop.portal.IBus'
Jul 03 16:48:14 fiona gnome-software-service.desktop[2490]: Unable to acquire 
bus name 'org.gnome.Software'
Jul 03 16:48:14 fiona gnome-shell[2112]: ../../../glib/gmem.c:136: failed to 
allocate 51540049304 bytes
Jul 03 16:48:14 fiona gnome-shell[2112]: == Stack trace for context 
0x557fe8d747b0 ==
Jul 03 16:48:14 fiona gnome-shell[2112]: #0   557fe9756f10 i   
resource:///org/gnome/shell/ui/appDisplay.js:2124 (20b9b5e92b50 @ 110)
Jul 03 16:48:14 fiona gnome-shell[2112]: #1   7ffd1218ef90 I   self-hosted:164 
(3bea9db8c380 @ 272)
Jul 03 16:48:14 fiona gnome-shell[2112]: #2   557fe9756e78 i   
resource:///org/gnome/shell/ui/appDisplay.js:2138 (20b9b5e92b00 @ 147)
Jul 03 16:48:14 fiona gnome-shell[2112]: #3   557fe9756de8 i   
resource:///org/gnome/shell/ui/appDisplay.js:2229 (20b9b5e92dd0 @ 21)
Jul 03 16:48:14 fiona gnome-shell[2112]: #4   557fe9756d38 i   
resource:///org/gnome/shell/ui/appDisplay.js:2106 (20b9b5e92a60 @ 325)
Jul 03 16:48:14 fiona gnome-shell[2112]: #5   557fe9756c98 i   
resource:///org/gnome/shell/ui/appDisplay.js:490 (20b9b5e90ba0 @ 27)
Jul 03 16:48:14 fiona gnome-shell[2112]: #6   557fe9756bf8 i   
resource:///org/gnome/shell/ui/appDisplay.js:2081 (20b9b5e92fb0 @ 27)
Jul 03 16:48:14 fiona gnome-shell[2112]: #7   557fe9756b40 i   
resource:///org/gnome/shell/ui/appDisplay.js:2329 (20b9b5e93060 @ 336)
Jul 03 16:48:14 fiona gnome-shell[2112]: #8   557fe9756aa0 i   
resource:///org/gnome/shell/ui/appDisplay.js:1844 (20b9b5e92970 @ 27)
Jul 03 16:48:14 fiona gnome-shell[2112]: #9   557fe9756a00 i   
resource:///org/gnome/shell/ui/appDisplay.js:2305 (20b9b5e93600 @ 27)
Jul 03 16:48:14 fiona gnome-shell[2112]: #10   557fe9756958 i   
resource:///org/gnome/shell/ui/appDisplay.js:1504 (20b9b5e915b0 @ 115)
Jul 03 16:48:14 fiona gnome-shell[2112]: #11   7ffd12191b10 I   self-hosted:164 
(3bea9db8c380 @ 272)
Jul 03 16:48:14 fiona gnome-shell[2112]: #12   557fe97568b8 i   
resource:///org/gnome/shell/ui/appDisplay.js:1500 (20b9b5e914c0 @ 226)
Jul 03 16:48:14 fiona gnome-shell[2112]: #13   557fe9756808 i   
resource:///org/gnome/shell/ui/appDisplay.js:1067 (20b9b5e904c0 @ 88)
Jul 03 16:48:14 fiona gnome-shell[2112]: #14   557fe9756778 i   
resource:///org/gnome/shell/ui/appDisplay.js:1374 (20b9b5e91100 @ 44)
Jul 03 16:48:14 fiona gnome-shell[2112]: #15   557fe97566f8 i   
resource:///org/gnome/shell/ui/appDisplay.js:638 (20b9b5e8f920 @ 12)
Jul 03 16:48:14 fiona gnome-shell[2112]: #16   7ffd12192880 b   
resource:///org/gnome/gjs/modules/core/_signals.js:114 (3bea9dba0790 @ 433)
Jul 03 16:48:14 fiona gnome-shell[2112]: #17   557fe9756670 i   
resource:///org/gnome/shell/ui/appFavorites.js:75 (20b9b5e94d80 @ 35)
Jul 03 16:48:14 fiona gnome-shell[2112]: #18   557fe97565c0 i   
resource:///org/gnome/shell/misc/parentalControlsManager.js:95 (20b9b5e95510 @ 
590)
Jul 03 16:48:14 fiona gnome-shell[2112]: #19   557fe9756528 i   
self-hosted:1429 (1caa8ee391f0 @ 30)
Jul 03 16:48:14 fiona gnome-shell[2112]: #20   7ffd12193f70 b   self-hosted:632 
(1caa8eeb2e70 @ 15)
Jul 03 16:48:14 fiona kernel: __vm_enough_memory: pid: 2112, comm: 

Processed: Re: Bug#1040297: gnome-shell: fails to start on login: failed to allocate 51540049304 bytes

2023-07-08 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 libc6 2.37-3
Bug #1040297 [gnome-shell] gnome-shell: fails to start on login: failed to 
allocate 51540049304 bytes
Bug reassigned from package 'gnome-shell' to 'libc6'.
No longer marked as found in versions gnome-shell/43.6-1.
Ignoring request to alter fixed versions of bug #1040297 to the same values 
previously set
Bug #1040297 [libc6] gnome-shell: fails to start on login: failed to allocate 
51540049304 bytes
Marked as found in versions glibc/2.37-3.
> fixed -1 2.37-5
Bug #1040297 [libc6] gnome-shell: fails to start on login: failed to allocate 
51540049304 bytes
Marked as fixed in versions glibc/2.37-5.
> tags -1 - moreinfo
Bug #1040297 [libc6] gnome-shell: fails to start on login: failed to allocate 
51540049304 bytes
Removed tag(s) moreinfo.

-- 
1040297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040297
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Re: Bug#1040297: gnome-shell: fails to start on login: failed to allocate 51540049304 bytes

2023-07-08 Thread Simon McVittie
Control: reassign -1 libc6 2.37-3
Control: fixed -1 2.37-5
Control: tags -1 - moreinfo

On Sat, 08 Jul 2023 at 16:08:14 +0200, Bastian Venthur wrote:
> I've just updated all packages from unstable, including glibc and the
> problem is solved.

Let's assume this was the glibc bug with corrupted locale archives unless
someone finds evidence to the contrary, then. I'll close the bug after the
reassign command is processed.

smcv



Bug#1038798: locales: transition from /etc/default/locale to /etc/locale.conf

2023-07-08 Thread snv5gh+elqseqrl4eotk
Package: locales
Version: 2.36-9
Followup-For: Bug #1038798

Dear Maintainer,

transition from /etc/default/locale to /etc/locale.conf is a good idea.

My debian systems have the /etc/default/locale -> /etc/locale.conf symlink 
already added manually for compatibility reasons. Will the proposed change 
break anything on upgrade from bookworm to trixie if the symlink already exists?



Re: Bug#1040297: gnome: Gnome fails to start on login and falls back to GDM3

2023-07-08 Thread Bastian Venthur
I've just updated all packages from unstable, including glibc and the 
problem is solved. So, it might have been the one you've described. 
Thanks for your help and your work!



Cheers,

Bastian

Am 08.07.23 um 11:32 schrieb Simon McVittie:

On Thu, 06 Jul 2023 at 09:50:57 +0100, Simon McVittie wrote:

On Wed, 05 Jul 2023 at 22:44:40 +0200, Bastian Venthur wrote:

 #5  0x7f134cbe97ce g_utf8_collate_key (libglib-2.0.so.0
+ 0x8a7ce)
 #6  0x7f134ccee180 e_source_set_display_name
(libedataserver-1.2.so.27 + 0x57180)


Well, this is messed up - something is setting the display name of an
ESource (a calendar or address book or something similar) to a value that
is, apparently, so long that allocating memory for its collation key (a
version that has been modified to sort in the correct locale-sensitive
order) will fail.


I wonder whether this is the same root cause as #1040452: glibc (>= 2.37-2)
sometimes generating corrupted locale archives? That might explain why
g_utf8_collate_key() would get nonsense results.

Please try with glibc (>= 2.37-5) which fixes that bug, and maybe this
one too.

 smcv



--
Dr. Bastian Venthur https://venthur.de
Debian Developer venthur at debian org



Re: Bug#1040297: gnome: Gnome fails to start on login and falls back to GDM3

2023-07-08 Thread Simon McVittie
On Thu, 06 Jul 2023 at 09:50:57 +0100, Simon McVittie wrote:
> On Wed, 05 Jul 2023 at 22:44:40 +0200, Bastian Venthur wrote:
> > #5  0x7f134cbe97ce g_utf8_collate_key (libglib-2.0.so.0
> > + 0x8a7ce)
> > #6  0x7f134ccee180 e_source_set_display_name
> > (libedataserver-1.2.so.27 + 0x57180)
> 
> Well, this is messed up - something is setting the display name of an
> ESource (a calendar or address book or something similar) to a value that
> is, apparently, so long that allocating memory for its collation key (a
> version that has been modified to sort in the correct locale-sensitive
> order) will fail.

I wonder whether this is the same root cause as #1040452: glibc (>= 2.37-2)
sometimes generating corrupted locale archives? That might explain why
g_utf8_collate_key() would get nonsense results.

Please try with glibc (>= 2.37-5) which fixes that bug, and maybe this
one too.

smcv