gnome panel crah when trying to add applet

Bug #21064 reported by guy
36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Distribution: Ubuntu 5.10 (breezy)
Package: gnome-panel
Severity: critical
Version: GNOME2.12.0 2.12.x
Gnome-Distributor: Ubuntu
Synopsis: gnome panel crah when trying to add applet
Bugzilla-Product: gnome-panel
Bugzilla-Component: Panel
Bugzilla-Version: 2.12.x
BugBuddy-GnomeVersion: 2.0 (2.12.0)
Description:
Description of the crash:

Steps to reproduce the crash:
1. right ckick on gnome-panel
2. chooze "add to panel"
3. CRASH!!!

Expected Results:
open window and ask what to add

How often does this happen?
all the time

Debugging Information:

Backtrace was generated from '/usr/bin/gnome-panel'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1224124736 (LWP 8078)]
[New Thread -1228153936 (LWP 8083)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb76dc4ab in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7eba508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0xb770b791 in g_markup_escape_text () from
/usr/lib/libglib-2.0.so.0
#5 0x080a054e in panel_addto_present_applets (dialog=0x8151180)
    at panel-addto.c:454
#6 0x080a1d64 in panel_addto_present (item=0x84e5550,
panel_widget=0x8154810)
    at panel-addto.c:1473
#7 0xb7778ab3 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#8 0xb776d3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9 0xb777bb13 in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#10 0xb777d150 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#11 0xb777d4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#12 0xb7b636ad in gtk_widget_activate () from
/usr/lib/libgtk-x11-2.0.so.0
#13 0xb7a90409 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7a906dd in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7a86e0e in gtk_menu_reorder_child () from
/usr/lib/libgtk-x11-2.0.so.0
#16 0xb7a817cc in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb776cd75 in g_cclosure_new_swap () from
/usr/lib/libgobject-2.0.so.0
#18 0xb776d3a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xb777bc9f in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#20 0xb777cec3 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#21 0xb777d4c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0xb7b6388f in gtk_widget_activate () from
/usr/lib/libgtk-x11-2.0.so.0
#23 0xb7a7ff08 in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
#24 0xb7a80340 in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
#25 0xb7923b1d in _gdk_events_queue () from
/usr/lib/libgdk-x11-2.0.so.0
#26 0xb770748e in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#27 0xb770a496 in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#28 0xb770a783 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0xb7a7f606 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x08065587 in main (argc=-1229078520, argv=0xb6bdc008) at main.c:90

Thread 2 (Thread -1228153936 (LWP 8083)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb76620f4 in poll () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb770a2e8 in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#3 0xb770a783 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0xb7c7037e in link_thread_io_context () from
/usr/lib/libORBit-2.so.0
No symbol table info available.
#5 0xb7723844 in g_static_private_free () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#6 0xb76d6361 in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7 0xb766bbde in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread -1224124736 (LWP 8078)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb76dc4ab in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7eba508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0xb770b791 in g_markup_escape_text () from
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0x080a054e in panel_addto_present_applets (dialog=0x8151180)
    at panel-addto.c:454
 info = (Bonobo_ServerInfo *) 0x8543364
 category = 0x8546331 "×¢×\226ר×\231×\235"
 name = 0x8546269 "×\236×\220×\231×\231ת"
 description = 0x85462c9 "×\231ש×\225×\236×\225×\237
×\221×\223×\231קת ×\220×\231×\225ת"
 english_category = 0x8546309 "Utility"
 icon = 0x8546221 "gnome-calendar.png"
#6 0x080a1d64 in panel_addto_present (item=0x84e5550,
panel_widget=0x8154810)
    at panel-addto.c:1473
 dialog = (PanelAddtoDialog *) 0x8151180
 pd = (PanelData *) 0x8154d98
 sw_adjustment = #0 0xffffe410 in __kernel_vsyscall ()

Revision history for this message
guy (guy-elgabsi) wrote :

Created an attachment (id=3579)
bug-buddy file

Revision history for this message
PeterShinners (pete-shinners) wrote :

I filed this against gnome-panel recently. The smart folks there traced it back
to a ubuntu problem. Gnome bug #315197.
http://bugzilla.gnome.org/show_bug.cgi?id=315197

Revision history for this message
Sebastien Bacher (seb128) wrote :

Are you trying to open the "add to panel" dialog 2 times too?

Revision history for this message
guy (guy-elgabsi) wrote :

(In reply to comment #3)
> Are you trying to open the "add to panel" dialog 2 times too?

if its crash in the first time, i choose "close" and its automaticly restart, if
i try again to add , its crash again and the all story again.

Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 gnome-panel (2.12.0-0ubuntu2) breezy; urgency=low
 .
   * debian/patches/09_lpi_src.patch:
     - patch renamed.
   * debian/patches/11_panel_addto_dialog.patch:
     - don't crash if the dialog is open two times, thanks to
       Manu Cornet <email address hidden> for the patch (Ubuntu: #14835).
   * debian/patches/12_autotools.patch:
     - 14_lpi_autoconf is not required, updated this patch.

Revision history for this message
guy (guy-elgabsi) wrote :

(In reply to comment #5)
> This upload fixes the issue:
>
> gnome-panel (2.12.0-0ubuntu2) breezy; urgency=low
> .
> * debian/patches/09_lpi_src.patch:
> - patch renamed.
> * debian/patches/11_panel_addto_dialog.patch:
> - don't crash if the dialog is open two times, thanks to
> Manu Cornet <email address hidden> for the patch (Ubuntu: #14835).
> * debian/patches/12_autotools.patch:

STILL have the same problem, crash in the first try
> - 14_lpi_autoconf is not required, updated this patch.
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

still the same backtrace? That's probably not the same bug as the GNOME one
mentionned by other comments. What locale do you use?

Revision history for this message
guy (guy-elgabsi) wrote :

i've attached the new bug-buddy file (bug6762) ' the locale:

guy@desktop:~ $ locale
LANG=he_IL
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER="he_IL"
LC_NAME="he_IL"
LC_ADDRESS="he_IL"
LC_TELEPHONE="he_IL"
LC_MEASUREMENT="he_IL"
LC_IDENTIFICATION="he_IL"
LC_ALL=

Revision history for this message
guy (guy-elgabsi) wrote :

Created an attachment (id=3716)
new bug-buddy file

Revision history for this message
guy (guy-elgabsi) wrote :

any news ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you get the same backtrace with the libglib2.0-0-dbg package installed?

Revision history for this message
guy (guy-elgabsi) wrote :
Download full text (4.1 KiB)

Backtrace was generated from '/usr/bin/gnome-panel'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1223387456 (LWP 8571)]
[New Thread -1227379792 (LWP 8646)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb78734ab in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7f6f508 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0xb78a2791 in IA__g_markup_escape_text (
    text=0x85c5000 <Address 0x85c5000 out of bounds>, length=5)
    at gmarkup.c:1890
#5 0x080a050e in panel_addto_present_applets (dialog=0x853b340)
    at panel-addto.c:454
#6 0x080a1d3c in panel_addto_present (item=0x8134cd8, panel_widget=0x8155420)
    at panel-addto.c:1473
#7 0xb7910ab3 in IA__g_cclosure_marshal_VOID__VOID (closure=0x853d8e8,
    return_value=0x0, n_param_values=1, param_values=0xbffefaac,
    invocation_hint=0xbffef9ac, marshal_data=0x80a140a) at gmarshal.c:77
#8 0xb79053a8 in IA__g_closure_invoke (closure=0x853d8e8,
    return_value=0x85c5000, n_param_values=140267520, param_values=0x85c5000,
    invocation_hint=0x85c5000) at gclosure.c:492
#9 0xb7913b13 in signal_emit_unlocked_R (node=0x8121cc0, detail=0,
    instance=0x8134cd8, emission_return=0x0, instance_and_params=0xbffefaac)
    at gsignal.c:2485
#10 0xb7915150 in IA__g_signal_emit_valist (instance=0x8134cd8, signal_id=98,
    detail=0, var_args=) at gsignal.c:2244
#11 0xb79154c3 in IA__g_signal_emit (instance=0x85c5000, signal_id=140267520,
    detail=140267520) at gsignal.c:2288
#12 0xb7c186ad in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7b45409 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7b456dd in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7b3be0e in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7b367cc in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb7904d75 in g_type_class_meta_marshal (closure=0x811cbe0,
    return_value=0x85c5000, n_param_values=140267520,
    param_values=0xbffeffac, invocation_hint=0x85c5000,
    marshal_data=0x85c5000) at gclosure.c:569
#18 0xb79053a8 in IA__g_closure_invoke (closure=0x811cbe0,
    return_value=0x85c5000, n_param_values=140267520, param_values=0x85c5000,
    invocation_hint=0x85c5000) at gclosure.c:492
#19 0xb7913c9f in signal_emit_unlocked_R (node=0x811cd98, detail=0,
    instance=0x8360270, emission_return=0xbfff012c,
    instance_and_params=0xbffeffac) at gsignal.c:2523
#20 0xb7914ec3 in IA__g_signal_emit_valist (instance=0x8360270, signal_id=43,
    detail=0,
    var_args=0xbfff01b0 "È\001ÿ¿xå#\bp\0026\ba\212Á·p\0026\bÐ^\021\b")
    at gsignal.c:2254
#21 0xb79154c3 in IA__g_signal_emit (instance=0x85c5000, signal_id=140267520,
    detail=140267520) at gsignal.c:2288
#22 0xb7c1888f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb7b34f08 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7b35340 in gtk_ma...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still have this issue. Manu, did you look on this crash yet?

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you use uim?

Revision history for this message
Manu Cornet (lmanul) wrote :

Well, I can't reproduce it here and I'm really note sure about what could cause
this. And unfortunately, I guess I don't have enough experience to be able to
tell exactly what happened and why just by deciphering the backtrace... I'm
going to try and see if another devel can help me read the backtrace and see
what I can get out of it.

Anyway, it seems to be a text-display related problem, and therefore maybe
caused by characters used in the he_IL locale that the program isn't able to
display or something like that ?... Well, I think I'm gonna try to set the he_IL
locale here and see what happens :)

Revision history for this message
cyber_rigger (cyber-rigger) wrote :

I was able to reliably get a similar crash with Ubuntu 5.10
I have the package edubuntu installed (if this makes any difference)
This is on an AMD Sempron 2200 machine.

To get the gnome-panel to crash:

1. Create a new user acount
2. Login to this new acount (from the Ubuntu gdm display manager)
3. Add an application to the gnome-panel (I added tuxpaint)

   Applications > Graphics > Tux_Paint (right-click, Add this to launcher panel)

4. Then immediately resize the launcher panel

   Right-click the launcher panel > Properties > then repeatedly click the
little up arrow to make the panel bigger

   On about the 2nd, 3rd click the panel crashes. The panel starts blinking and
then disappears.
   Even if you re-login the problem remains. You have no panel showing.

   If you do a [crtl][alt][backspace] to leave this now crippled session
   the gdm login screen does NOT return. There is "gdm" process running somewhere.
   To get the login screen back you have to kill the running gdm and restart it.

   The crash seems to scramble a setting somewhere in the .gnome2 directory.
   If you completely erase ~/.gnome2 and let the system rebuild it for you
   then the account is useable again.

Revision history for this message
cyber_rigger (cyber-rigger) wrote :

I was also able to crash gnome-panel if I

1. Resized the launcher panel bigger
2. then immediately added an application to the launcher panel

Revision history for this message
Manu Cornet (lmanul) wrote :

That last one (tried a few times) works for me (doesn't crash or any unusual
behavior)... I am using an up-to-date breezy.

Revision history for this message
Manu Cornet (lmanul) wrote :

> I was able to reliably get a similar crash with Ubuntu 5.10
> I have the package edubuntu installed (if this makes any difference)
> This is on an AMD Sempron 2200 machine.
>
> To get the gnome-panel to crash:

Can't reproduce this one either. I added a new user, logged in from gdm, added
GIMP with a right-click from the menu, then I could resize the panel by clicking
on the arrows the way I wanted. No unexpected behavior here (up-to-date breezy).

Revision history for this message
cyber_rigger (cyber-rigger) wrote :

>Can't reproduce this one either. I added a new user, logged in from gdm, added
>GIMP with a right-click from the menu, then I could resize the panel by clicking
>on the arrows the way I wanted. No unexpected behavior here (up-to-date breezy).

You might try it again with tuxpaint see bug #36235

Revision history for this message
Manu Cornet (lmanul) wrote :

Right, I got this bug here as well (up-to-date breezy), but only with tuxpaint.
That might not be the same problem as the original bug, though.

Revision history for this message
cyber_rigger (cyber-rigger) wrote :

> That might not be the same problem as the original bug, though.

I'm narrowing down the corrupt file for tuxpaint.
It looks like the launcher entry for tuxpaint gets truncated with some
information missing at the end.

The corrupt entry should be in a file named something like this:

~/.gnome2/panel2.d/default/launcher/gegl-**********.desktop

If I remove this file then gnome-panel works again at next login.

Revision history for this message
Manu Cornet (lmanul) wrote :

More info about that last bug on bug #36235

Please continue the current discussion there. I believe the bug filed by guy is
something else (probably happening with a speical locale, and has nothing to do
with tuxpaint).

Revision history for this message
Tobias (tobias-j) wrote :

I have the same Problem with local = de_DE. See bug #21064.
There are even menu names missing that contain german Umlauts (äöüÄÖÜß).
Perhaps bug #35303 is related to this bug.

Revision history for this message
Manu Cornet (lmanul) wrote : Add to panel dialog in hebrew

I have not been able to reproduce the bug when setting he_IL as my locale (atatched a screenshot of the add to panel dialog in that case, everything looks fine). Is there anything else I can do to try to reproduce this ?

Revision history for this message
Tobias (tobias-j) wrote :

It works with local = "de_DE.UTF-8" but not with "de_DE" (not UTF8 I think it was ISO-8859-15)

Revision history for this message
Sebastien Bacher (seb128) wrote :

That's likely to be fixed now with dapper, does anybody still get that issue?

Changed in gnome-panel:
status: Confirmed → Needs Info
Revision history for this message
Tobias (tobias-j) wrote :

Sorry, I can't test it anymore. A lightning destroyed my PC. :(

Revision history for this message
Sebastien Bacher (seb128) wrote :

Closing the bug as fixed then since it works fine for other people who had issues now. Feel free to reopen if you get the issue on an another box again

Changed in gnome-panel:
assignee: seb128 → desktop-bugs
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.