Ethereal-dev: Re: [Ethereal-dev] Access violation, in Edit->Preferences->Columns

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

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Thu, 15 Jan 2004 22:49:27 +0100
Bingo! I could also generate the crash at home, where I also build
under cygwin, with GCC 3.3.1.
Ethereal crashes when you click on one column entry in the column
list. The full backtrace is:

GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) r
Starting program:
/home/Eigenaar/ethereal/cvs/ethereal-pcre/ethereal.exe

Program received signal SIGSEGV, Segmentation fault.
0x018c478c in gtk_widget_set_sensitive ()
(gdb) bt full
#0  0x018c478c in gtk_widget_set_sensitive ()
No symbol table info available.
#1  0x00a6e10a in column_list_select_cb (sel=0x102b9b08,
user_data=0x0)
    at column_prefs.c:324
 sel = (GtkTreeSelection *) 0x1014a180
 cfmt = (fmt_data *) 0x10147460
 clp = (GList *) 0x100faaf8
 model = (GtkTreeModel *) 0x102b9610
 iter = {stamp = -1067892050, user_data = 0x1029aeb0, user_data2 =
0x0,
  user_data3 = 0x0}
 path = (GtkTreePath *) 0x102ac850
 str_path = (gchar *) 0x102fa8c0 "cursor-position"
 title = (gchar *) 0x102fa8c0 "cursor-position"
#2  0x016c3d38 in g_cclosure_marshal_VOID__VOID ()
   from /usr/bin/cyggobject-2.0-0.dll
No symbol table info available.
#3  0x016b3410 in g_closure_invoke () from
/usr/bin/cyggobject-2.0-0.dll
No symbol table info available.
#4  0x016c39b7 in signal_emit_unlocked_R () from
/usr/bin/cyggobject-2.0-0.dll
No symbol table info available.
(gdb) q
The program is running.  Exit anyway? (y or n)

Regards,

Olivier
----- Original Message ----- 
From: Guy Harris

| On Jan 15, 2004, at 12:19 PM, Biot Olivier wrote:
|
| > The crash does not occur on my slightly outdated version on my
laptop
| > (CVS
| > tag 20040109231856). Compiled on cygwin (-O3) with Gtk+2 (2.2.3).
|
| Compiler issue?  (That could either mean compiler bug *or* Ethereal
bug
| that happens to show up only with some compilers, as other compilers
| generate code that happens not to trigger the bug.)  The
non-crashing
| version I have was built with GCC 3.3; if "compiled with Cygwin"
| implies "compiled with GCC", and Ulf is using MSVC++, this might be
a
| compiler issue.