Ethereal-users: [Ethereal-users] segmentation fault of ethereal in Solaris

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

From: David Collier-Brown -- Customer Engineering <David.Collier-Brown@xxxxxxx>
Date: Wed, 12 Mar 2003 08:04:20 -0500
Georg Blank wrote:
On Solaris 8 or 9 we get a core dump terminating ethereal 0.9.9/10:

Program received signal SIGSEGV, Segmentation fault.
0xfec32ea8 in strlen () from /usr/lib/libc.so.1

Here is the gdb stack backtrace of this core dump:

#0  0xfec32ea8 in strlen () from /usr/lib/libc.so.1
#1  0xfec84158 in _doprnt () from /usr/lib/libc.so.1
#2  0xfec85b28 in fprintf () from /usr/lib/libc.so.1
#3  0x224870 in write_pref ()
#4  0xfef67a10 in g_list_foreach () from /opt/SMAWPlus/lib/libglib-1.2.so.0
#5  0x2248c0 in write_module_prefs ()
#6  0xfef67a10 in g_list_foreach () from /opt/SMAWPlus/lib/libglib-1.2.so.0
#7  0x22517c in write_prefs ()
#8  0x27d704 in main ()

Afterwards the file "preferences" is truncated (8192 Bytes).
 ...
No core dump is produced terminating ethereal if the menu Edit->Preferences was opened and closed before.

Thanks for help in advance
G. Blank
Fujitsu Siemens Computers


	Nice to see another Siemens person (I used
	to be at Sietec.ca)!

	Somerthing that will help you diagnose is
	truss: if you attach truss with
		truss -f -d -l -p <pid of process>
	just before exiting, and again jsut before
	Edit->Preferences and exiting, the difference
	in the behavior may help you pin down the
	problem.

--dave
--
David Collier-Brown,           | Always do right. This will gratify
Sun Microsystems DCMO          | some people and astonish the rest.
Toronto, Ontario               |
(905) 415-2849 or x52849       | davecb@xxxxxxxxxxxxxx