Jamie McClelland writes:

> I started getting email messages from the sysstat cron job reporting the
> segmentation fault.

When did you start receiving those e-mails? Just after upgrade systat to
11.5.7 or later i.e. did version 11.5.7 work, but then stopped for some
reason?

> 
> root@turkey:~# /usr/lib/sysstat/sadc -F -L -S DISK 1 1 /var/log/sysstat
> Segmentation fault
> root@turkey:~#
> 
> Here's an strace:
> 
> open("/etc/mtab", O_RDONLY)             = 3
> fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> read(3, "sysfs /sys sysfs rw,nosuid,nodev"..., 1024) = 1024
> [...]
> statfs("0", 0x7ffef1ab0890)             = -1 ENOENT (No such file or 
> directory)
> read(3, "y2/l/7EEOV2FTKYKCYQJPMOALKJSL3M:"..., 1024) = 1024
> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} ---

Looks like the last file read was /etc/mtab (which should be a symlink
to /proc/self/mtab). Even though the beginning of the file looks pretty
usual, then something in this file causes sadc to crash.

Could you please send the contents of the /etc/mtab file, especially the
lines around the "y2/l/7EEOV2FTKYKCYQJPMOALKJSL3M" string? In case it
contain data you don't want to share into public, e.g. server names or
paths on remote servers, please obfuscate it.

Thanks a lot,
robert

Reply via email to