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 140989 - Deadlock during quicksearch usage
Summary: Deadlock during quicksearch usage
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Max Sauer
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2008-07-21 13:20 UTC by Tomas Danek
Modified: 2008-07-30 09:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump (22.13 KB, text/plain)
2008-07-21 13:20 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2008-07-21 13:20:10 UTC
20080718
---------
- typed into a quicksearch "ahoj(" string -> deadlock
- feel free to reassign
Comment 1 Tomas Danek 2008-07-21 13:20:53 UTC
Created attachment 65120 [details]
threaddump
Comment 2 Tomas Danek 2008-07-21 13:21:36 UTC
Product Version: NetBeans IDE Dev (Build 200807181543)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /tmp/ud
Comment 3 David Simonek 2008-07-22 08:17:12 UTC
Editor settings x editor mime lookup deadlock: 

EditorSettingsStorage.load(EditorSettingsStorage.java:86) locks and wants editor mime lookup lock, while
keymap.EditorBridge.initActionMap(EditorBridge.java:240) uses mime lookup which in its rebuild tries to call
EditorSettingsStorage.load. Huh.

Comment 4 David Simonek 2008-07-22 08:18:18 UTC
Ccing also msauer, as options qsearch provider is involved.
Comment 5 Max Sauer 2008-07-22 14:36:50 UTC
Fixed. Options QS provider will not use the lookup causing the deadlock anymore. Please verify.
---
http://hg.netbeans.org/main/rev/2b3d9a454a9d

Comment 6 Quality Engineering 2008-07-23 11:39:33 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #339 build
Changeset: http://hg.netbeans.org/main/rev/2b3d9a454a9d
User: Max Sauer <msauer@netbeans.org>
Log: #140989: Deadlock during quicksearch usage
Comment 7 Tomas Danek 2008-07-29 11:27:16 UTC
was not able to reproduce in 20080728, verified.
Comment 8 Jiri Prox 2008-07-30 09:02:53 UTC
sorry I forgot, quicksearch is not in 6.1