{"action":"created","issue":{"url":"https://api.github.com/repos/d-mozulyov/BrainMM/issues/6","repository_url":"https://api.github.com/repos/d-mozulyov/BrainMM","labels_url":"https://api.github.com/repos/d-mozulyov/BrainMM/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/d-mozulyov/BrainMM/issues/6/comments","events_url":"https://api.github.com/repos/d-mozulyov/BrainMM/issues/6/events","html_url":"https://github.com/d-mozulyov/BrainMM/issues/6","id":245920205,"number":6,"title":"runtime error on second programm instance","user":{"login":"mjmucha","id":30067920,"avatar_url":"https://avatars3.githubusercontent.com/u/30067920?v=4","gravatar_id":"","url":"https://api.github.com/users/mjmucha","html_url":"https://github.com/mjmucha","followers_url":"https://api.github.com/users/mjmucha/followers","following_url":"https://api.github.com/users/mjmucha/following{/other_user}","gists_url":"https://api.github.com/users/mjmucha/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmucha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmucha/subscriptions","organizations_url":"https://api.github.com/users/mjmucha/orgs","repos_url":"https://api.github.com/users/mjmucha/repos","events_url":"https://api.github.com/users/mjmucha/events{/privacy}","received_events_url":"https://api.github.com/users/mjmucha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-07-27T04:06:32Z","updated_at":"2018-03-25T05:14:05Z","closed_at":null,"author_association":"NONE","body":"When starting a second instance of the same program with BrainMM i get a access violation on the line 10523 (master).\r\n\r\n```\r\n  if (BrainMMRegistered.BrainMM.Options.FreePacalCompiler <> {$ifdef FPC}True{$else}False{$endif}) then\r\n    begin\r\n      BrainMMFreeMemOriginal := MemoryManager.Standard.FreeMem;\r\n      MemoryManager.Standard.FreeMem := BrainMMFreeMemInverter;\r\n    end;\r\n```\r\n\r\nIt seems that `MapAddress := MapViewOfFile(BrainMMRegisteredHandle, FILE_MAP_READ, 0, 0, 0);` isn't working as expected (line 10470). The fields of `BrainMMRegistered` are all nil.\r\n\r\nThis bug occurs with Debug Win 32 Delphi 10.2 Toyko."},"comment":{"url":"https://api.github.com/repos/d-mozulyov/BrainMM/issues/comments/375946183","html_url":"https://github.com/d-mozulyov/BrainMM/issues/6#issuecomment-375946183","issue_url":"https://api.github.com/repos/d-mozulyov/BrainMM/issues/6","id":375946183,"user":{"login":"mjmucha","id":30067920,"avatar_url":"https://avatars3.githubusercontent.com/u/30067920?v=4","gravatar_id":"","url":"https://api.github.com/users/mjmucha","html_url":"https://github.com/mjmucha","followers_url":"https://api.github.com/users/mjmucha/followers","following_url":"https://api.github.com/users/mjmucha/following{/other_user}","gists_url":"https://api.github.com/users/mjmucha/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmucha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmucha/subscriptions","organizations_url":"https://api.github.com/users/mjmucha/orgs","repos_url":"https://api.github.com/users/mjmucha/repos","events_url":"https://api.github.com/users/mjmucha/events{/privacy}","received_events_url":"https://api.github.com/users/mjmucha/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T05:14:05Z","updated_at":"2018-03-25T05:14:05Z","author_association":"NONE","body":"We are still using it and we also can't wait for updates! :)"}}
{"actor":{"display_login":"mjmucha"}}