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: Fri, 23 Jan 2004 08:25:01 +0100
packet steve wrote:
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, ULFLLatest 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...
That has to be something to do with your font name.I've checked in a bugfix, which checks that the font loading was ok, before applying the font to the screen.
This should fix your problem, please have another try with latest CVS now. Regards, ULFL
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 fontGdk-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/
- References:
- Re: [Ethereal-dev] Ethereal crash, null font.
- From: packet steve
- Re: [Ethereal-dev] Ethereal crash, null font.
- Prev by Date: RE: [Ethereal-dev] make-tapreg-dotc and x11-fields when building on Win32
- Next by Date: [Ethereal-dev] PATCH: RTP Analysis
- Previous by thread: Re: [Ethereal-dev] Ethereal crash, null font.
- Next by thread: Re: [Ethereal-dev] Ethereal crash, null font.
- Index(es):