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 Prev Thread Prev
From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 31 May 2000 18:07:57 -0500
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