Knotx / knotx-junit5

JUnit 5 support and extensions for Vert.x projects
https://knotx.io
Apache License 2.0
0 stars 4 forks source link

SIGSEGV on tests execution in WSL #32

Closed tMaxx closed 5 years ago

tMaxx commented 5 years ago

Environment:

~d/projects/knotx/knotx-junit5                                         
%λ gradle -v                                                           

------------------------------------------------------------           
Gradle 5.4.1                                                           
------------------------------------------------------------           

Build time:   2019-04-26 08:14:42 UTC                                  
Revision:     261d171646b36a6a28d5a19a69676cd098a4c19d                 

Kotlin:       1.3.21                                                   
Groovy:       2.5.4                                                    
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018   
JVM:          1.8.0_181 (Oracle Corporation 25.181-b13)                
OS:           Linux 4.4.0-17134-Microsoft amd64                        

Stacktrace taken from crash dump:

Stack: [0x00007f37f1c50000,0x00007f37f1d51000],  sp=0x00007f37f1d4c060,  free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 3473 C2 java.net.ServerSocket.<init>(IILjava/net/InetAddress;)V (120 bytes) @ 0x00007f37f92108d0 [0x00007f37f92105e0+0x2f0]
J 3476 C2 me.alexpanov.net.FreePortFinder.available(ILjava/net/InetAddress;)Z (399 bytes) @ 0x00007f37f920a554 [0x00007f37f920a480+0xd4]
j  me.alexpanov.net.FreePortFinder.findFreeLocalPort(ILjava/net/InetAddress;)I+84
j  me.alexpanov.net.FreePortFinder.findFreeLocalPort(Ljava/net/InetAddress;)I+11
j  me.alexpanov.net.FreePortFinder.findFreeLocalPort()I+5
j  io.knotx.junit5.KnotxExtension.lambda$addToOverrides$1(Ljava/util/HashMap;Ljava/lang/String;)V+6
j  io.knotx.junit5.KnotxExtension$$Lambda$259.accept(Ljava/lang/Object;)V+8
j  java.lang.Iterable.forEach(Ljava/util/function/Consumer;)V+30
j  io.knotx.junit5.KnotxExtension.addToOverrides(Lcom/typesafe/config/Config;Ljava/util/List;Ljava/lang/String;)V+164
j  io.knotx.junit5.KnotxExtension.loadKnotxConfig(Lio/vertx/core/Vertx;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V+110
j  io.knotx.junit5.KnotxExtension.internalVertxResolve(Lorg/junit/jupiter/api/extension/ParameterContext;Lorg/junit/jupiter/api/extension/ExtensionContext;)Ljava/lang/Object;+139
j  io.knotx.junit5.KnotxExtension.resolveParameter(Lorg/junit/jupiter/api/extension/ParameterContext;Lorg/junit/jupiter/api/extension/ExtensionContext;)Ljava/lang/Object;+20
j  org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(Lorg/junit/jupiter/api/extension/ParameterContext;Ljava/lang/reflect/Executable;Lorg/junit/jupiter/api/extension/ExtensionContext;Lorg/junit/jupiter/engine/extension/ExtensionRegistry;)Ljava/lang/Object;+270

Investigate why it's happening, and if it has any connection to #31.