covfefe
Occasional Contributor
3 years agoSystem-Console JRE Error (18.0+). Happens on CLI but not on GUI.
Hello,
2 bugs to report:
1) The same exact command ran in the system-console GUI works fine. However, adding the "--cli" flag generates the following error. Please help.
The TCL script has a single line:
puts "Wait for clients" vwait forever
Error generated in CLI when pressing the Enter key (in GUI everything works fine):
>> system-console.exe --debug --rc_script=intel_test2.txt --cli [...] % Accept sock2092 from 127.0.0.1 port 57221 Wait for clients # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000057fdb8c3, pid=24452, tid=0x000000000000715c # # JRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06) # Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x13b8c3] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: #C:\intelFPGA_pro\quartus_systemconsole_22_2\qprogrammer\syscon\bin\hs_err_pid24452.log # # If you would like to submit a bug report, please visit: # https://github.com/adoptium/adoptium-support/issues
2) Attempt to pass a command through a catch/eval statement results in different status
I have included the test files I used. To reproduce, you will need 2 terminals.
Terminal 1:
C:\intelFPGA_pro\quartus_systemconsole_22_2\qprogrammer\syscon\bin>system-console.exe --debug --cli --rc_script=intel_test.txt
Terminal 2, after terminal 1 is done (~5-10s):
telnet 127.0.0.1 2540 get_service_types
In CLI, I receive an error message:
Executing client(sock2304)'s command: "get_service_types" Sep 29, 2022 12:03:22 PM com.altera.systemconsole.scripting.TCLCommand execute2 SEVERE: get_service_types: null [1]-> get_service_types: null CLIENT (sock2304): get_service_types SERVER (sock2304): Invalid command from the client ErrorMsg : get_service_types: null ErrorCode: NONE ErrorInfo: get_service_types: null while executing "get_service_types" ("eval" body line 1) invoked from within "eval $cmd"
While in GUI, everything works fine:
Executing client(sock2960)'s command: "get_service_types" [0]-> alt_xcvr_custom alt_xcvr_reconfig_aeq alt_xcvr_reconfig_dfe alt_xcvr_reconfig_eye_viewer alt_xcvr_reconfig_mifwriter bytestream dashboard data_pattern_checker data_pattern_generator design device etile executor hard_prbs_checker hard_prbs_generator io_bus issp jtag_debug loopback marker master module monitor packet plugin processor slave sld system toolkit trace trace_db transceiver_channel_rx transceiver_channel_tx transceiver_debug_link transceiver_reconfig_analog
Thank you