|
From: Joe V. A. <van...@at...> - 2003-10-16 13:22:22
|
Using RH 9.0 and gcc 3.2.2, valgrind exits with an assertion failure: valgrind -v --gdb-attach=yes merge_beam -v ==16807== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==16807== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==16807== Using valgrind-20031012, a program supervision framework for x86-linux. ==16807== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==16807== Command line: ==16807== merge_beam ==16807== -v ==16807== Startup, with flags: ==16807== --suppressions=/opt/local_rh90/lib/valgrind/default.supp ==16807== -v ==16807== --gdb-attach=yes ==16807== Reading syms from /code/vanandel/raddx/spol/merge_beam/merge_beam ==16807== Reading syms from /lib/ld-2.3.2.so ==16807== object doesn't have any debug info ==16807== Reading syms from /net/opt_lnx/local_rh90/lib/valgrind/vgskin_memcheck.so ==16807== Reading syms from /net/opt_lnx/local_rh90/lib/valgrind/valgrind.so ==16807== Reading syms from /net/opt_lnx/ACE-5.3/ace/libACE.so.5.3.0 ==16807== Reading syms from /net/opt_lnx/local_rh90/lib/libdb_cxx-4.1.so ==16807== Reading syms from /net/opt_lnx/local_rh90/lib/libdb-4.1.so ==16807== Reading syms from /net/local_lnx/gcc/3.2.2-redhat8.0/lib/liblog4cpp.so.3.1.3 ==16807== Reading syms from /usr/lib/libstdc++.so.5.0.3 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /lib/tls/libm-2.3.2.so ==16807== object doesn't have any debug info ==16807== Reading syms from /net/local_lnx/gcc/3.2.2-redhat8.0/lib/libgcc_s.so.1 ==16807== Reading syms from /net/opt_lnx/local_rh90/lib/valgrind/libpthread.so ==16807== Reading syms from /lib/libdl-2.3.2.so ==16807== object doesn't have any debug info ==16807== Reading syms from /lib/tls/librt-2.3.2.so ==16807== object doesn't have any debug info ==16807== Reading syms from /net/opt_lnx/qt-3.1.2/lib/libqt-mt.so.3.1.2 ==16807== Reading syms from /lib/libnsl-2.3.2.so ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libXft.so.2.1 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/lib/libfontconfig.so.1.0 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/lib/libpng12.so.0.1.2.2 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/lib/libz.so.1.1.4 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /net/opt_lnx/local_rh90/lib/libGL.so.1.4.501 ==16807== Reading syms from /usr/X11R6/lib/libXmu.so.6.2 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libXrender.so.1.2 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/lib/libfreetype.so.6.3.2 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libXext.so.6.4 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libX11.so.6.2 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libSM.so.6.0 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libICE.so.6.3 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/lib/libexpat.so.0.4.0 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libXi.so.6.0 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /usr/X11R6/lib/libXt.so.6.0 ==16807== object doesn't have a symbol table ==16807== object doesn't have any debug info ==16807== Reading syms from /lib/tls/libc-2.3.2.so ==16807== object doesn't have any debug info ==16807== Reading suppressions file: /opt/local_rh90/lib/valgrind/default.supp ==16807== Estimated CPU clock rate is 2796 MHz ==16807== REPLACING libc(__GI___errno_location) with libpthread(__errno_location) ==16807== REPLACING libc(__GI___h_errno_location) with libpthread(__h_errno_location) ==16807== REPLACING libc(__GI___res_state) with libpthread(__res_state) ==16807== valgrind: vg_ldt.c:167 (vgPlain_do_useseg): Assertion `(seg_selector & 7) == 7' failed. sched status: Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==16807== at 0x42029E51: __new_exitfn (in /lib/tls/libc-2.3.2.so) ==16807== by 0x42029E08: __cxa_atexit_internal (in /lib/tls/libc-2.3.2.so) ==16807== by 0x40611727: (within /usr/lib/libstdc++.so.5.0.3) ==16807== by 0x40611779: (within /usr/lib/libstdc++.so.5.0.3) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: js...@ac... In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. -- Joe VanAndel National Center for Atmospheric Research http://www.atd.ucar.edu/~vanandel/ Internet: vanandel at ucar dot edu |