[Linux, OpenAL] "Stat Music" locks ZDoom on streamed formats

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
Csonicgo
Posts: 1193
Joined: Thu Apr 15, 2004 3:28 pm
Location: Leeds

[Linux, OpenAL] "Stat Music" locks ZDoom on streamed formats

Post by Csonicgo »

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.
User avatar
Csonicgo
Posts: 1193
Joined: Thu Apr 15, 2004 3:28 pm
Location: Leeds

Re: [Linux, OpenAL] "Stat Music" locks ZDoom on streamed for

Post by Csonicgo »

Found out what it was. it's Timidity causing the crash. Hmm.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

fixed
User avatar
Csonicgo
Posts: 1193
Joined: Thu Apr 15, 2004 3:28 pm
Location: Leeds

Re: [Linux, OpenAL] "Stat Music" locks ZDoom on streamed for

Post by Csonicgo »

now I'm curious, what was going on ? :P
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

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.
Post Reply

Return to “Closed Bugs [GZDoom]”