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

espcoredump: Support for not overwriting existing core dump in flash (IDFGH-10907) #12105

Closed
wants to merge 1 commit into from

Conversation

nomis
Copy link
Contributor

@nomis nomis commented Aug 20, 2023

If there's an unattended boot loop or a crash that causes another crash on the next boot, it needs to be possible to avoid overwriting a saved core dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't empty.

Fixes #12027.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Aug 20, 2023
@github-actions github-actions bot changed the title espcoredump: Support for not overwriting existing core dump in flash espcoredump: Support for not overwriting existing core dump in flash (IDFGH-10907) Aug 20, 2023
@chipweinberger
Copy link
Contributor

chipweinberger commented Aug 22, 2023

"Not overwriting existing core dump"

Think this is simpler language:

"Existing coredump found. Will not overwrite."

If there's an unattended boot loop or a crash that causes another crash on
the next boot, it needs to be possible to avoid overwriting a saved core
dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't
empty.

Fixes espressif#12027.
@nomis
Copy link
Contributor Author

nomis commented Aug 22, 2023

I've rewritten the warning message to be clear about what happened

@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development and removed Status: Opened Issue is new labels Aug 23, 2023
@o-marshmallow
Copy link
Collaborator

sha=ee3e01cf5c556e80615fd58b1baacf570865f679

@o-marshmallow o-marshmallow added the PR-Sync-Rebase Pull request sync as rebase commit label Nov 2, 2023
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Selected for Development Issue is selected for development labels Nov 3, 2023
@o-marshmallow
Copy link
Collaborator

The MR has been merged internally, it will be synced to Github after passing the internal CI

espressif-bot pushed a commit that referenced this pull request Nov 7, 2023
If there's an unattended boot loop or a crash that causes another crash on
the next boot, it needs to be possible to avoid overwriting a saved core
dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't
empty.

Fixes #12027.

Mergeshttps://github.com//pull/12105
movsb pushed a commit to movsb/esp-idf that referenced this pull request Dec 1, 2023
If there's an unattended boot loop or a crash that causes another crash on
the next boot, it needs to be possible to avoid overwriting a saved core
dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't
empty.

Fixes espressif#12027.

Mergeshttps://github.com/espressif/pull/12105
@Alvin1Zhang
Copy link
Collaborator

Thanks for contribution again, changes have been merged with 1feb3c9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Sync-Rebase Pull request sync as rebase commit Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to limit the number of core dump writes to flash (IDFGH-10816)
5 participants