{"action":"created","issue":{"url":"https://api.github.com/repos/robovm/robovm/issues/827","labels_url":"https://api.github.com/repos/robovm/robovm/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/robovm/robovm/issues/827/comments","events_url":"https://api.github.com/repos/robovm/robovm/issues/827/events","html_url":"https://github.com/robovm/robovm/issues/827","id":59915236,"number":827,"title":"Crash in ExpatAttributes on 64-bit","user":{"login":"ntherning","id":135765,"avatar_url":"https://avatars.githubusercontent.com/u/135765?v=3","gravatar_id":"","url":"https://api.github.com/users/ntherning","html_url":"https://github.com/ntherning","followers_url":"https://api.github.com/users/ntherning/followers","following_url":"https://api.github.com/users/ntherning/following{/other_user}","gists_url":"https://api.github.com/users/ntherning/gists{/gist_id}","starred_url":"https://api.github.com/users/ntherning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntherning/subscriptions","organizations_url":"https://api.github.com/users/ntherning/orgs","repos_url":"https://api.github.com/users/ntherning/repos","events_url":"https://api.github.com/users/ntherning/events{/privacy}","received_events_url":"https://api.github.com/users/ntherning/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ntherning","id":135765,"avatar_url":"https://avatars.githubusercontent.com/u/135765?v=3","gravatar_id":"","url":"https://api.github.com/users/ntherning","html_url":"https://github.com/ntherning","followers_url":"https://api.github.com/users/ntherning/followers","following_url":"https://api.github.com/users/ntherning/following{/other_user}","gists_url":"https://api.github.com/users/ntherning/gists{/gist_id}","starred_url":"https://api.github.com/users/ntherning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntherning/subscriptions","organizations_url":"https://api.github.com/users/ntherning/orgs","repos_url":"https://api.github.com/users/ntherning/repos","events_url":"https://api.github.com/users/ntherning/events{/privacy}","received_events_url":"https://api.github.com/users/ntherning/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/robovm/robovm/milestones/5","html_url":"https://github.com/robovm/robovm/milestones/1.0","labels_url":"https://api.github.com/repos/robovm/robovm/milestones/5/labels","id":912076,"number":5,"title":"1.0","description":"","creator":{"login":"ntherning","id":135765,"avatar_url":"https://avatars.githubusercontent.com/u/135765?v=3","gravatar_id":"","url":"https://api.github.com/users/ntherning","html_url":"https://github.com/ntherning","followers_url":"https://api.github.com/users/ntherning/followers","following_url":"https://api.github.com/users/ntherning/following{/other_user}","gists_url":"https://api.github.com/users/ntherning/gists{/gist_id}","starred_url":"https://api.github.com/users/ntherning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntherning/subscriptions","organizations_url":"https://api.github.com/users/ntherning/orgs","repos_url":"https://api.github.com/users/ntherning/repos","events_url":"https://api.github.com/users/ntherning/events{/privacy}","received_events_url":"https://api.github.com/users/ntherning/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":101,"state":"open","created_at":"2014-12-22T10:16:06Z","updated_at":"2015-03-09T15:44:39Z","due_on":"2015-03-09T23:00:00Z","closed_at":null},"comments":6,"created_at":"2015-03-05T07:25:27Z","updated_at":"2015-03-09T16:15:57Z","closed_at":"2015-03-08T11:03:24Z","body":"Probably a pointer which is passed around in an `int`. See https://groups.google.com/d/msg/robovm/vzb_Cnbdheo/HBdIjJQUQRMJ for a crash log.\r\n\r\nI found one bad pointer in `ExpatParser.java`. Don't know if this fixes the issue though:\r\n\r\n```diff\r\ndiff --git a/rt/libcore/luni/src/main/java/org/apache/harmony/xml/ExpatParser.java b/rt/libcore/luni/src/main/java/org/apache/harmony/xml/ExpatParser.java\r\nindex db6f4ef..fa6308e 100644\r\n--- a/rt/libcore/luni/src/main/java/org/apache/harmony/xml/ExpatParser.java\r\n+++ b/rt/libcore/luni/src/main/java/org/apache/harmony/xml/ExpatParser.java\r\n@@ -48,7 +48,7 @@ class ExpatParser {\r\n\r\n     private boolean inStartElement = false;\r\n     private int attributeCount = -1;\r\n-    private int attributePointer = 0;\r\n+    private long attributePointer = 0;\r\n\r\n     private final Locator locator = new ExpatLocator();\r\n\r\n@@ -129,7 +129,7 @@ class ExpatParser {\r\n      * @param attributeCount number of attributes\r\n      */\r\n     /*package*/ void startElement(String uri, String localName, String qName,\r\n-            int attributePointer, int attributeCount) throws SAXException {\r\n+            long attributePointer, int attributeCount) throws SAXException {\r\n         ContentHandler contentHandler = xmlReader.contentHandler;\r\n         if (contentHandler == null) {\r\n             return;\r\n@@ -772,7 +772,7 @@ class ExpatParser {\r\n\r\n         @Override\r\n         void startElement(String uri, String localName, String qName,\r\n-                int attributePointer, int attributeCount) throws SAXException {\r\n+                long attributePointer, int attributeCount) throws SAXException {\r\n             /*\r\n              * Skip topmost element generated by our workaround in\r\n              * {@link #handleExternalEntity}.\r\n```"},"comment":{"url":"https://api.github.com/repos/robovm/robovm/issues/comments/77885682","html_url":"https://github.com/robovm/robovm/issues/827#issuecomment-77885682","issue_url":"https://api.github.com/repos/robovm/robovm/issues/827","id":77885682,"user":{"login":"ebbybeh","id":1280342,"avatar_url":"https://avatars.githubusercontent.com/u/1280342?v=3","gravatar_id":"","url":"https://api.github.com/users/ebbybeh","html_url":"https://github.com/ebbybeh","followers_url":"https://api.github.com/users/ebbybeh/followers","following_url":"https://api.github.com/users/ebbybeh/following{/other_user}","gists_url":"https://api.github.com/users/ebbybeh/gists{/gist_id}","starred_url":"https://api.github.com/users/ebbybeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebbybeh/subscriptions","organizations_url":"https://api.github.com/users/ebbybeh/orgs","repos_url":"https://api.github.com/users/ebbybeh/repos","events_url":"https://api.github.com/users/ebbybeh/events{/privacy}","received_events_url":"https://api.github.com/users/ebbybeh/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T16:15:57Z","updated_at":"2015-03-09T16:15:57Z","body":"Is this fix available in the latest roboVM nightlies?"}}