Hello,
I notice a segmentation fault with latest svn under Linux. It happens
only with ethereal-gui, either when live capturing or opening a file.
Ethereal crashes immediately. Here is a backtrace. It seems edt
shouldn't be NULL.
(gdb) run ~/pcap-samples/udp-stream.pcap
Starting program: /home/jl/svn/ethereal/.libs/lt-ethereal
~/pcap-samples/udp-stream.pcap
[Thread debugging using libthread_db enabled]
[New Thread 1094224768 (LWP 14699)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094224768 (LWP 14699)]
add_byte_views (edt=0x0, tree_view=0x83c5508, byte_nb_ptr=0x83cf838)
at proto_draw.c:782
782 for (src_le = edt->pi.data_src; src_le != NULL; src_le =
src_le->next) {
(gdb) bt
#0 add_byte_views (edt=0x0, tree_view=0x83c5508, byte_nb_ptr=0x83cf838)
at proto_draw.c:782
#1 0x0808dbd3 in add_main_byte_views (edt=0x0) at proto_draw.c:762
#2 0x0807df0a in main_cf_cb_packet_selected (data=0x81372c0) at main.c:1416
#3 0x08068338 in cf_callback_invoke (event=0, data=0x0) at file.c:153
#4 0x0806c0be in cf_unselect_packet (cf=0x81372c0) at file.c:2924
#5 0x08068653 in cf_reset_state (cf=0x81372c0) at file.c:290
#6 0x0806846c in cf_open (cf=0x81372c0,
fname=0x83451c0 "/home/jl/pcap-samples/udp-stream.pcap", is_tempfile=0,
err=0xbffff628) at file.c:198
#7 0x0807ec67 in main (argc=0, argv=0xbffff86c) at main.c:2346
The only recent commit that modified these files is Ulf Lamping's latest
one, but I don't see what it could have broken.
Regards,
--
Julien Leproust