I found this out while playing Mayhem Mansion - If the music is being streamed while using OpenAL, typing "Stat Music" can cause ZDoom to crash. I actually got an access violation several times. Unfortunately, the crash output was garbage. I'll see if I can grab something readable, I may have to configure GDB libraries again.
But I can reproduce this each time lately, so that's... progress. GCC 6.1.0.
[Linux, OpenAL] "Stat Music" locks ZDoom on streamed formats
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: [Linux, OpenAL] "Stat Music" locks ZDoom on streamed for
Found out what it was. it's Timidity causing the crash. Hmm.
Re: [Linux, OpenAL] "Stat Music" locks ZDoom on streamed for
now I'm curious, what was going on ?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Linux, OpenAL] "Stat Music" locks ZDoom on streamed for
A simple programming error. The streamer assumed a buffer, but Timidity uses a pipe to stream its data in. And querying some info from the buffer obviously failed.