-
Notifications
You must be signed in to change notification settings - Fork 565
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
CRASH (1.4.0 libcbr.so) Internal DynamoRIO Error when running thread private cache on 64-bit Linux #162
Comments
From [email protected] on June 24, 2009 14:58:18 I examined the execute. The reason is cause from dr_insert_clean_call. When insert clean call, on save/restore application stack, DR does not implement the |
From [email protected] on June 24, 2009 15:49:07 It is interesting, I think the context switch code for dr_insert_clean_call should be |
From [email protected] on June 24, 2009 15:53:35 Can you paste in the DR call stack when the assert is triggered |
From [email protected] on June 24, 2009 19:24:11 (gdb) bt |
From [email protected] on June 24, 2009 19:34:50 The instr cause the decoding failure has following content: |
From [email protected] on June 25, 2009 09:45:46 Your call stack is for an encoding assert, but you opened the case with an |
From [email protected] on June 25, 2009 10:10:26 Sorry, that's was my mistake. |
From [email protected] on June 25, 2009 12:28:16 for x64, with a lack of absolute addressing able to reach the whole address space, we I know you can't access these but listing for my own xref purposes. I have a bunch PR 215396: x64 scratch space PR 244737: [x64] scratch space for thread-private fragments (which are used Maybe best to assign to me so I can revisit our decisions back then and look at Owner: derek.bruening |
From [email protected] on July 28, 2009 14:33:47 There are several bugs in dr_insert_clean_call and its callee: in core/x86/instr.c:instr_create_restore_dynamo_stack:4902 in core/x86/mangle.c:prepare_for_clean_call:551 Actually, this bug is more tricky, because the errno and app_errno field in |
From [email protected] on July 28, 2009 15:27:31 long-term we don't want to limit ourselves to the 2GB reachability we're using to |
From [email protected] on July 28, 2009 23:06:46 fixed in r190 we'll open a new Issue if we want to provide rip-rel access when reachable: for now Status: Fixed |
From [email protected] on July 28, 2009 23:07:21 can you verify Owner: qin.zhao |
From [email protected] on June 24, 2009 17:20:23
What steps will reproduce the problem? 1. build libcbr.so from the download packages samples/
2. run with thread private code cache option
qin_zhao@cagnode10:~/Workspace/DynamoRIO/DynamoRIO-Linux-1.4.0-20/build$
../bin64/drdeploy -client
~/Workspace/DynamoRIO/DynamoRIO-Linux-1.4.0-20/build/bin/libcbr.so 0 ""
-debug -ops -thread_private ls
What do you see?
<Starting application ls (6657)>
<Application ls (6657). Internal Error Internal DynamoRIO Error:
/work/dr/tot/opensource/core/x86/instr.c:4750
version 1.4.0, build 20
-client_lib
'/afs/csail.mit.edu/u/q/qin_zhao/Workspace/DynamoRIO/DynamoRIO-Linux-1.4.0-20/build/bin/libcbr.so;0;'
-code_api -max_elide_jmp 0 -max_elide_call 0 -no_shared_bbs -no_shared_trace
0x0000000048085440 0x000000007109fe23
0x0000000048085590 0x00000000711445f9
0x00000000480855f0 0x0000000071144789
0x0000000048085620 0x000000007114a698
0x0000000048085680 0x0000000071167b40
0x0000000048085820 0x000000007116feae
0x0000000048085860 0x000000007116ffd5
0x0000000048085a30 0x000000007200183e
0x0000000048085b50 0x00000000711735c7
0x0000000048085bf0 0x0000000071150cb2
0x0000000048085c80 0x0000000071158dc1>
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=162
The text was updated successfully, but these errors were encountered: