{"action":"created","issue":{"url":"https://api.github.com/repos/Steveice10/memchunkhax2/issues/3","labels_url":"https://api.github.com/repos/Steveice10/memchunkhax2/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Steveice10/memchunkhax2/issues/3/comments","events_url":"https://api.github.com/repos/Steveice10/memchunkhax2/issues/3/events","html_url":"https://github.com/Steveice10/memchunkhax2/issues/3","id":124349761,"number":3,"title":"Questions","user":{"login":"TeToNN","id":724253,"avatar_url":"https://avatars.githubusercontent.com/u/724253?v=3","gravatar_id":"","url":"https://api.github.com/users/TeToNN","html_url":"https://github.com/TeToNN","followers_url":"https://api.github.com/users/TeToNN/followers","following_url":"https://api.github.com/users/TeToNN/following{/other_user}","gists_url":"https://api.github.com/users/TeToNN/gists{/gist_id}","starred_url":"https://api.github.com/users/TeToNN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeToNN/subscriptions","organizations_url":"https://api.github.com/users/TeToNN/orgs","repos_url":"https://api.github.com/users/TeToNN/repos","events_url":"https://api.github.com/users/TeToNN/events{/privacy}","received_events_url":"https://api.github.com/users/TeToNN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-30T13:46:36Z","updated_at":"2015-12-30T15:59:33Z","closed_at":null,"body":"Are you sure the memory is currently correctly mapped after you switch the pointer?\r\n\r\nSince\r\n```\r\n MemChunkHdr* fakeHdr = (MemChunkHdr*) &timerObj->timerEnabled;\r\n```\r\ndoes \r\n```\r\nfakeHdr->size > 0 ?\r\n```\r\nThe memory won't be mapped otherwise,  according to derrek's re\r\nProbably need to use the attributes you can change (interval/initial)\r\n\r\n(And yes the next pointer should probably be NULL)\r\n\r\nPS : I might be talking nonsence (It's highly possible)"},"comment":{"url":"https://api.github.com/repos/Steveice10/memchunkhax2/issues/comments/168023957","html_url":"https://github.com/Steveice10/memchunkhax2/issues/3#issuecomment-168023957","issue_url":"https://api.github.com/repos/Steveice10/memchunkhax2/issues/3","id":168023957,"user":{"login":"TeToNN","id":724253,"avatar_url":"https://avatars.githubusercontent.com/u/724253?v=3","gravatar_id":"","url":"https://api.github.com/users/TeToNN","html_url":"https://github.com/TeToNN","followers_url":"https://api.github.com/users/TeToNN/followers","following_url":"https://api.github.com/users/TeToNN/following{/other_user}","gists_url":"https://api.github.com/users/TeToNN/gists{/gist_id}","starred_url":"https://api.github.com/users/TeToNN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeToNN/subscriptions","organizations_url":"https://api.github.com/users/TeToNN/orgs","repos_url":"https://api.github.com/users/TeToNN/repos","events_url":"https://api.github.com/users/TeToNN/events{/privacy}","received_events_url":"https://api.github.com/users/TeToNN/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T15:59:33Z","updated_at":"2015-12-30T15:59:33Z","body":"The address of the KTimer object seems decent to me.\r\nThe problem I encounter is everytime i use \r\n```\r\nsvcSetTimer(timer, 0, 0);\r\n```\r\nwith the interval argument different of 0, the code crashes before the mapping ends\r\n\r\nExample\r\n```\r\nsvcSetTimer(timer, 0, 1);\r\nKTimer* timerObj = (KTimer*) (timerAddr - 4);\r\n//start chunk at correct offset for size = 1, next = NULL, prev  = NULL\r\nMemChunkHdr* fakeHdr = (MemChunkHdr*) &timerObj->interval + 2;\r\n```\r\n\r\nI do believe there might be a problem with svcSetTimer"}}