a16z-infra / ai-town

A MIT-licensed, deployable starter kit for building and customizing your own version of AI town - a virtual town where AI characters live, chat and socialize.
https://convex.dev/ai-town
MIT License
7.12k stars 651 forks source link

Convex Local Backend error and termination #240

Open MCPE10 opened 3 weeks ago

MCPE10 commented 3 weeks ago

After running the convex local backend, it starts up and runs for a bit then says:

2024-06-05T03:07:16.570412Z INFO application::scheduled_jobs: Executing aiTown/main.js:runStep! convex-local-backend(14063,0x16eb5f000) malloc: error for object 0x600001b5d7f0: pointer being freed was not allocated convex-local-backend(14063,0x16eb5f000) malloc: set a breakpoint in malloc_error_break to debug

I have been troubleshooting this for a long time and still haven't found a way to make it work. Can anyone tell me what these errors mean and what steps I should take to solve them?

ianmacartney commented 2 weeks ago

Is this on the latest version of the local backend binary? Can you share what version / platform? I hit an issue like this and the team found a bug in the new version of rust (😱) and rolled back temporarily, but that was weeks ago