Skip to content

Track coffeecatch master instead of the ucontext fix branch - #75

Merged
xroche merged 1 commit into
masterfrom
update-coffeecatch
Jul 25, 2026
Merged

Track coffeecatch master instead of the ucontext fix branch#75
xroche merged 1 commit into
masterfrom
update-coffeecatch

Conversation

@xroche

@xroche xroche commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Points the coffeecatch submodule at upstream master. It was pinned to the fix-i386-ucontext-redef branch because the legacy ucontext block wouldn't build on x86_64; that fix landed upstream in xroche/coffeecatch#49, so the branch pin is no longer needed.

Nineteen commits of crash-handler hardening come with it. What matters here: the old signal handler is now picked by SA_SIGINFO instead of by NULL-ness, a nested siglongjmp guard keeps a fault inside the unwinder from recursing, and the reentry count stays balanced when a signal collapses nested COFFEE_TRY blocks.

assembleDebug builds for both ABIs; libhtslibjni.so links clean under -Werror and exports coffeecatch_reenter on arm64-v8a and x86_64.

The pointer was on the fix-i386-ucontext-redef branch; that fix is upstream
now, so track master. Notable for Android: the old signal handler is dispatched
on SA_SIGINFO rather than NULL-ness, a fault inside the unwinder no longer
recurses, and the reentry count stays balanced when a signal collapses nested
COFFEE_TRY blocks.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche merged commit ddd035c into master Jul 25, 2026
5 checks passed
xroche added a commit that referenced this pull request Jul 25, 2026
Internal release carrying the coffeecatch bump (#75): the crash handler now
picks the old signal handler by SA_SIGINFO and guards against a fault inside
the unwinder. Engine unchanged at 3.49.14, so only build.gradle moves.

Signed-off-by: Xavier Roche <roche@httrack.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant