{"action":"created","issue":{"url":"https://api.github.com/repos/genodelabs/genode/issues/1652","labels_url":"https://api.github.com/repos/genodelabs/genode/issues/1652/labels{/name}","comments_url":"https://api.github.com/repos/genodelabs/genode/issues/1652/comments","events_url":"https://api.github.com/repos/genodelabs/genode/issues/1652/events","html_url":"https://github.com/genodelabs/genode/issues/1652","id":102365612,"number":1652,"title":"hw: Platform_thread::state() returns wrong/incomplete cpu state - hw_x86_64","user":{"login":"alex-ab","id":1506104,"avatar_url":"https://avatars.githubusercontent.com/u/1506104?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-ab","html_url":"https://github.com/alex-ab","followers_url":"https://api.github.com/users/alex-ab/followers","following_url":"https://api.github.com/users/alex-ab/following{/other_user}","gists_url":"https://api.github.com/users/alex-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-ab/subscriptions","organizations_url":"https://api.github.com/users/alex-ab/orgs","repos_url":"https://api.github.com/users/alex-ab/repos","events_url":"https://api.github.com/users/alex-ab/events{/privacy}","received_events_url":"https://api.github.com/users/alex-ab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/genodelabs/genode/labels/bug","name":"bug","color":"1b7921"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-08-21T12:12:39Z","updated_at":"2015-08-24T09:10:17Z","closed_at":null,"body":"In case of a unresolvable page-fault (to small stack) one gets a misleading pagefault warning:\r\n\r\n```\r\n[init -> test-thread] 79 : _cpu_session=0x24b1d8 env()->cpu_session()=0x24b1d8\r\n[init -> test-thread -> 80: unresolved pagefault at ip=0 sp=0\r\n```\r\n\r\nActually the fault address is missing and the ip is not 0.  Platform_thread::state() as called by\r\nhttps://github.com/genodelabs/genode/blob/master/repos/base-hw/src/core/pager.cc#L91\r\nreturns bogus values here."},"comment":{"url":"https://api.github.com/repos/genodelabs/genode/issues/comments/134104924","html_url":"https://github.com/genodelabs/genode/issues/1652#issuecomment-134104924","issue_url":"https://api.github.com/repos/genodelabs/genode/issues/1652","id":134104924,"user":{"login":"alex-ab","id":1506104,"avatar_url":"https://avatars.githubusercontent.com/u/1506104?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-ab","html_url":"https://github.com/alex-ab","followers_url":"https://api.github.com/users/alex-ab/followers","following_url":"https://api.github.com/users/alex-ab/following{/other_user}","gists_url":"https://api.github.com/users/alex-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-ab/subscriptions","organizations_url":"https://api.github.com/users/alex-ab/orgs","repos_url":"https://api.github.com/users/alex-ab/repos","events_url":"https://api.github.com/users/alex-ab/events{/privacy}","received_events_url":"https://api.github.com/users/alex-ab/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T09:10:17Z","updated_at":"2015-08-24T09:10:17Z","body":"Something like 231d7e28ab3c7723d788d21fb9259ca6373bbd56 ? The only issue here is, that the two Thread_base::state() methods are called by cpu_session_component to retrieve the registers. How to do that ? Presumably it is not used yet on hw (I'm right?) - but gdb could/would on x86 ... Another questions, must the syscallcall ids dense packed ? I just removed access_regs and id 20 becomes unused."}}