{"action":"created","issue":{"url":"https://api.github.com/repos/cloudius-systems/osv/issues/749","repository_url":"https://api.github.com/repos/cloudius-systems/osv","labels_url":"https://api.github.com/repos/cloudius-systems/osv/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/cloudius-systems/osv/issues/749/comments","events_url":"https://api.github.com/repos/cloudius-systems/osv/issues/749/events","html_url":"https://github.com/cloudius-systems/osv/issues/749","id":156117856,"number":749,"title":"Page fault launching Ratpack server in jkd8 image","user":{"login":"bitsift","id":10681485,"avatar_url":"https://avatars.githubusercontent.com/u/10681485?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsift","html_url":"https://github.com/bitsift","followers_url":"https://api.github.com/users/bitsift/followers","following_url":"https://api.github.com/users/bitsift/following{/other_user}","gists_url":"https://api.github.com/users/bitsift/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsift/subscriptions","organizations_url":"https://api.github.com/users/bitsift/orgs","repos_url":"https://api.github.com/users/bitsift/repos","events_url":"https://api.github.com/users/bitsift/events{/privacy}","received_events_url":"https://api.github.com/users/bitsift/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-21T19:33:12Z","updated_at":"2016-05-22T23:59:15Z","closed_at":null,"body":"Launching a minimal ratpack server fails with the following error:\r\n\r\n```\r\n$ capstan run\r\nCreated instance: ratpack-example\r\nOSv v0.24\r\neth0: 192.168.122.15\r\n18:25:47.830 [Thread-3] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework\r\n18:25:47.859 [Thread-3] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple\r\n18:25:47.867 [Thread-3] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4\r\n18:25:47.926 [Thread-3] INFO  ratpack.server.RatpackServer - Starting server...\r\n18:25:48.352 [Thread-3] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available\r\n18:25:48.356 [Thread-3] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available\r\n18:25:48.358 [Thread-3] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available\r\n18:25:48.361 [Thread-3] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true\r\n18:25:48.365 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - Java version: 8\r\n18:25:48.367 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false\r\n18:25:48.369 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available\r\n18:25:48.374 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false\r\n18:25:48.476 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - Javassist: available\r\n18:25:48.479 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: /\r\n18:25:48.481 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)\r\n18:25:48.484 [Thread-3] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false\r\n18:25:48.488 [Thread-3] DEBUG i.n.u.internal.NativeLibraryLoader - -Dio.netty.tmpdir: /\r\n18:25:48.490 [Thread-3] DEBUG i.n.u.internal.NativeLibraryLoader - -Dio.netty.native.workdir: / (io.netty.tmpdir)\r\npage fault outside application, addr: 0x0000000000000000\r\n[registers]\r\nRIP: 0x000000000044ae29 <strchrnul+73>\r\nRFL: 0x0000000000010246  CS:  0x0000000000000008  SS:  0x0000000000000010\r\nRAX: 0x0000000000000001  RBX: 0x0000000000000000  RCX: 0xfffffffffffff8d8  RDX: 0xffff9000016710c0\r\nRSI: 0x000000000000006e  RDI: 0x0101010101010101  RBP: 0x0000200010cca650  R8:  0x0000000000e629c0\r\nR9:  0x000000000000006e  R10: 0xffffa00009e25800  R11: 0x0000000000000001  R12: 0x000000000000006e\r\nR13: 0x000000000000006e  R14: 0xffffa00009e25800  R15: 0x0000000000000001  RSP: 0x0000200010cca640\r\nAborted\r\n\r\n[backtrace]\r\n0x000000000032eff8 <???+3338232>\r\n0x00000000003301ea <mmu::vm_fault(unsigned long, exception_frame*)+314>\r\n0x0000000000393358 <page_fault+136>\r\n0x0000000000392236 <???+3744310>\r\n0x000000000044adbf <strchr+15>\r\n0x000000000047c40f <strstr+31>\r\n0x00001000090078c1 <JNI_OnLoad+81>\r\n```\r\nCapstan file used:\r\n```\r\nbase: cloudius/osv-openjdk8\r\n\r\ncmdline: >\r\n  /java.so\r\n  -jar /ratpack-example.jar\r\n\r\nbuild: gradle build\r\n\r\nfiles:\r\n  /ratpack-example.jar: build/libs/ratpack-example-1.0-SNAPSHOT.jar\r\n\r\n```\r\nThe Jar was build on Ubuntu 12.04\r\n```\r\n$ java -version \r\njava version \"1.8.0_91\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_91-b14)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudius-systems/osv/issues/comments/220864620","html_url":"https://github.com/cloudius-systems/osv/issues/749#issuecomment-220864620","issue_url":"https://api.github.com/repos/cloudius-systems/osv/issues/749","id":220864620,"user":{"login":"bitsift","id":10681485,"avatar_url":"https://avatars.githubusercontent.com/u/10681485?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsift","html_url":"https://github.com/bitsift","followers_url":"https://api.github.com/users/bitsift/followers","following_url":"https://api.github.com/users/bitsift/following{/other_user}","gists_url":"https://api.github.com/users/bitsift/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsift/subscriptions","organizations_url":"https://api.github.com/users/bitsift/orgs","repos_url":"https://api.github.com/users/bitsift/repos","events_url":"https://api.github.com/users/bitsift/events{/privacy}","received_events_url":"https://api.github.com/users/bitsift/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T23:59:15Z","updated_at":"2016-05-22T23:59:15Z","body":"Hi, thanks for looking into this. I have uploaded a simple Ratpack project that exhibits the above reported issue: [https://github.com/bitsift/ratpack-osv](https://github.com/bitsift/ratpack-osv)\r\n\r\nTo launch the server locally, run the Gradle wrapper to boostrap the build\r\n`$ ./gradlew run`\r\n\r\nOnce the server is running, visiting [http://localhost:8080/hello](http://localhost:8080/hello) should return the message \r\n> Hello World.\r\n\r\nTo replicate the page fault as reported above, launch the server in OSv via capstan:\r\n`$ capstan run`\r\n\r\nThank you for your help."}}
{"actor":{"display_login":"bitsift"}}