Here's the debug log from ZGameEditor:
Code: Select all
Desired audio buffer size: 2048 frames
ALSA: pulse
ALSA HW Default rate: 44100
ALSA HW Rate: 44100 frames
ALSA HW Buffer size: 4096 frames
ALSA HW Period size: 227
ALSA HW Periods: 0
ALSA SW Avail min: 227
ALSA SW Start threshold: 1
ALSA SW Stop threshold: 4096
An unhandled exception occurred at $ECA8D1FE:
EAccessViolation: Access violation $ECA8D1FE
The problem occurs when I use either one of those two SunVox functions:
int sv_load(int slot, string name){}
int sv_load_from_memory(int slot, xptr data, int data_size) {}
The weird thing is that it works perfectly when I use sunvox_lofi.so instead. It's not coming from an old computer problem. I tried on an i386 and a recent x64 one. I also tried an older version of SunVox 1.9.4c and got the same problem.
Finally, here's the debug log using gdb:
Code: Select all
Starting program: /home/ats/Dropbox/Taf/Omeganaut/SunVox
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0xeeef0b40 (LWP 8503)]
[New Thread 0xee4ffb40 (LWP 8504)]
[New Thread 0xedaffb40 (LWP 8505)]
[New Thread 0xed2feb40 (LWP 8506)]
Desired audio buffer size: 2048 frames
[New Thread 0xe81ffb40 (LWP 8507)]
ALSA: pulse
ALSA HW Default rate: 44100
ALSA HW Rate: 44100 frames
ALSA HW Buffer size: 4096 frames
ALSA HW Period size: 227
ALSA HW Periods: 0
ALSA SW Avail min: 227
ALSA SW Start threshold: 1
ALSA SW Stop threshold: 4096
[New Thread 0xdb7ffb40 (LWP 8508)]
Thread 1 "SunVox" received signal SIGSEGV, Segmentation fault.
0xedc8d1fe in ?? () from ./sunvox.so
Code: Select all
#0 0xedc8d1fe in ?? () from ./sunvox.so
#1 0xedc92667 in psynth_sampler(int, psynth_event*, psynth_net*) ()
from ./sunvox.so
#2 0xedc7037a in psynth_add_module(int, unsigned int (*)(int, psynth_event*, psynth_net*), char const*, unsigned int, int, int, int, int, int, psynth_net*) ()
from ./sunvox.so
#3 0xedc5fad5 in sunvox_load_proj_from_fd(unsigned int, unsigned int, sunvox_engine*) () from ./sunvox.so
#4 0xedc54861 in sv_load_from_memory () from ./sunvox.so
#5 0x0806de8c in ?? ()
#6 0x0806ba5f in ?? ()
I'm also trying to compile the SunVox examples on Linux in order to check of sunvox.so is running or if the problem comes from ZGameEditor.