Tripwire segmentation fault - amd64 - 9.0-RC2 in _malloc_postfork

Henri Hennebert hlh at restart.be
Thu Nov 10 14:38:46 UTC 2011


Hello,

On 2 systems running 9.0-RC2 amd64 tripwire segfault.

The problem occurs during `tripwire --check` after +/- 20 minutes of 
execution:

Here is the bt

[root at tignes tripwire]# gdb ./tripwire
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging 
symbols found)...
(gdb) run --check
Starting program: 
/usr/ports/security/tripwire/work/tripwire-2.4.1.2-src/src/tripwire/tripwire 
--check
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...Parsing policy file: 
/usr/local/etc/tripwire/tw.pol
*** Processing Unix File System ***
Performing integrity check...
The object: "/var/spool/httpd/tignes/htdocs/Xfer/Henri_2006_11_24" is on 
a different file system...ignoring.

Program received signal SIGSEGV, Segmentation fault.
0x00000008014efb12 in _malloc_postfork () from /lib/libc.so.7
(gdb) bt
#0  0x00000008014efb12 in _malloc_postfork () from /lib/libc.so.7
#1  0x00000008014ef158 in realloc () from /lib/libc.so.7
#2  0x00000008014ef385 in free () from /lib/libc.so.7
#3  0x00000000004c6181 in cFileUtil::IsRegularFile ()
#4  0x0000000000499dbb in WriteObject ()
#5  0x000000000049c429 in cTWUtil::WriteReport ()
#6  0x000000000042709a in cTWModeIC::Execute ()
#7  0x000000000041cf85 in main ()

Under 9.0-RC1 I encounter no problem at all

Henri

PS - on another system under 9.0-RC2 i386 tripwire run smoothly


More information about the freebsd-stable mailing list