mFAST icon indicating copy to clipboard operation
mFAST copied to clipboard

#31 reopen

Open tbozoo opened this issue 10 years ago • 1 comments

Hi it's still the #31

It might be on the windows version (I'm using Visual studio 2013 Update 1) because if I use -hfix 25 the very first message crash. I've commented "first += skip_header_bytes;" to avoid the skip on each message. (but anyway it crashes before)

Unhandled exception at 0x505B4025 (msvcr120d.dll) in mf_fixed_decode.exe: 0xC0000005: Access violation writing location 0x005F2000.

ntdll.dll!_NtRaiseException@12()   Unknown
ntdll.dll!_KiUserExceptionDispatcher@8()   Unknown
msvcr120d.dll!memset(unsigned char * dst, unsigned char value, unsigned long count) Line 136    Unknown
mf_fixed_decode.exe!mfast::vector_mref_base<char>::resize(unsigned int n, char c) Line 364  C++
mf_fixed_decode.exe!mfast::vector_mref_base<char>::assign<char const *>(const char * first, const char * last) Line 408 C++
mf_fixed_decode.exe!mfast::vector_mref_base<char>::copy_from(const mfast::value_storage & v) Line 455   C++
mf_fixed_decode.exe!mfast::vector_mref_base<char>::to_initial_value() Line 302  C++
mf_fixed_decode.exe!mfast::decoder_detail::constant_operator::decode_impl<mfast::string_mref<char> >(const mfast::string_mref<char> & mref, mfast::fast_istream & __formal, mfast::decoder_presence_map & pmap) Line 219    C++
mf_fixed_decode.exe!mfast::decoder_detail::constant_operator::decode(const mfast::string_mref<char> & mref, mfast::fast_istream & stream, mfast::decoder_presence_map & pmap) Line 263  C++
mf_fixed_decode.exe!mfast::fast_decoder_impl::visit<mfast::string_mref<char> >(mfast::string_mref<char> & mref) Line 150    C++
mf_fixed_decode.exe!mfast::detail::field_mutator_adaptor<mfast::fast_decoder_impl>::visit(const mfast::ascii_field_instruction * inst, void * storage) Line 238 C++
mf_fixed_decode.exe!mfast::ascii_field_instruction::accept(mfast::field_instruction_visitor & visitor, void * context) Line 38  C++
mf_fixed_decode.exe!mfast::detail::field_mutator_adaptor<mfast::fast_decoder_impl>::visit(const mfast::make_aggregate_mref<mfast::aggregate_cref> & ref) Line 191   C++
mf_fixed_decode.exe!mfast::make_aggregate_mref<mfast::aggregate_cref>::accept_mutator<mfast::fast_decoder_impl>(mfast::fast_decoder_impl & mutator) Line 352    C++
mf_fixed_decode.exe!mfast::fast_decoder_impl::decode_segment(mfast::fast_istreambuf & sb) Line 336  C++
mf_fixed_decode.exe!mfast::fast_decoder::decode(const char * & first, const char * last, bool force_reset) Line 380 C++
mf_fixed_decode.exe!main(int argc, const char * * argv) Line 152    C++
[External Code] 

tbozoo avatar Jun 11 '14 08:06 tbozoo

Hi, tbozoo, have you resolved this problem? I've been using mFast code to compile-link on windows, and have the same problem as you've mentioned. Is it impossible to use mFast on windows? How to resolve it?

hahaha2019yz avatar Jul 14 '21 02:07 hahaha2019yz