Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 405
    • Issues 405
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !603

Resolve "stacktrace shape wrong"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Quinten Cabo requested to merge 2527-stacktrace-shape-wrong into develop Jan 29, 2026
  • Overview 0
  • Commits 3
  • Changes 1

Fix issue #2527 (closed) by moving all uses of int to sac_int where needed. The main issue was that stackPush was that dims and shapes where collected with a va_arg(dim_shape, int) instead of va_arg(dim_shape, sac_int). Then other code had to change to ensure that enough space was allocated for the sac_int and that the right format strings are used.

Also improves the stack.c code by adding some missing cast from unsigned char* to char* and remove an unused call to get_terminal_width in the arrow renderer.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 2527-stacktrace-shape-wrong