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: "packet steve" <packetsteve@xxxxxxxxxxx>
Date: Thu, 22 Jan 2004 21:26:17 -0500


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

Latest CVS, that doesn't fix it.

If I shrink the font.
** ERROR **: file main.c: line 271 (set_fonts): assertion failed: (m_r_font && m_b_font)
aborting...

Program received signal SIGABRT, Aborted.
0xfed1f980 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0  0xfed1f980 in _libc_kill () from /usr/lib/libc.so.1
#1  0xfecb5964 in abort () from /usr/lib/libc.so.1
#2  0xfeebe378 in g_logv () from /gnu/lib/libglib-1.2.so.0
#3  0xfeebe4ac in g_log () from /gnu/lib/libglib-1.2.so.0
#4  0x002fd0f4 in set_fonts (regular=0x8cac90, bold=0x874dc8) at main.c:271
#5  0x00300804 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 0x002ffc60 in main (argc=0, argv=0xffbef540) at main.c:2478


If I try to grow the font

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

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

_________________________________________________________________
Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/