Sound Blaster PCI 128 crashes under Linux

Support and general discussion.
Post Reply
andr25352
Posts: 10
Joined: Sun 12 Feb, 2017 9:50 am

Sound Blaster PCI 128 crashes under Linux

Post by andr25352 »

When running PCem under Linux with a release build, Sound Blaster PCI 128
and Ensoniq AudioPCI (ES1371) crashes the entire emulator at the bios screen just after the audible beep sound.

This doesn't happen when PCem is built in debug mode.

Tested using Linux Mint 18.3 with gcc 7.3.0.
andr25352
Posts: 10
Joined: Sun 12 Feb, 2017 9:50 am

Re: Sound Blaster PCI 128 crashes under Linux

Post by andr25352 »

Bumping this, since I suspect it has not been noticed.(Perhaps I should have posted in Development?)

I forgot to mention that we the terminal logs this line when the crash occurs:
*** buffer overflow detected ***: ./pcem terminated

When compiling the file "sound_audiopci.c" using -O0 instead of -O3 it does not crash.
Also the crash doesn't happen when compiling with clang, only with gcc.
This happens on both 64-bit and 32-bit compiles for Linux Mint 19.1 64-bit (Updated my OS installation since last post)
Post Reply