|
From: Bart V. A. <bar...@gm...> - 2008-05-20 13:35:43
|
Hello, When I compile the CROSS_COMPILATION branch on PPC64 and when I run the command below, Valgrind aborts because of a fatal emulation error. The same command works fine on x86. Does anyone have any idea how I can find out more information about the cause of this issue ? $ VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place $PWD/coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck exp-drd/tests/pth_create_chain 100 ==1467== exp-drd, a data race detector. ==1467== NOTE: This is an Experimental-Class Valgrind Tool. ==1467== Copyright (C) 2006-2008, and GNU GPL'd, by Bart Van Assche. ==1467== Using LibVEX rev 1849M, a library for dynamic binary translation. ==1467== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==1467== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework. ==1467== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==1467== For more details, rerun with: -v ==1467== ==1467== Emulation fatal error -- Valgrind cannot continue: ==1467== PPC64 function redirection stack overflow ==1467== at 0x0: ??? ==1467== by 0x80EEBCB28C: pthread_create@@GLIBC_2.3 (in /lib64/libpthread-2.5.so) ==1467== by 0x4029BC0: pthread_create* (drd_pthread_intercepts.c:288) ==1467== by 0x10000770: thread_func (pth_create_chain.c:22) ==1467== by 0x4029D84: vg_thread_wrapper (drd_pthread_intercepts.c:186) ==1467== by 0x80EEBCB8C4: start_thread (in /lib64/libpthread-2.5.so) ==1467== by 0x80EEA14F2C: clone (in /lib64/libc-2.5.so) ==1467== ==1467== Valgrind has to exit now. Sorry. ==1467== Bart. |