#11 Segfault on Linux Sparc

closed
None
5
2004-11-02
2003-12-06
Norrin Radd
No

Using aide 0.10 and mhash 0.8.18.

Both configure and compile fine but aide segfaults when
doing --config-check or --init.

Linux 2.4, glibc 2.2.5 on Sparc 64.

Discussion

  • Richard van den Berg

    Logged In: YES
    user_id=330646

    Can you please try the latest CVS version, or apply the
    patch that solves bug 851671? If aide still segfaults,
    please provide a gdb backtrace or equivalent.

     
  • Richard van den Berg

    • assigned_to: nobody --> rvdb
    • status: open --> pending
     
  • Norrin Radd

    Norrin Radd - 2003-12-08
    • status: pending --> open
     
  • Norrin Radd

    Norrin Radd - 2003-12-08

    Logged In: YES
    user_id=925294

    Just downloaded and complied CVS version with same result. I
    am not familiar with gdb but hope this is what you were after:

    [root@www]# gdb /usr/local/bin/aide
    GNU gdb Red Hat Linux (5.2-2)
    Copyright 2002 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 "sparc-redhat-linux"...
    (gdb) set args --config=/etc/aide/aide.conf --config-check
    (gdb) run
    Starting program: /usr/local/bin/aide
    --config=/etc/aide/aide.conf --config-check

    Program received signal SIGSEGV, Segmentation fault.
    0x000593e4 in Letext ()

     
  • Norrin Radd

    Norrin Radd - 2003-12-08

    Logged In: YES
    user_id=925294

    DOH,.. I reckon you were looking for this:

    (gdb) backtrace
    #0 0x000593e4 in Letext ()
    #1 0x000455f4 in vfprintf ()
    #2 0x00048680 in buffered_vfprintf ()
    #3 0x000439c8 in vfprintf ()
    #4 0x00013060 in error (errorlevel=-268438228,
    error_msg=0xad860 "%i:%s:%s\n") at error.c:165
    #5 0x000109dc in confparse () at
    /usr/share/bison/bison.simple:799
    #6 0x0001489c in commandconf (mode=-56 '', line=0xea2d4
    "") at commandconf.c:165
    #7 0x0001e8a8 in main (argc=3, argv=0xeffffba4) at aide.c:417

     
  • Richard van den Berg

    • status: open --> closed
     
  • Richard van den Berg

    Logged In: YES
    user_id=330646

    I belive this is fixed in the latest CVS version.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks