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

rizin 0.8.0 Segfault p==v #4431

Open
Semnodime opened this issue Apr 12, 2024 · 0 comments
Open

rizin 0.8.0 Segfault p==v #4431

Semnodime opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working crash high-priority
Milestone

Comments

@Semnodime
Copy link

Work environment

Questions Answers
OS/arch/bits (mandatory) Linux Mint 21.1 x64
rizin -v full output, not truncated (mandatory) rizin 0.8.0 @ linux-x86-64 commit: 73d85d2

Expected behavior

Working command

Actual behavior

Segfault

Steps to reproduce the behavior

truncate -s 8000M zeros; rizin -c 'p==v; q!!' zeros

Additional Info

The segfault appears to happen reproducible at a given boundary of file size.
The file size appears to be dependent however on the environment that rizin is run in.
I searched for the file size using weighted binary search and found the following sizes to be the smallest file size that still results in a segfault:

Byte MiB KiB when running in
849314816 ~ 809.9... 829409 terminal
846644224 ~ 807.4... 826801 ide
847307776 ~ 808.0... 827449 ide terminal
@DMaroo DMaroo self-assigned this Apr 13, 2024
@wargio wargio added this to the 0.8.0 milestone Apr 14, 2024
@wargio wargio added the bug Something isn't working label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash high-priority
Projects
None yet
Development

No branches or pull requests

4 participants