Ethereal-users: RE: [ethereal-users] ethereal 0.8.8

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

Date Next Thread Next
From: "Jeff Schenk" <Jeff.Schenk@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Jun 2000 11:34:04 -0700
Gilbert,
thanks very much for the taking a look at this.  The Gtk+ was in pre-built
form from SUN as a package.
I will get the source and try a rebuild.

I have been able to successfully make from source on RedHat 6.2 with no
issues.

I will let you know how I make out.

Thanks again,

Jeff Schenk
Continuum Networks
Chief Architect of Software Development
805-927-3886


-----Original Message-----
From: Gilbert Ramirez [mailto:gram@xxxxxxxxxx]
Sent: Wednesday, May 31, 2000 4:08 PM
To: Jeff Schenk
Cc: Gilbert Ramirez; ethereal-users@xxxxxxxx
Subject: Re: [ethereal-users] ethereal 0.8.8


On Wed, May 31, 2000 at 03:45:28PM -0500, Jeff Schenk wrote:
>
>
> Gilbert,
>
> I receive the bus error immediately when starting etherreal.
>
> Here is the gdb traceback:
>
> #0  0xef6379f8 in gtk_args_collect () from /usr/local/lib/libgtk-1.2.so.0
> (gdb) backtrace
> #0  0xef6379f8 in gtk_args_collect () from /usr/local/lib/libgtk-1.2.so.0
> #1  0xef6daeac in gtk_object_args_collect ()
>    from /usr/local/lib/libgtk-1.2.so.0
> #2  0xef74283c in gtk_widget_new () from /usr/local/lib/libgtk-1.2.so.0
> #3  0xef6ad578 in gtk_item_factory_create_item ()
>    from /usr/local/lib/libgtk-1.2.so.0
> #4  0xef6ac684 in gtk_item_factory_create_items_ac ()
>    from /usr/local/lib/libgtk-1.2.so.0
> #5  0xcc8a4 in menus_init () at menu.c:199
> #6  0xcc818 in get_main_menu (menubar=0xeffff8c4, table=0xeffff8c0)
>     at menu.c:180
> #7  0xcbc68 in create_main_window (pl_size=280, tv_size=95, bv_size=75,
>     prefs=0x1854bc) at main.c:1609
> #8  0xcb89c in main (argc=3, argv=0xeffffaec) at main.c:1453
> (gdb)


I've traced through the code and can't find anything wrong in how we
use the GTK+ API. I've looked at the source for GTK+-1.2.7 and
I *think* the bus error is happening in the section of gtk_args_collect()
where the va_list is used to retrieve arguments (GTK_ARG_COLLECT_VALUE()).

Where did you get this installation of GTK+? Did you install a binary, or
build it yourself? If you did not build it yourself, it might be worthwhile
to do so.

I checked patch-gtk+-1.2.7-1.2.8 and don't see any changes to that
section of code, so upgrading to 1.2.8 probably won't help. It might help
if I'm wrong, though.

--gilbert

BEGIN:VCARD
VERSION:2.1
N:Schenk;Jeff
FN:Jeff Schenk
ORG:Continuum Networks
TITLE:Chief Architect of Software Development
TEL;WORK;VOICE:(805) 927-3886
TEL;WORK;FAX:(805) 927-3886
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;800 Hillcrest Drive=0D=0ASuite # 6;Cambria;CA;93428;United States of Ameri=
ca
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:800 Hillcrest Drive=0D=0ASuite # 6=0D=0ACambria, CA 93428=0D=0AUnited States=
 of America
EMAIL;PREF;INTERNET:Jeff.Schenk@xxxxxxxxxxxxxxxxxxxxx
REV:20000513T010247Z
END:VCARD