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 27577

Summary: IDE Locks up entirely
Product: platform Reporter: Mark Crouch <mcnicusa>
Component: -- Other --Assignee: Tomas Hurka <thurka>
Status: VERIFIED WORKSFORME    
Severity: blocker CC: mmirilovic, thurka, ttran
Priority: P2 Keywords: THREAD
Version: 3.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Java Crash Log

Description Mark Crouch 2002-09-25 14:09:48 UTC
After the IDE is in use for anywhere from an hour
to a few hours, it just locks up and I have to go
into the Mac OS X Process Manager and manually
kill the process. This happened in previous
versions of Netbeans, also.
Comment 1 Marian Mirilovic 2002-09-25 14:39:39 UTC
We need more information : NB version,number, JDK version,number,
after freeze create full thread-dump, .....

I close this issue as INVALID, without additional info we cannot do
nothing.

Please add appropriate informations and reopen this one, thanks?
Comment 2 Mark Crouch 2002-09-25 17:26:57 UTC
Here is the requested info:

NB version - 3.4
JDK version - 1.3.1
 
I was unable to obtain a thread dump. The process(java) was hanging,
taking up 100% CPU. I issued a "kill -QUIT" signal to the process, but
the process remained active for over 10 minutes. I was then forced to
issue a "kill -9(KILL)" to take the process down hard.
This is the second time the ide has frozen today!!! The second time,
the ide had only been started for about 2 minutes!

Please let me know if there is an easier way in Mac OS X to produce
the thread dump you requested.

Thanks.

Mark C.
Comment 3 Marian Mirilovic 2002-09-25 17:55:28 UTC
cc'ing Tomas H. - because he is the only one person who has Mac under
his table.

Tomas, can you answer last question ? Thanks advance.
Comment 4 Mark Crouch 2002-09-26 19:20:02 UTC
The IDE has once again locked up on me. I need to know if someone can
help me create a thread dump on Mac OS X(10.1.5). When I issue the
"kill -QUIT" command  to the "java" process, the process continues to
hang and never dies. I have to bring it down hard with a "kill -9".

I cannot provide more information until I get assistance with this
issue!!!

Thanks!

Mark C. 
Comment 5 Marian Mirilovic 2002-09-26 19:39:23 UTC
I don't know how, but Tomas will know, wait till tomorrow.
Comment 6 Tomas Hurka 2002-09-27 08:14:13 UTC
Mark, how did you run NetBeans? From Terminal or with
NetBeansLauncher? 
Anyway kill -QUIT produces thread dump, so you are doing it correctly.
If you are running NetBeans from Terminal you can produce thread dump
by ctrl-\ in Terminal window, but it does the same as kill -QUIT. 
Comment 7 Mark Crouch 2002-09-27 13:30:20 UTC
I started netbeans by way of the Netbeans Launcher. I am aware that
"kill -QUIT" produces the thread dump, however I am at a loss as to
where the dump file is produced. I started the console and there was
no dump log for netbeans visible.

Please let me know where I may find this dump file and I will be happy
to send it to you.

Thanks
Mark C.
Comment 8 Tomas Hurka 2002-09-27 14:40:43 UTC
If you are using NetBeans Launcher, the thread dump is in
/var/tmp/console.log . This file is also accessible via
/Applications/Utilities/Console.app
Comment 9 Tomas Hurka 2002-09-27 14:45:53 UTC
Mark,
another question. Which version of Mac OS X are you using and what is
your hardware configuration? There seems to be a problem where the
interface locks up when using hardware acceleration in java with the
Rage 128 Pro (16MB) on Mac OS X 10.2
Comment 10 Mark Crouch 2002-09-27 14:54:56 UTC
Created attachment 7543 [details]
Java Crash Log
Comment 11 Mark Crouch 2002-10-01 16:01:16 UTC
I have experienced more occurences of lockups with the IDE today. I
must say that my level of frustration with Netbeans 3.4 on Mac OS X is
getting very high. At this time, I can't see even using this product
on Mac OS X until these fundemental problems are solved. Is there a
setting in the JVM that would solve this problem, or is it something
in the IDE code? 

I don't understand why this problem cannot be recreated on your side.
I have a very generic out of the box Mac OS X 10.1.5 setup. 

Today when the IDE froze up, I was again unable to kill the process
with -QUIT and create a crash log. I again had to take the process
down hard with kill -9, so no thread dump was produced. I am not sure
how I can assist you further.

Mark C.
Comment 12 Jan Lahoda 2002-11-06 17:24:41 UTC
I am assigning this to Tomas Hurka for investigation.
Comment 13 _ ttran 2003-01-17 10:15:50 UTC
please always add THREAD keyword to issues related to deadlock
Comment 14 Tomas Hurka 2003-01-31 14:07:03 UTC
Mark, 
I am sorry, but without thread dump we are not able to investigate it.  I am not able to reproduce it on Mac OSX 10.2.3. Closing as works-for-me. Please, reopen if you have thread dump or reproducible test case. Thanks. 
Comment 15 Marian Mirilovic 2003-07-30 14:26:40 UTC
Without new infromations for long time - verifying.