|
From: Philippe W. <phi...@sk...> - 2011-10-28 22:05:45
|
> When I ran the full 'make regtest' on my Fedora16/POWER7 system, then only one gdbserver test failed -- and no hangs.
> The one failing testcase was mcmain_pic, just like my earlier run. The *.out files you asked for are attached.
It looks like the main_pic executable is crashing because an error is detected by the dynamic loader:
...
--7332:1:gdbsrv getpkt ("Hc0"); [no ack]
--7332:1:gdbsrv putpkt ("$E01#a6"); [no ack]
--7332:1:gdbsrv getpkt ("c"); [no ack]
--7332:1:gdbsrv set_desired_inferior use_general 0 found 0x0 tid 1 lwpid 7332
--7332:1:gdbsrv resume_info thread -1 leave_stopped 0 step 0 sig 0 stepping 0
--7332:1:gdbsrv stop pc is 0x800BFE75A0
--7332:1:transtab allocate sector 0
--7332-- TT/TC: initialise sector 0
--7332:1:mallocfr newSuperblock at 0x405030000 (pszB 65504) owner VALGRIND/ttaux
--7332-- REDIR: 0x800c003fb0 (strlen) redirected to 0x3807c1a0 (vgPlain_ppc64_linux_REDIR_FOR_strlen)
Inconsistency detected by ld.so: rtld.c: 1278: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
--7332:1:syswrap- thread_wrapper(tid=1): exit
--7332:1:syswrap- run_a_thread_NORETURN(tid=1): post-thread_wrapper
...
The 'Inconsistency' line seems not related to the gdbserver as a few lines before, we see that gdbserver
has received a "c" packet (continue packet from gdb) and has properly resumed the executable (as we see
some transtab related trace and a strlen redirection being done).
=> is the main_pic executable running properly outside of Valgrind ?
i.e. gdbserver_tests/main_pic
=> is it running properly under Valgrind, but without gdbserver ?
i.e. ./vg-in-place gdbserver_tests/main_pic ?
Philippe
|