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

Fix core dump in udiskslinuxdriveobject.c #1313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cenhuil
Copy link

@cenhuil cenhuil commented Sep 13, 2024

Ejecting and then plugging back the mobile hard disk causes udisks core dump

Ejecting and then plugging back the mobile hard disk causes udisks core dump
@tbzatek
Copy link
Member

tbzatek commented Sep 17, 2024

Thank you for the patch, however you're fixing a consequence, not a cause. Fixing it here will cover the root cause and will likely cause crash somewhere else. We need to find out why device == NULL for a given UDisksLinuxBlockObject. Is the problem reproducible? Can you try grabbing a full gdb stacktrace?

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.

2 participants