Skip to content

Record the stack check cases of pr-22 in the changelog - #27

Merged
marcobambini merged 1 commit into
mainfrom
docs-changelog-pr22
Nov 13, 2026
Merged

marcobambini merged 1 commit into
mainfrom
docs-changelog-pr22

Conversation

@marcobambini

Copy link
Copy Markdown
Member

The [Unreleased] section covered the four fixes that had landed when it was written, in #26; pr-22 landed after it. This is one entry for its four cases, placed next to the 1.4.0 entry whose stack measurement they correct:

  • a thread with less stack left than SQLITE_JS_STACK_MIN, which kept the connection's 1 MB default and crashed on a 64 KB thread;
  • the initial thread measured deep in its stack, where the bound was counted from the stack pointer and landed below the real one — 7.75 MB offered of an 8 MB stack entered 1 MB deep;
  • the argv and environment block above the stack pointer, which pthread_attr_getstack() does not reach, so 360 KB of environment put the bound 360 KB too low;
  • an unlimited RLIMIT_STACK, where glibc reports nearly the whole address space and about 85 TB was offered and accepted.

CHANGELOG.md only — no code, so the 14 jobs are a formality here.

🤖 Generated with Claude Code

The Unreleased section covered the four fixes that had landed when it was
written; pr-22 landed after it. One entry for its four cases, next to the
1.4.0 entry whose measurement they correct: a thread with less stack left
than SQLITE_JS_STACK_MIN, the initial thread measured deep in its stack,
the argv and environment block above the stack pointer, and an unlimited
RLIMIT_STACK.

Co-Authored-By: Claude Opus 5 <[email protected]>
@marcobambini
marcobambini merged commit 3be26b7 into main Nov 13, 2026
14 checks passed
@marcobambini
marcobambini deleted the docs-changelog-pr22 branch November 13, 2026 12:19
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