Ethereal-dev: Re: [Ethereal-dev] Ethereal crash, null font.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Thu, 22 Jan 2004 21:55:12 +0100
packet steve wrote:


Scenario. current CVS version (21-Jan-2004.)
Open any capture file, repeatedly reduce font size by pressing "reduce font size". Eventually ethereal crashes.

Gdk-CRITICAL **: file gdkfont.c: line 220: assertion `font != NULL' failed.

Program received signal SIGSEGV, Segmentation fault.
0xff238c28 in gtk_style_init () from /gnu/lib/libgtk-1.2.so.0
(gdb) where
#0 0xff238c28 in gtk_style_init () from /gnu/lib/libgtk-1.2.so.0
#1 0xff237f78 in gtk_style_attach () from /gnu/lib/libgtk-1.2.so.0
#2 0xff2c85a0 in gtk_widget_set_style_internal () from /gnu/lib/libgtk-1.2.so.0
#3 0xff2c6f08 in gtk_widget_set_style () from /gnu/lib/libgtk-1.2.so.0
#4 0x00303bcc in set_plist_font (font=0x0) at packet_list.c:373
#5 0x003002e8 in font_apply () at main.c:2920
#6 0xff19a940 in gtk_marshal_NONE__NONE () from /gnu/lib/libgtk-1.2.so.0
#7 0xff229054 in gtk_handlers_run () from /gnu/lib/libgtk-1.2.so.0
#8 0xff226d74 in gtk_signal_real_emit () from /gnu/lib/libgtk-1.2.so.0
#9 0xff2214ec in gtk_signal_emit () from /gnu/lib/libgtk-1.2.so.0
#10 0xff0858e4 in gtk_button_clicked () from /gnu/lib/libgtk-1.2.so.0
#11 0xff089a40 in gtk_real_button_released () from /gnu/lib/libgtk-1.2.so.0
#12 0xff19a940 in gtk_marshal_NONE__NONE () from /gnu/lib/libgtk-1.2.so.0
#13 0xff226a04 in gtk_signal_real_emit () from /gnu/lib/libgtk-1.2.so.0
#14 0xff2214ec in gtk_signal_emit () from /gnu/lib/libgtk-1.2.so.0
#15 0xff0856b4 in gtk_button_released () from /gnu/lib/libgtk-1.2.so.0
#16 0xff0886f8 in gtk_button_button_release () from /gnu/lib/libgtk-1.2.so.0 #17 0xff199dc8 in gtk_marshal_BOOL__POINTER () from /gnu/lib/libgtk-1.2.so.0
#18 0xff226e2c in gtk_signal_real_emit () from /gnu/lib/libgtk-1.2.so.0
#19 0xff2214ec in gtk_signal_emit () from /gnu/lib/libgtk-1.2.so.0
#20 0xff2c1ef0 in gtk_widget_event () from /gnu/lib/libgtk-1.2.so.0
#21 0xff199a14 in gtk_propagate_event () from /gnu/lib/libgtk-1.2.so.0
#22 0xff196e98 in gtk_main_do_event () from /gnu/lib/libgtk-1.2.so.0
#23 0xfef32a5c in gdk_event_dispatch () from /gnu/lib/libgdk-1.2.so.0
#24 0xfeeb7b38 in g_main_dispatch () from /gnu/lib/libglib-1.2.so.0
#25 0xfeeb8b0c in g_main_iterate () from /gnu/lib/libglib-1.2.so.0
#26 0xfeeb8f04 in g_main_run () from /gnu/lib/libglib-1.2.so.0
#27 0xff195c40 in gtk_main () from /gnu/lib/libgtk-1.2.so.0
#28 0x002ff768 in main (argc=0, argv=0xffbef520) at main.c:2482

_________________________________________________________________
Enjoy a special introductory offer for dial-up Internet access — limited time only! http://join.msn.com/?page=dept/dialup

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

I've made a change to prevent font sizes smaller than or equal to zero, this might fix it!

Could you check the latest CVS?

Regards, ULFL