Skip to content

Conversation

@ChAoSUnItY
Copy link
Collaborator

@ChAoSUnItY ChAoSUnItY commented Jul 15, 2025

When reaching to SSA phase, the error function would always cause segment fault due to the internal design, which is the source index is always going to be out of bound. In this patch, we instead use fatal function to avoid this issue.

Summary by Bito

This pull request fixes a critical bug in the SSA phase by replacing the 'error' function with 'fatal', preventing segmentation faults from out-of-bounds indices. This change significantly enhances the stability of the code during execution.

When reaching to SSA phase, the "error" function would always cause
segment fault due to the internal design, which is the source index
is always going to be out of bound. In this patch, we instead use
"fatal" function to avoid this issue.
@jserv jserv requested a review from vacantron July 15, 2025 07:35
@jserv
Copy link
Collaborator

jserv commented Jul 15, 2025

When reaching to SSA phase, the error function would always cause segment fault due to the internal design, which is the source index is always going to be out of bound. In this patch, we instead use fatal function to avoid this issue.

Create a dedicated issue to raise the above.

@jserv jserv merged commit 11785eb into sysprog21:master Jul 15, 2025
6 checks passed
@jserv
Copy link
Collaborator

jserv commented Jul 15, 2025

Thank @ChAoSUnItY for contributing!

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