Ethereal-dev: [Ethereal-dev] crash in Ethereal in printing from Follow TCP Stream if data disp
Hi,
With the current CVS, or pretty close, if you take say the telnet-raw.pcap
capture from www.ethereal.com/sample/ and select Analyze-->Follow TCP
Stream and then select Hex Data and click on Print, you get a crash.
The stack looks like this:
#0 0xffffe002 in ?? ()
#1 0x4206d09e in new_do_write () from /lib/tls/libc.so.6
#2 0x4206d036 in _IO_new_do_write () from /lib/tls/libc.so.6
#3 0x4206d7b8 in _IO_new_file_overflow () from /lib/tls/libc.so.6
#4 0x4206e220 in _IO_new_file_xsputn () from /lib/tls/libc.so.6
#5 0x42062a62 in fwrite () from /lib/tls/libc.so.6
#6 0x083107e6 in follow_print_text (
buffer=0xbfffd2b0 ' ' <repeats 78 times>, "000001D4 6f 72 74 69 6e 67
20 61 20 62 75 67 2c 20 70 6c orting a bug, pl\n", nchars=155,
is_server=1,
arg=0x8942890) at follow_dlg.c:716
#7 0x083105b3 in follow_read_stream (follow_info=0x88d4970,
print_line=0x83107d0 <follow_print_text>, arg=0x8942890)
at follow_dlg.c:634
#8 0x0831092d in follow_print_stream (w=0x88caeb0, data=0x88d4970)
at follow_dlg.c:781
#9 0x400e4ff6 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#10 0x4011d015 in gtk_signal_remove_emission_hook ()
from /usr/lib/libgtk-1.2.so.0
#11 0x4011c16d in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#12 0x40119ab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#13 0x40071dd0 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#14 0x4007378b in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0
#15 0x400e4ff6 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#16 0x4011c07e in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#17 0x40119ab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#18 0x40071ce0 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#19 0x40072fc1 in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0
#20 0x400e4c26 in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#21 0x4011c1b2 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#22 0x40119ab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#23 0x4015ae4a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#24 0x400e4a6f in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#25 0x400e37f4 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#26 0x401a3f15 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#27 0x401d79ae in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#28 0x401d7e89 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#29 0x401d8124 in g_main_run () from /usr/lib/libglib-1.2.so.0
#30 0x400e327f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#31 0x082d2694 in main (argc=0, argv=0xbfffe880) at main.c:2896
#32 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)
I don't have time to look at this problem right now, but might later.
Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com