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: "Blank, Georg" <Georg.Blank@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Mar 2003 15:18:34 +0100
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).
Here is the output of "tail preferences":

When enabled, pdus are assumed to contain a header digest
# TRUE or FALSE (case-insensitive).
iscsi.enable_header_digests: FALSE

# When enabled, pdus are assumed to contain a data digest
# TRUE or FALSE (case-insensitive).
iscsi.enable_data_digests: FALSE

# When enabled, header digests are assumed to be CRC32C
# TRUE or FALSE (cas

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