{"action":"created","issue":{"url":"https://api.github.com/repos/vert-x3/vertx-web/issues/346","repository_url":"https://api.github.com/repos/vert-x3/vertx-web","labels_url":"https://api.github.com/repos/vert-x3/vertx-web/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/vert-x3/vertx-web/issues/346/comments","events_url":"https://api.github.com/repos/vert-x3/vertx-web/issues/346/events","html_url":"https://github.com/vert-x3/vertx-web/issues/346","id":143562671,"number":346,"title":"Java crash when connecting to eventbus via sockjs event bus bridge on Raspberry Pi 3","user":{"login":"peddn","id":1362567,"avatar_url":"https://avatars.githubusercontent.com/u/1362567?v=3","gravatar_id":"","url":"https://api.github.com/users/peddn","html_url":"https://github.com/peddn","followers_url":"https://api.github.com/users/peddn/followers","following_url":"https://api.github.com/users/peddn/following{/other_user}","gists_url":"https://api.github.com/users/peddn/gists{/gist_id}","starred_url":"https://api.github.com/users/peddn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peddn/subscriptions","organizations_url":"https://api.github.com/users/peddn/orgs","repos_url":"https://api.github.com/users/peddn/repos","events_url":"https://api.github.com/users/peddn/events{/privacy}","received_events_url":"https://api.github.com/users/peddn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vert-x3/vertx-web/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-25T18:33:22Z","updated_at":"2016-03-30T07:50:43Z","closed_at":null,"body":"Hi,\r\n\r\nI define a sockjs event bus handler:\r\n\r\n        SockJSHandler sockJSHandler = SockJSHandler.create(vertx);\r\n        \r\n        PermittedOptions inPerm = new PermittedOptions().setAddress(\"test.in\");\r\n        \r\n        PermittedOptions outPerm = new PermittedOptions().setAddress(\"test.out\");\r\n        \r\n        BridgeOptions options = new BridgeOptions().\r\n            addInboundPermitted(inPerm).\r\n            addOutboundPermitted(outPerm);\r\n        \r\n        sockJSHandler.bridge(options);\r\n        \r\n        router.route(\"/eventbus/*\").handler(sockJSHandler);\r\n\r\n\r\nin the client side javascript i do \r\n\r\n        var eb = new EventBus('http://localhost:8080/eventbus');\r\n\r\nThe first time the page loades fine. But when i hit \"reload\" in the browser i get the following error on serverside:\r\n\r\n        A fatal error has been detected by the Java Runtime Environment:\r\n\r\n        SIGSEGV (0xb) at pc=0x7413cf30, pid=21351, tid=1673524320\r\n\r\n        JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)\r\n        Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode linux-arm )\r\n        Problematic frame:\r\n         J 481 C1 io.netty.util.internal.PlatformDependent.getByte(J)B (5 bytes) @ 0x7413cf30 [0x7413cf20+0x10]\r\n\r\n        Failed to write core dump. Core dumps have been disabled. To enable core dumping, try \"ulimit -c unlimited\" before starting Java again\r\n\r\n        An error report file with more information is saved as:\r\n        /home/pi/hs_err_pid21351.log\r\n        Compiled method (c1)   54440  481             io.netty.util.internal.PlatformDependent::getByte (5 bytes)\r\n        total in heap  [0x7413ce48,0x7413cfc4] = 380\r\n        relocation     [0x7413cf14,0x7413cf20] = 12\r\n        main code      [0x7413cf20,0x7413cf70] = 80\r\n        stub code      [0x7413cf70,0x7413cf98] = 40\r\n        oops           [0x7413cf98,0x7413cf9c] = 4\r\n        scopes data    [0x7413cf9c,0x7413cfa0] = 4\r\n        scopes pcs     [0x7413cfa0,0x7413cfc0] = 32\r\n        dependencies   [0x7413cfc0,0x7413cfc4] = 4\r\n\r\n        If you would like to submit a bug report, please visit:\r\n        http://bugreport.java.com/bugreport/crash.jsp\r\n\r\nIf you need the log file i can provide it too. I don't know if this a vertx or a JRE bug...\r\n\r\nAny ideas?\r\n\r\nThx,\r\nPeddn"},"comment":{"url":"https://api.github.com/repos/vert-x3/vertx-web/issues/comments/203301559","html_url":"https://github.com/vert-x3/vertx-web/issues/346#issuecomment-203301559","issue_url":"https://api.github.com/repos/vert-x3/vertx-web/issues/346","id":203301559,"user":{"login":"pmlopes","id":849467,"avatar_url":"https://avatars.githubusercontent.com/u/849467?v=3","gravatar_id":"","url":"https://api.github.com/users/pmlopes","html_url":"https://github.com/pmlopes","followers_url":"https://api.github.com/users/pmlopes/followers","following_url":"https://api.github.com/users/pmlopes/following{/other_user}","gists_url":"https://api.github.com/users/pmlopes/gists{/gist_id}","starred_url":"https://api.github.com/users/pmlopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmlopes/subscriptions","organizations_url":"https://api.github.com/users/pmlopes/orgs","repos_url":"https://api.github.com/users/pmlopes/repos","events_url":"https://api.github.com/users/pmlopes/events{/privacy}","received_events_url":"https://api.github.com/users/pmlopes/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T07:50:43Z","updated_at":"2016-03-30T07:50:43Z","body":"Fixed by eclipse/vert.x#1353\r\n\r\n@peddn netty fix should be in once the HTTP2 work is merged on core."}}