OK so something to do with the LPCNet build I guess. The same 2020 mode code is running fine on Windows/Linux, but it's also possible you hit a corner case. They sometimes show up when we cross compile.
You can run the run the same LPCNet code stand alone (without freedv-gui) if that helps track it down, see: https://github.com/drowe67/LPCNet For example, this will exercise the lower few levels of the code that is seg faulting for you: $ cd LPCNet/build_linux/src $ sox ../../wav/all.wav -t raw -r 16000 - | ./lpcnet_enc -s | ./lpcnet_dec -s | aplay -f S16_LE -r 16000 Cheers, David On 11/11/19 5:24 pm, Mooneer Salem wrote: > Looks like I can play the 700 and 1600 wav files but the 2020 one causes > a segfault: > > Thread 13 Crashed: > 0 libdyld.dylib 0x00007fff69a3d386 > stack_not_16_byte_aligned_error + 0 > 1 ??? 0x00007000062a9af0 0 + 123145405766384 > 2 liblpcnetfreedv.dylib 0x0000000109fba1c0 lpc_from_bands + > 784 (freq.c:218) > 3 liblpcnetfreedv.dylib 0x0000000109fba613 lpc_from_cepstrum + 691 > 4 liblpcnetfreedv.dylib 0x0000000109fc2d38 > lpcnet_frame_to_features + 2856 > 5 liblpcnetfreedv.dylib 0x0000000109fc4d52 lpcnet_dec + 114 > (lpcnet_freedv.c:68) > 6 libcodec2.0.9.dylib 0x0000000109f3b2e3 freedv_comprx + 291 > (freedv_api.c:2511) > 7 org.freedv.freedv 0x000000010921ea34 > per_frame_rx_processing(FIFO*, FIFO*) + 1444 (fdmdv2_main.cpp:4218) > 8 org.freedv.freedv 0x000000010921d3e7 txRxProcessing() + > 2743 (fdmdv2_main.cpp:3892) > 9 org.freedv.freedv 0x0000000109221247 txRxThread::Entry() > + 39 (fdmdv2_main.h:655) > 10 org.freedv.freedv 0x000000010964734c > wxThread::CallEntry() + 12 > 11 org.freedv.freedv 0x0000000109646998 > wxThreadInternal::PthreadStart(wxThread*) + 2344 > 12 libsystem_pthread.dylib 0x00007fff69c58d36 _pthread_start + 125 > 13 libsystem_pthread.dylib 0x00007fff69c5558f thread_start + 15 > > -Mooneer K6AQ > > On Sun, Nov 10, 2019 at 12:12 PM David Rowe <[email protected] > <mailto:[email protected]>> wrote: > > Thanks Mooneer. For some basic tests there are wav files of each mode > in freedv-gui/wav. > > Cheers, > David > > On 11/11/19 6:30 am, Mooneer Salem wrote: > > The one I emailed on the 8th > > (https://www.dropbox.com/s/kgouoiyhqn87q3z/FreeDV-1.4.dmg?dl=0) should > > be the working one. > > > > Also, I'm open to scheduling a time to get on the air to see how > well it > > works. I'm fairly limited on power/antenna (due to needing to operate > > portable) so West Coast of North America would be ideal. > > > > -Mooneer K6AQ > > > > On Sun, Nov 10, 2019 at 11:49 AM David Rowe <[email protected] > <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > > Thanks Mooneer for that work (and Mark for your testing), I > have merged > > https://github.com/drowe67/freedv-gui/pull/32. > > > > Can you pls point me at an OSX installer file I can link to from > > freedv.org <http://freedv.org> <http://freedv.org>? Quite a > few versions in this thread > > and I want to make sure > > I have the correct one. > > > > Mark - might be useful checking the Horus mode works, even on > stored > > files. > > > > Cheers, > > David > > > > On 9/11/19 5:12 pm, Mark Jessop wrote: > > > Can confirm that dmg and appbundle opens under my OSX > version. Haven't > > > tried it on-air. > > > > > > 73 > > > Mark > > > > > > On Sat, Nov 9, 2019 at 4:55 PM Mooneer Salem > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>> > > > <mailto:[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>>> wrote: > > > > > > So it looks like it might be due to me having an older > version of > > > dylibbundler on my laptop. The latest one on github > seems to do > > > something similar to what I did in my previous email: > > > > > > > > > _______________________________________________ > > Freetel-codec2 mailing list > > [email protected] > <mailto:[email protected]> > > <mailto:[email protected] > <mailto:[email protected]>> > > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > > > > > _______________________________________________ > > Freetel-codec2 mailing list > > [email protected] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
