Mantis - Quercus
Viewing Issue Advanced Details
6016 major random 09-12-16 07:01 09-12-16 07:01
davet  
 
normal  
new 4.0.36  
open  
none    
none  
0006016: RegexpModule$RegexpCacheItem.get(RegexpModule.java:2471) hangs
I am running some quercus scripts in parallel (with an Executor), and it intermittently hangs. Running a threaddump on the process shows a bunch of threads blocked:

"pool-1-thread-36" 0000059 prio=5 os_prio=0 tid=0x0000000022e8b000 nid=0x3424 waiting for monitor entry [0x000000001e92e000]
   java.lang.Thread.State: BLOCKED (on object monitor)
    at com.caucho.quercus.lib.regexp.RegexpModule$RegexpCacheItem.get(RegexpModule.java:2471)
    - waiting to lock <0x0000000775f47fc8> (a com.caucho.quercus.lib.regexp.RegexpModule$RegexpCacheItem)
    at com.caucho.quercus.lib.regexp.RegexpModule.createRegexpImpl(RegexpModule.java:262)
    at com.caucho.quercus.lib.regexp.RegexpModule.createRegexp(RegexpModule.java:247)
    at com.caucho.quercus.lib.regexp.RegexpModule.createRegexpArray(RegexpModule.java:281)
    at com.caucho.quercus.marshal.RegexpArrayMarshal.marshal(RegexpArrayMarshal.java:56)
 threaddump.local.txt [^] (64,254 bytes) 09-12-16 07:01

There are no notes attached to this issue.