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 255955 - Deadlock in LineVector.getLinesInRange()
Summary: Deadlock in LineVector.getLinesInRange()
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 8.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 256001 256041 (view as bug list)
Depends on:
Blocks: 252310
  Show dependency tree
 
Reported: 2015-10-15 16:15 UTC by Martin Entlicher
Modified: 2016-02-04 14:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump. (22.78 KB, text/plain)
2015-10-15 16:15 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-10-15 16:15:41 UTC
Created attachment 156748 [details]
Thread dump.

During coding in editor the IDE froze taking 100% CPU. There is an infinite loop in LineVector.getLinesInRange around line 222.
Please see the attached thread dump.
Comment 1 Martin Entlicher 2015-10-15 16:17:01 UTC
NetBeans IDE Dev (Build 20151015-88c311769fa6) (#88c311769fa6)
Comment 2 Miloslav Metelka 2015-10-15 22:29:15 UTC
I will fix ASAP.
Comment 3 Miloslav Metelka 2015-10-18 19:57:17 UTC
Fixed in jet-main:
changeset:   292730:f6946b06d680
Comment 4 Miloslav Metelka 2015-10-18 20:04:49 UTC
*** Bug 256001 has been marked as a duplicate of this bug. ***
Comment 5 Vladimir Voskresensky 2015-10-19 09:11:49 UTC
must be transplanted into patch with 
https://netbeans.org/bugzilla/show_bug.cgi?id=252310
Comment 6 Quality Engineering 2015-10-20 01:14:39 UTC
Integrated into 'main-silver', will be available in build *201510200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f6946b06d680
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #255955 - Deadlock in LineVector.getLinesInRange().
Comment 7 Miloslav Metelka 2015-10-21 08:54:44 UTC
*** Bug 256041 has been marked as a duplicate of this bug. ***
Comment 8 Vladimir Voskresensky 2015-11-24 16:43:24 UTC
Ilia will transplant this one for studio into release81
Comment 9 Jiri Kovalsky 2016-02-04 13:39:52 UTC
Vladimir, can you please attach corresponding changeset from releases repository? Thanks.
Comment 10 Vladimir Voskresensky 2016-02-04 14:50:02 UTC
http://hg.netbeans.org/releases/rev/1dab3cb6821e

#255955 - Deadlock in LineVector.getLinesInRange().
(transplanted from f6946b06d680562d61743b4a6aa0de5e66fca5ae)