Hi Roland,

RTC (dbx's runtime checks) does not instrument libc.so on x86. There is no option to change this. Libc.so, on the other hand, is instrumented on Sparc.

The "terminating signal 11 SIGSEGV" error may be caused by a nested sigsegv handler call. What's the version of dbx? The current one is 7.8. Is there a way to send me a copy of the stack trace of <core>?

Thanks,
-Leonard

-------- Original Message --------
From: Roland Mainz <[email protected]>
Subject: [tools-compilers] "dbx"'s "check -access" not working for libc ?
Date: Mon, 6 Dec 2010 02:45:10 +0100
To: [email protected]



Hi!

----

Does anyone know how I can get "dbx"'s "-check access" instrumentation
support to instrument libc itself ?
Someone wrote a small fix for libc but we can't get dbx to load
libc.so _after_ instrumentaton has been turned on:
-- snip --
$ bcheck -all ./regcmptst
Reading regcmptst
Reading ld.so.1
Reading rtcapihook.so
Reading libumem.so.1
Reading libc.so.1
Reading libdl.so.1
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading libgen.so.1
Reading libm.so.2
Reading rtcboot.so
Reading librtc.so
access checking - ON
memuse checking - ON
Running: regcmptst
(process id 390993)
RTC: Enabling Error Checking...
RTC: Running program...
terminating signal 11 SIGSEGV
-- snip --

The test application above should've triggered a WRU (="write to
unallocated") but it seems that libc doesn't get instrumentated... is
there a way to get this done ?

----

bye,
Roland


_______________________________________________
tools-compilers mailing list
[email protected]

Reply via email to