Skip to content

Stack of 8192: the first Connect, which creates the vault, overflowed 6144 - #3

Merged
JohnAmadis merged 2 commits into
mainfrom
fix/vault-stack
Nov 16, 2026
Merged

JohnAmadis merged 2 commits into
mainfrom
fix/vault-stack

Conversation

@JaxCalder

@JaxCalder JaxCalder commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The first Connect creates /ext/secrets.vault (dmsecrets + dmcrypto) on the stack of the module. With 6144 it ended in a double exception on the T-Deck Pro.

Measured (ps on the T-Deck Pro): the module idle uses 2528 bytes of stack; the creation of a vault (wifi save, measured earlier) uses 3680 bytes. Together 6208: over 6144, under 8192, so the stack is 8192 (an earlier version of this PR said 12288, which was not measured).

Not yet confirmed by a Connect in the module itself (the peak will be read with ps after one).

🤖 Generated with Claude Code

…d 6144

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@JohnAmadis JohnAmadis left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Poj*** Cię rezerwować 12kB tak z d**y w embedded?!

…e creation of the vault 3680 more (6208 together: over 6144, under 8192)

Co-Authored-By: Claude <noreply@anthropic.com>
@JaxCalder JaxCalder changed the title Stack of 12288: the first Connect creates the vault Stack of 8192: the first Connect, which creates the vault, overflowed 6144 Nov 16, 2026
@JohnAmadis
JohnAmadis merged commit 8c01b13 into main Nov 16, 2026
1 check passed
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