В последней версии периодически в логе lua периодически начинает сыпаться ошибка: "OnQuoteF System.Runtime.InteropServices.SEHException (0x80004005): Внешний компонент создал исключение." после чего стаканы перестают обновляться и приходится перезапускать скрипт lua.
Quote:
2017/02/20 16:20:09.622| |FixServer |From quik 127.0.0.1:9143: MarketDataRequest
2017/02/20 16:20:09.622| |LuaServer |Request: Type = MarketData TrId = 57301326 Value = SecId = S#:SPH7@SPBFUT, Native:,Type: OrdType = IsSubscribe = False DataType = MarketDepth
2017/02/20 16:20:09.622|Error |LuaServer |Unsubscribe_Level_II_Quotes error.
2017/02/20 16:20:09.626| |FixServer |From quik 127.0.0.1:9143: MarketDataRequest
2017/02/20 16:20:09.626| |LuaServer |Request: Type = MarketData TrId = 57301328 Value = SecId = S#:SPH7@SPBFUT, Native:,Type: OrdType = IsSubscribe = False DataType = Level1
2017/02/20 16:20:09.626| |FixServer |From quik 127.0.0.1:9143: MarketDataRequest
2017/02/20 16:20:09.626| |LuaServer |Request: Type = MarketData TrId = 57301329 Value = SecId = S#:SPH7@SPBFUT, Native:,Type: OrdType = IsSubscribe = False DataType = Trades
2017/02/20 16:20:09.626| |LuaServer |LookupAllTrades
2017/02/20 16:20:09.626| |LuaServer |All trades count: 226774
2017/02/20 16:20:09.627| |FixServer |From quik 127.0.0.1:9143: MarketDataRequest
2017/02/20 16:20:09.627| |FixServer |From quik 127.0.0.1:9143: MarketDataRequest
2017/02/20 16:20:09.627| |FixServer |From quik 127.0.0.1:9143: MarketDataRequest
2017/02/20 16:20:09.699| |FixServer |From quik 127.0.0.1:9142: Logout
2017/02/20 16:20:09.699| |FixServer |From quik 127.0.0.1:9143: Logout
2017/02/20 16:20:09.699| |FixServer |Disconnect quik (127.0.0.1:9142)
2017/02/20 16:20:09.699| |FixServer |Disconnect quik (127.0.0.1:9143)
2017/02/20 16:20:09.700|Error |FixServer |System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "System.Net.Sockets.NetworkStream".
в System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.ReadString()
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qXVOwoxEDCZykDDuyj2x$AA==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean& #=q37$jCFcLlhGeIS7LX9tIXA==)
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qB55r4K84FUTegdkWGEVfzQ==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean #=q27UsZ3NmIH$VQ8W0sde158w96WR9VdPRAMsXOjEJrnY=, String #=q$YptUrLU9g$LZnsUm6q0EtgeT7bDGoFWnJVvzQprkbk=, ILogReceiver #=qUNNAOWLKBUE8Hwvz1EliUQ==, String #=qUs0AH$sPK9txi6HUKI$USA==, Func`3 #=qIq3Tc9cf7dovv31d9HWb_g==, Action`1 #=qCI8gm3AvPBkjRObhUrWFRg==)
2017/02/20 16:20:09.700|Error |FixServer |System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "System.Net.Sockets.NetworkStream".
в System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.ReadString()
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qXVOwoxEDCZykDDuyj2x$AA==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean& #=q37$jCFcLlhGeIS7LX9tIXA==)
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qB55r4K84FUTegdkWGEVfzQ==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean #=q27UsZ3NmIH$VQ8W0sde158w96WR9VdPRAMsXOjEJrnY=, String #=q$YptUrLU9g$LZnsUm6q0EtgeT7bDGoFWnJVvzQprkbk=, ILogReceiver #=qUNNAOWLKBUE8Hwvz1EliUQ==, String #=qUs0AH$sPK9txi6HUKI$USA==, Func`3 #=qIq3Tc9cf7dovv31d9HWb_g==, Action`1 #=qCI8gm3AvPBkjRObhUrWFRg==)
2017/02/20 16:20:09.700|Error |FixServer |System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "System.Net.Sockets.NetworkStream".
в System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.ReadTag()
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qIiUpxctWQYaAhn721fBkNw==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, FixTags #=q7VnrKgfcYO2Wdqw_LmYwRg==)
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qqt_xeY6u3UUPdAYVhC5DCw==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean #=q27UsZ3NmIH$VQ8W0sde158w96WR9VdPRAMsXOjEJrnY=, String #=q$YptUrLU9g$LZnsUm6q0EtgeT7bDGoFWnJVvzQprkbk=)
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qB55r4K84FUTegdkWGEVfzQ==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean #=q27UsZ3NmIH$VQ8W0sde158w96WR9VdPRAMsXOjEJrnY=, String #=q$YptUrLU9g$LZnsUm6q0EtgeT7bDGoFWnJVvzQprkbk=, ILogReceiver #=qUNNAOWLKBUE8Hwvz1EliUQ==, String #=qUs0AH$sPK9txi6HUKI$USA==, Func`3 #=qIq3Tc9cf7dovv31d9HWb_g==, Action`1 #=qCI8gm3AvPBkjRObhUrWFRg==)
2017/02/20 16:20:09.700|Error |FixServer |System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "System.Net.Sockets.NetworkStream".
в System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.SkipValue()
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qKn0ClQVu3iVjfMBt_X0ERg==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==)
2017/02/20 16:20:09.700| |FixServer |Disconnect quik (127.0.0.1:9142)
2017/02/20 16:20:09.700|Error |FixServer |System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "System.Net.Sockets.NetworkStream".
в System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.ReadTag()
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qIiUpxctWQYaAhn721fBkNw==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, FixTags #=q7VnrKgfcYO2Wdqw_LmYwRg==)
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qqt_xeY6u3UUPdAYVhC5DCw==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean #=q27UsZ3NmIH$VQ8W0sde158w96WR9VdPRAMsXOjEJrnY=, String #=q$YptUrLU9g$LZnsUm6q0EtgeT7bDGoFWnJVvzQprkbk=)
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qB55r4K84FUTegdkWGEVfzQ==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==, Boolean #=q27UsZ3NmIH$VQ8W0sde158w96WR9VdPRAMsXOjEJrnY=, String #=q$YptUrLU9g$LZnsUm6q0EtgeT7bDGoFWnJVvzQprkbk=, ILogReceiver #=qUNNAOWLKBUE8Hwvz1EliUQ==, String #=qUs0AH$sPK9txi6HUKI$USA==, Func`3 #=qIq3Tc9cf7dovv31d9HWb_g==, Action`1 #=qCI8gm3AvPBkjRObhUrWFRg==)
2017/02/20 16:20:09.700|Error |FixServer |System.ObjectDisposedException: Доступ к ликвидированному объекту невозможен.
Имя объекта: "System.Net.Sockets.NetworkStream".
в System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
в Ecng.Serialization.BinaryHelper.ReadBytes(Stream stream, Byte[] buffer, Int32 len, Int32 pos)
в StockSharp.Fix.Native.BaseFixReader.ReadByte()
в StockSharp.Fix.Native.TextFixReader.SkipValue()
в #=qbM3LiUpTwwo_oc0GTzh3D2HBuYPuSWgZPEGKfHG7kG9W$aFUD2Es$ZzCcdKPogzC.#=qKn0ClQVu3iVjfMBt_X0ERg==(IFixReader #=q8WXvF6l5Kz10GOG3i15U3g==)
2017/02/20 16:20:09.700| |FixServer |Disconnect quik (127.0.0.1:9143)
2017/02/20 16:20:12.072| |LuaServer |LookupAllTrades done
2017/02/20 16:20:12.072| |LuaServer |Request: Type = MarketData TrId = 57301330 Value = SecId = S#:SRH7@SPBFUT, Native:,Type: OrdType = IsSubscribe = False DataType = MarketDepth
2017/02/20 16:20:12.072|Error |LuaServer |Unsubscribe_Level_II_Quotes error.
2017/02/20 16:20:12.072| |LuaServer |Request: Type = MarketData TrId = 57301332 Value = SecId = S#:SRH7@SPBFUT, Native:,Type: OrdType = IsSubscribe = False DataType = Level1
2017/02/20 16:20:12.072| |LuaServer |Request: Type = MarketData TrId = 57301333 Value = SecId = S#:SRH7@SPBFUT, Native:,Type: OrdType = IsSubscribe = False DataType = Trades
2017/02/20 16:20:12.072| |LuaServer |LookupAllTrades
2017/02/20 16:20:12.072| |LuaServer |All trades count: 226775
2017/02/20 16:20:14.292| |LuaServer |LookupAllTrades done
2017/02/20 16:20:14.304|Error |LuaServer |OnQuoteF System.Runtime.InteropServices.SEHException (0x80004005): Внешний компонент создал исключение.
в _CxxThrowException(Void* , _s__ThrowInfo* )
в luabind.detail.throw_error_policy<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >.handle_error(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , lua_State* interpreter, type_id* type_info)
в luabind.detail.object_cast_aux<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class luabind::adl::index_proxy<class luabind::adl::object>,struct luabind::detail::null_type,struct luabind::detail::throw_error_policy<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , index_proxy<luabind::adl::object>* value_wrapper, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* __unnamed001, null_type* __unnamed002, throw_error_policy<std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > >* __unnamed003, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* __unnamed004)
в luabind.object_cast<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class luabind::adl::index_proxy<class luabind::adl::object> >(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , index_proxy<luabind::adl::object>* value_wrapper)
в OnQuote(lua_State* ls, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* classCode, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* secCode)