Core Analysis

Craig A. Betts craig.betts at dfrc.nasa.gov
Mon Jun 16 23:55:01 CEST 2003


edscott wilson garcia wrote:
>>It doesn't even get that far.  The crash happens when I try to add the 
>>two-state-launcher to the panel.  The panel dissappears for about two 
>>seconds and then reappears when I perform this action.
> 
> 
> Looking at the code, tl->options.tooltip is initialized to NULL, which
> should crash Solaris 9 out of 9 times.
>  
> replace line 167 of triggerlauncher.c with this one, and see what
> happens:
> g_snprintf(caption, sizeof(caption), "%s:
> %s",(tl->options.tooltip)?tl->options.tooltip:" ", s);
> 
> If it still crashes, do a backtrace to see where else printf is getting
> a NULL string. 
> 
> regards,
> 
> Edscott 

Made the cahnge and it still crashes.  Here is the backtrace output:

<<==--  SNIP  --==>>
#0  0xfe7b3144 in strlen () from /usr/lib/libc.so.1
#1  0xfe802ea8 in _doprnt () from /usr/lib/libc.so.1
#2  0xfe80501c in vsnprintf () from /usr/lib/libc.so.1
#3  0xfec513a8 in g_snprintf (str=0xffbedad0 "ÿ1 ü", n=2147483647,
     fmt=0xfe5d2d68 "nel") at gprintf.c:149
#4  0xfe5d146c in update_state (tl=0x1c1260) at triggerlauncher.c:167
#5  0xfe5d1a10 in create_tl_control (control=0x1b90f0) at 
triggerlauncher.c:374
#6  0x16454 in create_plugin (control=0xfe5d194c,
     filename=0xfe5d194c "ò\002\200\031°\020") at controls.c:450
#7  0x1651c in create_control (control=0x1b90f0, id=-1,
     filename=0x585b8 "libtriggerlauncher.so") at controls.c:470
#8  0x17d80 in groups_add_control (id=-1,
     filename=0x585b8 "libtriggerlauncher.so", index=14) at groups.c:582
#9  0x16194 in add_control (data=0xffffffff, n=9, w=0x1b25a0) at 
controls.c:304
#10 0xff1535bc in gtk_item_factory_callback_marshal (widget=0xffffffff,
     func_data=0x18b4b8) at gtkitemfactory.c:230
#11 0xfeed2a10 in g_cclosure_marshal_VOID__VOID (closure=0x1b8bf0,
     return_value=0x0, n_param_values=1, param_values=0xffbee0d0,
     invocation_hint=0xffbedfc0, marshal_data=0xff153578) at gmarshal.c:72
#12 0xfeebc6e8 in g_closure_invoke (closure=0x1b8bf0, return_value=0x0,
     n_param_values=1, param_values=0xffbee0d0, invocation_hint=0xffbedfc0)
     at gclosure.c:437
#13 0xfeed2590 in signal_emit_unlocked_R (node=0x73a88, detail=0,
     instance=0x1b25a0, emission_return=0x0, instance_and_params=0xffbee0d0)
     at gsignal.c:2822
#14 0xfeed1098 in g_signal_emit_valist (instance=0x1b25a0, signal_id=129,
     detail=0, var_args=0xffbee320) at gsignal.c:2554
#15 0xfeed13a8 in g_signal_emit (instance=0x1b25a0, signal_id=129,
     detail=473736) at gsignal.c:2612
#16 0xff26181c in gtk_widget_activate (widget=0x1b25a0) at gtkwidget.c:3223
#17 0xff1802a4 in gtk_menu_shell_activate_item (menu_shell=0x16eb18,
     menu_item=0x1b25a0, force_deactivate=0) at gtkmenushell.c:914
#18 0xff17f1d8 in gtk_menu_shell_button_release (widget=0x16eb18,
     event=0x17fed0) at gtkmenushell.c:528
#19 0xff177f4c in gtk_menu_button_release (widget=0x16eb18, event=0x17fed0)
     at gtkmenu.c:1972
#20 0xff16fc58 in _gtk_marshal_BOOLEAN__BOXED (closure=0x505a8,
     return_value=0xffbee6b8, n_param_values=1501976, 
param_values=0xffbee7e8,
     invocation_hint=0xffbee6d8, marshal_data=0xff177ebc) at 
gtkmarshalers.c:82
#21 0xfeebca84 in g_type_class_meta_marshal (closure=0x505a8,
     return_value=0xffbee6b8, n_param_values=1501976, 
param_values=0xffbee7e8,
     invocation_hint=0xffbee6d8, marshal_data=0xb4) at gclosure.c:514
#22 0xfeebc6e8 in g_closure_invoke (closure=0x505a8, 
return_value=0xffbee6b8,
     n_param_values=2, param_values=0xffbee7e8, invocation_hint=0xffbee6d8)
     at gclosure.c:437
#23 0xfeed1eb4 in signal_emit_unlocked_R (node=0x51a68, detail=0,
     instance=0x16eb18, emission_return=0xffbee780,
     instance_and_params=0xffbee7e8) at gsignal.c:2860
#24 0xfeed0e80 in g_signal_emit_valist (instance=0x16eb18, 
signal_id=331193,
     detail=0, var_args=0xffbeea3c) at gsignal.c:2564
#25 0xfeed13a8 in g_signal_emit (instance=0x50d98, signal_id=331193,
     detail=334440) at gsignal.c:2612
#26 0xff2615b4 in gtk_widget_event_internal (widget=0x16eb18, 
event=0x17fed0)
     at gtkwidget.c:3191
#27 0xff16f9f8 in gtk_propagate_event (widget=0x16eb18, event=0x17fed0)
     at gtkmain.c:2261
#28 0xff16e7e4 in gtk_main_do_event (event=0x17fed0) at gtkmain.c:1503
#29 0xfefbf858 in gdk_event_dispatch (source=0x17fed0, callback=0,
     user_data=0x0) at gdkevents-x11.c:2005
#30 0xfec2a89c in g_main_dispatch (context=0x4c0b0) at gmain.c:1720
#31 0xfec2bd10 in g_main_context_dispatch (context=0x4c0b0) at gmain.c:2268
#32 0xfec2c0c0 in g_main_context_iterate (context=0x4c0b0, block=1,
     dispatch=1, self=0x1400) at gmain.c:2349
#33 0xfec2c9e0 in g_main_loop_run (loop=0x131ad0) at gmain.c:2569
#34 0xff16dd8c in gtk_main () at gtkmain.c:1093
#35 0x1b4f0 in main (argc=1, argv=0xffbeef24) at main.c:262
<<==-- UNSNIP --==>>

-- 
Craig A. Betts
IT Security Design Engineer
Arcata Associates, Inc. - Dryden Flight Research Center - NASA
Voice: (661) 276-2085     Pager: (661) 276-3038 #4010




More information about the Xfce4-dev mailing list