Closed
Description
Hi,
I was trying to build a image that already works when using shared objects with the extra flag: --static
.
The application crashes as soon as a DNS resolution is requested:
[ [ SubstrateSegfaultHandler caught signal 11 ] ]
General Purpose Register Set Values:
RAX 0000000003d4e000
RBX 000000000148ddd0
RCX 0000000000ddcc6c
RDX 0000000000020770
RBP 0000000001c1b0e0
RSI 0000000000000080
RDI 0000000001c1b0e0
RSP 00007f0fb35fd350
R8 0000000000000025
R9 0000000000000001
R10 0000000000e35c50
R11 0000000000000202
R12 0000000000a43e90
R13 0000000001ed1c60
R14 00000000c0100702
R15 00007f0fa00008c0
EFL 0000000000010287
RIP 0000000000e0aa7a
JavaFrameAnchor dump:
Anchor 00007f0fb35fd528 LastJavaSP 00007f0fb35fd450
DeoptStubPointer address: 0000000000000000
TopFrame info:
Lookup TotalFrameSize in CodeInfoTable:
SourceTotalFrameSize -1
Does not look like a Java Frame. Use JavaFrameAnchors to find LastJavaSP:
Found matching Anchor:00007f0fb35fd528
LastJavaSP 00007f0fb35fd450
LastJavaIP 0000000000a8d585
VMThreads info:
VMThread 00007f0f980008c0 STATUS_IN_NATIVE
VMThread 00007f0fa40008c0 STATUS_IN_NATIVE
VMThread 00007f0fa00008c0 STATUS_IN_JAVA (safepoints disabled)
VMThread 00007f0fa80008c0 STATUS_IN_NATIVE
VMThread 00007f0fac0008c0 STATUS_IN_NATIVE
VMThread 00007f0fb40008c0 STATUS_IN_NATIVE
VMThread 0000000003b83880 STATUS_IN_NATIVE
VM Thread State for current thread 00007f0fa00008c0:
0 (8 bytes): com.oracle.svm.core.genscavenge.PinnedAllocatorImpl.openPinnedAllocator = null
8 (8 bytes): com.oracle.svm.core.heap.NoAllocationVerifier.openVerifiers = null
16 (8 bytes): com.oracle.svm.core.jdk.IdentityHashCodeSupport.hashCodeGeneratorTL = java.util.SplittableRandom 00007f0fb2a02e20
24 (8 bytes): com.oracle.svm.core.snippets.SnippetRuntime.currentException = null
32 (8 bytes): com.oracle.svm.core.thread.JavaThreads.currentThread = io.vertx.core.impl.VertxThread 00007f0fb8ab1b68
40 (8 bytes): com.oracle.svm.core.thread.ThreadingSupportImpl.activeTimer = null
48 (32 bytes): com.oracle.svm.core.genscavenge.ThreadLocalAllocation.pinnedTLAB =
00007f0fa00008f0: 0000000000000000 0000000000000000
00007f0fa0000900: 0000000000000000 0000000000000000
80 (32 bytes): com.oracle.svm.core.genscavenge.ThreadLocalAllocation.regularTLAB =
00007f0fa0000910: 00007f0fb2a00000 00007f0fb2b00000
00007f0fa0000920: 00007f0fb2a06eb8 0000000000000000
112 (8 bytes): com.oracle.svm.core.genscavenge.ThreadLocalAllocation.freeList = 0 0000000000000000
120 (8 bytes): com.oracle.svm.core.posix.thread.PosixVMThreads.IsolateTL = 94598687557484880 0150150150150150
128 (8 bytes): com.oracle.svm.core.stack.JavaFrameAnchors.lastAnchor = 139705410639144 00007f0fb35fd528
136 (8 bytes): com.oracle.svm.core.thread.VMThreads.nextTL = 139705219811520 00007f0fa80008c0
144 (4 bytes): com.oracle.svm.core.thread.Safepoint.safepointRequested = -11746 ffffd21e
148 (4 bytes): com.oracle.svm.core.thread.Safepoint.safepointRequestedValueBeforeSafepoint = 0 00000000
152 (4 bytes): com.oracle.svm.core.thread.VMOperationControl.isLockOwner = 0 00000000
156 (4 bytes): com.oracle.svm.core.thread.VMThreads$StatusSupport.safepointsDisabledTL = 1 00000001
160 (4 bytes): com.oracle.svm.core.thread.VMThreads$StatusSupport.statusTL = 1 00000001
VMOperation dump:
No VMOperation in progress
RuntimeCodeCache dump:
== [Recent RuntimeCodeCache operations: ]
== [RuntimeCodeCache: 0 methods]
Deoptimizer dump:
== [Recent Deoptimizer Events:
]
Dump Counters:
Raw Stacktrace:
00007f0fb35fd350: 00000000b2a06c98 0000000000642b2f
00007f0fb35fd360: 0000002501480790 000000000061f1a1
00007f0fb35fd370: 000000000021af32 0000000100000001
00007f0fb35fd380: 00007f0fb2a06d58 000000000062166e
00007f0fb35fd390: 00007f0fb2a04228 00007f0fb2a06d80
00007f0fb35fd3a0: 00007f0fb2a04240 00007f0fb2a04140
00007f0fb35fd3b0: 00007f0fb2a041c8 00007f0fb2a06c20
00007f0fb35fd3c0: 0000000001481d60 00000000c0100702
00007f0fb35fd3d0: 00007f0fa00008c0 0000000000e0ef17
00007f0fb35fd3e0: 000000000147fe78 0000000000000012
00007f0fb35fd3f0: 00007f0fb2a041a0 0000000000000090
00007f0fb35fd400: 0000000000000000 00007f0fb2a04140
00007f0fb35fd410: 00007f0fb2a041c8 00007f0fb2a06c20
00007f0fb35fd420: 0000000001481d60 0000000000e35c6d
00007f0fb35fd430: 0000000000a8d21b 0000000000e0eed0
00007f0fb35fd440: 0000000000000000 0000000000a8d585
00007f0fb35fd450: 0000000000000000 0000000000000000
00007f0fb35fd460: 0000000001430438 f560319600000000
00007f0fb35fd470: 0000000000000000 00000000fffffffe
00007f0fb35fd480: 0000000000000000 0000000000000000
00007f0fb35fd490: 00000000015908c8 0000000000c2b92d
00007f0fb35fd4a0: 0000000101c11cd0 0000000100000000
00007f0fb35fd4b0: 00007f0fb2a041e8 0000000000c798c5
00007f0fb35fd4c0: 0000000001573898 fffffffe00000000
00007f0fb35fd4d0: fffffffe00000000 0000000000000000
00007f0fb35fd4e0: 00007f0fb2a041e8 00007f0fb2a041b0
00007f0fb35fd4f0: 00007f0fb2a04160 0000000000e35c50
00007f0fb35fd500: 0000000000e0eed0 0000000001b311d8
00007f0fb35fd510: 00007f0fb35fd540 00007f0fb35fd548
00007f0fb35fd520: 0000000001430438 00007f0fb35fd450
00007f0fb35fd530: 0000000000000000 00007f0fb2a041c8
00007f0fb35fd540: 00007f0fb2a04140 0000000200000002
00007f0fb35fd550: 0000000000000000 0000000000000000
00007f0fb35fd560: 0000000000000000 0000000000000000
00007f0fb35fd570: 0000000000000000 0000000000a91cff
00007f0fb35fd580: 00007f0fb2a03d50 0000000000c798c5
00007f0fb35fd590: 0000000001ba10c0 0000000000bf3988
00007f0fb35fd5a0: 00000000015c09a0 0000000101ba1120
00007f0fb35fd5b0: 00007f0fb2a03d50 0000000000c7bd43
00007f0fb35fd5c0: 0000000101ba10c0 0000000001b31100
00007f0fb35fd5d0: 00007f0fb2a03d38 0000000000617a25
00007f0fb35fd5e0: 0000000000000000 0000000ab964baa0
00007f0fb35fd5f0: 0000000001ba10c0 0000000001430438
00007f0fb35fd600: 0000000001b311d8 0000000000f3ede8
00007f0fb35fd610: 00007f0fb2a01ba8 0000000000702f3d
00007f0fb35fd620: 00007f0fb2a04140 0000000000000000
00007f0fb35fd630: 0000000000000000 0000000001430438
00007f0fb35fd640: 0000000001430438 0000000000a94295
00007f0fb35fd650: 00000020014bc268 0000007700000010
00007f0fb35fd660: 0000000000eb79b0 0000000000a16414
00007f0fb35fd670: 00000001b2a01ae8 0000000000000000
00007f0fb35fd680: 0000000001430438 0000000000a92fab
00007f0fb35fd690: 00007f0fb2a03a30 000000000071217a
00007f0fb35fd6a0: 00007f0fb2a03b50 00007f0fb964baa0
00007f0fb35fd6b0: 00007f0fb2a01ba8 00007f0fb2a03178
00007f0fb35fd6c0: 00007f0fb2a03ac8 0000000000000077
00007f0fb35fd6d0: 00007f0fb2a02fe8 0000000000702f3d
00007f0fb35fd6e0: 0000000000000000 0000000001430438
00007f0fb35fd6f0: 00007f0fb2a03a30 0000000000a945ab
00007f0fb35fd700: 000000000000009c 0000000001486b60
00007f0fb35fd710: 00000000015404a0 0000000000bedaaf
00007f0fb35fd720: 0000000001430438 000000000085f6db
00007f0fb35fd730: 00007f0fb8ab1b68 000000020089bc05
00007f0fb35fd740: 0000000001b205e8 000000400000001a
Stacktrace Stage0:
RSP 00007f0fb35fd450 RIP 0000000000a8d585 FrameSize 304
RSP 00007f0fb35fd580 RIP 0000000000a91cff FrameSize 208
RSP 00007f0fb35fd650 RIP 0000000000a94295 FrameSize 64
RSP 00007f0fb35fd690 RIP 0000000000a92fab FrameSize 112
RSP 00007f0fb35fd700 RIP 0000000000a945ab FrameSize 48
RSP 00007f0fb35fd730 RIP 000000000085f6db FrameSize 64
RSP 00007f0fb35fd770 RIP 000000000086050a FrameSize 64
RSP 00007f0fb35fd7b0 RIP 000000000086046f FrameSize 48
RSP 00007f0fb35fd7e0 RIP 000000000085fd59 FrameSize 64
RSP 00007f0fb35fd820 RIP 000000000085ff34 FrameSize 48
RSP 00007f0fb35fd850 RIP 000000000085e236 FrameSize 80
RSP 00007f0fb35fd8a0 RIP 00000000006805ea FrameSize 112
RSP 00007f0fb35fd910 RIP 00000000006800fe FrameSize 80
RSP 00007f0fb35fd960 RIP 000000000067fac0 FrameSize 48
RSP 00007f0fb35fd990 RIP 000000000099a402 FrameSize 96
RSP 00007f0fb35fd9f0 RIP 000000000092a289 FrameSize 128
RSP 00007f0fb35fda70 RIP 0000000000929c4a FrameSize 80
RSP 00007f0fb35fdac0 RIP 000000000095d9e4 FrameSize 64
RSP 00007f0fb35fdb00 RIP 000000000095be1f FrameSize 48
RSP 00007f0fb35fdb30 RIP 000000000087f458 FrameSize 32
RSP 00007f0fb35fdb50 RIP 000000000089558f FrameSize 112
RSP 00007f0fb35fdbc0 RIP 000000000073e473 FrameSize 80
RSP 00007f0fb35fdc10 RIP 000000000088f024 FrameSize 160
RSP 00007f0fb35fdcb0 RIP 00000000008896cf FrameSize 32
RSP 00007f0fb35fdcd0 RIP 0000000000a42f1f FrameSize 32
RSP 00007f0fb35fdcf0 RIP 0000000000660c24 FrameSize 96
RSP 00007f0fb35fdd50 RIP 000000000061cf24 FrameSize 144
Stacktrace Stage1:
RSP 00007f0fb35fd450 RIP 0000000000a8d585 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd580 RIP 0000000000a91cff com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd650 RIP 0000000000a94295 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd690 RIP 0000000000a92fab com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd700 RIP 0000000000a945ab com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd730 RIP 000000000085f6db com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd770 RIP 000000000086050a com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd7b0 RIP 000000000086046f com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd7e0 RIP 000000000085fd59 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd820 RIP 000000000085ff34 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd850 RIP 000000000085e236 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd8a0 RIP 00000000006805ea com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd910 RIP 00000000006800fe com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd960 RIP 000000000067fac0 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd990 RIP 000000000099a402 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fd9f0 RIP 000000000092a289 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fda70 RIP 0000000000929c4a com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdac0 RIP 000000000095d9e4 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdb00 RIP 000000000095be1f com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdb30 RIP 000000000087f458 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdb50 RIP 000000000089558f com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdbc0 RIP 000000000073e473 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdc10 RIP 000000000088f024 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdcb0 RIP 00000000008896cf com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdcd0 RIP 0000000000a42f1f com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdcf0 RIP 0000000000660c24 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
RSP 00007f0fb35fdd50 RIP 000000000061cf24 com.oracle.svm.core.code.ImageCodeInfo@0x1480a88 name = image code
Full Stacktrace:
RSP 00007f0fb35fd450 RIP 0000000000a8d585 [image code] com.oracle.svm.core.posix.headers.Netdb.freeaddrinfo(Netdb.java)
RSP 00007f0fb35fd450 RIP 0000000000a8d585 [image code] com.oracle.svm.core.posix.Target_java_net_Inet4AddressImpl.lookupAllHostAddr(PosixJavaNetSubstitutions.java:695)
RSP 00007f0fb35fd580 RIP 0000000000a91cff [image code] java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
RSP 00007f0fb35fd580 RIP 0000000000a91cff [image code] java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
RSP 00007f0fb35fd650 RIP 0000000000a94295 [image code] java.net.InetAddress.getAllByName0(InetAddress.java:1276)
RSP 00007f0fb35fd690 RIP 0000000000a92fab [image code] java.net.InetAddress.getAllByName(InetAddress.java:1192)
RSP 00007f0fb35fd700 RIP 0000000000a945ab [image code] java.net.InetAddress.getAllByName(InetAddress.java:1126)
RSP 00007f0fb35fd700 RIP 0000000000a945ab [image code] java.net.InetAddress.getByName(InetAddress.java:1076)
RSP 00007f0fb35fd730 RIP 000000000085f6db [image code] io.netty.util.internal.SocketUtils$8.run(SocketUtils.java:146)
RSP 00007f0fb35fd730 RIP 000000000085f6db [image code] io.netty.util.internal.SocketUtils$8.run(SocketUtils.java:143)
RSP 00007f0fb35fd730 RIP 000000000085f6db [image code] com.oracle.svm.core.jdk.Target_java_security_AccessController.doPrivileged(SecuritySubstitutions.java:90)
RSP 00007f0fb35fd730 RIP 000000000085f6db [image code] io.netty.util.internal.SocketUtils.addressByName(SocketUtils.java:143)
RSP 00007f0fb35fd730 RIP 000000000085f6db [image code] io.netty.resolver.DefaultNameResolver.doResolve(DefaultNameResolver.java:43)
RSP 00007f0fb35fd770 RIP 000000000086050a [image code] io.netty.resolver.SimpleNameResolver.resolve(SimpleNameResolver.java:63)
RSP 00007f0fb35fd7b0 RIP 000000000086046f [image code] io.netty.resolver.SimpleNameResolver.resolve(SimpleNameResolver.java:55)
RSP 00007f0fb35fd7e0 RIP 000000000085fd59 [image code] io.netty.resolver.InetSocketAddressResolver.doResolve(InetSocketAddressResolver.java:57)
RSP 00007f0fb35fd820 RIP 000000000085ff34 [image code] io.netty.resolver.InetSocketAddressResolver.doResolve(InetSocketAddressResolver.java:32)
RSP 00007f0fb35fd850 RIP 000000000085e236 [image code] io.netty.resolver.AbstractAddressResolver.resolve(AbstractAddressResolver.java:108)
RSP 00007f0fb35fd8a0 RIP 00000000006805ea [image code] io.netty.bootstrap.Bootstrap.doResolveAndConnect0(Bootstrap.java:208)
RSP 00007f0fb35fd910 RIP 00000000006800fe [image code] io.netty.bootstrap.Bootstrap.doResolveAndConnect(Bootstrap.java:170)
RSP 00007f0fb35fd960 RIP 000000000067fac0 [image code] io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:145)
RSP 00007f0fb35fd990 RIP 000000000099a402 [image code] io.vertx.core.net.impl.ChannelProvider.connect(ChannelProvider.java:49)
RSP 00007f0fb35fd9f0 RIP 000000000092a289 [image code] io.vertx.core.http.impl.HttpChannelConnector.doConnect(HttpChannelConnector.java:207)
RSP 00007f0fb35fda70 RIP 0000000000929c4a [image code] io.vertx.core.http.impl.HttpChannelConnector.connect(HttpChannelConnector.java:103)
RSP 00007f0fb35fdac0 RIP 000000000095d9e4 [image code] io.vertx.core.http.impl.pool.Pool.createConnection(Pool.java:291)
RSP 00007f0fb35fdb00 RIP 000000000095be1f [image code] io.vertx.core.http.impl.pool.Pool.lambda$acquireConnection$3(Pool.java:201)
RSP 00007f0fb35fdb00 RIP 000000000095be1f [image code] io.vertx.core.http.impl.pool.Pool$$Lambda$534/1732033473.run(Unknown Source)
RSP 00007f0fb35fdb30 RIP 000000000087f458 [image code] io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
RSP 00007f0fb35fdb50 RIP 000000000089558f [image code] io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
RSP 00007f0fb35fdbc0 RIP 000000000073e473 [image code] io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:465)
RSP 00007f0fb35fdc10 RIP 000000000088f024 [image code] io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
RSP 00007f0fb35fdcb0 RIP 00000000008896cf [image code] io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
RSP 00007f0fb35fdcd0 RIP 0000000000a42f1f [image code] java.lang.Thread.run(Thread.java:748)
RSP 00007f0fb35fdcf0 RIP 0000000000660c24 [image code] com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:238)
RSP 00007f0fb35fdd50 RIP 000000000061cf24 [image code] com.oracle.svm.core.code.CEntryPointCallStubs.com_002eoracle_002esvm_002ecore_002eposix_002ethread_002ePosixJavaThreads_002epthreadStartRoutine_0028com_002eoracle_002esvm_002ecore_002eposix_002ethread_002ePosixJavaThreads_0024ThreadStartData_0029(generated:0)
Use runtime option -R:-InstallSegfaultHandler if you don't want to use SubstrateSegfaultHandler.
Bye bye ...