Back

How do I debug fatal error in the mono runtime?

I got this error:

[ERROR] FATAL UNHANDLED EXCEPTION: /usr/bin/mono() [0x4275d7], 

/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7fca2f01b390], 

/usr/bin/mono(mono_lock_free_alloc+0x305) [0x64fad5], 

...

,Debug info from gdb:,====,Got a SIGSEGV while executing native code. This usually indicates,a fatal error in the mono runtime or one of the native libraries ,used by your application.,====

How do I debug it?

Update Backtest








Is that the full stack/error log Valery? If thats all thats available you would need to bisect the code- looking at what you most recently added and commenting out portions until you found the culprit.

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


The same algorithm runs fine now.

To me, that indicates a bug in Mono Runtime.

What would happen if the algorithm was live?

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed