Ethereal-dev: [ethereal-dev] oops

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

From: Matthew Boeckman <matthewb@xxxxxxxxxxxxx>
Date: Wed, 04 Oct 2000 10:35:27 -0500
OK. My bad. For some reason the -w keys on my keyboard disappeared.

_however_ 

I was able to grab a backtrace of ethereal segfaulting on opening a
_real_ capture file from RH6.1. This is still 0.8.12 running on RH7.0
#0  tvb_decrement_usage_count (tvb=0x0, count=1) at tvbuff.c:250
250             if (tvb->usage_count <= count) {
(gdb) bt  
#0  tvb_decrement_usage_count (tvb=0x0, count=1) at tvbuff.c:250
#1  0x80f1dd9 in tvb_free (tvb=0x82806e8) at tvbuff.c:209
#2  0x80e794c in do_throw (except=0xbfffdb50) at except.c:185
#3  0x80e7b68 in except_throw (except_group=1, except_code=1, 
    msg=0x818d0e0 "XCEPT_GROUP_ETHEREAL") at except.c:269
#4  0x80f2228 in check_offset_length (tvb=0x82806b8, offset=14,
length=104, 
    offset_ptr=0x82806fc, length_ptr=0x8280700) at tvbuff.c:428
#5  0x80f22ec in tvb_set_subset (tvb=0x82806e8, backing=0x82806b8, 
    backing_offset=14, backing_length=104, reported_length=104) at
tvbuff.c:450
#6  0x80f237c in tvb_new_subset (backing=0x82806b8, backing_offset=14, 
    backing_length=104, reported_length=104) at tvbuff.c:484
#7  0x807af89 in dissect_eth (tvb=0x82806b8, pinfo=0x81dd020, tree=0x0)
    at packet-eth.c:271
#8  0x80e9898 in dissect_packet (pseudo_header=0x8283444, 
    pd=0x82a13b0 "������", fd=0x82a2470, tree=0x0) at packet.c:1055
#9  0x80f6b56 in add_packet_to_packet_list (fdata=0x82a2470,
cf=0x81ccda0, 
    pseudo_header=0x8283444, buf=0x82a13b0 "������", refilter=1) at
file.c:641
#10 0x80f6ef8 in read_packet (cf=0x81ccda0, offset=1116) at file.c:796
#11 0x80f64f0 in read_cap_file (cf=0x81ccda0, err=0xbfffeb54) at
file.c:353
#12 0x8124474 in file_open_ok_cb (w=0x827bcd8, fs=0x8279170) at
file_dlg.c:190
#13 0x400b58b3 in gtk_marshal_NONE__NONE () from
/usr/lib/libgtk-1.2.so.0
#14 0x400e7c0a in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#15 0x400e6f4d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#16 0x400e4cf5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#17 0x4004d9fd in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#18 0x4008e65c in gtk_file_selection_file_button ()
   from /usr/lib/libgtk-1.2.so.0
#19 0x400b5892 in gtk_marshal_NONE__INT_INT_POINTER ()
   from /usr/lib/libgtk-1.2.so.0
#20 0x400e7c0a in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#21 0x400e6f4d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x400e4cf5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#23 0x810c6fc in gtk_clist_button_press (widget=0x827c8d8,
event=0x82773a4)
    at gtkclist.c:5008
#24 0x400b557e in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#25 0x400e6f8c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#26 0x400e4cf5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#27 0x4011ec39 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#28 0x400b54f5 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#29 0x400b45bf in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#30 0x40169c21 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#31 0x4019c987 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#32 0x4019d001 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#33 0x4019d1cc in g_main_run () from /usr/lib/libglib-1.2.so.0
#34 0x400b3e57 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#35 0x811436e in main (argc=1, argv=0xbffffa14) at main.c:1344
---Type <return> to continue, or q <return> to quit---
#36 0x402e1b65 in __libc_start_main (main=0x81137d4 <main>, argc=1, 
    ubp_av=0xbffffa14, init=0x80601c4 <_init>, fini=0x8134b8c <_fini>, 
    rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffffa0c)
    at ../sysdeps/generic/libc-start.c:111
(gdb) 


Again, my apologies for polluting the list with poor neuron connections
earlier.



-- 
Matthew Boeckman			(913) 327-5360
Systems/Network Administrator		(913) 302-1125 - Cell
ClaimPort				matthewb@xxxxxxxxxxxxx
Time is an illusion perpetrated by the manufacturers of space.