Ethereal-dev: [ethereal-dev] Ethereal crash just after stopping capture

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

From: James Coe <jammer@xxxxxxx>
Date: Sat, 08 Jan 2000 14:40:58 -0600
Not sure what the cause was. Ethereal crashed just after stopping live
capture. Backtrace and capture file attached below. Does not reoccurr
when loading the capture file.

Jamie.
ethereal 0.8.1, with GTK+ 1.2.6, with libpcap 0.4, with libz 1.1.3, with UCD SNMP 4.0.1


This GDB was configured as "i386-suse-linux-gnu"...
(gdb) run
Starting program: /usr/X11R6/bin/ethereal 

Program received signal SIGSEGV, Segmentation fault.
0x4038dbc9 in main_arena () from /lib/libc.so.6
(gdb) backtrace
#0  0x4038dbc9 in main_arena () from /lib/libc.so.6
#1  0x40362060 in __gethostbyaddr_r (addr=0xbffff4cc "\n\024", len=4, type=2, 
    resbuf=0x40391c28, buffer=0x822f508 "ÿÿÿÿ¨Û8@", buflen=1024, 
    result=0xbffff494, h_errnop=0xbffff498) at ../nss/getXXbyYY_r.c:182
#2  0x40361e1e in gethostbyaddr (addr=0xbffff4cc "\n\024", len=4, type=2)
    at ../nss/getXXbyYY.c:137
#3  0x80751e0 in host_name_lookup (addr=33559562) at resolv.c:268
#4  0x80760d5 in get_hostname (addr=33559562) at resolv.c:1007
#5  0x8070374 in col_set_addr (fd=0x8266ab0, col=2, addr=0x8198818, is_res=1)
    at packet.c:819
#6  0x807066e in fill_in_columns (fd=0x8266ab0) at packet.c:930
#7  0x806cfe4 in add_packet_to_packet_list (fdata=0x8266ab0, cf=0x8198860, 
    buf=0x8229a90 "") at file.c:604
#8  0x806d233 in wtap_dispatch_cb (user=0x8198860 "\230í\"\b\013", 
    phdr=0x81ddcbc, offset=304, buf=0x8229a90 "") at file.c:698
#9  0x80d77b7 in wtap_loop (wth=0x81ddca8, count=13, 
    callback=0x806d0e0 <wtap_dispatch_cb>, user=0x8198860 "\230í\"\b\013", 
    err=0xbffff5c0) at wtap.c:253
#10 0x806cc59 in continue_tail_cap_file (cf=0x8198860, to_read=13)
    at file.c:414
#11 0x80629e4 in cap_file_input_cb (data=0x8198860, source=10, 
    condition=GDK_INPUT_READ) at capture.c:466
#12 0x40179d2b in gdk_io_invoke (source=0x8266a80, condition=G_IO_IN, 
    data=0x8266a68) at gdkevents.c:882
#13 0x401abe3a in g_io_unix_dispatch (source_data=0x8266a98, 
    current_time=0xbffff7a4, user_data=0x8266a68) at giounix.c:135
#14 0x401ad673 in g_main_dispatch (current_time=0xbffff7a4) at gmain.c:656
#15 0x401adcab in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#16 0x401ade61 in g_main_run (loop=0x82275a8) at gmain.c:932
#17 0x400c7beb in gtk_main () at gtkmain.c:476
#18 0x80ec7d7 in main (argc=1, argv=0xbffff894) at main.c:1544


Attachment: crash.cap.gz
Description: GNU Zip compressed data