Export to WAV segfault [FIXED in v1.7.3]

Found a bug? Post it here.
Post Reply
dubalistic
Posts: 6
Joined: Wed Nov 21, 2012 6:02 pm

Export to WAV segfault [FIXED in v1.7.3]

Post by dubalistic » Wed Nov 21, 2012 6:44 pm

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.

User avatar
NightRadio
Site Admin
Posts: 3150
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Export to WAV segfault

Post by NightRadio » Wed Nov 21, 2012 7:44 pm

Thank you for the stack trace. I will check this.

dubalistic
Posts: 6
Joined: Wed Nov 21, 2012 6:02 pm

Re: Export to WAV segfault

Post by dubalistic » Wed Nov 21, 2012 7:51 pm

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 !

User avatar
NightRadio
Site Admin
Posts: 3150
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Export to WAV segfault

Post by NightRadio » Wed Nov 21, 2012 8:29 pm

Please can you send me your song to nightradio@gmail.com?
I can't reproduce this bug with my songs (5 minutes long).

dubalistic
Posts: 6
Joined: Wed Nov 21, 2012 6:02 pm

Re: Export to WAV segfault

Post by dubalistic » Wed Nov 21, 2012 8:51 pm

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.

User avatar
NightRadio
Site Admin
Posts: 3150
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

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

Post by NightRadio » Wed Nov 21, 2012 9:01 pm

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.

dubalistic
Posts: 6
Joined: Wed Nov 21, 2012 6:02 pm

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

Post by dubalistic » Wed Nov 21, 2012 9:03 pm

Many thanks. When can we expect 1.7.3 if not much impolite to ask?

User avatar
NightRadio
Site Admin
Posts: 3150
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

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

Post by NightRadio » Wed Nov 21, 2012 9:06 pm

Sorry, can't give a forecast. But i hope this will be very soon :)

dubalistic
Posts: 6
Joined: Wed Nov 21, 2012 6:02 pm

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

Post by dubalistic » Wed Nov 21, 2012 9:08 pm

It's OK. Thanks for the quick response and action taken. Take care and keep on the good job!

Cheers !

bazu
Posts: 1
Joined: Mon Aug 26, 2013 1:05 pm

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

Post by bazu » Mon Aug 26, 2013 2:10 pm

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!!!

Post Reply