Would be great if you could pin down whether it is OpenJDK specific and version specific.
Gj On Thu, 8 Nov 2018 at 19:36, Peter Hull <peterhul...@gmail.com> wrote: > Thanks Geertjan > It may be Windows specific - I think there is some native code involved. > Pete > On Thu, 8 Nov 2018 at 17:59, Geertjan Wielenga > <geertjan.wiele...@googlemail.com.invalid> wrote: > > > Profiler works fine for me, tried your scenario, on Mac OSX, and works > > fine, no problem. > > > > Gj > > > > On Thu, Nov 8, 2018 at 6:51 PM Peter Hull <peterhul...@gmail.com> wrote: > > > > > Still crashing on VC3. I would appreciate it if just one person could > try > > > this out and confirm it is a problem or not. Then I will either shut > up, > > or > > > try and investigate. > > > Thanks, > > > Peter > > > > > > On Mon, 5 Nov 2018 at 10:24 Peter Hull <peterhul...@gmail.com> wrote: > > > > > > > On Fri, 26 Oct 2018 at 23:09 Sven Reimers <sven.reim...@gmail.com> > > > wrote: > > > > > > > > > > Hi, > > > > > > > > > > crash of the IDE vm or the profiled application? Which jvm versions > > are > > > > you using? Any other specialties? > > > > > > > > > I am still seeing this with Netbeans VC2, openjdk 11+28, Windows 10 > > > > 64-bit. As far as I can see, it is not possible to profile methods on > > > > Windows. > > > > 1. Is this OK to leave to the next release? > > > > 2. Can anyone else reproduce this or just me? > > > > > > > > Quick steps to reproduce: > > > > 1. Create a new project using the AnagramGame sample > > > > 2. Select Profile, Profile Methods, All Classes > > > > 3. Start profiler > > > > 4. AnagramGame window appears briefly and then disappears > > > > 5. Crash info is written into the Output tab (AnagramGame's JVM > > > > crashes, NB itself keeps on running) (pasted below for reference) > > > > > > > > Thanks > > > > Pete > > > > > > > > profile: > > > > Profiler Agent: Waiting for connection on port 5140, timeout 10 > > > > seconds (Protocol version: 18) > > > > Profiler Agent: Established connection with the tool > > > > WARNING: An illegal reflective access operation has occurred > > > > WARNING: Illegal reflective access by > > > > org.netbeans.lib.profiler.server.ClassLoaderManager to method > > > > java.lang.ClassLoader.findLoadedClass(java.lang.String) > > > > WARNING: Please consider reporting this to the maintainers of > > > > org.netbeans.lib.profiler.server.ClassLoaderManager > > > > WARNING: Use --illegal-access=warn to enable warnings of further > > > > illegal reflective access operations > > > > WARNING: All illegal access operations will be denied in a future > > release > > > > Profiler Agent: Local accelerated session > > > > # > > > > # A fatal error has been detected by the Java Runtime Environment: > > > > # > > > > # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbbab7c775, > > > > pid=23616, tid=26824 > > > > # > > > > # 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\Documents\NetBeansProjects\AnagramGame\hs_err_pid23616.log > > > > # > > > > # If you would like to submit a bug report, please visit: > > > > # http://bugreport.java.com/bugreport/crash.jsp > > > > # > > > > Profiler Agent: Initializing... > > > > Profiler Agent: Options: > > > > > > > > > > > > > > >D:\Libraries\Downloads\incubating-netbeans-10.0-vc2-bin\netbeans\profiler\lib,5140,10< > > > > Profiler Agent: Initialized successfully > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > Profiler Agent: 250 classes cached. > > > > > > > > > > > > > > C:\Users\peter\AppData\Local\NetBeans\Cache\10.0\executor-snippets\profile.xml:126: > > > > The following error occurred while executing this line: > > > > > > > > > > > > > > C:\Users\peter\AppData\Local\NetBeans\Cache\10.0\executor-snippets\profile.xml:108: > > > > Java returned: 1 > > > > BUILD FAILED (total time: 4 seconds) > > > > > > > > > >