This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 175310 - Frequent crashes
Summary: Frequent crashes
Status: RESOLVED DUPLICATE of bug 173926
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker with 1 vote (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 15:51 UTC by capdog
Modified: 2009-11-20 04:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
OSX crash log (70.51 KB, text/plain)
2009-10-23 15:51 UTC, capdog
Details
Messages log (27.84 KB, text/plain)
2009-10-23 15:52 UTC, capdog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description capdog 2009-10-23 15:51:25 UTC
Hi,

On Snow Leopard, Netbeans closes unexpectedly, seemingly randomly, but often (like every half hour). See the following
forum topic for others experiencing similar problems:

http://forums.netbeans.org/topic16887.html

I have attached the OSX error log and the Netbeans message log.

It is a proper crash, not a Java exception.
Comment 1 capdog 2009-10-23 15:51:57 UTC
Created attachment 89984 [details]
OSX crash log
Comment 2 capdog 2009-10-23 15:52:13 UTC
Created attachment 89985 [details]
Messages log
Comment 3 Stanislav Aubrecht 2009-10-26 15:25:00 UTC
netbeans standard distribution include JNA library for execution of native code. this library may cause JVM crashes if
used improperly. try disabling this library to see if it helps. unfortunately the library isn't visible in plugin
manager so you need to remove <netbeans dir>/platform11/modules/org-netbeans-libs-jna.jar file manually
Comment 4 capdog 2009-10-26 16:12:56 UTC
Thanks, I will try it! 
Comment 5 capdog 2009-10-26 16:24:33 UTC
Didn't work unfortunately - I deleted the file, launched Netbeans and 10 minutes later it crashed. 
Comment 6 Stanislav Aubrecht 2009-10-27 09:24:22 UTC
thanks for the info but i don't think there's much we can do on netbeans' side to fix this. regular java code shouldn't
crash JVM, it's probably a bug in apple's JDK
do you have any third-party plugins installed? does it still crash even after disabling/removing them?
Comment 7 Stanislav Aubrecht 2009-10-27 13:44:02 UTC
forgot to mention that you should start netbeans with a clean user dir after deleting the jar file mentioned above.
netbeans builds a cache of all modules so it might be still hitting the cached version.
can you try again pls?
Comment 8 capdog 2009-11-10 05:19:06 UTC
Hi there, I have tried again with a clean user directory, and still experienced the crashes.

Snow Leopard includes Java 1.6 by default, so I tried installing Java 1.5 and running Netbeans in 32 bit mode, Java 1.5.

It still crashes even with these settings.  Thanks.
Comment 9 nehalem 2009-11-15 17:26:42 UTC
Everyone at my work has netbeans and Mac OS X and has the same issue.  We really love netbeans but having it randomly crash frequently really is making it hard to stick with (5 times on Friday, which may be a record for me).  We use it for PHP and Java.

I have tried switching JVM's to the older as well.  That didn't help.  A guy at my work is trying the JNI stuff, so I'll see if that works before I go further.

I remember reporting a bug and being told it was the JVM as well.  I know Apple kind of sucks with their java support, but why is Netbeans the only java app that seems to show this kind of behaivor.  I use aqua for database stuff, and a few other java apps as well.  Only Netbeans crashes all the time like this.
Comment 10 Antonin Nebuzelsky 2009-11-20 04:53:43 UTC
Closing as dup of issue 173926. I will put you on CC of that bug. Let's continue discussion there.

*** This bug has been marked as a duplicate of bug 173926 ***