libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

error

Open kouzhudong opened this issue 3 years ago • 7 comments
trafficstars

if build dll with no CRT(/MTd or /MT), yaml_parser_scan or yaml_parser_parse will assert by fread.

kouzhudong avatar Sep 22 '22 08:09 kouzhudong

hi, would you provide more details about how you build the libyaml and what is the error message? From given info, it is hard to reproduce

ziyangc97 avatar Nov 22 '22 12:11 ziyangc97

1669120704404

kouzhudong avatar Nov 22 '22 12:11 kouzhudong

1669121262159

kouzhudong avatar Nov 22 '22 12:11 kouzhudong

hi, it is hard to produce this error by seeing at error picture, would you plz tell me how did you "build dll with no CRT(/MTd or /MT)"? hi,从报错图片上很难复现问题,可以提供你是怎么下载libyaml,和用dll编译libyaml的吗?

ziyangc97 avatar Dec 02 '22 03:12 ziyangc97

全部是/MT(d),包括DLL和EXE。

kouzhudong avatar Dec 02 '22 03:12 kouzhudong

1669120704404

_osfile(fh) & FOPEN assert indicates the handle is closed too early. I don't remember, but that might be because of, for example, of call to CloseHandle(GetStdHandle(STD_OUTPUT_HANDLE)) or to fclose(stdout).

andry81 avatar Dec 07 '22 15:12 andry81

1688215311330

kouzhudong avatar Jul 01 '23 12:07 kouzhudong