Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash triggered by libmad-0.dll #526

Open
nobleflame opened this issue Oct 26, 2024 · 7 comments
Open

Crash triggered by libmad-0.dll #526

nobleflame opened this issue Oct 26, 2024 · 7 comments

Comments

@nobleflame
Copy link

Had a couple of crashes with the latest version of DSDA DOOM. Here is the crash log from Event Viewer:

Faulting application name: dsda-doom.exe, version: 0.0.0.0, time stamp: 0x671ba5e5
Faulting module name: libmad-0.dll, version: 0.0.0.0, time stamp: 0x657ff460
Exception code: 0xc0000005
Fault offset: 0x0000000000002a6e
Faulting process id: 0x0x95C
Faulting application start time: 0x0x1DB27CAEB96BBE6
Faulting application path: D:\Games\DOOM\DSDA\dsda-doom.exe
Faulting module path: D:\Games\DOOM\DSDA\libmad-0.dll
Report Id: cb0087b5-4939-4932-9331-97c465d7d7fd
Faulting package full name:
Faulting package-relative application ID:

@rfomin
Copy link
Collaborator

rfomin commented Oct 27, 2024

What WAD are you running? Could you try creating a new clean folder for DSDA-Doom?

@nobleflame
Copy link
Author

nobleflame commented Oct 27, 2024

Will do. It’s happened twice now with Formless Mother: https://www.doomworld.com/forum/topic/148914-formless-mother-mbf21-rc2/

I’ll try a fresh install and report back if I get more crashes.

@rfomin
Copy link
Collaborator

rfomin commented Oct 27, 2024

I've tried both WADs, no crashes for me so far. Also, "Sleepwalking" doesn't seem to have any MP3 music (libmad-0.dll is the MP3 library).

@nobleflame
Copy link
Author

Interesting, thanks for testing. On my fresh install it hasn't crashed yet either. Put it down to user erorr. I'll close this. Thanks again for your time.

@nobleflame nobleflame reopened this Nov 1, 2024
@nobleflame
Copy link
Author

nobleflame commented Nov 1, 2024

@rfomin

Had the same crash again today. This was with the Formless Mother wad. https://www.doomworld.com/forum/topic/148914-formless-mother-mbf21-rc2/ Worth noting that Formless Mother does indeed use MP3 files for music.

Here's the crash reports below:

Event viewer:

Faulting application name: dsda-doom.exe, version: 0.0.0.0, time stamp: 0x671ba5e5
Faulting module name: libmad-0.dll, version: 0.0.0.0, time stamp: 0x657ff460
Exception code: 0xc0000005
Fault offset: 0x0000000000002a6e
Faulting process id: 0x0x2998
Faulting application start time: 0x0x1DB2C4E1982AFBF
Faulting application path: D:\Games\DOOM\DSDA\dsda-doom.exe
Faulting module path: D:\Games\DOOM\DSDA\libmad-0.dll
Report Id: bc6d9866-504e-4c1b-b6ec-1c9967784b3e
Faulting package full name:
Faulting package-relative application ID:

And DSDA console:

dsda-doom v0.28.2 (https://github.com/kraflab/dsda-doom/)

dsda-doom is released under the GNU General Public license v2.0.
You are welcome to redistribute it under certain conditions.
It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details.

Playing: DOOM 2: Hell on Earth

adding D:/Games/DOOM/DSDA/doom2.wad

adding D:\Games\DOOM\DSDA/dsda-doom.wad

adding D:\Games\DOOM\DSDA\wads\D2SPFX20.WAD

adding D:\Games\DOOM\DSDA\wads\Formless Mother\Formless.wad

Loading DEH lump from D:\Games\DOOM\DSDA\wads\Formless Mother\Formless.wad

Loading DEH file D:\Games\DOOM\DSDA\wads\D2DEHFIX.DEH

Loading DEH file D:\Games\DOOM\DSDA\wads\doom_colored_blood.deh

Using data file directory: D:/Games/DOOM/DSDA/dsda_doom_data/doom2/d2spfx20/formless

mad_registersong succeed. bitrate 112000 samplerate 48000

Edit: this is with a clean DSDA folder.

@fabiangreffrath
Copy link
Collaborator

Where does dsda-doom get is libmad.dll from? Debian's package is heavily patched, maybe some of these need to get applied here as well.

https://sources.debian.org/src/libmad/0.15.1b-10.2/debian/patches/

@rfomin
Copy link
Collaborator

rfomin commented Nov 2, 2024

I can't replicate the crash yet.

Where does dsda-doom get is libmad.dll from?

It's from MSYS2.

libmad hasn't been updated in over 20 years. I think we should switch to libsndfile for sounds and music.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants