Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000596 [Resin] minor always 12-29-05 09:47 01-03-06 11:21
Reporter ferg View Status public  
Assigned To
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.18 Product Version 3.0.17
  Product Build
Summary 0000596: Block allocation issues with session store
Description (rep by Keith Fetterman)

The following traces are showing up in the logs

java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:1158)
    at com.caucho.db.store.Block.allocate(Block.java:113)
    at com.caucho.db.store.Transaction.readBlock(Transaction.java:280)
    at com.caucho.db.store.Store.writeFragmentLong(Store.java:1023)
    at com.caucho.db.store.Inode.writeFragmentAddr(Inode.java:609)
    at com.caucho.db.store.Inode.append(Inode.java:293)
    at com.caucho.db.store.BlobOutputStream.flushBlock(BlobOutputStream.java:192)
    at com.caucho.db.store.BlobOutputStream.write(BlobOutputStream.java:125)
    at com.caucho.db.table.BlobColumn.setStream(BlobColumn.java:186)
    at com.caucho.db.table.BlobColumn.set(BlobColumn.java:274)
    at com.caucho.db.sql.UpdateQuery.execute(UpdateQuery.java:124)
    at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:349)
    at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:325)
    at com.caucho.server.cluster.FileBacking.storeSelfUpdate(FileBacking.java:477)
    at com.caucho.server.cluster.FileBacking.storeSelf(FileBacking.java:437)
    at com.caucho.server.cluster.FileStore.store(FileStore.java:154)
    at com.caucho.server.cluster.ClusterObject.store(ClusterObject.java:385)
    at com.caucho.server.session.SessionImpl.finish(SessionImpl.java:805)
    at com.caucho.server.connection.AbstractHttpRequest.finish(AbstractHttpRequest.java:2302)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:216)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
    at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:419)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
    at java.lang.Thread.run(Thread.java:595)

The corresponding code is:

     if (_useCount > 32 && log.isLoggable(Level.FINE)) {
        Thread.dumpStack();
        log.fine("using " + this + " " + _useCount + " times");
      }
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0000630)
ferg
01-03-06 11:21

WriteBlock was improperly overriding the free() method, breaking the database block reference count.
 

- Issue History
Date Modified Username Field Change
12-29-05 09:47 ferg New Issue
12-29-05 09:48 ferg Priority normal => urgent
12-29-05 09:48 ferg View Status @0@ => public
01-03-06 11:21 ferg Status new => closed
01-03-06 11:21 ferg Note Added: 0000630
01-03-06 11:21 ferg Resolution open => fixed
01-03-06 11:21 ferg Fixed in Version  => 3.0.18


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