Some errors with SIGSEGV
Ethan Galstad
nagios at nagios.org
Thu Mar 29 18:58:01 CEST 2007
Thanks for the research Hendrik - As mentioned in later posts, it would
appear from your findings that the threading libraries may be a problem.
Hendrik Baecker wrote:
> <snip_all>
>
> Hi,
>
> I've started a discussion thread on the german nagios-portal.de to
> animate different users to do some testing against latest cvs code.
>
> Following information where asked:
>
> 1. Operatingsystem + Version
> 2. Kernelversion
> 3. gcc -v
> 4. ldd against nagios binary
> 5. state of nagios
>
> Following results came back up to now but I am not able to see a single
> hint - "Crash Users" at the end of the list:
>
> If there are more information we should supply, please feel free to tell
> us what we should provice more.
>
> ##### User 1 (mess)- Nagios running fine without SIGSEGV #####
>
> 1. OS: Ubuntu 6.10
> 2. Linux galadriela 2.6.17-11-386 #2 Thu Feb 1 19:50:13 UTC 2007 i686
> GNU/Linux
> 3. gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang
> --prefix=/usr --enable-shared --with-system-zlib
> --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls --program-suffix=-4.1
> --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --enable-checking=release
> i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
> 4. ldd /usr/local/nagios/bin/nagios
> linux-gate.so.1 => (0xffffe000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f05000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ef2000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7eed000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7e5b000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d27000)
> /lib/ld-linux.so.2 (0xb7f3f000)
> librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7d1e000)
> 5. Nagios running fine!!!
>
> ##### User 2 (myself)- Nagios running fine without SIGSEGV#####
>
> 1. OS: Ubuntu 6.10 (Edgy Eft) (i686)
> 2. uname -a: Linux abby 2.6.20-custom #1 SMP Tue Feb 27 18:45:20 CET
> 2007 i686 GNU/Linux (kein Distrokernel)
> 3. gcc -v:Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang
> --prefix=/usr --enable-shared --with-system-zlib
> --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls --program-suffix=-4.1
> --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --enable-checking=release
> i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
> 4. ldd:ldd /usr/local/nagios-clean/bin/nagios
> linux-gate.so.1 => (0xffffe000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f46000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f33000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f2e000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7dfa000)
> /lib/ld-linux.so.2 (0xb7f7d000)
> 5. Nagios running fine!!!
>
>
> ##### User 3 (cybit) - Nagios running fine without SIGSEGV#####
>
> 1. OS: Ubuntu 6.10
> 2. Linux galadriela 2.6.17-11-386 #2 Thu Feb 1 19:50:13 UTC 2007 i686
> GNU/Linux
> 3. gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang
> --prefix=/usr --enable-shared --with-system-zlib
> --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls --program-suffix=-4.1
> --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --enable-checking=release
> i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
> 4. ldd /usr/local/nagios/bin/nagios
> linux-gate.so.1 => (0xffffe000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f05000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ef2000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7eed000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7e5b000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d27000)
> /lib/ld-linux.so.2 (0xb7f3f000)
> librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7d1e000)
> 5. Nagios running fine!!!
>
>
> ##### User 4 (pitchfork) - Nagios running fine without SIGSEGV#####
>
> 1. OS OpenSuSE 10.2 PPC
> 2. uname -a Linux lpa117 2.6.18.2-34-ppc64 #1 SMP Mon Nov 27 11:46:27
> UTC 2006 ppc64 ppc64 ppc64 GNU/Linux
> 3. gcc -v Using built-in specs.
> Target: powerpc64-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr
> --with-local-prefix=/usr/local --infodir=/usr/share/info
> --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
> --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
> --enable-checking=release
> --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp
> --disable-libssp --disable-libgcj --with-slibdir=/lib
> --with-system-zlib --enable-shared --enable-__cxa_atexit
> --enable-libstdcxx-allocator=new --program-suffix=-4.1
> --enable-version-specific-runtime-libs --without-system-libunwind
> --with-cpu=default32 --enable-secureplt --with-long-double-128
> --host=powerpc64-suse-linux
> Thread model: posix
> gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
> 4. ldd /usr/local/nagios/bin/nagios
> linux-vdso32.so.1 => (0x00100000)
> libm.so.6 => /lib/power5/libm.so.6 (0x0ff35000)
> libpthread.so.0 => /lib/power5/libpthread.so.0 (0x0fefc000)
> libdl.so.2 => /lib/libdl.so.2 (0x0fed8000)
> libc.so.6 => /lib/power5/libc.so.6 (0x0fd5d000)
> /lib/ld.so.1 (0xf7fe1000)
> 5. Nagios running fine!!!
>
>
> ##### User 5 (asa) - Nagios running fine without SIGSEGV#####
>
> 1. OS SuSe Linux Enterprise Server 9 (SLES9) x86
> 2. uname -a Linux <hostname> 2.6.5-7.244-default #1 Mon Dec 12
> 18:32:25 UTC 2005 i686 i686 i386 GNU/Linux
> 3. gcc -v
> Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr
> --with-local-prefix=/usr/local --infodir=/usr/share/info
> --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
> --disable-checking --libdir=/usr/lib --enable-libgcj
> --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
> --with-system-zlib --enable-shared --enable-__cxa_atexit
> i586-suse-linux
> Thread model: posix
> gcc version 3.3.3 (SuSE Linux)
> 4. ldd /usr/local/nagios3/bin/nagios
> linux-gate.so.1 => (0xffffe000)
> libm.so.6 => /lib/tls/libm.so.6 (0x40030000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40052000)
> libltdl.so.3 => /usr/lib/libltdl.so.3 (0x40062000)
> libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x40069000)
> libc.so.6 => /lib/tls/libc.so.6 (0x400d6000)
> /lib/ld-linux.so.2 (0x40000000)
> libdl.so.2 => /lib/libdl.so.2 (0x401f0000)
> 5. Nagios running fine!!!
>
>
> ##### User 6 (mess - system nr 2) - Nagios running fine without SIGSEGV#####
>
> 1. OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
> 2. uname -a: Linux xxxxxxxxxx 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST
> 2006 i686 i686 i386 GNU/Linux
> 3. gcc -v:
> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
> Configured with: ../configure --prefix=/usr
> --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
> --enable-threads=posix --disable-checking --with-system-zlib
> --enable-__cxa_atexit --disable-libunwind-exceptions
> --enable-java-awt=gtk --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
> 4. ldd /usr/local/nagios/bin/nagios
> linux-gate.so.1 => (0xffffe000)
> libm.so.6 => /lib/libm.so.6 (0xb7f64000)
> libpthread.so.0 => /lib/libpthread.so.0 (0xb7f4c000)
> libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb7f45000)
> libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0xb7eb0000)
> libc.so.6 => /lib/libc.so.6 (0xb7d81000)
> /lib/ld-linux.so.2 (0xb7fa9000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7d7d000)
> librt.so.1 => /lib/librt.so.1 (0xb7d74000)
> 5. Nagios running fine!!!
>
>
> ##### User 7 (flitti) - SIGSEGV detected #####
>
> 1. OS: Debian Sarge Netinstall (inkl. aptitude upgrade) [vergleichbar
> mit 3.1rev5]
> 2. uname -a Linux nagios-test 2.6.20.1 #1 SMP PREEMPT Tue Feb 27
> 13:04:57 CET 2007 i686 GNU/Linux
> 3. gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
> Configured with: ../src/configure -v
> --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
> --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
> --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
> --enable-__cxa_atexit --with-system-zlib --enable-nls
> --without-included-gettext --enable-clocale=gnu --enable-debug
> --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
> i486-linux
> Thread model: posix
> gcc version 3.3.5 (Debian 1:3.3.5-13)
> 4. ldd /usr/local/nagios/bin/nagio libm.so.6 => /lib/tls/libm.so.6
> (0xb7f62000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f52000)
> libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f4f000)
> libc.so.6 => /lib/tls/libc.so.6 (0xb7e1a000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7f8a000)
> 5. Nagios crashes even when a check was started!!!
>
>
> ##### User 8 (fwe) - SIGSEGV detected #####
>
> 1. OS: Debian 3.1
> 2. uname -a: Linux grp-nagios 2.6.8-3-386 #1 Wed Dec 6 00:38:53 UTC
> 2006 i686 GNU/Linux
> 3. gcc -v
> Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.5/specs
> Konfiguriert mit: ../src/configure -v
> --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
> --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
> --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
> --enable-__cxa_atexit --with-system-zlib --enable-nls
> --without-included-gettext --enable-clocale=gnu --enable-debug
> --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
> i486-linux
> Thread-Modell: posix
> gcc-Version 3.3.5 (Debian 1:3.3.5-13)
> 4. ldd /usr/local/nagios/bin/nagios
> libm.so.6 => /lib/tls/libm.so.6 (0x4001c000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4003e000)
> libdl.so.2 => /lib/tls/libdl.so.2 (0x4004e000)
> libc.so.6 => /lib/tls/libc.so.6 (0x40051000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 5. Nagios crashes even when a check was started!!!
>
> End of List
>
> -------------------------------------------------------------------------
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
More information about the Developers
mailing list