Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003885 [Resin] crash always 02-10-10 01:17 02-10-10 10:55
Reporter KovIS View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.2
Summary 0003885: Unexpected shutdown cache in Resin 4.0.3 Pro.
Description During the server work cache error occurs . After that cache is disabled.

------------
[03:41:04.258]lru removing cache: /shop/shopzakaz_new.jsp?i=687503&gid=-2&sgid=149557&spgid=22604&par516546=516552&searchp=1&vid=1&pic=0&sort=0&page=1
[03:41:04.258]caching: /images/m407341/624311.jpg etag="9E5Td77hoy4" length=2320
[03:41:04.272]lru removing cache: /cataloggr.jsp?par379806=648594&gid=-2&spgid=22604&searchp=1&sgid=149557&pic=1&vid=1&sort=0
[03:41:04.272]java.lang.IllegalStateException: ReadBlock[Store[3],214a003] deallocate requires a single active thread:2
                  at com.caucho.db.store.Block.deallocate(Block.java:371)
                  at com.caucho.server.cache.CacheInode.remove(CacheInode.java:200)
                  at com.caucho.server.cache.CacheInode.free(CacheInode.java:169)
                  at com.caucho.server.cache.CacheEntry.remove(CacheEntry.java:145)
                  at com.caucho.server.cache.CacheFilterChain.removeEvent(CacheFilterChain.java:1406)
                  at com.caucho.util.LruCache.remove(LruCache.java:613)
                  at com.caucho.util.LruCache.removeTail(LruCache.java:530)
                  at com.caucho.util.LruCache.removeLru(LruCache.java:496)
                  at com.caucho.util.LruCache.compareAndPut(LruCache.java:322)
                  at com.caucho.util.LruCache.putIfNew(LruCache.java:279)
                  at com.caucho.server.cache.Cache.activateEntry(Cache.java:303)
                  at com.caucho.server.cache.CacheFilterChain.finishCaching(CacheFilterChain.java:1304)
                  at com.caucho.server.connection.ResponseStream.finishCache(ResponseStream.java:861)
                  at com.caucho.server.connection.ResponseStream.close(ResponseStream.java:829)
                  at com.caucho.server.connection.AbstractHttpResponse.finishInvocation(AbstractHttpResponse.java:975)
                  at com.caucho.server.connection.AbstractHttpResponse.close(AbstractHttpResponse.java:908)
                  at com.caucho.server.connection.HttpServletResponseImpl.close(HttpServletResponseImpl.java:1497)
                  at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:200)
                  at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:207)
                  at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
                  at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
                  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
                  at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
                  at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
                  at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
                  at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
                  at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
                  at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
                  at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

------------

In the other version of Resin there is an NullPointerException, after that cache is disabled.

Help us please with the decision of this problem.
Additional Information Java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)

Linux version 2.6.16.60-0.21-bigsmp (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux))
Attached Files

- Relationships

- Notes
(0004423)
ferg
02-10-10 10:55

Thanks. We were missing a write lock on the block deallocation.
 

- Issue History
Date Modified Username Field Change
02-10-10 01:17 KovIS New Issue
02-10-10 01:20 KovIS Issue Monitored: KovIS
02-10-10 10:55 ferg Note Added: 0004423
02-10-10 10:55 ferg Assigned To  => ferg
02-10-10 10:55 ferg Status new => closed
02-10-10 10:55 ferg Resolution open => fixed
02-10-10 10:55 ferg Fixed in Version  => 4.0.4


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