OSX didn't like run-time creation of large (360k) automatic variables
from the stack .... replaced with a malloc/free

On 20/06/18 21:22, Mark Jessop wrote:
> ....aaaaand it's been resolved.
> 
> For some reason an array wasn't being completely allocated (horus_api.c
> line #365). David changed it to a malloc and it seems OK now...
> 
> Cheers,
> Mark
> 
> On Wed, Jun 20, 2018 at 8:49 PM, Mark Jessop <lenniethelemm...@gmail.com
> <mailto:lenniethelemm...@gmail.com>> wrote:
> 
>     Hi all,
> 
>     David has recently added support for decoding the 'Horus Binary'
>     modem into freedv-dev. No issues running this under Linux and
>     Windows, so it seems.
> 
>     However, compiling under OSX (I'm on 10.11) produces an odd bug
>     where i get a "Bus Error: 10" (which I think is essentially a
>     segfault) after one second of audio.
> 
>     I'm wondering if any of the other OSX users on here could try and
>     compile the latest freedv-dev revision and see if the bug can be
>     repeated?
> 
>     To reproduce:
>     - Set up sound cards in Audio Config -> Receive tab as appropriate.
>     Set both sound cards in Transmit tab to none.
>     - Select the 'HorusB' mode.
>     - Hit Start, and wait. On my machine I get a crash after one second.
> 
>     Would be very interested to know if this is compiler-specific or
>     some some kind of optimiser bug, hence looking for someone else
>     running OSX to give it a go.
> 
>     Thanks,
>     Mark VK5QI
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to