<p></p>
<p>Ravancloak twice had a crash while playing <a href="https://www.slimesalad.com/forum/viewgame.php?p=137050" rel="nofollow">I AM BEAN BOY</a>, and also other audio glitches.</p>
<blockquote>
<p>rue9x: she also said that when the "beep" sound plays (there's a on-step script that plays a footfall beep sound) all of the audio cut out<br>
rue9x: but that might have been coincidental</p>
</blockquote>
<p>Here is the OSX-generated crash log: <a href="https://github.com/ohrrpgce/ohrrpgce/files/4640252/bean_boy_crash.txt">bean_boy_crash.txt</a></p>
<p>Mac OS X 10.13.6<br>
O.H.R.RPG.C.E version gorgonzola 20200502 (x86_64)<br>
SDL 1.2.14<br>
SDL_mixer 1.2.11</p>
<p>The log shows that the crash happens inside SDL_mixer when the mixing thread dereferences <code>music_playing->type</code> (this code-path occurs only on Mac) while the main thread is in the process of loading a MIDI (inside <code>native_midi_start</code> in a <code>Mix_FadeInMusicPos</code> call). So this is apparently clearly a race condition in SDL_mixer, and their bug.</p>
<p>SDL_mixer 1.2.11 is out of date, 1.2.12 has "Fixed looping native MIDI on Mac OS X and Windows" in the changelog. I'd like to verify that 1.2.12 actually fixes this, though. It looks like there will be one more SDL_mixer 1.2 bugfix release soon.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1128">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZUGTWQ7GJZCB4F3XADRR7NW7ANCNFSM4NDL54NQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZREX2FCI2D2SWKK3YDRR7NW7A5CNFSM4NDL54N2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JHP2QTA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1128",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1128",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>