[Tux3] Assert failure
Pranith Kumar
bobby.prani at gmail.com
Thu Nov 27 02:37:13 PST 2008
Got an assert failure, details below...
valgrind --error-exitcode=200 --leak-check=full ./dleaf
==18585== Memcheck, a memory error detector.
==18585== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==18585== Using LibVEX rev 1804, a library for dynamic binary translation.
==18585== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==18585== Using valgrind-3.3.0-Debian, a dynamic binary
instrumentation framework.
==18585== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==18585== For more details, rerun with: -v
==18585==
--- leaf test ---
dwalk_probe: probe for 0x3000055
dwalk_probe: extent = 0, exstop = 0
dwalk_pack: group -1/0
dwalk_pack: add entry 0x3001001
dwalk_pack: add group 0
dwalk_pack: add extent 0
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001002
dwalk_pack: add extent 1
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001003
dwalk_pack: add extent 2
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001004
dwalk_pack: add extent 3
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001005
dwalk_pack: add extent 4
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001006
dwalk_pack: add extent 5
1 entry groups:
0/6: 3001001 => 1/1; 3001002 => 2/1; 3001003 => 3/1; 3001004 => 4/1;
3001005 => 5/1; 3001006 => 6/1;
dwalk_probe: probe for 0x0
dwalk_probe: extent = 0, exstop = 0
dwalk_pack: group -1/0
dwalk_pack: add entry 0x3001000001
dwalk_pack: add group 0
dwalk_pack: add extent 0
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001000002
dwalk_pack: add extent 1
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001000003
dwalk_pack: add extent 2
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001000004
dwalk_pack: add extent 3
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3001000005
dwalk_pack: add extent 4
dwalk_pack: group 1/1
dwalk_pack: add entry 0x3002000000
dwalk_pack: add group 1
dwalk_pack: add extent 5
dwalk_pack: group 3/2
dwalk_pack: add entry 0x3002000001
dwalk_pack: add extent 6
dwalk_probe: probe for 0x0
dwalk_probe: extent = 0, exstop = 0
dwalk_next: walk extent = 0, exstop = 0
dwalk_next: at entry -1/5
dwalk_next: next extent 0x3001000001 => 1/1
dwalk_next: walk extent = 0, exstop = 1
dwalk_next: at entry 0/5
dwalk_next: walk extent = 1, exstop = 1
dwalk_next: at entry 0/5
dwalk_next: next extent 0x3001000002 => 2/1
dwalk_next: walk extent = 1, exstop = 2
dwalk_next: at entry 1/5
dwalk_next: walk extent = 2, exstop = 2
dwalk_next: at entry 1/5
dwalk_next: next extent 0x3001000003 => 3/1
dwalk_next: walk extent = 2, exstop = 3
dwalk_next: at entry 2/5
dwalk_next: walk extent = 3, exstop = 3
dwalk_next: at entry 2/5
dwalk_next: next extent 0x3001000004 => 4/1
dwalk_next: walk extent = 3, exstop = 4
dwalk_next: at entry 3/5
dwalk_next: walk extent = 4, exstop = 4
dwalk_next: at entry 3/5
dwalk_next: next extent 0x3001000005 => 5/1
dwalk_next: walk extent = 4, exstop = 5
dwalk_next: at entry 4/5
dwalk_next: walk extent = 5, exstop = 5
dwalk_next: at entry 4/5
dwalk_next: next group, end = 0
dwalk_next: exbase => a
dwalk_next: extent => a
dwalk_next: next extent 0x3002000000 => a/1
dwalk_next: walk extent = 5, exstop = 6
dwalk_next: at entry 0/2
dwalk_next: walk extent = 6, exstop = 6
dwalk_next: at entry 0/2
dwalk_next: next extent 0x3002000001 => b/1
dwalk_next: walk extent = 6, exstop = 7
dwalk_next: at entry 1/2
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: exstop => b
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: back one group
dwalk_back: exbase => 1
dwalk_back: entry offset = 4
dwalk_back: exstop => a
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: exstop => 5
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: exstop => 4
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: exstop => 3
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: exstop => 2
dwalk_back: back one extent
dwalk_back: back one entry
dwalk_back: back one group
dwalk_back: at start
dwalk_probe: probe for 0x1000044
dwalk_probe: extent = 0, exstop = 0
dwalk_back: Failed assertion "walk->extent > walk->exbase"!
==18585==
==18585== Process terminating with default action of signal 5 (SIGTRAP)
==18585== at 0x804CBB3: dwalk_back (dleaf.c:483)
==18585== by 0x804E541: main (dleaf.c:133)
==18585==
==18585== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 11 from 1)
==18585== malloc/free: in use at exit: 1,024 bytes in 1 blocks.
==18585== malloc/free: 2 allocs, 1 frees, 2,048 bytes allocated.
==18585== For counts of detected errors, rerun with: -v
==18585== searching for pointers to 1 not-freed blocks.
==18585== checked 61,864 bytes.
==18585==
==18585== LEAK SUMMARY:
==18585== definitely lost: 0 bytes in 0 blocks.
==18585== possibly lost: 0 bytes in 0 blocks.
==18585== still reachable: 1,024 bytes in 1 blocks.
==18585== suppressed: 0 bytes in 0 blocks.
==18585== Reachable blocks (those to which a pointer was found) are not shown.
==18585== To see them, rerun with: --leak-check=full --show-reachable=yes
make: *** [dleaftest] Trace/breakpoint trap
--
Pranith.
_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3
More information about the Tux3
mailing list