Opened 8 months ago
Closed 8 months ago
#13881 closed defect (fixed)
DIRECTOR: crash at the beginning of pepperon-mac-fr
|Reported by:||mistydemeo||Owned by:||mistydemeo|
The Mac version of Valmaison au fil des saisons / Four Seasons in Pepperon Village crashes near the beginning of the game. I've identified the cause as a use-after-free in the sound thread when switching movies. The previous movie and its cast are deleted, and the Cast destructor frees the memory containing the sound that's still being played. It seems this might be a bug in other cases too, if a sound from a cast is still being played at the time it's deleted.
This also occurs in the Japanese Mac version, but not any of the Windows versions.
Change History (3)
comment:1 by , 8 months ago
|Status:||new → pending|
comment:2 by , 8 months ago
comment:3 by , 8 months ago
|Resolution:||pending → fixed|
|Status:||pending → closed|
Note: See TracTickets for help on using tickets.
I've observed this in a second game now. When quitting A Small Story on a Sleepless Night, the game crashes after playing the "see you next time" sound while it's switching to the end credits. The ASAN output indicates this is the exact same bug as with Valmaison.