After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 128135 - gnome-panel crashes on startup
gnome-panel crashes on startup
Status: RESOLVED OBSOLETE
Product: l10n
Classification: Infrastructure
Component: Finnish [fi]
GNOME 2.4
Other Linux
: Normal normal
: ---
Assigned To: Finnish translations team
gnome-fi-laatu post list
Depends on:
Blocks:
 
 
Reported: 2003-11-28 18:39 UTC by Jarkko
Modified: 2005-10-06 17:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jarkko 2003-11-28 18:39:22 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

Thread 1 (Thread 16384 (LWP 4581))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 strftime
    from /lib/libc.so.6
  • #5 update_clock
    from /usr/lib/libclock-applet-2.so
  • #6 create_clock_widget
    from /usr/lib/libclock-applet-2.so
  • #7 fill_clock_applet
    from /usr/lib/libclock-applet-2.so
  • #8 clock_factory
    from /usr/lib/libclock-applet-2.so
  • #9 panel_applet_marshal_BOOLEAN__STRING
    from /usr/lib/libpanel-applet-2.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #12 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0
  • #13 panel_applet_control_bound
    from /usr/lib/libpanel-applet-2.so.0
  • #14 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 impl_Bonobo_Control_setFrame
    from /usr/lib/libbonoboui-2.so.0
  • #20 _ORBIT_skel_small_Bonobo_Control_setFrame
    from /usr/lib/libbonobo-2.so.0
  • #21 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #22 Bonobo_Control_setFrame
    from /usr/lib/libbonobo-2.so.0
  • #23 bonobo_control_frame_bind_to_control
    from /usr/lib/libbonoboui-2.so.0
  • #24 bonobo_widget_construct_control_from_objref
    from /usr/lib/libbonoboui-2.so.0
  • #25 bonobo_widget_new_control_from_objref
    from /usr/lib/libbonoboui-2.so.0
  • #26 panel_applet_frame_construct
  • #27 panel_applet_frame_new
  • #28 panel_applet_frame_change_size
  • #29 panel_applet_frame_load_from_gconf
  • #30 panel_applet_get_by_type
  • #31 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #32 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #33 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #34 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #36 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 main
  • #38 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libpthread.so.0

Comment 1 Vincent Untz 2003-12-01 07:56:07 UTC
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
Comment 2 Jarkko 2003-12-02 20:58:38 UTC
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. 
Comment 3 Vincent Untz 2003-12-02 21:03:35 UTC
Moving to l10n. It seems one translated string is bad.
Comment 4 Vincent Untz 2003-12-02 21:04:09 UTC
And reassign the bug...
Comment 5 Pauli Virtanen 2003-12-02 22:33:08 UTC
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.)
Comment 6 Jarkko 2003-12-03 08:30:41 UTC
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.)
Comment 7 Jarkko 2003-12-03 17:01:23 UTC
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
Comment 8 Jarkko 2003-12-04 17:52:20 UTC
LANG is not set on my system. Only LC_MONETARY, LC_NUMERIC, LC_COLLATE
and LC_CTYPE are.
Comment 9 Vincent Untz 2003-12-12 16:26:40 UTC
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
Comment 10 Pauli Virtanen 2003-12-12 19:04:56 UTC
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.
Comment 11 Kjartan Maraas 2005-01-07 09:15:13 UTC
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.
Comment 12 Jarkko 2005-01-07 09:28:56 UTC
I don't have that installation anymore but I used the default Gentoo flags 
which include at least -03.