Debugging Dynamic Memory Usage Errors Using HP WDB (5900-1474; WDB 6.2; January 2011)

$ cat memtest.8494.mem
-----------------------------------------
Attempt to free unallocated or already freed object at 0x4006e7b0
(0) 0x60000000cac1bdc0 print_stack_trace_to_log_file + 0x1d0 at
../../../Src/gnu/gdb/infrtc.c:996
[/opt/langtools/lib/hpux32/librtc.sl]
(1) 0x60000000cac1d3e0 __rtc_event + 0x160 at
../../../Src/gnu/gdb/infrtc.c:1296
[/opt/langtools/lib/hpux32/librtc.sl]
(2) 0x60000000cac22da0 rtc_record_free + 0x380 at
../../../Src/gnu/gdb/infrtc.c:2651
[/opt/langtools/lib/hpux32/librtc.sl]
(3) 0x60000000cac17200 __rtc_free + 0x160 at
../../../Src/gnu/gdb/infrtc.c:2977
[/opt/langtools/lib/hpux32/librtc.sl]
(4) 0x0000000004000bc0 main + 0x230 at memtest.c:25[memtest]
(5) 0x60000000c0029000 main_opd_entry + 0x50[/usr/lib/hpux32/dld.so]
$ cat .//memtest.8494.leaks
40 bytes leaked in 10 blocks
No. Total bytes Blocks Address Function
0 40 10 0x4006e7d0 main()
------------------------------------------------------------
Detailed Report
------------------------------------------------------------
40 bytes leaked in 10 blocks (100.00% of all bytes leaked)
These range in size from 4 to 4 bytes and are allocated
#0 main() at memtest.c:19
#1 main_opd_entry() from /usr/lib/hpux32/dld.so
------------------------------------------------------------
$ cat memtest.8494.heap
40 bytes allocated in 10 blocks
No. Total bytes Blocks Address Function
0 40 10 0x4006e8f0 main()
------------------------------------------------------------
Detailed Report
------------------------------------------------------------
40 bytes in 10 blocks (100.00% of all bytes allocated)
These range in size from 4 to 4 bytes and are allocated
#0 main() at memtest.c:19
Supported Modes of Memory-debugging in WDB 71