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

Non Unicode Characters Cause Anaconda to Crash #1330

Open
noelmiller opened this issue Jan 15, 2025 · 3 comments · May be fixed by #1331
Open

Non Unicode Characters Cause Anaconda to Crash #1330

noelmiller opened this issue Jan 15, 2025 · 3 comments · May be fixed by #1331

Comments

@noelmiller
Copy link

I work on a project called Bazzite which uses Anaconda as the installer. We had a user report a strange issue with installing our project, and it appears anaconda will bail out on trying to install due to issues with non Unicode characters.
image

This behavior has also been recorded here: pyudev/pyudev#490

@CheckYourFax
Copy link

CheckYourFax commented Jan 16, 2025

image
image (1)

Non-cropped images of the reproduced error.

vojtechtrefny added a commit to vojtechtrefny/blivet that referenced this issue Jan 17, 2025
We've seen online UnicodeDecodeErrors from pyudev, but let's just
catch all exceptions here and try to process the device anyway.

Fixes: storaged-project#1330
@vojtechtrefny
Copy link
Member

Ideally this would be fixed in pyudev, but the issue you linked is more than year old without any response so I guess it's not likely it will be fixed soon.

@CheckYourFax
Copy link

CheckYourFax commented Jan 17, 2025

Ideally this would be fixed in pyudev, but the issue you linked is more than year old without any response so I guess it's not likely it will be fixed soon.

Most ideal would be a kernel patch to fix the UTF-16LE to 7-byte conversion. That's the reason why pyudev didn't bother fixing it.

The kernel patch provided however, was never merged. Seems like it was just never noticed by the kernel team. Maybe someone should revive patching the kernel bug.

See: https://patchwork.kernel.org/project/linux-block/patch/[email protected]/

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 a pull request may close this issue.

3 participants