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

Memory corruption bug in cg_init #147

Closed
andr3eee1 opened this issue Feb 27, 2024 · 2 comments
Closed

Memory corruption bug in cg_init #147

andr3eee1 opened this issue Feb 27, 2024 · 2 comments

Comments

@andr3eee1
Copy link

I tried to run isolate on an rpi 4 and a rather strange bug happens, it seems to be a memory corruption bug in cg_init, the file pointer is set with a crazy value.
I attach all the necessary information below
image
I use cg2 branch and the picture is taken after I manually added debugging symbols in the makefile
The output from uname -a is: Linux raspi 6.5.0-1010-raspi #13-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 18 09:08:04 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

@gollux
Copy link
Member

gollux commented Feb 27, 2024

Ah, memory allocation in that function was messed up. Could you please check the current master?

@AlexVasiluta
Copy link
Contributor

AlexVasiluta commented Feb 27, 2024

Might this also have been the root cause of #142? 😅

EDIT: Can confirm #142 does not happen anymore even though xstrdup was removed.

@gollux gollux closed this as completed Mar 10, 2024
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