ftmemsim-valgrind/memcheck/tests/threadname_xml.stderr.exp
Florian Krohm abe71bded5 Followup to r13553 which caused some build failures.
(1) Detect availability of pthread_setname_np. Ignore testcases
    memcheck/tests/threadname[_xml] if not available.
(2) Enable _GNU_SOURCE to avold compiler warnings.
(3) In threadname_xml filter out stackframes referring to system
    libraries. Added tests/filter_xml_frames to do that.
(4) Adjust .exp files as needed
(5) Do not ship stdout.exp for memcheck/tests/threadname[_xml].


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13557
2013-09-17 20:15:36 +00:00

326 lines
6.5 KiB
XML

<?xml version="1.0"?>
<valgrindoutput>
<protocolversion>4</protocolversion>
<protocoltool>memcheck</protocoltool>
<preamble>
<line>...</line>
<line>...</line>
<line>...</line>
<line>...</line>
</preamble>
<pid>...</pid>
<ppid>...</ppid>
<tool>memcheck</tool>
<args>
<vargv>...</vargv>
<argv>
<exe>./threadname</exe>
</argv>
</args>
<status>
<state>RUNNING</state>
<time>...</time>
</status>
<error>
<unique>0x........</unique>
<tid>...</tid>
<kind>InvalidWrite</kind>
<what>Invalid write of size 1</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>main</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 1 alloc'd</auxwhat>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>malloc</fn>
<dir>...</dir>
<file>vg_replace_malloc.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>main</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
</error>
<error>
<unique>0x........</unique>
<tid>...</tid>
<kind>InvalidWrite</kind>
<what>Invalid write of size 1</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>child_fn_0</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>malloc</fn>
<dir>...</dir>
<file>vg_replace_malloc.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>child_fn_0</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
</error>
<error>
<unique>0x........</unique>
<tid>...</tid>
<threadname>try1</threadname>
<kind>InvalidWrite</kind>
<what>Invalid write of size 1</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>child_fn_1</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>malloc</fn>
<dir>...</dir>
<file>vg_replace_malloc.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>child_fn_1</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
</error>
<error>
<unique>0x........</unique>
<tid>...</tid>
<threadname>012345678901234</threadname>
<kind>InvalidWrite</kind>
<what>Invalid write of size 1</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>child_fn_2</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>malloc</fn>
<dir>...</dir>
<file>vg_replace_malloc.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>child_fn_2</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
</error>
<error>
<unique>0x........</unique>
<tid>...</tid>
<kind>InvalidWrite</kind>
<what>Invalid write of size 1</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>main</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 5 alloc'd</auxwhat>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>malloc</fn>
<dir>...</dir>
<file>vg_replace_malloc.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>bad_things</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
<fn>main</fn>
<dir>...</dir>
<file>threadname.c</file>
<line>...</line>
</frame>
</stack>
</error>
<status>
<state>FINISHED</state>
<time>...</time>
</status>
<errorcounts>
<pair>
<count>...</count>
<unique>0x........</unique>
</pair>
<pair>
<count>...</count>
<unique>0x........</unique>
</pair>
<pair>
<count>...</count>
<unique>0x........</unique>
</pair>
<pair>
<count>...</count>
<unique>0x........</unique>
</pair>
<pair>
<count>...</count>
<unique>0x........</unique>
</pair>
</errorcounts>
<suppcounts>...</suppcounts>
</valgrindoutput>