Hi,
I have a trace with a few LPD connections made with the Novell
LANALAZER.
Opening the trace as normal user causes a SEG-FAULT.
Ethereal have the u+s permissions set.
Opening the trace as su works.
Here is the bt from gdb:
Starting program: /usr/local/bin/ethereal
Program received signal SIGSEGV, Segmentation fault.
0x80918d3 in dissect_lpd (pd=0x832e680 "", offset=54, fd=0x8386b40,
tree=0x83121a4) at packet-lpd.c:125
125 if (printer[END_OF_FRAME - 2] == 0x0a) {
(gdb) bt
#0 0x80918d3 in dissect_lpd (pd=0x832e680 "", offset=54, fd=0x8386b40,
tree=0x83121a4) at packet-lpd.c:125
#1 0x80bd8fd in dissect_tcp (pd=0x832e680 "", offset=54, fd=0x8386b40,
tree=0x83121a4) at packet-tcp.c:495
#2 0x808b265 in dissect_ip (pd=0x832e680 "", offset=34, fd=0x8386b40,
tree=0x83121a4) at packet-ip.c:941
#3 0x8068979 in ethertype (etype=2048, offset=14, pd=0x832e680 "",
fd=0x8386b40, tree=0x83121a4, fh_tree=0x831226c,
item_id=251) at ethertype.c:88
#4 0x8082c4e in dissect_eth (pd=0x832e680 "", offset=0, fd=0x8386b40,
tree=0x83121a4) at packet-eth.c:202
#5 0x806d0fd in dissect_packet (pd=0x832e680 "", fd=0x8386b40,
tree=0x83121a4) at packet.c:815
#6 0x8069d87 in add_packet_to_packet_list (fdata=0x8386b40,
cf=0x815d69c, buf=0x832e680 "") at file.c:809
#7 0x806a140 in wtap_dispatch_cb (user=0x815d69c "\200T\034\b\t",
phdr=0x81c42ec, offset=230671, buf=0x832e680 "")
at file.c:956
#8 0x80c96fb in wtap_loop (wth=0x81c42d8, count=0, callback=0x8069ff0
<wtap_dispatch_cb>, user=0x815d69c "\200T\034\b\t",
err=0xbfffdfd0) at wtap.c:250
#9 0x8068fe1 in read_cap_file (cf=0x815d69c) at file.c:323
#10 0x80e4066 in file_open_ok_cb (w=0x8319860, fs=0x81e3420) at
file_dlg.c:152
#11 0x4029827d in gtk_marshal_NONE__NONE (object=0x8319860,
func=0x80e3f50 <file_open_ok_cb>, func_data=0x81e3420,
args=0xbfffeccc) at gtkmarshal.c:344
#12 0x40259245 in gtk_handlers_run (handlers=0x81a01d8,
signal=0xbfffec88, object=0x8319860, params=0xbfffeccc, after=0)
at gtksignal.c:1909
#13 0x40258590 in gtk_signal_real_emit (object=0x8319860, signal_id=90,
params=0xbfffeccc) at gtksignal.c:1469
#14 0x402564e1 in gtk_signal_emit (object=0x8319860, signal_id=90) at
gtksignal.c:552
#15 0x401c3ff8 in gtk_button_clicked (button=0x8319860) at
gtkbutton.c:338
#16 0x40202fbc in gtk_file_selection_file_button (widget=0x81e11e0,
row=37, column=0, bevent=0x8314a04, user_data=0x81e3420)
at gtkfilesel.c:1236
#17 0x4029824d in gtk_marshal_NONE__INT_INT_POINTER (object=0x81e11e0,
func=0x40202eb0 <gtk_file_selection_file_button>,
func_data=0x81e3420, args=0xbffff04c) at gtkmarshal.c:328
#18 0x40259245 in gtk_handlers_run (handlers=0x81a05d8,
signal=0xbffff008, object=0x81e11e0, params=0xbffff04c, after=0)
at gtksignal.c:1909
#19 0x40258590 in gtk_signal_real_emit (object=0x81e11e0, signal_id=72,
params=0xbffff04c) at gtksignal.c:1469
#20 0x402564e1 in gtk_signal_emit (object=0x81e11e0, signal_id=72) at
gtksignal.c:552
#21 0x80d5458 in gtk_clist_button_press (widget=0x81e11e0,
event=0x8314a04) at gtkclist.c:5018
#22 0x40297e49 in gtk_marshal_BOOL__POINTER (object=0x81e11e0,
func=0x80d5030 <gtk_clist_button_press>, func_data=0x0,
args=0xbffff3b8) at gtkmarshal.c:30
#23 0x402585c9 in gtk_signal_real_emit (object=0x81e11e0, signal_id=20,
params=0xbffff3b8) at gtksignal.c:1484
#24 0x402564e1 in gtk_signal_emit (object=0x81e11e0, signal_id=20) at
gtksignal.c:552
#25 0x4028eb58 in gtk_widget_event (widget=0x81e11e0, event=0x8314a04)
at gtkwidget.c:2790
#26 0x402293b2 in gtk_propagate_event (widget=0x81e11e0,
event=0x8314a04) at gtkmain.c:1296
#27 0x4022852a in gtk_main_do_event (event=0x8314a04) at gtkmain.c:753
#28 0x402d8cab in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff724, user_data=0x0) at gdkevents.c:2098
#29 0x80f4e3e in g_main_dispatch (current_time=0xbffff724) at
gmain.c:656
#30 0x80f53d7 in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#31 0x80f5531 in g_main_run (loop=0x8275690) at gmain.c:932
#32 0x40227f0b in gtk_main () at gtkmain.c:475
#33 0x80de197 in main (argc=1, argv=0xbffff814) at main.c:1433
By,
Gregor
Attachment:
SEH2.TR1
Description: Binary data