Xceptance / XLT

XLT is an comprehensive load and performance test tool developed and maintained by Xceptance. It features extensive ready-to-use reporting.
https://www.xceptance.com/xlt/
Apache License 2.0
62 stars 11 forks source link

Create report crashes on newer Macs #443

Closed rschwietzke closed 10 months ago

rschwietzke commented 10 months ago

The progressbar version 0.9.2 uses jline which has native code in it. This breaks the create report on ARM Macs. progressbar 0.10.0 fixes it because it uses a newer jline version.

This is a hard VM crash!

Stack: [0x0000000171be8000,0x0000000171deb000],  sp=0x0000000171de9a30,  free space=2054k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [jna11465715544743643477.tmp+0x698c]  Java_com_sun_jna_Native_invokePointer+0xaf4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.jna.Native.invokeVoid(Lcom/sun/jna/Function;JI[Ljava/lang/Object;)V+0
j  com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;ZI)Ljava/lang/Object;+42
j  com.sun.jna.Function.invoke(Ljava/lang/reflect/Method;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+271
j  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+390
j  jdk.proxy2.$Proxy17.ioctl(ILcom/sun/jna/NativeLong;Lorg/jline/terminal/impl/jna/osx/CLibrary$winsize;)V+27 jdk.proxy2
j  org.jline.terminal.impl.jna.osx.OsXNativePty.getSize()Lorg/jline/terminal/Size;+26
j  org.jline.terminal.impl.AbstractPosixTerminal.getSize()Lorg/jline/terminal/Size;+4
j  org.jline.terminal.Terminal.getWidth()I+1
j  me.tongfei.progressbar.TerminalUtils.getTerminalWidth()I+5
j  me.tongfei.progressbar.ConsoleProgressBarConsumer.getMaxRenderedLength()I+7
j  me.tongfei.progressbar.ProgressUpdateAction.refresh()V+27
j  me.tongfei.progressbar.ProgressUpdateAction.run()V+11
j  java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4 java.base@21.0.1
j  java.util.concurrent.FutureTask.run()V+39 java.base@21.0.1
j  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V+28 java.base@21.0.1
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@21.0.1
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@21.0.1
j  java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@21.0.1
j  java.lang.Thread.run()V+19 java.base@21.0.1
v  ~StubRoutines::call_stub 0x000000012f534140

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x03fc0770010fffe4
jowerner commented 10 months ago

Updated just the jline library. progressbar could not be updated right now as newer versions come with unwanted changes (progress bar is displayed already when creating it).