Details
-
Type: Bug
-
Status: Open
-
Priority: Default
-
Resolution: Unresolved
-
Affects Version/s: 1.5.0
-
Fix Version/s: None
-
Component/s: Engine
-
Labels:
-
Environment:uname -a: Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 20 06 x86_64 x86_64 x86_64 GNU/Linux
Java VM: BEA JRockit(R) R27.6.0-50_o-100423-1.5.0_15-20080626-2104-linux-x86_64,BEA Systems, Inc.
Description
java.io.IOException: Bad file descriptor
at java.io.RandomAccessFile.seek(Native Method)
at quickfix.FileStore.storeSequenceNumbers(FileStore.java:403)
at quickfix.FileStore.incrNextSenderMsgSeqNum(FileStore.java:288)
at quickfix.SessionState.incrNextSenderMsgSeqNum(SessionState.java:350)
at quickfix.Session.sendRaw(Session.java:2177)
at quickfix.Session.generateHeartbeat(Session.java:1786)
at quickfix.Session.next(Session.java:1759)
at quickfix.Session.next(Session.java:1032)
at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run(ThreadPerSessionEventHandlingStrategy.java:119)
This occurred during a period of intermittent network disconnects. I did not see any forcible closes of the network sockets being done. Another time this occured is during a shutdown, after we called Initiator/Acceptor.stop
FIX.4.2:XXXX->XXXX: Error during message processing
quickfix.RuntimeError: java.io.IOException: Bad file descriptor
at quickfix.SessionState.reset(SessionState.java:373)
at quickfix.Session.resetState(Session.java:2193)
at quickfix.Session.nextLogout(Session.java:1279)
at quickfix.Session.next(Session.java:941)
at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run(ThreadPerSessionEventHandlingStrategy.java:119)
Caused by: java.io.IOException: Bad file descriptor
at java.io.RandomAccessFile.length(Native Method)
at quickfix.FileStore.initializeCache(FileStore.java:119)
at quickfix.FileStore.initialize(FileStore.java:111)
at quickfix.FileStore.reset(FileStore.java:436)
at quickfix.SessionState.reset(SessionState.java:370)
... 4 more