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 114649 - Deadlock while typing when CC is opened
Summary: Deadlock while typing when CC is opened
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 114716 114738 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-04 15:29 UTC by Jiri Prox
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (34.80 KB, text/plain)
2007-09-04 15:30 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2007-09-04 15:29:10 UTC
Product Version: NetBeans IDE Dev (Build 070904) Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01 System:
Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /home/jp159440/.netbeans/dev

Deadlock occurred when typing and CC popup is opened. I don't know exact steps but I typed prefix of some class, opened
CC, deleted the prefix and started to write different identifier.
Cannot reproduce, I've seen it just once.
Comment 1 Jiri Prox 2007-09-04 15:30:15 UTC
Created attachment 48067 [details]
thread dump
Comment 2 Jiri Prox 2007-09-05 09:35:26 UTC
It happens to me regularly.

Steps to reproduce:
1) create new interface NewIntreface
2) create new class Class2
3) add keyword implements
4) open all symbol CC behind it
5) type "New" 
-> deadlock
Comment 3 Jiri Prox 2007-09-05 09:37:49 UTC
*** Issue 114716 has been marked as a duplicate of this issue. ***
Comment 4 Vitezslav Stejskal 2007-09-05 15:50:33 UTC
Looks like a problem in BaseCaret, which is firing events when holding document's lock.
Comment 5 Vitezslav Stejskal 2007-09-05 15:59:08 UTC
Should be fixed.

Checking in BaseCaret.java;
/cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v  <--  BaseCaret.java
new revision: 1.135; previous revision: 1.134
done
Comment 6 Vitezslav Stejskal 2007-09-05 16:01:27 UTC
Jirko or anybody else from QE: Do you want the fix to be merged to beta1 branch?
Comment 7 Vitezslav Stejskal 2007-09-05 16:45:40 UTC
*** Issue 114738 has been marked as a duplicate of this issue. ***
Comment 8 Vitezslav Stejskal 2007-09-05 16:47:55 UTC
Ok, I was told that the fix should go to beta1. Jirko, could you please verify that the deadlock's really gone before I
ask reviewers to eyeball my fix? Thanks
Comment 9 Jiri Prox 2007-09-06 08:38:40 UTC
it looks fine now -> verified in trunk
Comment 11 Vitezslav Stejskal 2007-09-07 08:17:08 UTC
Merged to release60_beta1.

/cvs/editor/libsrc/org/netbeans/editor/BaseCaret.java,v  <--  BaseCaret.java
new revision: 1.133.6.1; previous revision: 1.133
done
Comment 12 Jiri Prox 2007-09-10 12:41:14 UTC
verified in beta1