Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2016 13:57:32 +0200
From:      Patrick Lamaiziere <patfbsd@davenulle.org>
To:        freebsd-stable@freebsd.org
Subject:   10.3-RELEASE amd64 segmentation faults in wc, sh...
Message-ID:  <20160630135732.76f27305@mr185083>

next in thread | raw e-mail | index | archive | help
Hello,

I'm building a pair of firewall with 10.3 and I see some rare
segmentation faults (5 in a week) in processes like wc, sh or ifstated.

wc, sh are used by some scripts who check the state of the interfaces
and the state of bgp sessions. Ifstated called theses scripts too.

I thought there was a bug in ifstated so I made a small program in
perl to do the same thing but the problem is not in ifstated.

The machines are some Dell R730, I've checked the memory with
memtest86 for one week without error. The problem occurs on both
firewalls so i don't think this is a hardware problem.

Any idea? 

Thanks, regards.

ifstated
--------
Core was generated by `ifstated'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libevent-2.0.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libevent-2.0.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000800e23a67 in pthread_getspecific () from /lib/libthr.so.3
Cannot find new threads: generic error

sh
--
Core was generated by `sh'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000080063351b in _rtld_atfork_post () from /libexec/ld-elf.so.1

wc
--
Core was generated by `wc'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000800612524 in _rtld_atfork_post () from /libexec/ld-elf.so.1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160630135732.76f27305>