Bug 156598 - Seg Fault with Live, scrolling capture
Seg Fault with Live, scrolling capture
Product: Fedora
Classification: Fedora
Component: ethereal (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Radek Vokal
Depends On:
  Show dependency treegraph
Reported: 2005-05-02 07:07 EDT by Bob Chiodini
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-03 01:59:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bob Chiodini 2005-05-02 07:07:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3

Description of problem:
Clicking on the start capture button, then checking "Update list of packets in real time", "Automatic Scrolling in live capture" and "Hide capture info dialog" under Display Options, then clicking OK results in a segfault.  

Version-Release number of selected component (if applicable):
ethereal-0.10.10-1.FC3.1, ethereal-gnome-0.10.10-1.FC3.1

How reproducible:

Steps to Reproduce:
1.Clicking on the start capture button
2.Check "Update list of packets in real time", "Automatic Scrolling in live capture" and "Hide capture info dialog" under Display Options
3.Click OK

Actual Results:  Segmentation Fault

Expected Results:  Ethereal should display a live capture of the ehternet traffic.

Additional info:

Ethereal works correctly if "live capture" is not enabled.  strace output available, but very large +700K.  I can attach it (or some portion) if requested
Comment 1 Radek Vokal 2005-05-02 07:25:22 EDT
Please try with latest rawhide version. 
Comment 2 Bob Chiodini 2005-05-02 16:53:05 EDT
(In reply to comment #1)
> Please try with latest rawhide version. 

There were too many dependency issues, yum seemed to get caught in a loop trying
to resolve them.  Tried a nodeps install and had different problems, missing
libs.  Note this is the x86_64 version.  INstalled the i386 version it works.
Comment 3 Bob Chiodini 2005-05-02 17:23:01 EDT
Reloaded the x86_64 version and the debuginfo (possibly not the same rev)
available on the download server at redhat.com.  This is all new to me, but
here's the output (maybe of some help): 

gdb ethereal
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging symbols
found)...Using host libthread_db library "/lib64/tls/libthread_db.so.1".

(gdb) sym /usr/lib/debug/usr/lib64/libethereal.so.0.0.1.debug
Reading symbols from /usr/lib/debug/usr/lib64/libethereal.so.0.0.1.debug...done.
(gdb) run
Starting program: /usr/sbin/ethereal
[Thread debugging using libthread_db enabled]
[New Thread 46912513596160 (LWP 26454)]
Detaching after fork from child process 26458.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912513596160 (LWP 26454)]
0x0000003766b6f532 in strcmp () from /lib64/tls/libc.so.6
(gdb) backtrace
#0  0x0000003766b6f532 in strcmp () from /lib64/tls/libc.so.6
#1  0x000000000041e72f in dissect_ositp_internal (tvb=0x1, pinfo=0x5fb120,
tree=0x5fb120, uses_inactive_subset=55)
    at packet-clnp.c:803
#2  0x000000000000003b in ?? ()
#3  0x0000000000000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y

rpm -qa | grep ethereal
Comment 4 Radek Vokal 2005-05-03 01:59:59 EDT
I've tested this on x86_64 machine and it works with the latest version from
rawhide. Anyway, there'll be ethereal update in FC3 which will fix this issue
soon, so don't worry about yum dependencies (even though yum should also work
with rawhide). 

Note You need to log in before you can comment on or make changes to this bug.