{"action":"created","issue":{"url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3745","repository_url":"https://api.github.com/repos/RPCS3/rpcs3","labels_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3745/labels{/name}","comments_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3745/comments","events_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3745/events","html_url":"https://github.com/RPCS3/rpcs3/issues/3745","id":274349757,"number":3745,"title":"LLVM assertion failed when loading from LLVM cache","user":{"login":"myfreeweb","id":208340,"avatar_url":"https://avatars0.githubusercontent.com/u/208340?v=4","gravatar_id":"","url":"https://api.github.com/users/myfreeweb","html_url":"https://github.com/myfreeweb","followers_url":"https://api.github.com/users/myfreeweb/followers","following_url":"https://api.github.com/users/myfreeweb/following{/other_user}","gists_url":"https://api.github.com/users/myfreeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/myfreeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myfreeweb/subscriptions","organizations_url":"https://api.github.com/users/myfreeweb/orgs","repos_url":"https://api.github.com/users/myfreeweb/repos","events_url":"https://api.github.com/users/myfreeweb/events{/privacy}","received_events_url":"https://api.github.com/users/myfreeweb/received_events","type":"User","site_admin":false},"labels":[{"id":18270160,"url":"https://api.github.com/repos/RPCS3/rpcs3/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":661500495,"url":"https://api.github.com/repos/RPCS3/rpcs3/labels/OS:%20BSD","name":"OS: BSD","color":"e74c3c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-16T00:07:43Z","updated_at":"2017-11-21T21:37:31Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"RPCS3 v0.0.4-14-gc435b328, FreeBSD 12-CURRENT, LLVM 4.0.1 (OS packaged LLVM, which is built with assertions enabled).\r\n\r\nWhen a game does not have previously cached PPU code (right after compilation), it launches successfully.\r\n\r\nWhen a game does have cached code, RPCS3 crashes on game launch:\r\n\r\n```\r\nAssertion failed: (ObjectBufferMap.find(Key) == ObjectBufferMap.end() && \"Second attempt to perform debug registration.\"), function NotifyObjectEmitted, file /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/lib/ExecutionEngine/GDBRegistrationListener.cpp, line 167.\r\n```\r\n\r\nOther projects have hit this assertion: https://sft.its.cern.ch/jira/browse/ROOT-7741\r\n\r\n`GDBRegistrationListener` is used by MCJIT by default, looks like there's no way to unregister it (created in the constructor without saving a reference anywhere, and the vector of listeners is private)."},"comment":{"url":"https://api.github.com/repos/RPCS3/rpcs3/issues/comments/346169207","html_url":"https://github.com/RPCS3/rpcs3/issues/3745#issuecomment-346169207","issue_url":"https://api.github.com/repos/RPCS3/rpcs3/issues/3745","id":346169207,"user":{"login":"jbeich","id":11153579,"avatar_url":"https://avatars3.githubusercontent.com/u/11153579?v=4","gravatar_id":"","url":"https://api.github.com/users/jbeich","html_url":"https://github.com/jbeich","followers_url":"https://api.github.com/users/jbeich/followers","following_url":"https://api.github.com/users/jbeich/following{/other_user}","gists_url":"https://api.github.com/users/jbeich/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeich/subscriptions","organizations_url":"https://api.github.com/users/jbeich/orgs","repos_url":"https://api.github.com/users/jbeich/repos","events_url":"https://api.github.com/users/jbeich/events{/privacy}","received_events_url":"https://api.github.com/users/jbeich/received_events","type":"User","site_admin":false},"created_at":"2017-11-21T21:37:31Z","updated_at":"2017-11-21T21:37:31Z","author_association":"CONTRIBUTOR","body":"Bundled LLVM doesn't help here:\r\n\r\n```\r\nAssertion failed: (ObjectBufferMap.find(Key) == ObjectBufferMap.end() && \"Second attempt to perform debug registration.\"), function NotifyObjectEmitted, file /usr/ports/emulators/rpcs3/work/rpcs3-0.0.4-34-gde465cb9/llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp, line 167.\r\n```\r\n"}}
{"actor":{"display_login":"jbeich"}}