You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/28 20:11:18 UTC

[GitHub] [netbeans] namedgraph opened a new issue, #4700: NetBeans profiler agent crashes OpenJDK 17

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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] spyhunter99 commented on issue #4700: NetBeans profiler agent crashes OpenJDK 17

Posted by GitBox <gi...@apache.org>.
spyhunter99 commented on issue #4700:
URL: https://github.com/apache/netbeans/issues/4700#issuecomment-1363979981

   i get similar issues with profiling with nb15 against a jdk8 app, just crashes the jvm instantly 


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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