Forum Discussion
covfefe
Occasional Contributor
4 years ago@Altera_Forum Thank you for these files.
I have been able to use them on System Console 12.1 CLI for awhile now. It works great.
I recently updated to newer versions (Version 18.0, Version 21.1 850, Version 22.2 94) CLI and unfortunately there I cannot send commands from the client to the server anymore. It crashes here:
proc client_handler {client} { [...] # Execute the command and return the response # puts "CLIENT ($client): $cmd" if {[catch {eval $cmd} rsp]} {
The same exact code works on the GUI (non-CLI).
I can connect just fine. I can modify the TCP starting script, and execute commands anywhere (ex: puts [get_service_types]) outside of server_accept, & client_handler.
Executing the same one inside of either, Java VM JRE crashes (similarly to any command passed through by the client).
Would anyone have an idea of what is happening?
right here it crashes XXserver_acceptXX # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006182ba52, pid=23628, tid=0x000000000000550c # # 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+0x13ba52] # # 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:\Program Files (STL)\quartus_systemconsole_21_1\sopc_builder\bin\hs_err_pid23628.log # # If you would like to submit a bug report, please visit: # https://github.com/adoptium/adoptium-support/issues #
# Start the server on the specified port proc server_listen {port} { puts "right here it works XXserver_listenXX" puts [get_service_types] puts "it just worked" global jtag if {[catch {socket -server server_accept $port} result]} { # error "Error: Server start-up failed\n -> $result" puts "Error: Server start-up failed\n -> $result" exit } set jtag(port) $port set jtag(socket) $result return } # Server client-accept callback proc server_accept {client addr port} { puts "right here it crashes XXserver_acceptXX" puts [get_service_types] puts "uh oh"