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 40159 - another DEADLOCK (on JDK beta 1.5)
Summary: another DEADLOCK (on JDK beta 1.5)
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: JDK_SPECIFIC, RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2004-02-17 09:14 UTC by dmladek
Modified: 2008-12-22 17:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FullThreadDump (8.73 KB, text/plain)
2004-02-17 09:15 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2004-02-17 09:14:19 UTC
Product Version       = NetBeans IDE Dev (Build
200402151900)
  Operating System      = Linux version
2.4.20-18.9 running on i386
  Java; VM; Vendor      = 1.5.0-beta2; Java
HotSpot(TM) Client VM 1.5.0-beta2-b37; Sun
Microsystems Inc.
  Java Home             =
/usr/local/java/j2sdk1.5.0/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
  Home Dir; Current Dir = /usr/local/home/delphym;
/usr/local/forte/forte3/NBdev-last/netbeans/bin
  IDE Install; User Dir =
/usr/local/home/delphym/NBdev-last;
/usr/local/home/delphym/.netbeans/dev
-------------------------------------------------------------------------------

During night my IDE freezed on jdk1.5 beta.
When I leaving it it was OK and I didn't use it
very heavily.
Hope you could recognize something from ThreadDump
Comment 1 dmladek 2004-02-17 09:15:20 UTC
Created attachment 13465 [details]
FullThreadDump
Comment 2 dmladek 2004-02-17 09:16:41 UTC
CC'ing Milan 
Comment 3 Marian Mirilovic 2004-02-17 09:53:35 UTC
Dan, don't forget add appropriate keywords, please.
Comment 4 _ rkubacki 2004-02-17 12:30:03 UTC
more keywords
Comment 5 dmladek 2004-02-17 12:40:44 UTC
Sorry Marian, instead of that I put Milan on CC 'casue I wasn't sure
if this deadlock is related to JDK1.5 and hi's interested in such cases
Comment 6 David Simonek 2004-02-19 18:05:28 UTC
All I can see is that AWT-EventQueue-1 thread is waiting inside
repaint of memory meter. Everything other looks idle. Hm.
Comment 7 David Simonek 2004-02-20 11:19:28 UTC
I reviewed thread dump and I can see no deadlock. Nothing more I can
do at this time I guess.
Ccing Petr Nejedly and Martin Entlicher in case they'll see more.
There are a couple of CVS threads, but it seems to me they're just
patiently sleeping.
Guys?
Comment 8 dmladek 2004-02-20 12:13:12 UTC
hmmm:-/// so why my ide didn't responde? It has all night long time to
finish/recover from all task it's been performing?
Strange...
Comment 9 Lukas Hasik 2004-02-20 12:47:16 UTC
btw. how long time did you give your IDE to wake up ?
Comment 10 dmladek 2004-02-20 13:11:51 UTC
at least I prepared tea adn eat some cakes :-) 30 min?
Comment 11 Martin Entlicher 2004-02-20 13:48:45 UTC
VCS threads are sleeping.
AWT-EventQueue-1 is strange, I have never seen "waiting on condition"
state. But looking into java.awt.Color.darker() there should be
nothing to wait for. I have no idea where is the problem. Several
thread dumps would hopefully help.
Comment 12 dmladek 2004-02-20 14:07:31 UTC
I can't serve, sorry :-|
Comment 13 Petr Nejedly 2004-02-23 09:51:15 UTC
Looks strange to me. Like if JVM is currently doing some internal
bookkeeping (GC, hotspot, ...) and got stuck.

Dan, you're great source of strange deadlocks. Please, each time you
spot a deadlock, generate _several_ thread dumps (a minute or so apart)
and also try to generate a core dump of the JVM process:
attach to running JVM:
  gdb java <pid of the JVM>
create a gcode using gdb:
  gcore

It will create a >200MB dump of all JVM data structures. Please try to
keep the dumps for individual reports till the issue owner assures you
it is "normal java-level deadlock" that needs no gcore investigation.
(You can attach reference to this instructions to the issue reports)


Comment 14 David Simonek 2004-02-23 13:57:50 UTC
Summary: I'm going to close as wontfix.
Explanation: Unfortunately we have not enough info to see where the
problem could be or to pass this issue to JDK team, although problem
seems to be on JDK side. Nothing we can do now.
Dan, if you are able to hit such situation again, please follow steps
which Petr N. mentioned and reopen with more info. Thx.
Comment 15 dmladek 2004-02-23 15:28:45 UTC
OK, I understand and next time, I definitely will order by Peter's
instruction. I'm printing them now ot have them always on eyes :-)