Skip to content

Fix CuListsManager initialization stack overflow#411

Merged
gbin merged 1 commit into
codex/refactor-culistsmanager-for-safe-allocationfrom
codex/fix-regression-for-large-copperlists
Jul 30, 2025
Merged

Fix CuListsManager initialization stack overflow#411
gbin merged 1 commit into
codex/refactor-culistsmanager-for-safe-allocationfrom
codex/fix-regression-for-large-copperlists

Conversation

@gbin

@gbin gbin commented Jul 30, 2025

Copy link
Copy Markdown
Collaborator

Summary

  • allocate zeroed copper list memory and initialize metadata via CuListZeroedInit
  • implement CuListZeroedInit in runtime tests
  • initialize copper lists in macros after creation

Testing

  • cargo test -p cu29-runtime --no-run
  • cargo test -p cu29-runtime --quiet
  • cargo test -p cu29-derive --quiet

https://chatgpt.com/codex/tasks/task_e_68893e4a74a883308e1a25bfd47bd364

@gbin gbin merged commit 3dcbfc6 into codex/refactor-culistsmanager-for-safe-allocation Jul 30, 2025
@gbin gbin deleted the codex/fix-regression-for-large-copperlists branch July 30, 2025 02:12
gbin added a commit that referenced this pull request Jul 30, 2025
* refactor: initialize copper lists safely

* fix formatting

* Fixed default init on CopperList

* typo on type

* missing import for log reader init

* Fix copperlist initialization without stack overflow (#411)

* format

* resotore the non macro debug
@makeecat makeecat added the bug Something isn't working label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working codex

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants