Ethereal-dev: [ethereal-dev] ethereal on AIX-4.3.2

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

Date: Wed, 22 Dec 1999 14:54:14 +0100 (NFT)

Hi,

I'm trying to get ethereal-0.7.9 to work on AIX-4.3.2, with libpcap.
I built a recent version of libpcap (both libpcap-0.4 and
libpcap-1999-12-09) as a shared lib, and this seems to work with
the freeware tcpdump (both tcpdump-3.4 and tcpdump-1999-12-09).

ethereal compiles and links cleanly (once I linked glib and gtk+
manually), and opens a display when executed. The capture interface does
capture packets (from en0), but almost all the packets are interpreted as
Token-Ring packets instead of Ethernet.

In addition the File->Save menu option causes several GTK error messages
to be displayed and a core-dump is produced. I don't think the two
problems are realated.

In attachement, the file tr.out.gz produced by "File->print" (hex dump
option) that should demonstrate the first problem, and a file ethereal.err
containing the error messages produced by File-Save. The stacklist from
the core is

esther # dbx ethereal
Type 'help' for help.
reading symbolic information ...warning: no source compiled with -g

[using memory image in core]

Segmentation fault in gdk_string_width at 0xd075c130 ($t1)
0xd075c130 (gdk_string_width+0x9c) 80030000        lwz   r0,0x0(r3)
(dbx) t
gdk_string_width() at 0xd075c130
gtk_file_selection_populate() at 0xd0cb6624
gtk_file_selection_init() at 0xd0cb7734
gtk_type_new() at 0xd0bee350
gtk_file_selection_new() at 0xd0cba2a4
file_save_cmd_cb() at 0x10070970
gtk_item_factory_callback_marshal() at 0xd0ce0498
gtk_marshal_NONE__NONE() at 0xd0bf46cc
gtk_handlers_run() at 0xd0be7080
gtk_signal_real_emit() at 0xd0be7eac
gtk_signal_emit() at 0xd0be8e8c
gtk_widget_activate() at 0xd0c0077c
gtk_menu_shell_activate_item() at 0xd0c65f28
gtk_menu_shell_button_release() at 0xd0c6526c
gtk_marshal_BOOL__POINTER() at 0xd0bf4c50
gtk_signal_real_emit() at 0xd0be7da8
gtk_signal_emit() at 0xd0be8e8c
gtk_widget_event() at 0xd0c00b40
gtk_propagate_event() at 0xd0c0bbd4
gtk_main_do_event() at 0xd0c0d2cc
gdk_event_dispatch() at 0xd0748e00
g_main_dispatch() at 0xd060b340
g_main_iterate() at 0xd060b108
g_main_run() at 0xd060c348
gtk_main() at 0xd0c0ccc8
main() at 0x10001ad4
(dbx)

The information requested in the readme is:
# uname -a
AIX esther 3 4 00920517A000
# gtk-config --version
1.2.6
# ./ethereal -v
ethereal 0.7.9, with GTK+ 1.2.6, with libpcap 0.4, with libz 1.1.3, without SNMP

Any help would be appreciated. If I get a binary working I am planning on
making it available for download from
	http://www-frec.bull.com/docs/download.htm

Thanks,
Ciaran


+-------------------------------------------------------------------------+
Ciaran Deignan                                Tel: (France) 04 76 29 79 92
BULL XS-BU (http://www-frec.bull.com)                 HA and Consolidation

Mail to: Ciaran.Deignan@xxxxxxxx                        Bullcom: 229 79 92
PGP: B1 78 FB 88 FD 86 58 A8  89 7B 22 8C D0 E8 71 FC       Fax: 229 75 18
+-------------------------------------------------------------------------+

Attachment: tr.out.gz
Description: token-ring detected on ethernet!

Gtk-WARNING **: gtk_type_create(): type `GtkCList' already exists.

Gtk-CRITICAL **: file gtktypeutils.c: line 361: assertion `node != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 997: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3789: assertion `widget != NULL' failed.

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'

Gtk-CRITICAL **: file gtksignal.c: line 724: assertion `object != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 1377: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 713: assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1424: assertion `widget != NULL' failed.

Gtk-WARNING **: gtk_type_create(): type `GtkCList' already exists.

Gtk-CRITICAL **: file gtktypeutils.c: line 361: assertion `node != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 997: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3789: assertion `widget != NULL' failed.

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'

Gtk-CRITICAL **: file gtksignal.c: line 724: assertion `object != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 1377: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 713: assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1424: assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 1235: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 2606: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 1235: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 2606: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 2574: assertion `clist != NULL' failed.

Gtk-CRITICAL **: file gtkclist.c: line 2574: assertion `clist != NULL' failed.