namedgraph opened a new issue, #4700:
URL: https://github.com/apache/netbeans/issues/4700

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   I've generated a remote profiler pack (`Setup Attach to Process...`) and 
mounted it into an OpenJDK 17 based Docker container 
([Dockerfile](https://github.com/AtomGraph/fuseki-docker/blob/master/Dockerfile)),
 using the path from the example:
   ```
    -XX:+UseLinuxPosixThreadCPUClocks 
-agentpath:<remote>/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so=<remote>/lib,5140
   ```
   After that the JDK in the container fails to start:
   ```
   Profiler Agent: Initializing...
   #
   # A fatal error has been detected by the Java Runtime Environment:
   #
   #  SIGSEGV (0xb) at pc=0x00000000000031d0, pid=1, tid=6
   #
   # JRE version:  (17.0+14) (build )
   # Java VM: OpenJDK 64-Bit Server VM (17-ea+14, mixed mode, sharing, tiered, 
compressed oops, compressed class ptrs, g1 gc, linux-amd64)
   # Problematic frame:
   # C  0x00000000000031d0
   #
   # 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:
   # /fuseki/hs_err_pid1.log
   ```
   
   ### How to reproduce
   
   Mount the remote profiler pack and start the container with profiler's 
`JAVA_OPTIONS`.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Docker on WSL2
   
   ### JDK
   
   OpenJDK 17
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to