https://bz.apache.org/bugzilla/show_bug.cgi?id=65298

            Bug ID: 65298
           Summary: JMeter crash on Mac OS 11.2.3
           Product: JMeter
           Version: 5.4.1
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.5

When I open jmeter on my macbook with Mac OS 11.2.3, it always crash
immediately or can run for a short time but still crash in the end. 

See my macOS and java version

$ sw_vers
ProductName:    macOS
ProductVersion: 11.2.3
BuildVersion:   20D91

$ java -version
java version "11.0.10" 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)

I am using JMeter 5.4.1 and I got logs as below.


WARNING: package sun.awt.X11 not in java.desktop
================================================================================
Don't use GUI mode for load testing !, only for Test creation and Test
debugging.
For load testing, use CLI Mode (was NON GUI):
   jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
& increase Java Heap to meet your test requirements:
   Modify current env variable HEAP="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m"
in the jmeter batch file
Check : https://jmeter.apache.org/usermanual/best-practices.html
================================================================================
2021-05-10 16:52:59.967 java[3821:190107] Warning: Expected min height of view:
(<NSButton: 0x7f9a5b00c900>) to be less than or equal to 30 but got a height of
32.000000. This error will be logged once per view in violation.
2021-05-10 16:52:59.970 java[3821:190107] Warning: Expected min height of view:
(<NSButton: 0x7f9a59b33730>) to be less than or equal to 30 but got a height of
32.000000. This error will be logged once per view in violation.
2021-05-10 16:53:00.317 java[3821:190107] _TIPropertyValueIsValid called with 4
on nil context!
2021-05-10 16:53:00.317 java[3821:190107] imkxpc_getApplicationProperty:reply:
called with incorrect property value 4, bailing.
2021-05-10 16:53:00.317 java[3821:190107] Text input context does not respond
to _valueForTIProperty:
2021-05-10 16:53:00.318 java[3821:190107] _TIPropertyValueIsValid called with 4
on nil context!
2021-05-10 16:53:00.318 java[3821:190107] imkxpc_getApplicationProperty:reply:
called with incorrect property value 4, bailing.
2021-05-10 16:53:00.318 java[3821:190107] Text input context does not respond
to _valueForTIProperty:
2021-05-10 16:53:00.322 java[3821:190107] _TIPropertyValueIsValid called with 4
on nil context!
2021-05-10 16:53:00.322 java[3821:190107] imkxpc_getApplicationProperty:reply:
called with incorrect property value 4, bailing.
2021-05-10 16:53:00.322 java[3821:190107] Text input context does not respond
to _valueForTIProperty:
2021-05-10 16:53:04.856 java[3821:190107] +[AWTView
keyboardInputSourceChanged:]: unrecognized selector sent to class 0x127d263e0
2021-05-10 16:53:04.858 java[3821:190107] *** Terminating app due to uncaught
exception 'NSInvalidArgumentException', reason: '+[AWTView
keyboardInputSourceChanged:]: unrecognized selector sent to class 0x127d263e0'
*** First throw call stack:
(
  0   CoreFoundation                      0x00007fff2054a6af
__exceptionPreprocess + 242
  1   libobjc.A.dylib                     0x00007fff202823c9
objc_exception_throw + 48
  2   CoreFoundation                      0x00007fff205ccbdd __CFExceptionProem
+ 0
  3   CoreFoundation                      0x00007fff204b207d ___forwarding___ +
1467
  4   CoreFoundation                      0x00007fff204b1a38
_CF_forwarding_prep_0 + 120
  5   CoreFoundation                      0x00007fff204c5fec
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
  6   CoreFoundation                      0x00007fff2056189b
___CFXRegistrationPost_block_invoke + 49
  7   CoreFoundation                      0x00007fff2056180f
_CFXRegistrationPost + 454
  8   CoreFoundation                      0x00007fff20496bde
_CFXNotificationPost + 723
  9   Foundation                          0x00007fff21205abe
-[NSNotificationCenter postNotificationName:object:userInfo:] + 59
  10  AppKit                              0x00007fff23097812
__NSSelectedKeyboardInputSourcesChangedNotification + 58
  11  CoreFoundation                      0x00007fff204c5fec
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
  12  CoreFoundation                      0x00007fff2056189b
___CFXRegistrationPost_block_invoke + 49
  13  libdispatch.dylib                   0x00007fff2022c5dd
_dispatch_call_block_and_release + 12
  14  libdispatch.dylib                   0x00007fff2022d7c7
_dispatch_client_callout + 8
  15  libdispatch.dylib                   0x00007fff20239b86
_dispatch_main_queue_callback_4CF + 940
  16  CoreFoundation                      0x00007fff2050d970
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
  17  CoreFoundation                      0x00007fff204cf852 __CFRunLoopRun +
2731
  18  CoreFoundation                      0x00007fff204ce6ce
CFRunLoopRunSpecific + 563
  19  HIToolbox                           0x00007fff28756630
RunCurrentEventLoopInMode + 292
  20  HIToolbox                           0x00007fff2875642c
ReceiveNextEventCommon + 709
  21  HIToolbox                           0x00007fff2875614f
_BlockUntilNextEventMatchingListInModeWithFilter + 64
  22  AppKit                              0x00007fff22cee9b1 _DPSNextEvent +
883
  23  AppKit                              0x00007fff22ced177
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
+ 1366
  24  libosxapp.dylib                     0x000000010579a91e -[NSApplicationAWT
nextEventMatchingMask:untilDate:inMode:dequeue:] + 121
  25  AppKit                              0x00007fff22cdf68a -[NSApplication
run] + 586
  26  libosxapp.dylib                     0x000000010579a763 +[NSApplicationAWT
runAWTLoopWithApp:] + 222
  27  libawt_lwawt.dylib                  0x0000000127cec141 +[AWTStarter
starter:headless:] + 834
  28  JavaNativeFoundation                0x00007fff6f7cc70f +[JNFRunLoop
_performCopiedBlock:] + 15
  29  Foundation                          0x00007fff2127c4d9
__NSThreadPerformPerform + 204
  30  CoreFoundation                      0x00007fff204d0a0c
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
  31  CoreFoundation                      0x00007fff204d0974
__CFRunLoopDoSource0 + 180
  32  CoreFoundation                      0x00007fff204d06ef
__CFRunLoopDoSources0 + 248
  33  CoreFoundation                      0x00007fff204cf121 __CFRunLoopRun +
890
  34  CoreFoundation                      0x00007fff204ce6ce
CFRunLoopRunSpecific + 563
  35  libjli.dylib                        0x00000001040a95f6
CreateExecutionEnvironment + 399
  36  libjli.dylib                        0x00000001040a5787 JLI_Launch + 1315
  37  java                                0x0000000104094b6f main + 367
  38  libdyld.dylib                       0x00007fff203f3621 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
/Users/xxx/apache-jmeter-5.4.1/bin/jmeter: line 199:  3821 Abort trap: 6       
   "$JAVA_HOME/bin/java" $ARGS $JVM_ARGS $JMETER_OPTS -jar
"$PRGDIR/ApacheJMeter.jar" "$@"
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to