samtay / tetris

A terminal interface for Tetris
Other
871 stars 40 forks source link

Crashes on macos 13.0.1 (22A400) with latest xcode #25

Open filipvh opened 1 year ago

filipvh commented 1 year ago

After selecting a level, the game renders, but before my block displays:

tetris(44546,0x30ec64000) malloc: error for object 0x600001628010: pointer being freed was not allocated tetris(44546,0x30ec64000) malloc: set a breakpoint in malloc_error_break to debug [1] 44546 abort tetris

image
filipvh commented 1 year ago

Funny, 2nd time I run it, it runs fine :/

samtay commented 1 year ago

Whoa. That's interesting, haven't seen encountered anything like this. Curious where the memory bug would be, perhaps in ncurses. Regardless, I should probably bump the dependencies and stack LTS for this project.