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

Null pointer when flashing a sdimg.bz2 image #446

Open
jakakordez opened this issue Dec 5, 2024 · 2 comments
Open

Null pointer when flashing a sdimg.bz2 image #446

jakakordez opened this issue Dec 5, 2024 · 2 comments

Comments

@jakakordez
Copy link

When I try to flash my board using a .sdimg.bz2 image, the flashing almost every time halts. I cloned the project and ran it with Visual Studio and I found out that there is a null pointer in the g_filebuffer_map of libuuu/buffer.cpp which causes a read access violation. I verified that null is never stored into the map explicitly in buffer.cpp:1211.

exception
watch

My system is Windows 11 and I am flashing an i.MX8M Plus board.
The problem is also that when uuu.exe is ran directly, without a debugger attached and that happens, the flashing procedure just freezes without any error message to the user.

@nxpfrankli
Copy link
Contributor

What's size of your bz2? And how do you create bz2, by pbzip2 or bzip2? Suggest switch to use zstd.

@jakakordez
Copy link
Author

The original sdimg is 7GB, compressed to bz2 is 137 MB. Image is produced using the Yocto build so I am not sure which compression tool is used internally.

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

2 participants