! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-panel crash
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-panel

Comments

Description Martti Kuparinen 2006-07-18 04:58:49 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4

I get core dump in xfce4-panel whenever I start Xfce 4.3.90.2 (built from the NetBSD pkgsrc). Here's the GDB backtrace.

#0  g_main_context_add_poll_unlocked (context=0x81ce400, priority=136111104,
     fd=0x2f1) at gmain.c:3068
3068    gmain.c: No such file or directory.
         in gmain.c
(gdb) (gdb) bt
#0  g_main_context_add_poll_unlocked (context=0x81ce400, priority=136111104,
     fd=0x2f1) at gmain.c:3068
#1  0xbb4daf15 in IA__g_main_context_dispatch (context=0x8084580)
     at gmain.c:1989
#2  0xbb4ddc48 in g_main_context_iterate (context=0x8084580, block=1,
     dispatch=1, self=0x809f080) at gmain.c:2675
#3  0xbb4de1b8 in IA__g_main_context_iteration (context=0x0, may_block=1)
     at gmain.c:2734
#4  0xbb9f48cd in IA__gtk_main_iteration () at gtkmain.c:1086
#5  0xbb365e31 in plugin_icon_theme_changed (w=0x81409c0, ignored=0x0,
     launcher=0x81c6c80) at launcher.c:1206
#6  0xbb554a09 in IA__g_cclosure_marshal_VOID__OBJECT (closure=0x81cc4c0,
     return_value=0x0, n_param_values=2, param_values=0xbfbfcd3c,
     invocation_hint=0xbfbfcc5c, marshal_data=0x0) at gmarshal.c:636
#7  0xbb549945 in IA__g_closure_invoke (closure=0x81cc4c0, return_value=0x0,
     n_param_values=2, param_values=0xbfbfcd3c, invocation_hint=0xbfbfcc5c)
     at gclosure.c:490
#8  0xbb5583bd in signal_emit_unlocked_R (node=0x8093440, detail=0,
     instance=0x81409c0, emission_return=0x0, instance_and_params=0xbfbfcd3c)
     at gsignal.c:2438
#9  0xbb55975e in IA__g_signal_emit_valist (instance=0x81409c0, signal_id=67,
     detail=0, var_args=0xbfbfcf80 "?t\024\b\001") at gsignal.c:2197
#10 0xbb5598e7 in IA__g_signal_emit (instance=0x81409c0, signal_id=67,
     detail=0) at gsignal.c:2241
#11 0xbbac4c90 in do_screen_change (widget=0x81409c0, old_screen=0x0,
     new_screen=0x0) at gtkwidget.c:5012
#12 0xbbac4d8e in gtk_widget_propagate_hierarchy_changed_recurse (
     widget=0x81409c0, client_data=0xbfbfd100) at gtkwidget.c:5036
#13 0xbb944245 in gtk_bin_forall (container=0x80872b8, include_internals=1,
     callback=0xbbac4d18 <gtk_widget_propagate_hierarchy_changed_recurse>,
     callback_data=0xbfbfd100) at gtkbin.c:166
#14 0xbb979a08 in IA__gtk_container_forall (container=0x80872b8,
     callback=0xbbac4d18 <gtk_widget_propagate_hierarchy_changed_recurse>,
     callback_data=0xbfbfd100) at gtkcontainer.c:1265

Reproducible: Always
Comment 1 Jasper Huijsmans editbugs 2006-07-21 11:37:20 CEST
Hmm, that stacktrace doesn't make a lot of sense to me. I have a feeling it may be some race condition with gtk threads (read: hard to debug).

It appears to happen when the icon theme is set, so maybe it has to do with the lazy loading of icons. I will need to have a closer look at this.
Comment 2 Jasper Huijsmans editbugs 2006-08-02 18:49:22 CEST
Ok, I have removed the call to gtk_main_iteration() that seem to cause that crash. 

If you would like to try, you need SVN revision 22629 (which also requires an updated libxfcegui4).

I hope that will work.
Comment 3 Martti Kuparinen 2006-08-04 07:28:02 CEST
I tested the SVN revision 22629 and it no longer crashes.
Comment 4 Jasper Huijsmans editbugs 2006-08-04 08:30:02 CEST
(In reply to comment #3)
> I tested the SVN revision 22629 and it no longer crashes.
> 

Excellent! Thanks again for testing.

Bug #2049

Reported by:
Martti Kuparinen
Reported on: 2006-07-18
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information