[ https://issues.apache.org/jira/browse/SUREFIRE-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed SUREFIRE-1839. ------------------------------------ Resolution: Invalid The illegal access happens from your application, more precisely in OpenJDK code: {noformat} Stack: [0x000070000464d000,0x000070000474d000], sp=0x0000700004749430, free space=1009k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libdispatch.dylib+0x38f1] _dispatch_assert_queue_fail+0x63 C [libdispatch.dylib+0x3886] dispatch_assert_queue+0x7a C [HIToolbox+0x31dd2] islGetInputSourceListWithAdditions+0x77 C [HIToolbox+0x345c8] isValidateInputSourceRef+0x5a C [HIToolbox+0x34490] TSMGetInputSourceProperty+0x1e C [SkyLight+0x238c28] invocation function for block in key_translate_initialize()+0xb2 C [libdispatch.dylib+0x2658] _dispatch_client_callout+0x8 C [libdispatch.dylib+0x37de] _dispatch_once_callout+0x14 C [SkyLight+0x238b74] CGSKeyEventTranslate+0x40 C [SkyLight+0xd52f0] SLEventCreateKeyboardEvent+0x110 C [libawt_lwawt.dylib+0x2ad80] Java_sun_lwawt_macosx_CRobot_keyEvent+0x48 j sun.lwawt.macosx.CRobot.keyEvent(IZ)V+0 java.desktop@14.0.1 j sun.lwawt.macosx.CRobot.keyPress(I)V+3 java.desktop@14.0.1 j java.awt.Robot.keyPress(I)V+10 java.desktop@14.0.1 j org.sikuli.script.support.RobotDesktop.doKeyPress(I)V+220 j org.sikuli.script.support.RobotDesktop.doType(Lorg/sikuli/script/support/IRobot$KeyMode;[I)V+78 j org.sikuli.script.support.RobotDesktop.typeChar(CLorg/sikuli/script/support/IRobot$KeyMode;)V+44 j org.sikuli.script.Region.keyin(Ljava/lang/Object;Ljava/lang/String;I)I+305 j org.sikuli.script.Region.type(Ljava/lang/String;Ljava/lang/String;)I+22 j mac.Excel.loginExcel()V+43 {noformat} > Maven test crashes when using keyboard to type > ---------------------------------------------- > > Key: SUREFIRE-1839 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1839 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 3.0.0-M5 > Environment: macOS Catalina version 10.15.6 > Sikuli version 2.0.1 > Reporter: Cory She > Priority: Blocker > Attachments: Debug console output.rtf, hs_err_pid38607.log > > > I am trying to run my tests via maven surefire plugin but when the test gets > partway through, it crashes. However, if we run the test from the IDE and > not from Maven, the test runs perfectly fine. > > macOS Catalina version 10.15.6 > Sikuli version 2.0.1 > > Here is the output I got from the cmd line: > > vrazin@VLADIMIRs-MacBook-Pro sikuli-poc % [INFO] > [INFO] — maven-surefire-plugin:2.19.1:test (default-test) @ sikuli-poc — > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running mac.MSWord > Warning: Nashorn engine is planned to be removed from a future JDK release > [log] CLICK on L[166,120]@S(0) (533 msec) > [log] CLICK on L[166,121]@S(0) (529 msec) > [log] ( ⌘ ) TYPE “a” > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGILL (0x4) at pc=0x00007fff6b17b8f1, pid=52645, tid=6659 > # > # JRE version: OpenJDK Runtime Environment (14.0.1+14) (build 14.0.1+14) > # Java VM: OpenJDK 64-Bit Server VM (14.0.1+14, mixed mode, sharing, tiered, > compressed oops, g1 gc, bsd-amd64) > # Problematic frame: > # C [libdispatch.dylib+0x38f1] _dispatch_assert_queue_fail+0x63 > # > # No core dump will be written. Core dumps have been disabled. To enable > core dumping, try “ulimit -c unlimited” before starting Java again > # > # An error report file with more information is saved as: > # > /Users/vrazin/my_work/Sikuli/zero/test-automation/sikuli-poc/hs_err_pid52645.log > # > # If you would like to submit a bug report, please visit: > # [https://bugreport.java.com/bugreport/crash.jsp] > # The crash happened outside the Java Virtual Machine in native code. > # See problematic frame for where to report the bug. > -- This message was sent by Atlassian Jira (v8.3.4#803005)