UPBGE / upbge

UPBGE, the best integrated game engine in Blender
https://upbge.org
Other
1.42k stars 180 forks source link

Seg Fault, possibly with Audaspace, on both Stable and Alpha #1737

Open Michael-Z-Freeman opened 2 years ago

Michael-Z-Freeman commented 2 years ago

Hi,

0.34.0 Alpha.

Linux michaelzfreeman-Swift-SF113-31-Kubuntu 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy

My "game" is actually a DJ/Musician tool currently in development. This was not originally crashing in Jan 2022 because I was able to make a full demo video here: http://ucas.michaelzfreeman.org/#turntable

COONTROLS: Space - Stop/start, CTRL - reverse, ALT - Power off (slows to stop).

You will have to edit in a path to a ".wav" audio file at the top of the python script in the Blender internal editor.

The crash occurs after hitting stop one or more times. Reverse and power off seems unaffected,

The project will still start without defining an audio file path (no audio loads) and then it does not crash. I've wondered about the size of audio files being loaded into Audaspace before but I'm not seeing my system running out of memory and, as I said, the project was previously stable even with large audio files buffered into memory.

So is this a UPBGE issue, and Audaspace one, or both ? Or maybe something in my Python code although I'm not seeing a problem with that ATM.

Cheers :)

Virtual_DVS_Controller_v121_2 crash CONSOLE OUTPUT.txt Virtual_DVS_Controller_v121_2 crash IN ALPHA.txt Virtual_DVS_Controller_v121_2 crash IN STABLE.txt

Michael-Z-Freeman commented 2 years ago

UPBGE file with external textures.zip

lordloki commented 2 years ago

It doesn't crash for me. Also I've modified a bit the code to load properly the sound using expandPath UPBGE.file.with.external.textures.zip

Michael-Z-Freeman commented 2 years ago

It doesn't crash for me. Also I've modified a bit the code to load properly the sound using expandPath UPBGE.file.with.external.textures.zip

Cheers. Hmmm. Could be my sound device. What's yours ?

lordloki commented 2 years ago

I have MSI B450 Gaming Plus Realtek Audio. I think I'm using OpenAL-Soft backend (I have to check it) with 48000Hz in UPBGE. I tested in Windows. I will check in Linux this night.

youle31 commented 2 years ago

It sounds to work for me too:

Capture d’écran 2022-09-28 075944

I'm using hdmi sound.