> I've been using 12.5 Beta 1 for a couple of days, and I'm experiencing > occasional lock ups.
Do these lockups occur only during startup (e.g. when loading projects and the like), or long after the IDE was first started? > I've found distro packaged JDK's a little flaky at times, at least with > Ubuntu. When a deadlock occurs, it's probably more likely to come from a bug in NetBeans rather than a bug in the JDK. If changing the JDK appears to make the bug go away, I'd suspect it's just due to race conditions being affected by random timing changes (e.g. due to different garbage collection settings). So for debugging purposes it's better to keep using the JDK that reproduced the bug. I find the thread dump from VisualVM to be useful for debugging deadlocks. -- Eirik -----Original Message----- From: Geertjan Wielenga <[email protected]> Sent: Monday, August 9, 2021 10:26 PM To: [email protected] Subject: Re: How to diagnose lock up with 12.5 Beta 1 Also: https://foojay.io/pedia/thread-dump/ Gj On Mon, 9 Aug 2021 at 22:25, Ernie Rael <[email protected]> wrote: > The following post covers several ways to get a thread dump > > https://www.baeldung.com/java-thread-dump > > -ernie > > On 8/9/2021 1:06 PM, Ernie Rael wrote: > > Lock up can usually be diagnosed with a java thread dump. Create the > > dump (search for how to, it's based on OS), attach it to a bug > > report, post a message in this list that the dump is available. > > Sometimes multiple dumps can be useful, add them to the bug report > > as you get them. NetBeans log attached to the bug report can also be useful. > > > > -ernie > > > > On 8/9/2021 4:01 AM, Chris Wareham wrote: > >> Hi folks, > >> > >> I've been using 12.5 Beta 1 for a couple of days, and I'm > >> experiencing occasional lock ups. There doesn't seem to be any > >> particular interaction on my part that is triggering it, and the > >> memory usage appears to be stable with plenty of free space. > >> > >> Is it possible to attach to the running process and get a stacktrace? > >> I'm not seeing anything log file entries that could help me > >> understand the problem. > >> > >> My system is: > >> > >> Product Version: Apache NetBeans IDE 12.5-beta1 > >> Java: 11.0.12; OpenJDK 64-Bit Server VM 11.0.12+7-post-Debian-2 > >> Runtime: OpenJDK Runtime Environment 11.0.12+7-post-Debian-2 > >> System: Linux version 5.10.0-8-amd64 running on amd64; UTF-8; en_GB > >> (nb) > >> > >> Regards, > >> > >> Chris > >> > >> ------------------------------------------------------------------- > >> -- 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 > >> > >> > >> > >> > > > > > > -------------------------------------------------------------------- > > - 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 > > > > > > > > > > > --------------------------------------------------------------------- > 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 > > > >
