[Quickfix-developers] Quickfix 1.12.4 crashes with daily sessions depending on .session file value
Brought to you by:
orenmnero
|
From: Abel M. <abe...@ho...> - 2007-06-15 09:06:36
|
Hi everybody, I found a weird behaviour in quickfix 1.12.4 (under RedHatEnterprise3). I have a session configurated in this way [DEFAULT] ConnectionType=acceptor ReconnectInterval=20 SenderCompID=EXAMF SocketAcceptPort=6500 SocketReuseAddress=Y CheckLatency=N MillisecondsInTimeStamp=Y FileStorePath=./var/logs/stores FileLogPath=./var/logs [SESSION] # inherit ConnectionType, ReconnectInterval and SenderCompID from default TargetCompID=USER1 StartTime=06:30:00 EndTime=18:30:00 BeginString=FIX.4.2 DataDictionary=./etc/dictionaries/FIX42VT.xml I found that sometimes, when my app start it crashs with a core creating the sessions #4 0x0090f3f5 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5 #5 0x00604928 in Session (this=0x8cda540, application=@0x0, messageStoreFactory=@0x0, sessionID=@0x8cdde38, dataDictionary=Internal: global symbol `DataDictionary' found in DataDictionary.cpp psymtab but not in symtab. DataDictionary may be an inlined function, or may be a template function (if a template, try specifying an instantiation: DataDictionary<type>). ) at Mutex.h:76 #6 0x0062e067 in FIX::SessionFactory::create (this=0x11a7550, sessionID=@0x8ca69c8, settings=@0x8cc7574) at Field.h:308 #7 0x0063fe23 in FIX::Acceptor::initialize (this=0x8cc7870) at stl_tree.h:199 #8 0x0063f8a0 in FIX::Acceptor::Acceptor$base () at stl_function.h:197 #9 0x006550fe in FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor () at new:89 After some days fighting with this error, I discover that the creation of fix sessions crash depends on the log files of quickfix. Specifically, it depends on session file. If in this file I have the present date, or it isn't exist, it works fine. But, if it has some previous date, quickfix crashes with a core. With a previous version (1.10.x) this doesn't happen never, it always works fine. So, do someone know if this is a bug of 1.12.4 version? I saw that this core is an unexpected exception while creating session (in session constructor). In getValue function from IntField, the exception IncorrectDataFormat is thrown, but in Session constructor this exception is not waited, so it crashes. Someone has some clue or has heard about it before? Thanks, Abel Monroy _________________________________________________________________ Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos |