AIX 5.x Segmentation fault on --init
Brought to you by:
hvhaugwitz,
rvdb
Was able to compile versions 0.9, 0.10, and the latest
CVS version as of today successfully.
I ran aide --init through gdb and received the
following output:
(gdb) set args --init
(gdb) run
Starting program: /opt/freeware/bin/aide --init
Program received signal SIGSEGV, Segmentation fault.
0xd020f4e8 in match_re ()
(gdb)
Not sure where the match_re function comes from.
I've noticed several other posts for 0.9 on AIX 4.3.3
and would love to know if anyone has a fix.
Logged In: YES
user_id=643550
Added --with-gnu-regexp at compile time for --init
Segmentation fault fix.
Turns out that match_re() is an AIX libc regexp function
which is apparently not compatible with GNU regexp.
Looks like --with-gnu-regexp should be the default when
compiling on AIX 5.1 or 5.2.
Logged In: YES
user_id=330646
I added a note about this to the README file in CVS.