Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004623 [Resin] major always 06-16-11 23:05 06-17-11 12:55
Reporter mnsh View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.19
Summary 0004623: StackOverflowError in com.caucho.server.util.ScheduledThreadPool
Description After upgrading from 4.0.18 to 4.0.19, as soon as a scheduled task (configured using resin:ScheduledTask in resin-web.xml) is fired, the following is logged:

java.lang.StackOverflowError
 at java.util.HashMap.removeEntryForKey(HashMap.java:548)
 at java.util.HashMap.remove(HashMap.java:538)
 at java.util.HashSet.remove(HashSet.java:216)
 at com.caucho.server.util.ScheduledThreadPool.removeFuture(ScheduledThreadPool.java:424)
 at com.caucho.server.util.ScheduledThreadPool$TaskFuture.cancel(ScheduledThreadPool.java:524)
 at com.caucho.server.util.ScheduledThreadPool.removeFuture(ScheduledThreadPool.java:427)
 at com.caucho.server.util.ScheduledThreadPool$TaskFuture.cancel(ScheduledThreadPool.java:524)
 ...

and so on
Additional Information It appears that TaskFuture.cancel(boolean) calls ScheduledThreadPool.removeFuture(Future), which ... calls TaskFuture.cancel(boolean).
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-16-11 23:05 mnsh New Issue
06-17-11 12:55 ferg Assigned To  => ferg
06-17-11 12:55 ferg Status new => closed
06-17-11 12:55 ferg Resolution open => fixed
06-17-11 12:55 ferg Fixed in Version  => 4.0.20


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