{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/issues/69","repository_url":"https://api.github.com/repos/OpenMAMA/OpenMAMA","labels_url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/issues/69/comments","events_url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/issues/69/events","html_url":"https://github.com/OpenMAMA/OpenMAMA/issues/69","id":113839425,"number":69,"title":"JNI crash in MamaListen.java when using platformInfo.toString()","user":{"login":"adriennea","id":14275235,"avatar_url":"https://avatars.githubusercontent.com/u/14275235?v=3","gravatar_id":"","url":"https://api.github.com/users/adriennea","html_url":"https://github.com/adriennea","followers_url":"https://api.github.com/users/adriennea/followers","following_url":"https://api.github.com/users/adriennea/following{/other_user}","gists_url":"https://api.github.com/users/adriennea/gists{/gist_id}","starred_url":"https://api.github.com/users/adriennea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriennea/subscriptions","organizations_url":"https://api.github.com/users/adriennea/orgs","repos_url":"https://api.github.com/users/adriennea/repos","events_url":"https://api.github.com/users/adriennea/events{/privacy}","received_events_url":"https://api.github.com/users/adriennea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":{"login":"fquinner","id":8431703,"avatar_url":"https://avatars.githubusercontent.com/u/8431703?v=3","gravatar_id":"","url":"https://api.github.com/users/fquinner","html_url":"https://github.com/fquinner","followers_url":"https://api.github.com/users/fquinner/followers","following_url":"https://api.github.com/users/fquinner/following{/other_user}","gists_url":"https://api.github.com/users/fquinner/gists{/gist_id}","starred_url":"https://api.github.com/users/fquinner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fquinner/subscriptions","organizations_url":"https://api.github.com/users/fquinner/orgs","repos_url":"https://api.github.com/users/fquinner/repos","events_url":"https://api.github.com/users/fquinner/events{/privacy}","received_events_url":"https://api.github.com/users/fquinner/received_events","type":"User","site_admin":false},"assignees":[{"login":"fquinner","id":8431703,"avatar_url":"https://avatars.githubusercontent.com/u/8431703?v=3","gravatar_id":"","url":"https://api.github.com/users/fquinner","html_url":"https://github.com/fquinner","followers_url":"https://api.github.com/users/fquinner/followers","following_url":"https://api.github.com/users/fquinner/following{/other_user}","gists_url":"https://api.github.com/users/fquinner/gists{/gist_id}","starred_url":"https://api.github.com/users/fquinner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fquinner/subscriptions","organizations_url":"https://api.github.com/users/fquinner/orgs","repos_url":"https://api.github.com/users/fquinner/repos","events_url":"https://api.github.com/users/fquinner/events{/privacy}","received_events_url":"https://api.github.com/users/fquinner/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/milestones/5","html_url":"https://github.com/OpenMAMA/OpenMAMA/milestones/OpenMAMA-6.1.0","labels_url":"https://api.github.com/repos/OpenMAMA/OpenMAMA/milestones/5/labels","id":1892001,"number":5,"title":"OpenMAMA-6.1.0","description":"","creator":{"login":"fquinner","id":8431703,"avatar_url":"https://avatars.githubusercontent.com/u/8431703?v=3","gravatar_id":"","url":"https://api.github.com/users/fquinner","html_url":"https://github.com/fquinner","followers_url":"https://api.github.com/users/fquinner/followers","following_url":"https://api.github.com/users/fquinner/following{/other_user}","gists_url":"https://api.github.com/users/fquinner/gists{/gist_id}","starred_url":"https://api.github.com/users/fquinner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fquinner/subscriptions","organizations_url":"https://api.github.com/users/fquinner/orgs","repos_url":"https://api.github.com/users/fquinner/repos","events_url":"https://api.github.com/users/fquinner/events{/privacy}","received_events_url":"https://api.github.com/users/fquinner/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":58,"state":"open","created_at":"2016-07-19T13:30:28Z","updated_at":"2016-08-02T21:08:43Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-10-28T14:53:02Z","updated_at":"2016-08-02T21:08:43Z","closed_at":"2016-08-02T21:08:43Z","body":"Replacing [BZ-114] (http://bugs.openmama.org/show_bug.cgi?id=114)\r\n\r\n1. Build OpenMama 3.2.x Next branch\r\n2. Modify MamaListen.java to add call to platformInfo.toString() in onConnect() and onAccept() callbacks.\r\n3. Run with Wombat adapter connecting to MamaCache using NSD.\r\n4. Get JNI crash.\r\n\r\nIt appears that the incorrect pointer level is retrieved in mama/jni/src/c/mamatransportjni.c::mamaTransportImpl_getConnectionObject().\r\n\r\nplatformInfo is cast to a mamaConnection*, but it is actually a mamaConnection, which is itself a typedef to a mamaConnectionImpl_*. Also the CAST_POINTER_TO_JLONG dereferences the ptr, which is at the incorrect level."}}
{"actor":{"display_login":"fquinner"}}