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

yaml_cpp exceptions issue on x86 #9792

Open
jackburton79 opened this issue Nov 25, 2023 · 4 comments
Open

yaml_cpp exceptions issue on x86 #9792

jackburton79 opened this issue Nov 25, 2023 · 4 comments

Comments

@jackburton79
Copy link
Contributor

On beta4 32 bit (Hybrid), when opening a non existing file, Yaml raises exceptions which can't be catched.

The following code exits with abort() (After throwing an uncatched YAML::BadFile exception), while It should exit cleanly (it does, in fact, on x64 master)

`#include <yaml-cpp/yaml.h>

int main()
{
try {
YAML::LoadFile(std::string("foo"));
} catch(...) {
}
`

I'm current.

@jackburton79
Copy link
Contributor Author

Obviously you need to use setarch x86 to compile, since yaml_cpp is not available on gcc2

@waddlesplash
Copy link
Member

Same problem documented here: KapiX/Koder#147

@Begasus
Copy link
Contributor

Begasus commented Dec 8, 2023

Opened a PR to update yaml_cpp, maybe you could have a look there (kept the older library around as it's still being used by other applications).
EDIT link :) #9847

@waddlesplash
Copy link
Member

It's been ascertained the problem is due to call frame information differing in GCC 11 vs 13. Why this is so hasn't been determined, nor what the solution is supposed to be...

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

No branches or pull requests

3 participants