Opened 2 years ago

Closed 2 years ago

#13881 closed defect (fixed)

DIRECTOR: crash at the beginning of pepperon-mac-fr

Reported by: mistydemeo Owned by: mistydemeo
Priority: normal Component: Engine: Director
Version: Keywords:
Cc: mistydemeo Game:

Description

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 mistydemeo, 2 years ago

Owner: set to mistydemeo
Resolution: pending
Status: newpending

comment:2 by mistydemeo, 2 years ago

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.

comment:3 by mistydemeo, 2 years ago

Resolution: pendingfixed
Status: pendingclosed
Note: See TracTickets for help on using tickets.