SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sun Sep 15, 2019 8:40 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Sep 25, 2013 12:50 pm 
Offline

Joined: Mon Aug 15, 2011 1:21 pm
Posts: 88
После открытия в проекте вкладки View Performance, через какое-то время получаю критическую ошибку. Причем вкладку можно уже и закрыть, крах все-равно настигнет. И почему только OQ может выйти из такой ситуации только окончательно рухнув? На старых версиях подобного не происходит.


Attachments:
Error Undo.jpg
Error Undo.jpg [ 119.06 KiB | Viewed 6534 times ]
Top
 Profile  
 
PostPosted: Wed Sep 25, 2013 5:04 pm 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
А какой провайдер Вы используете?

_________________
SmartQuant Development Team


Top
 Profile  
 
PostPosted: Wed Sep 25, 2013 7:37 pm 
Offline

Joined: Mon Aug 15, 2011 1:21 pm
Posts: 88
Finam Transaq


Top
 Profile  
 
PostPosted: Thu Sep 26, 2013 9:44 am 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
Спасибо. Мы проверим в чем дело.

_________________
SmartQuant Development Team


Top
 Profile  
 
PostPosted: Fri Nov 08, 2013 8:03 pm 
Offline

Joined: Mon Aug 15, 2011 1:21 pm
Posts: 88
На новой версии 3.9.1 ошибка возникает с удручающей стабильностью.
Вот полный текст RunTime Error

System.InvalidOperationException: The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone).
at System.Threading.SynchronizationContextSwitcher.Undo()
at System.Threading.ExecutionContextSwitcher.Undo()
at System.Threading.ExecutionContext.runFinallyCode(Object userData, Boolean exceptionThrown)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteBackoutCodeHelper(Object backoutCode, Object userData, Boolean exceptionThrown)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)


Top
 Profile  
 
PostPosted: Sat Nov 09, 2013 2:08 am 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6816
Удручающая стабильность это наоборот хорошо - значит можно воспроизвести проблему... Будем пытаться...

Антон


Top
 Profile  
 
PostPosted: Sat Nov 09, 2013 6:41 am 
Offline

Joined: Mon Aug 15, 2011 1:21 pm
Posts: 88
Может попробовать как-то поменять работу с Threading в адаптере Transaq?!
С адаптером Quik ведь ничего подобного не происходит!
Если появится обновленный вариант - готов помочь протестировать.

Дмитрий.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group