GNOME Bugzilla – Bug 128135
gnome-panel crashes on startup
Last modified: 2005-10-06 17:11:00 UTC
Subject: gnome-panel crashes on startup Distribution: Unknown Package: gnome-panel Severity: normal Version: GNOME2.4.0 unspecified Gnome-Distributor: Gentoo Linux Synopsis: gnome-panel crashes on startup Bugzilla-Product: gnome-panel Bugzilla-Component: Panel Bugzilla-Version: unspecified BugBuddy-GnomeVersion: 2.0 (2.4.0.1) Description: Description of the crash: gnome-panel crashes on startup Steps to reproduce the crash: 1. get gnome 2.4 2. start 3. panel crashes Expected Results: panel startup How often does this happen? every time Additional Information: I'm using Gentoo with latest stable packages. Maybe there's some package missing which causes this crash? Debugging Information: Backtrace was generated from '/usr/bin/gnome-panel' (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 4581)] (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... 0x404c885b in waitpid () from /lib/libpthread.so.0
+ Trace 42152
Thread 1 (Thread 16384 (LWP 4581))
I can't see why it would crash in strftime. Is there some gentoo specific patches in the packages? Can you try launching the panel with another locale to see if that's a translation issue (the string used for strftime are translated)? And if possible, it'd be nice if you could recompile gnome-panel without optimization flag and with a debugging flag (without -O2 and with -g). Thanks
It's a translation issue. My locale settings are: LC_COLLATE="fi_FI@euro" LC_CTYPE="fi_FI@euro" LC_MONETARY="fi_FI@euro" LC_NUMERIC="fi_FI@euro" It works when I comment out LC_CTYPE.
Moving to l10n. It seems one translated string is bad.
And reassign the bug...
Please elaborate what string is problematic, if this is known. To my knowledge the strftime strings should all be in order, and I am unable to reproduce this myself on Debian with Gnome panel 2.4.1. Moreover, I do not see how a "bad" strftime format string could cause a crash. Does the panel indeed crash in strftime and not in libgnomeui_module_info_get, which appears above it in the backtrace? Try if moving aside "/usr/share/locale/fi/LC_MESSAGES/gnome-panel-2.0.mo" or removing it fixes this problem. (Alternatively, check that "fi" does not appear in LC_MESSAGES, LANG or LC_ALL). If this fixes the problem, it may indeed lie in the translated strings. If this fixes nothing, the problem is likely elsewhere. (And this bug should be reassigned.) (However, since LC_MESSAGES, LANGUAGES, LANG or LC_ALL were not present in the locale settings above, the translations are not used anyway. Additionally, LC_CTYPE has no direct connection to the translated strings.)
It works if I leave out "@euro" from my locale settings: LC_COLLATE="fi_FI" LC_CTYPE="fi_FI" LC_MONETARY="fi_FI" LC_NUMERIC="fi_FI" (If this helps.)
1) I changed locales back to "fi_FI@euro" and tried to rename gnome-panel-2.0.mo in /usr/share/locale/fi/LC_MESSAGES/ to gnome-panel-2.0.mo.bak and gnome-panel-2.0.bak.mo. Gnome-panel crashed. 2) $ env | grep LC LC_MONETARY=fi_FI LC_NUMERIC=fi_FI LC_COLLATE=fi_FI LC_CTYPE=fi_FI
LANG is not set on my system. Only LC_MONETARY, LC_NUMERIC, LC_COLLATE and LC_CTYPE are.
Pauli: I think that the bug is caused by strings containing things like %-d. This is related to the strftime issue I raised on gnome-i18n
The only non-POSIX specifiers used are %l and %k. However, the English version also uses %l which is a similar GNU extension. %-d and the like are not used. I will fix the strings to be POSIX compliant, but I do not believe it will fix this bug, as based on the information above, the gettext call _() most likely returned English strings when the crash occurred.
Standard Gentoo warning blurb: What compiler flags did you use when compiling the packages? If you get crashes in system library functions like strftime() you might be the victim of too agressive compiler flags and optimization levels. Please use -O2 -g and try again.
I don't have that installation anymore but I used the default Gentoo flags which include at least -03.