ARGUSBug Argus fails with symbol lookup error

Carter Bullard carter at qosient.com
Tue Oct 10 20:38:41 EDT 2017


Hey Greg,
Argus defines a pointer “space” in ./common/argus_filter.c.  on line 1178.
   nff_u_int32 *space;

and is used in the compiler optimizer for filtering argus records, on line 2871.  
Argus shouldn’t compile if there is a problem with the variable definition, as its defined, allocated, used and freed in the same .c, .o file.  

Is it possible that your argus is linking to a system installed argus_common.a, or a stale ./lib/argus_common.a library rather than statically linking to the one built by the source ???  Try

  % ldd /usr/local/sbin/argus. (Or its equivalent on your system)

To see what argus is linking to  ????

Carter

> On Oct 10, 2017, at 3:04 PM, Greg Grasmehr <greg.grasmehr at caltech.edu> wrote:
> 
>> Description:
> 
> After updating to latest kernel and updating Myricom SNF software and kernal object, then building Argus from source or using previously used Argus built from source, Argus fails on start with the following provided by systemctl
> 
> systemctl status argus.service
> ● argus.service - Start Argus daemon
>   Loaded: loaded (/usr/lib/systemd/system/argus.service; enabled; vendor preset: disabled)
>   Active: failed (Result: exit-code) since Tue 2017-10-10 11:43:45 PDT; 2min 9s ago
>  Process: 8988 ExecStart=/usr/local/sbin/argus (code=exited, status=127)
>  Process: 8986 ExecStartPre=/sbin/ifconfig p3p2 up (code=exited, status=0/SUCCESS)
> Main PID: 8988 (code=exited, status=127)
> 
> Oct 10 11:43:45 snuffle.caltech.edu systemd[1]: Started Start Argus daemon.
> Oct 10 11:43:45 snuffle.caltech.edu systemd[1]: Starting Start Argus daemon...
> Oct 10 11:43:45 snuffle.caltech.edu argus[8988]: /usr/local/sbin/argus: symbol lookup error: /usr/local/sbin/argus: undefined symbol: space
> Oct 10 11:43:45 snuffle.caltech.edu systemd[1]: argus.service: main process exited, code=exited, status=127/n/a
> Oct 10 11:43:45 snuffle.caltech.edu systemd[1]: Unit argus.service entered failed state.
> Oct 10 11:43:45 snuffle.caltech.edu systemd[1]: argus.service failed.
> 
>> How-To-Repeat:
> 
> Upgrade to latest RHEL 7.4 kernel and Myricom SNF version 3.0.12 then try to start Argus
> 
>> Fix:
> 
>> Submitter-Id:  <submitter ID>
>> Originator:    greg.grasmehr at caltech.edu
>> Organization:
>> California Institute of Technology Information Security
> 
>> Release:       argus-3.0
>> Product:       <[ argus | ra | ratop | racluster | rasort | racount | raxml] (one line)>
>> Synopsis:      Argus fails with symbol lookup error
>> Class:         sw-bug
>> Severity:      serious
>> Priority:      <[ low | medium | high ] (one line)>
>> Environment:   <machine, os, target, libraries (multiple lines)>
> 
> System:  Linux snuffle.caltech.edu 3.10.0-693.1.1.el7.x86_64 #1 SMP Thu Aug 3 08:15:31 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
> Arch:    x86_64
> 
> Paths:    /usr/local/sbin/argus /usr/local/bin/ra /bin/make /bin/gmake /bin/gcc /bin/cc
> 
> 
> RA:      Ra Version 3.0.8
> 
> 
> GCC:     Using built-in specs.
> COLLECT_GCC=/bin/gcc
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
> 
> LIBC:
> lrwxrwxrwx 1 root root 12 Oct  5 15:41 /lib/libc.so.6 -> libc-2.17.so
> -rwxr-xr-x 1 root root 2079172 Jun 16 10:20 /lib/libc-2.17.so
> lrwxrwxrwx 1 root root 12 Oct  5 15:41 /usr/lib/libc.so.6 -> libc-2.17.so
> -rwxr-xr-x 1 root root 2079172 Jun 16 10:20 /usr/lib/libc-2.17.so
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4045 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20171010/3886f741/attachment.bin>


More information about the argus mailing list