Yes, this doesn't happen on a regular basis. I upgraded to NB 11 a few weeks ago and it's happened 3-4 times so far. And it invariably happens while NB is not even being used (e.g. a bit after I come in to work, reconnecting my 2 external monitors to my MBP and while I'm reading news or mail; NB is iconified or hidden behind the current window.) I'm not even sure whether NB 11 is to blame or the JRE. When I switched from NB 8.2 to NB 11, I also switched from a Java 8 VM to a Java 11 VM - maybe it's a bug in the VM. When a VM crashes on a Mac, does it produce a core dump somewhere?
Thnx, Tom On Wed, Apr 17, 2019 at 2:08 PM Geertjan Wielenga <geert...@apache.org> wrote: > If you can provide a way for the problem to be reproduced, or the log > files exactly at the moment where the crash happens, we can try to > investigate. > > But if I understand it correctly, this only happens after you’re using > multiple monitors, switching things off, switching things on, leaving work, > coming home, switching off and on, and a few other things like that? > > Gj > > On Wed, 17 Apr 2019 at 13:36, Thomas Wolf <tjw...@gmail.com> wrote: > >> Hi Geertjan, >> This was a crash of the NB JVM, so I didn't think NB would have had an >> opportunity to write anything before it croaked. But I went to Application >> Support/NetBeans/11.0/var/log and checked there to see if there was the >> equivalent of a core dump. But just the messages. Since I had restarted >> NB since the crash, I looked in messages.log.1 to see if there were any >> messages prior to the crash. Looking back a couple hundred lines back from >> the end of the log, I see: >> WARNING >> [org.netbeans.modules.javascript2.editor.formatter.FormatContext]: Tried to >> remove EOL >> WARNING [null]: Last record repeated again. >> WARNING [null]: Last record repeated again. >> >> followed by 167 WARNING messages like this: >> WARNING >> [org.netbeans.modules.editor.bracesmatching.MasterMatcher]: Origin offsets >> out of range, origin = [671, 698], caretOffset = 727, >> lookahead = 1, searching forward. Offending BracesMatcher: >> org.netbeans.modules.html.editor.HtmlBracesMatching@1293bde1 >> >> with only the coordinates & the caretOffset changing. Followed by the >> WARNING message: >> WARNING [org.netbeans.modules.versioning.util.Utils]: >> associateEncoding() no file object available for >> >> /var/folders/gz/86n0ss0j65q2v4mk50wfnx8h0000gn/T/vcs-1555092873422/vcs-1555362477084/index.html >> >> followed by the WARNING message: >> WARNING [org.netbeans.core.TimableEventQueue]: too much time in >> AWT thread null >> >> followed by three WARNING messages like this one: >> WARNING [org.netbeans.core.TimableEventQueue]: too much time in >> AWT thread org.netbeans.modules.sampler.InternalSampler@662b36a1 >> >> That's it. Since there are no time stamps on any of these entries, I >> have no idea whether these happened just before the crash or hours/days >> before. Is there anywhere else I should/could be looking for clues? Is >> this info enough to go on to open a Jira ticket? >> >> Thanks, >> Tom >> p.s. here's the beginning of the log file: >> >> >Log Session: Friday, April 12, 2019 at 2:14:24 PM Eastern Daylight Time >> >System Info: >> Product Version = Apache NetBeans IDE 11.0 (Build >> incubator-netbeans-release-404-on-20190319) >> Operating System = Mac OS X version 10.14.4 running on x86_64 >> Java; VM; Vendor = 11.0.1; Java HotSpot(TM) 64-Bit Server VM >> 11.0.1+13-LTS; Oracle Corporation >> Runtime = Java(TM) SE Runtime Environment 11.0.1+13-LTS >> Java Home = >> /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home >> System Locale; Encoding = en_US (nb); UTF-8 >> Home Directory = /Users/thwolf >> Current Directory = / >> >> >> On Wed, Apr 17, 2019 at 11:55 AM Geertjan Wielenga <geert...@apache.org> >> wrote: >> >>> You’re always going to find NetBeans messages and log files in the user >>> directory. >>> >>> Gj >>> >>> >>> On Wed, 17 Apr 2019 at 11:47, Thomas Wolf <tjw...@gmail.com> wrote: >>> >>>> Thanks Josh for your environment. Here's mine (should have included >>>> that with my initial post): >>>> Build incubator-netbeans-release-404-on-20190319) >>>> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS >>>> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS >>>> System: Mac OS X version 10.14.4 >>>> >>>> I'm using a much more recent version of Java and macOS than you. I >>>> won't change my OS for NB, but if I get desperate, I might try going back >>>> to Java 8. But I wasn't really looking for a workaround - it doesn't >>>> happen all that frequently and I simply restart the IDE. No big deal. But >>>> it is a pretty severe bug and I wanted to file a Jira ticket (if one >>>> doesn't already exist) and provide relevant log/crash info. I posted >>>> because I was looking for someone to point me to where, on the Mac, to look >>>> for such crash info. >>>> >>>> Thanks, >>>> Tom >>>> >>>> >>>> >>>> On Wed, Apr 17, 2019 at 10:30 AM Josh Juneau <juneau...@gmail.com> >>>> wrote: >>>> >>>>> Hi Thomas, >>>>> >>>>> There is perhaps something specific in your environment, as I have >>>>> been using NetBeans 11 daily (all day) without crashes on OS X. Just so >>>>> you have the details of my environment and can perhaps try to configure >>>>> similarly to see if it helps: >>>>> >>>>> Product Version: Apache NetBeans IDE 11.0 (Build >>>>> incubator-netbeans-release-404-on-20190319) >>>>> Java: 1.8.0_202-b05; OpenJDK 64-Bit Server (Azul Zulu JDK) >>>>> System: Mac OS X Version 10.13.6 >>>>> >>>>> Also, you may wish to try and start with a new user directory to see >>>>> if that helps. Perhaps there is something in your current user directory >>>>> that is not functioning, as expected, and causing the crash. >>>>> >>>>> Hope this helps. >>>>> >>>>> On Wed, Apr 17, 2019 at 9:04 AM Thomas Wolf <tjw...@gmail.com> wrote: >>>>> >>>>>> This is about the 3rd or 4th time NB11 (the vc4 unofficial installer >>>>>> pointed to from NB download page) has crashed while I'm not using it. >>>>>> The >>>>>> macOS dialog that comes up just lets me send a crash report to Apple. Is >>>>>> it worthwhile to retrieve the crash report from somewhere (where?) and >>>>>> copy/paste it into a Jira ticket I can write on NB? Given that it was a >>>>>> hard crash (core dump?), is there some other place I should look for more >>>>>> Java/NB specific crash info? >>>>>> >>>>>> Again, I wasn't even using Netbeans - it was either iconified or >>>>>> sitting behind some other window. Also, each time it happened after I >>>>>> disconnected from external monitors (NB was displaying to one of them), >>>>>> closed my Mac, opened the Mac at home (with no external monitors), >>>>>> closed, >>>>>> and then re-opened at work after reconnecting the external monitors. >>>>>> Crash >>>>>> happened awhile later (1hr?). Again, I hadn't used NB since before the >>>>>> disconnect from the external monitors. Hope this helps. >>>>>> >>>>>> Tom >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> tjw...@gmail.com >>>>>> http://landofwolf.blogspot.com/ >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>>>>> For additional commands, e-mail: users-h...@netbeans.apache.org >>>>>> >>>>>> For further information about the NetBeans mailing lists, visit: >>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>>>> >>>>> -- >>>>> Josh Juneau >>>>> juneau...@gmail.com >>>>> http://jj-blogger.blogspot.com >>>>> https://www.apress.com/us/search?query=Juneau >>>>> <https://www.apress.com/index.php/author/author/view/id/1866> >>>>> >>>>> >>>> >>>> -- >>>> tjw...@gmail.com >>>> http://landofwolf.blogspot.com/ >>>> >>> >> >> -- >> tjw...@gmail.com >> http://landofwolf.blogspot.com/ >> > -- tjw...@gmail.com http://landofwolf.blogspot.com/