Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006435 [Resin] minor always 07-30-21 08:52 09-15-21 15:11
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.65
Summary 0006435: race condition in ScriptStackTrace causing 100% cpu usage
Description (rep by M. Secrett)

WeakHashMap used in ScriptStackTrace.java may be causing a race condition resulting in 100% CPU. See WeakHashMap app-0.log for multiple references to threads stuck in WeakHashMap used by ScriptStackTrace.getScriptLineMap().


"resin-port-8080-1086 RUNNABLE
                         at java.util.WeakHashMap.transfer (WeakHashMap.java:529)
                         at java.util.WeakHashMap.resize (WeakHashMap.java:494)
                         at java.util.WeakHashMap.put (WeakHashMap.java:467)
                         at com.caucho.java.ScriptStackTrace.getScriptLineMap (ScriptStackTrace.java:138)
                         at com.caucho.quercus.env.ProEnv.getSourceLine (ProEnv.java:104)
                         at com.caucho.quercus.lib.ErrorModule.debug_backtrace_exception (ErrorModule.java:169)
                         at com.caucho.quercus.lib.ErrorModule.debug_backtrace (ErrorModule.java:112)
                         at com.caucho.quercus.lib.ExceptionClass.__construct (ExceptionClass.java:74)
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-30-21 08:52 nam New Issue
09-15-21 15:11 ferg Assigned To  => ferg
09-15-21 15:11 ferg Status new => closed
09-15-21 15:11 ferg Resolution open => fixed
09-15-21 15:11 ferg Fixed in Version  => 4.0.66


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker