Ethereal-dev: [Ethereal-dev] segfault in version 10.5 without gtk+2

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

From: Dennis Bijwaard <bijwaard@xxxxxxxxxx>
Date: Mon, 19 Jul 2004 12:15:03 +0200
Dear sir, madame,

I just installed ethereal 10.5 on slackware-10 and get a segfault just after the logo is displayed. I ran it in the debugger and have the stacktrace below. I had to configure (./configure --prefix=/opt/ethereal --disable-gtk2) without gtk+2 because the test failed, see further below.

#0 0x4006da1f in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0 #1 0x40aa1b16 in gtk_bin_get_type () from /usr/lib/libgtk-1.2.so.0 #2 0x40aa259d in gtk_binding_entry_add_signall () from /usr/lib/libgtk-1.2.so.0 #3 0x40aa273a in gtk_binding_entry_add_signal () from /usr/lib/libgtk-1.2.so.0 #4 0x40b0d62f in gtk_menu_shell_get_type () from /usr/lib/libgtk-1.2.so.0 #5 0x40b5c92e in gtk_type_is_a () from /usr/lib/libgtk-1.2.so.0 #6 0x40b5c97e in gtk_type_is_a () from /usr/lib/libgtk-1.2.so.0 #7 0x40b5c0c7 in gtk_type_class () from /usr/lib/libgtk-1.2.so.0 #8 0x40b5c2bb in gtk_type_new () from /usr/lib/libgtk-1.2.so.0 #9 0x40b64ef1 in gtk_widget_new () from /usr/lib/libgtk-1.2.so.0 #10 0x40af73d8 in gtk_item_factory_construct () from /usr/lib/libgtk-1.2.so.0
#11 0x40af6863 in gtk_item_factory_new () from /usr/lib/libgtk-1.2.so.0
#12 0x0807598e in menus_init () at menu.c:494 #13 0x08075942 in main_menu_new (table=0xbffff484) at menu.c:478 #14 0x08074f06 in create_main_window (pl_size=280, tv_size=95, bv_size=75, prefs=0x81 3ade0) at main.c:2984 #15 0x08073eb6 in main (argc=0, argv=0xbffff6d8) at main.c:2371


I get the following test problem when I configure with gtk+2:

configure:9927: checking for GTK+ - version >= 2.0.0
configure:10042: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/inc lude/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/loc al/include -L/usr/local/lib conftest.c -Wl,--export-dynamic -pthread -lgtk-x11- 2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lp
ango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0    >&5
conftest.c: In function `main':
conftest.c:72: warning: comparison between signed and unsigned
conftest.c:73: warning: comparison between signed and unsigned
conftest.c:73: warning: comparison between signed and unsigned
conftest.c:74: warning: comparison between signed and unsigned
conftest.c:74: warning: comparison between signed and unsigned
conftest.c:74: warning: comparison between signed and unsigned
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_PS_Font_Info'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetShort'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_ExitFrame'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetLong'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_Seek'
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_Next_Char'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_EnterFrame'
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Get_First_Char'
collect2: ld returned 1 exit status
configure:10045: $? = 1
configure: program exited with status 1
configure: failed program was:
...
configure:10072: result: no
configure:10105: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/inc lude/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/loc al/include -L/usr/local/lib conftest.c -Wl,--export-dynamic -pthread -lgtk-x11 -2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -l
pango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   >&5
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_PS_Font_Info'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetShort'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_ExitFrame'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_GetLong'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_Seek'
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_Next_Char'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Stream_EnterFrame'
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property'
/usr/lib/libpangoft2-1.0.so.0: undefined reference to `FT_Get_First_Char'
collect2: ld returned 1 exit status
configure:10111: $? = 1
configure: failed program was:
...

Kind regards,
		Dennis Bijwaard
--
Lucent Technologies
                    Bell Labs Innovations

Dennis Bijwaard (mailto:bijwaard@xxxxxxxxxx)
Developer New Technologies, Bell Labs AT Twente
Capitool 5, NL-7521 PL Enschede, The Netherlands
Phone. +31 35 6875718 or +31 53 4845718, Fax: +31 53 4845777