Skip to content

UnexpectedToken and DebugAllocator double free when generating stats in GitHub Actions #153

@genskyff

Description

@genskyff

Description

I followed the README to set up github-stats, but the GitHub Actions workflow fails at the Generate images step.

Command:

./zig-out/bin/github-stats

Error log:

error(DebugAllocator): Double free detected. Allocation:
(empty stack trace)
 First free:
(empty stack trace)
 Second free:
(empty stack trace)
error: UnexpectedToken
Error: Process completed with exit code 1.

6_Generate images.txt

Token setup

I created a classic personal access token and added it as the repository secret ACCESS_TOKEN.

The token has these permissions:

  • read:user
  • user:email
  • repo

I also noticed some issues mentioning that a newly created token may take some time to work. However, I waited several days and reran the workflow, but the same error still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions