Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DR on callstack across signal handler #125

Open
derekbruening opened this issue Nov 28, 2014 · 0 comments
Open

DR on callstack across signal handler #125

derekbruening opened this issue Nov 28, 2014 · 0 comments

Comments

@derekbruening
Copy link
Contributor

From derek.br...@gmail.com on December 10, 2010 17:57:51

PR 413649

in a signal test I'm adding (based on DR's suite/tests/linux/signal0000.c) somehow DR got
on the callstack that DrMemory pulled from the test's handler. worth filing at least
as a curiosity: I don't remember the details of my DrMemory callstack heuristics but
I'm surprised this happened. haven't looked into the details.

the other error here is that the line# for the DR address is wrong: note the section warning:
a bug in postprocess.pl where it re-uses the last line# in that case

WARNING: module libdynamorio.so.1.4 not found: set DRMEMORY_LIB_PATH env var
WARNING: section for not found

Error #1: UNADDRESSABLE ACCESS 4 byte(s)
0x08048800 signal!signal_handler
/work/dr/tot/internal/clients/drmemory/tests/signal.c:115
0x002a4891 libdynamorio.so.1.4!signal_handler
/work/dr/tot/internal/clients/drmemory/tests/signal.c:115
0x004056e5 libc.so.6!__libc_start_main
??:0
0x08048771 signal!_start
??:0
0x08048b3c signal!__libc_csu_init
??:0

I put in a warning message before but did not suppress the line#
Put in better handling of unknown module/section

Leaving open for investigating DR on callstack

Original issue: http://code.google.com/p/drmemory/issues/detail?id=125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant