-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 launching game, uncaught exception(s) #1569
Comments
Can you check in the debugger which line this happens on, please? |
I have installed |
this is the last coredump core.python3.1000.2b4b1c40ab1148bd94c5facb9e4ff62c.129239.1696798076000000.tar.gz |
Can you post the |
Here
|
|
same problem |
Here, this says
|
@FabioLolix Looks okay... can you chek if #1574 helps? I still can't repoduce this locally. |
patched GCC build but have the same errors
|
@FabioLolix New plan: Please run the lates commit from the PR and paste the output here. I've added log messages to every string operation. |
|
So the response makes me think that some memory corruption is going on. The strings are probably not the problem. Might be a race condition in the threads. But without active debugging, this could be hard to detect. I have to give up here for now and think what the cause could be. |
I set up an Arch environment yesterday and could reproduce the error! Will check what caused it today. |
It's a build optimization problem. The error appears in |
Thank you very much, the problem happen with |
Looks like this is what causes trouble: https://github.com/SFTtech/openage/blob/master/libopenage/engine/engine.cpp#L77 The line is optimized out and |
Fix in #1578 |
I'll tests later thanks |
The fix works |
I've added another commit that should address this issue permanently |
I'll test tomorrow thanks |
@FabioLolix Did you get around testing it? If everything works, we will do a bugfix release. |
Yes, 4 cmake build type build and run |
Great, the release is live 💯 |
Hello, running
$ openage game --modpacks hd_base
I have 2 different uncaught exception between gcc and clang buildGCC:
std::exception of type std::length_error: basic_string::_M_create
Clang:
std::exception of type std::bad_alloc: std::bad_alloc
GCC build:
Clang build:
The text was updated successfully, but these errors were encountered: