Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #254

Open
kouzhudong opened this issue Sep 22, 2022 · 7 comments
Open

error #254

kouzhudong opened this issue Sep 22, 2022 · 7 comments

Comments

@kouzhudong
Copy link

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

@ziyangc97
Copy link

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

@kouzhudong
Copy link
Author

1669120704404

@kouzhudong
Copy link
Author

1669121262159

@ziyangc97
Copy link

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的吗?

@kouzhudong
Copy link
Author

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

@andry81
Copy link

andry81 commented Dec 7, 2022

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).

@kouzhudong
Copy link
Author

1688215311330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants