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

Don't try to free static array in mnist example #3049

Merged
merged 4 commits into from
Feb 14, 2025

Conversation

Zentrik
Copy link
Contributor

@Zentrik Zentrik commented Jan 22, 2025

I don't think its correct to free a static array, it was causing ABORTS with free(): invalid pointer printed for me.

I don't think its correct to free a static array, it was causing ABORTS with `free(): invalid pointer` printed for me.

Signed-off-by: Zentrik <llvm.zentrik@gmail.com>
@jenkins-droid
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Collaborator

@AlexandreEichenberger AlexandreEichenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are absolutely correct, thanks for finding this bug.
I will merge the PR once it succeeds the CIs (which it should as the change is non-functional as it impacts only a README file.

@AlexandreEichenberger
Copy link
Collaborator

@Zentrik sorry dropped the ball on this one. Will merge since it passed the tests.

@AlexandreEichenberger AlexandreEichenberger merged commit be4a2b8 into onnx:main Feb 14, 2025
6 checks passed
@AlexandreEichenberger
Copy link
Collaborator

Thanks @Zentrik for your contribution, much appreciated

@jenkins-droid
Copy link
Collaborator

Jenkins Linux amd64 Build #16313 [push] Dont try to free static ... started at 12:53

@jenkins-droid
Copy link
Collaborator

Jenkins Linux s390x Build #16315 [push] Dont try to free static ... started at 13:53

@jenkins-droid
Copy link
Collaborator

Jenkins Linux s390x Build #16315 [push] Dont try to free static ... passed after 2 hr 27 min

@jenkins-droid
Copy link
Collaborator

Jenkins Linux amd64 Build #16313 [push] Dont try to free static ... passed after 3 hr 6 min

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

Successfully merging this pull request may close these issues.

4 participants