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

Loader: Fix BusFault in handling of OOM #3992

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

Loader: Fix BusFault in handling of OOM

cda2ced
Select commit
Loading
Failed to load commit list.
Open

Loader: Fix BusFault in handling of OOM #3992

Loader: Fix BusFault in handling of OOM
cda2ced
Select commit
Loading
Failed to load commit list.
Task list completed / task-list-completed Started 2024-11-07 04:13:42 ago

0 / 3 tasks completed

3 tasks still to be completed

Details

Required Tasks

Task Status
during OOM propagation, ELF file has small chance of trying to free relocation data that is not allocated: Incomplete
elf_load_section_data() does not allocate fast_rel->data if not enough ram Incomplete
but elf_preload_section() allocated fast_rel itself, so both would try to be freed when only 1 exists Incomplete
in particular, this was observable in upython app Incomplete
try to run upython app Incomplete
either it opens, or it gives out of memory message, not crash Incomplete
PR has description of feature/bug or link to Confluence/Jira task Incomplete
Description contains actions to verify feature/bugfix Incomplete
I've built this code, uploaded it to the device and verified feature/bugfix Incomplete