[ https://issues.apache.org/jira/browse/NETBEANS-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17027306#comment-17027306 ]
Peter Hull commented on NETBEANS-1428: -------------------------------------- It's been quite a while since this was first noted so I have gone back over the old information. # The crash is caused by some incorrect casts in the C code on Windows (32bit vs 64bit issues were not considered) and this is fixed by the changes mentioned in the comment above # However, even after bug-fixing, the way it works is based on an assumption about the JVM which is not correct and therefore the solution is fragile and could break. See discussion on [OpenJDK discuss|http://mail.openjdk.java.net/pipermail/discuss/2018-November/004916.html] # I had some working code which I believed would fix it 'properly', but I got stuck on understanding how the Netbeans infrastructure builds and deploys the native code across all supported platforms. So might be worth re-opening a discussion on NB dev list to decide a plan of action on how to build and test this? > Fatal error when profiling > -------------------------- > > Key: NETBEANS-1428 > URL: https://issues.apache.org/jira/browse/NETBEANS-1428 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base > Affects Versions: 9.0, 10.0, 11.0 > Environment: Windows 10, JDK11 (OpenJDK 11.0+28) > Reporter: Peter Hull > Priority: Major > Labels: netcat > Attachments: hs_err_pid38528.log > > > Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, > Step 2) > I get the following error > {{#}} > {{# A fatal error has been detected by the Java Runtime Environment:}} > {{#}} > {{# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff8e831c775, > pid=38528, tid=38596}} > {{#}} > {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}} > {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed > oops, g1 gc, windows-amd64)}} > {{# Problematic frame:}} > {{# V [jvm.dll+0x5ec775]}} > {{#}} > {{# No core dump will be written. Minidumps are not enabled by default on > client versions of Windows}} > {{#}} > {{# An error report file with more information is saved as:}} > {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}} > {{#}} > {{# If you would like to submit a bug report, please visit:}} > {{# http://bugreport.java.com/bugreport/crash.jsp}} > {{#}} > Seems reproducible, I have attached the crash log. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists