Ethereal-users: Re: [ethereal-users] Bus Error

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 23 Aug 2000 13:36:03 -0700 (PDT)
> The gui interface comes up fine but on capture when the packets have been
> collected it exits with a Bus Error.  If I try to display the file I get the
> same error. It dumps core:
> # adb /core
> core file = core -- program "ethereal" on platform SUNW,Ultra-60
> SIGBUS: Bus Error
> 
> Any ideas?

Try

	dbx ethereal /core

if you have dbx installed (as part of Sun C, or whatever), and do a
"where", or try

	gdb ethereal /core

(install gdb if you don't have it, and if gdb can actually be made to
work on 5.8), and do a "where" or "backtrace".

If you have neither installed, and can't get either, try

	adb ethereal /core

and do "$c".

Then send us whatever the debugger reports.

Also, send us a copy of the capture file, if possible.  Some dissector
is probably blithely casting a pointer into the middle of a packet to
some 2-byte or 4-byte integral quantity and dereferencing it, which
doesn't work on most RISC processors, including SPARC (I'm assuming here
this is Solaris-on-SPARC rather than Solaris-on-x86); we'd need to know
*which* dissector in order to fix it, and knowing *where* in that
dissector it's doing that might help as well.