[jira] [Comment Edited] (NETBEANS-5914) NetBeans 12.4 freezes on startup

2021-08-28 Thread Jaroslav Tulach (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17406126#comment-17406126
 ] 

Jaroslav Tulach edited comment on NETBEANS-5914 at 8/28/21, 6:31 AM:
-

The new  [^12.5-beta2-threaddump-1629986898821.tdump]  dump doesn't contain the 
word "auxiliary" like the previous ones ( [^210506 NetBeans Deadlock on 
Startup.txt]  and  [^210506 NetBeans Deadlock on Startup 2.txt] and   [^210526 
NetBeans Deadlock again.txt] ). 

The  [^12.5-beta2-threaddump-1629986898821.tdump] and [^210516 Another NetBeans 
Deadlock.txt] are different - e.g. without "auxiliary". 
[PR-3136|https://github.com/apache/netbeans/pull/3136] shall fix 
[^12.5-beta2-threaddump-1629986898821.tdump].


was (Author: jtulach):
The new  [^12.5-beta2-threaddump-1629986898821.tdump]  dump doesn't contain the 
word "auxiliary" like the previous ones ( [^210506 NetBeans Deadlock on 
Startup.txt]  and  [^210506 NetBeans Deadlock on Startup 2.txt] and   [^210526 
NetBeans Deadlock again.txt] ). 

The  [^12.5-beta2-threaddump-1629986898821.tdump] and [^210516 Another NetBeans 
Deadlock.txt] are different - e.g. without "auxiliary".

> NetBeans 12.4 freezes on startup
> 
>
> Key: NETBEANS-5914
> URL: https://issues.apache.org/jira/browse/NETBEANS-5914
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10.
>Reporter: Eirik Bakke
>Assignee: Jaroslav Tulach
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 12.6
>
> Attachments: 12.5-beta2-threaddump-1629986898821.tdump, 210506 
> NetBeans Deadlock on Startup 2.txt, 210506 NetBeans Deadlock on Startup.txt, 
> 210516 Another NetBeans Deadlock.txt, 210526 NetBeans Deadlock again.txt
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> On NetBeans 12.4, I was previously experiencing some intermittent freezes on 
> startup, at the time when projects were being loaded and such. I did some 
> thread dumps of the frozen IDE using VisualVM. I'm uploading these now in 
> case they are related to NETBEANS-5913.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5914) NetBeans 12.4 freezes on startup

2021-08-27 Thread Neil C Smith (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405369#comment-17405369
 ] 

Neil C Smith edited comment on NETBEANS-5914 at 8/27/21, 1:21 PM:
--

Thanks [~ebakke] That's expected, although good to know it's that infrequent 
for you. There's nothing fixed in 12.5-beta2 related to this issue - fix was 
for NETBEANS-5913.


was (Author: neilcsmith):
Thanks [~ebakke] That's expected, although good to know it's that infrequent 
for you. There's nothing in 12.5 related to this issue - fix was for 
NETBEANS-5913.

> NetBeans 12.4 freezes on startup
> 
>
> Key: NETBEANS-5914
> URL: https://issues.apache.org/jira/browse/NETBEANS-5914
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10.
>Reporter: Eirik Bakke
>Assignee: Jaroslav Tulach
>Priority: Blocker
> Fix For: 12.6
>
> Attachments: 12.5-beta2-threaddump-1629986898821.tdump, 210506 
> NetBeans Deadlock on Startup 2.txt, 210506 NetBeans Deadlock on Startup.txt, 
> 210516 Another NetBeans Deadlock.txt, 210526 NetBeans Deadlock again.txt
>
>
> On NetBeans 12.4, I was previously experiencing some intermittent freezes on 
> startup, at the time when projects were being loaded and such. I did some 
> thread dumps of the frozen IDE using VisualVM. I'm uploading these now in 
> case they are related to NETBEANS-5913.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5914) NetBeans 12.4 freezes on startup

2021-08-26 Thread Eirik Bakke (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17405356#comment-17405356
 ] 

Eirik Bakke edited comment on NETBEANS-5914 at 8/26/21, 4:43 PM:
-

It's not an issue I can reproduce on demand, unfortunately, and I haven't seen 
it occur for several months. There were about 20 Maven-based NetBeans module 
projects open, and the deadlock would occur on IDE startup (rather than while 
building the projects).

Was there a patch in 12.5 already with regards to this bug? If my IDE enters a 
state again where it becomes possible to trigger the deadlock by restarting, I 
can try with and without a patch. Otherwise I think the only way to "confirm" 
solutions to these kinds of bugs is to stare hard at the original thread dump 
and the resulting patch...


was (Author: ebakke):
It's not an issue I can reproduce on demand, unfortunately, and I haven't seen 
it occur for several months. There were about 20 Maven-based NetBeans module 
projects open, and the deadlock would occur on IDE startup.

Was there a patch in 12.5 already with regards to this bug? If my IDE enters a 
state again where it becomes possible to trigger the deadlock by restarting, I 
can try with and without a patch. Otherwise I think the only way to "confirm" 
solutions to these kinds of bugs is to stare hard at the original thread dump 
and the resulting patch...

> NetBeans 12.4 freezes on startup
> 
>
> Key: NETBEANS-5914
> URL: https://issues.apache.org/jira/browse/NETBEANS-5914
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10.
>Reporter: Eirik Bakke
>Assignee: Jaroslav Tulach
>Priority: Blocker
> Attachments: 12.5-beta2-threaddump-1629986898821.tdump, 210506 
> NetBeans Deadlock on Startup 2.txt, 210506 NetBeans Deadlock on Startup.txt, 
> 210516 Another NetBeans Deadlock.txt, 210526 NetBeans Deadlock again.txt
>
>
> On NetBeans 12.4, I was previously experiencing some intermittent freezes on 
> startup, at the time when projects were being loaded and such. I did some 
> thread dumps of the frozen IDE using VisualVM. I'm uploading these now in 
> case they are related to NETBEANS-5913.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5914) NetBeans 12.4 freezes on startup

2021-08-12 Thread Svatopluk Dedic (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17397945#comment-17397945
 ] 

Svatopluk Dedic edited comment on NETBEANS-5914 at 8/12/21, 9:07 AM:
-

Well, the Hyperlink API also holds read_lock on the document while calling out 
to providers. The lock is not documented (AFAIK) and can also cause problems - 
IMHO sholuld be fixed as well.

Consistency can't be guaranteed as input is an offset + no lock is held, so 
document may mutate before read_lock is obtained. So we can only ensure weak 
consistency by e.g. not painting the hyperlink if a concurrent doc change 
occurs (?)


was (Author: sdedic):
Well, the Hyperlink API also holds read_lock on the document while calling out. 
The lock is not documented (AFAIK) and can also cause problems - IMHO sholuld 
be fixed as well.

> NetBeans 12.4 freezes on startup
> 
>
> Key: NETBEANS-5914
> URL: https://issues.apache.org/jira/browse/NETBEANS-5914
> Project: NetBeans
>  Issue Type: Bug
> Environment: NetBeans 12.4 on Zulu/OpenJDK 11 on Windows 10.
>Reporter: Eirik Bakke
>Assignee: Jaroslav Tulach
>Priority: Major
> Attachments: 210506 NetBeans Deadlock on Startup 2.txt, 210506 
> NetBeans Deadlock on Startup.txt, 210516 Another NetBeans Deadlock.txt, 
> 210526 NetBeans Deadlock again.txt
>
>
> On NetBeans 12.4, I was previously experiencing some intermittent freezes on 
> startup, at the time when projects were being loaded and such. I did some 
> thread dumps of the frozen IDE using VisualVM. I'm uploading these now in 
> case they are related to NETBEANS-5913.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists