[Flac-dev] FLAC 1.0.5 beta1 released

Miroslav Lichvar
2004-09-10T16:45:38Z

On Fri, Jan 03, 2003 at 01:42:57AM -0500, Asheesh Laroia
wrote:
> I have an Athlon Thunderbird 1Ghz sitting running all alone in my dorm
> room while I'm at home for six weeks.  I figure I'll run these
tests just
> to give the poor machine something to do.
>
> Seeing as 3DNow! extensions seem to enabled by default, I'll give them
a
> whir.  I'm running Debian unstable's latest GCC 3.2 prerelease as
its compiler.
>
> export CC="gcc-3.2"
> export CXX="g++-3.2"
> ./configure --enable-valgrind-testing
> make
>
> I'm waiting for the make check now.  Will 'make check' do the
valgrind
> tests?  Are there any other automated tests I can run remotely?
>
> For the record, I already get:
>
> 	make[3]: Entering directory `/tmp/flac-1.0.5_beta1/test'
> 	FAIL: ./test_libFLAC.sh
> 	FAIL: ./test_libFLAC++.sh
> 	FAIL: ./test_libOggFLAC.sh
> 	FAIL: ./test_libOggFLAC++.sh

Same here. I guess valgrind doesn't like scripts generated by
automake's makefiles, maybe something with library preloading... And
if it doesn't fail (in case there are .libs/lt-* binaries) it will run
in normal speed, weird.

Snip from valgrind log:

VG_(mash_LD_PRELOAD_and_LD_LIBRARY_PATH): internal error:
   what                = 0
   ld_preload_str      = `/tmp/valgrind-1.0.4/lib/valgrind/valgrind.so:'
   ld_library_path_str = `(null)'
   p_prel              = `(null)'
   p_path              = `(null)'
   VG_LIBDIR           = `/tmp/valgrind-1.0.4/lib'

Note that this is often caused by mis-installation of valgrind.
Correct installation procedure is:
   ./configure --prefix=/install/dir
   make install
And then use /install/dir/bin/valgrind
Moving the installation directory elsewhere after 'make install'
will cause the above error.  Hand-editing the paths in the shell
scripts is also likely to cause problems.


valgrind: the `impossible' happened:
   VG_(mash_LD_PRELOAD_and_LD_LIBRARY_PATH) failed

Basic block ctr is approximately 3400000

sched status:

Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0
==30826==    at 0x40332AAE: (within /lib/libc-2.2.5.so)
==30826==    by 0x806A288: shell_execve (in /bin/bash)
==30826==    by 0x806A14A: (within /bin/bash)
==30826==    by 0x80696E6: (within /bin/bash)
==30826==    by 0x8066B6E: execute_command_internal (in /bin/bash)
==30826==    by 0x8067C21: (within /bin/bash)
==30826==    by 0x8066D9E: execute_command_internal (in /bin/bash)
==30826==    by 0x806779D: (within /bin/bash)
==30826==    by 0x80668B1: execute_command_internal (in /bin/bash)
==30826==    by 0x80915E3: parse_and_execute (in /bin/bash)
==30826==    by 0x8090D5C: eval_builtin (in /bin/bash)
...


--
Miroslav Lichvar