Ethereal-dev: [Ethereal-dev] ethereal/gtk crash on quit

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

From: Bill Fumerola <billf@xxxxxxxxxxx>
Date: Mon, 19 May 2003 16:38:18 -0700
if this is a known issue, i apologize:

upon quitting, ethereal crashes in gdk.

i know nothing about gdk, but top_level->window is surely an uninitialized
memory address. this probably upsets gdk_window_get_size().

(gdb) bt
#0  0x288f89a6 in gdk_window_get_size () from /usr/X11R6/lib/libgdk12.so.2
#1  0x082f21ae in main (argc=0, argv=0xbfbffa5c) at main.c:2264
#2  0x0806ae65 in _start ()
(gdb) fr 1
#1  0x082f21ae in main (argc=0, argv=0xbfbffa5c) at main.c:2264
2264                                    gdk_window_get_size(top_level->window, &top_width, &top_height);
(gdb) p top_level
$1 = (struct _GtkWidget *) 0x86d4a00
(gdb) p top_width
$2 = 1024
(gdb) p top_height
$3 = 1337
(gdb) p *top_level 
$4 = {object = {klass = 0x86d4b00, flags = 18, ref_count = 1405, 
    object_data = 0x0}, private_flags = 20480, state = 116 't', 
    saved_state = 8 '\b', name = 0x260008c <Address 0x260008c out of bounds>, 
    style = 0x260008c, requisition = {width = 0, height = 0}, allocation = {
    x = -12080, y = -12080, width = 53456, height = 53456}, 
    window = 0xd0d0d0d0, parent = 0xd0d0d0d0}

gtk-1.2.10_9        Gimp Toolkit for X11 GUI (previous stable version)

FreeBSD choker.corp.yahoo.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jan 30 09:24:15 PST 2003     root@:/usr3/obj/usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/BIGWIG  i386

this is ethereal 0.9.12 sources, though i can try the latest from cvs
if someone would like me to.

-- 
- bill fumerola / fumerola@xxxxxxxxxxxxx / billf@xxxxxxxxxxx / billf@xxxxxx