Menu

#19 AIX 5.x Segmentation fault on --init

closed
None
5
2004-11-02
2004-04-14
No

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.

Discussion

  • Marc P. Davignon

    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.

     
  • Richard van den Berg

    • assigned_to: nobody --> rvdb
    • status: open --> closed
     
  • Richard van den Berg

    Logged In: YES
    user_id=330646

    I added a note about this to the README file in CVS.

     

Log in to post a comment.