Re: Segmentation Fault and capturing on promiscuous interface in tethereal

Guy Harris <[email protected]>
Newsgroups gmane.network.ethereal.user
Message-ID <[email protected]>
On Jun 19, 2006, at 5:18 PM, neelay Thaker wrote:

> I compiled and built ethereal. When I execute tethereal, I get the  
> error- "Segmentation fault". What's the cause of this error?

Either a dereference of pointer that doesn't point to a valid  
address, or possibly an attempt to store through a pointer that  
points to a valid address in a read-only region of the address space.

There does not exist a higher-level description of the cause of a  
"segmentation fault".  A lot of different problems, which have only  
the item in the previous paragraph in common, can cause a  
segmentation fault.  I suggest you try to use a debugger to determine  
what code is getting the segmentation fault.

> Also, I have another version of tethereal that doesn't give a  
> Segmentation fault, but the problem is that it doesn't capture on  
> an interface that's already in promiscuous mode.

What happens when you try to capture on an interface that's already  
in promiscuous mode?

Are you doing this on HP-UX?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.