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

Binary from Windows CI crashes with double-free #308

Closed
calcmogul opened this issue Feb 1, 2024 · 3 comments
Closed

Binary from Windows CI crashes with double-free #308

calcmogul opened this issue Feb 1, 2024 · 3 comments
Labels
type: bug Something isn't working

Comments

@calcmogul
Copy link
Member

calcmogul commented Feb 1, 2024

There was a change in the runner image from https://github.com/actions/runner-images/blob/win22/20230910.1/images/win/Windows2022-Readme.md to https://github.com/actions/runner-images/blob/win22/20231002.1/images/win/Windows2022-Readme.md. With zero code changes (i.e. rerunning the exact same commit), the builds started crashing on Windows.

The crash is a double-free while destructing a CasADi matrix as part of setting initial values.

TrajoptLib uses CasADi 3.6.4 from November 2023.

We currently work around this during releases by building the Windows release on a developer's local machine.

@calcmogul calcmogul added the type: bug Something isn't working label Feb 1, 2024
@shueja
Copy link
Collaborator

shueja commented Feb 1, 2024

actions/runner-images#8266 This seems to be a report of others having issues with the upgrade from gcc 11.2.0 (listed as Mingw-w64 11.2.0 in the older changelog) to gcc 12.2.0. This upgrade included a libc version change. However, the gcc on my machine (which we use to build working Windows releases) is 13.1.0

@calcmogul
Copy link
Member Author

GDB backtrace from @shueja:
choreo_gdb_dump.txt

@calcmogul
Copy link
Member Author

Fixed by #313.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants