|
From: Manish M. <mma...@sp...> - 2005-10-02 20:38:52
|
Hello All,
I ran mysql tests under Valgrind with XML output. Looks like after each
test Valgrind completes the </valgrindoutput> and then for the next test
it just carries on without starting the <valgrindoutput> starting tag,
although this should not happen, the </valgrindoutput> tag should be
completed in the end. Something weired. Here is some part of the xml
output
<?xml version="1.0"?>
<valgrindoutput>
<protocolversion>1</protocolversion>
<preamble>
<line>Memcheck, a memory error detector.</line>
<line>Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et
al.</line>
<line>Using LibVEX rev 1367, a library for dynamic binary
translation.</line>
<line>Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.</line>
<line>Using valgrind-3.0.1, a dynamic binary instrumentation
framework.</line>
<line>Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et
al.</line>
</preamble>
<pid>21021</pid>
<ppid>23845</ppid>
<tool>memcheck</tool>
<args>
<vargv>
<exe>valgrind</exe>
<arg>--xml=yes</arg>
<arg>--demangle=yes</arg>
<arg>--verbose</arg>
<arg>--show-below-main=yes</arg>
</vargv>
<argv>
<exe>/bin/sh</exe>
<arg>./mysql-test-run.sh</arg>
<arg>--force</arg>
<arg>--skip-bdb</arg>
<arg>--ps-protocol</arg>
<arg>|</arg>
<arg>tee</arg>
<arg>/tmp/valgrind-mysqltest.xml</arg>
</argv>
</args>
<status> <state>RUNNING</state> <time>2005-09-29 16:33:00.065</time>
</status>
./mysql-test-run.sh: line 31: ulimit: open files: cannot modify limit:
Operation not permitted
<errorcounts>
</errorcounts>
<status> <state>FINISHED</state> <time>2005-09-29 16:33:02.350</time>
</status>
<suppcounts>
<pair> <count>3</count> <name>index-not-intercepted-early-enough-
HACK-3</name> </pair>
<pair> <count>21</count> <name>Ugly strchr error
in /lib/ld-2.3.3.so</name> </pair>
</suppcounts>
</valgrindoutput> <------------------- [ VALGRIND ENDED THE FILE
HERE, ]
<error> <-------- [FOR THE NEXT TEST IT CARRIED ON WITH <error>
TAG]
<unique>0x18</unique>
<tid>1</tid>
<kind>InvalidRead</kind>
<what>Invalid read of size 4</what>
<stack>
<frame>
<ip>0x1B940D57</ip>
<obj>/lib/tls/libc-2.3.3.so</obj>
<fn>sigprocmask</fn>
</frame>
<frame>
<ip>0x8068B7D</ip>
<obj>/bin/bash</obj>
</frame>
<frame>
|