{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1735","labels_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1735/labels{/name}","comments_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1735/comments","events_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1735/events","html_url":"https://github.com/DynamoRIO/dynamorio/issues/1735","id":94789003,"number":1735,"title":"drcachesim: Assertion (VA=0 || PA !=0) failure ","user":{"login":"peterpengwei","id":11414411,"avatar_url":"https://avatars.githubusercontent.com/u/11414411?v=3","gravatar_id":"","url":"https://api.github.com/users/peterpengwei","html_url":"https://github.com/peterpengwei","followers_url":"https://api.github.com/users/peterpengwei/followers","following_url":"https://api.github.com/users/peterpengwei/following{/other_user}","gists_url":"https://api.github.com/users/peterpengwei/gists{/gist_id}","starred_url":"https://api.github.com/users/peterpengwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterpengwei/subscriptions","organizations_url":"https://api.github.com/users/peterpengwei/orgs","repos_url":"https://api.github.com/users/peterpengwei/repos","events_url":"https://api.github.com/users/peterpengwei/events{/privacy}","received_events_url":"https://api.github.com/users/peterpengwei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/Bug-Assert","name":"Bug-Assert","color":"FFFFFF"},{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/Component-DRTool","name":"Component-DRTool","color":"FFFFFF"},{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/OpSys-ARM","name":"OpSys-ARM","color":"FFFFFF"},{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/OpSys-Linux","name":"OpSys-Linux","color":"FFFFFF"},{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/Status-NeedInfo","name":"Status-NeedInfo","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-07-13T19:08:04Z","updated_at":"2015-07-20T21:40:31Z","closed_at":"2015-07-14T03:50:11Z","body":"When running Command \"sudo ./bin64/drrun -debug -root ~/DynamoRIO/dynamorio_x86_test -t drcachesim -ipc_name mypipe -use_physical -- ls\" in an X64 Ubuntu desktop computer, the assertion in Function memtrace(...) in $DYNAMORIO_HOME/clients/drcachesim/tracer/tracer.cpp failed. After commenting out the assertion, the command runs successfully after commenting out the assertion.\r\n\r\nIt seems to be possible that the physical address is 0 while the virtual address is not 0 in a program, or there might be something wrong with the VA->PA translation.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/comments/123052122","html_url":"https://github.com/DynamoRIO/dynamorio/issues/1735#issuecomment-123052122","issue_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/1735","id":123052122,"user":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T21:40:31Z","updated_at":"2015-07-20T21:40:31Z","body":"It's not maps that matter, it's pagemap.  If it's not in the pagemap file,\nwhat phys addr are you going to use?\n\nOn Mon, Jul 20, 2015 at 5:32 PM, zhaoqin <notifications@github.com> wrote:\n\n> I can reproduce one:\n> The address is:\n> (gdb) p/x mem_ref->addr\n> $8 = 0xffffffffff5ff0a8\n>\n> It is a strange place that Linux store some kernel information data (e.g.,\n> time) that can be read from user space without entering kernel mode for\n> better performance, but it is not listed in the /proc/self/maps\n> 0x7ffca1346000 0x7ffca1348000 0x2000 0x0 [vdso]\n> 0xffffffffff600000 0xffffffffff601000 0x1000 0x0 [vsyscall]\n>\n> It looks like we should disable the assert.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/DynamoRIO/dynamorio/issues/1735#issuecomment-123049593>\n> .\n>\n"}}