Page 1 of 1

Export to WAV segfault [FIXED in v1.7.3]

Posted: Wed Nov 21, 2012 6:44 pm
by dubalistic
Hi Nightradio,

First thanks for the great software that is SUNVOX, it really has great potential. If you open-source it at certain point it may draw even more developers and become the de-facto modular synth multiplatform studio.
Anyway, I have a problem when I try to export all modules to WAV. (16 or 32 bit it doesn't matter). If a song is more than 4 minutes long Sunvox 1.7.2b segfaults and I need to export each module manually.

Here is an strace of the case:

write(19, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 12288) = 12288
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
...

recvfrom(3, "\1\1\226\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
futex(0x7fbf18002388, FUTEX_WAKE_PRIVATE, 1) = 1
recvfrom(3, 0x7fbf180023e4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7fbf18007b30, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fbf18002388, FUTEX_WAKE_PRIVATE, 1) = 1
recvfrom(3, 0x7fbf180023e4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7fbf18007b30, FUTEX_WAKE_PRIVATE, 1) = 1
shutdown(3, 2 /* send and receive */) = 0
close(3XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 150 requests (150 known processed) with 0 events remaining.
) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [SEGV], SA_RESTORER|SA_RESTART, 0x7fbf21c1c4a0}, 8) = 0
rt_sigaction(SIGBUS, NULL, {0x7fbf22299ba0, [], SA_RESTORER, 0x7fbf22d7acb0}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL, [], SA_RESTORER, 0x7fbf22d7acb0}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {0x7fbf22299ba0, [], SA_RESTORER, 0x7fbf22d7acb0}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL, [], SA_RESTORER, 0x7fbf22d7acb0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {0x7fbf22299ba0, [], SA_RESTORER, 0x7fbf22d7acb0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fbf22d7acb0}, NULL, 8) = 0
tgkill(18364, 18364, SIGSEGV) = 0
rt_sigreturn(0x47bc) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Hope this helps.

Re: Export to WAV segfault

Posted: Wed Nov 21, 2012 7:44 pm
by NightRadio
Thank you for the stack trace. I will check this.

Re: Export to WAV segfault

Posted: Wed Nov 21, 2012 7:51 pm
by dubalistic
Additional info: OS is Ubuntu 12.10 64 bit. I am using the 64 bit version of Sunvox 1.7.2b . Just try with some big song and I think you will be able to reproduce.

Cheers !

Re: Export to WAV segfault

Posted: Wed Nov 21, 2012 8:29 pm
by NightRadio
Please can you send me your song to nightradio@gmail.com?
I can't reproduce this bug with my songs (5 minutes long).

Re: Export to WAV segfault

Posted: Wed Nov 21, 2012 8:51 pm
by dubalistic
I sent it. This bug happens on my core i7 machine as well as my i5 laptop - both sandy bridge and Ubuntu 12.10 64 bit.
Also turned out I can reproduce it with songs no matter how long, even one 64 bar pattern.

Re: Export to WAV segfault [FIXED in v1.7.3]

Posted: Wed Nov 21, 2012 9:01 pm
by NightRadio
Ok, i fixed it. Will be available in the near update.
The problem is not in the song length. SunVox crashes on attempt to export MultiSynth module, which has no audio output channels.

Re: Export to WAV segfault [FIXED in v1.7.3]

Posted: Wed Nov 21, 2012 9:03 pm
by dubalistic
Many thanks. When can we expect 1.7.3 if not much impolite to ask?

Re: Export to WAV segfault [FIXED in v1.7.3]

Posted: Wed Nov 21, 2012 9:06 pm
by NightRadio
Sorry, can't give a forecast. But i hope this will be very soon :)

Re: Export to WAV segfault [FIXED in v1.7.3]

Posted: Wed Nov 21, 2012 9:08 pm
by dubalistic
It's OK. Thanks for the quick response and action taken. Take care and keep on the good job!

Cheers !

Re: Export to WAV segfault [FIXED in v1.7.3]

Posted: Mon Aug 26, 2013 2:10 pm
by bazu
dubalistic wrote: If you open-source it at certain point it may draw even more developers and become the de-facto modular synth multiplatform studio.

Yeahh, It would be great! Open Source rrrrrocks!!!