Hi Alan,

The fact that you get up to the "first start" dialog seems to indicate that
it is indeed a build issue. I'm still working on a new build that includes
https://github.com/drowe67/LPCNet/pull/48 and will announce it when
available. If you're still having the hanging issue, we can further debug
from there.

Thanks,

-Mooneer K6AQ

On Thu, Nov 17, 2022 at 6:14 PM Al Beard <bear...@unixservice.com.au> wrote:

> *Hi Mooneer,*
>
> *I've installed Xcode 11 and used "brew" to get wxWidgets, cmake, sndfile,
> samplerate, portaudio etc.*
>
> *And, one by one ie. LPCNet, Codec2 then FreeDV GUI and it all compiles
> and creates a DMG file*
> *which I've opened and moved the FreeDV app to Applications.*
>
> *When run, it notices, never been run before, Press OK and then "spinning
> wheel" and "top" reports 100% CPU*
>
> *So I ran up FreeDV1.6 and allowed it to create the user config.*
>
> *Tried app FreeDV again and nothing nothing on the screen, but 100% CPU.*
>
> *Trying again the build_osx.sh script.*
>
> *No-go wxWidgets build fails here:*
>
> *$ ./configure --disable-shared --with-osx_cocoa
> --enable-universal_binary=x86_64,arm64 --with-macosx-version-min=10.11
> --prefix=/Users/user/src/freedv-gui/build_osx/external/dist
> --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin
> --with-libtiff=builtin --with-expat=builtin CXXFLAGS=-stdlib=libc++
> -std=c++11 -DWX_PRECOMP -O2 -fno-strict-aliasing -fno-common*
>
> *Ho hum. I figure Xcode 11 cannot handle the arm64 world.*
>
> *Alan VK2ZIW*
>
> *On Tue, 15 Nov 2022 12:46:14 -0800, Mooneer Salem wrote*
> > Hi Alan,
> >
> > As I haven't checked in any of the recent changes yet, there won't be a
> Git version hash at the moment. However, based on the latest stack trace
> you provided, it does seem like we're on the right track in terms of what
> could be going on with the build (freedv_comptx() happens a lot later than
> __codec2__nlp_create()). The next build will likely be an official
> pre-release containing the changes I tried plus perhaps a few more.
> >
> > Thanks,
> >
> > -Mooneer K6AQ
> >
> > On Tue, Nov 15, 2022 at 12:11 PM Al Beard <bear...@unixservice.com.au>
> wrote:
> >
>>
>>
>> >
>> > *Well, crashed again,*
>> >
>> * > *
>> > *To avoid version confusion, can you put something in "Version:" ?*
>> > *BTW: I've not removed the previous version, I just renamed it*
>> > *in the Applications folder. bad FreeDV to FreeDV185a*
>> >
>> * > *
>> > *System here: HP Compaq 8200 Elite Small Form Factor i5 *
>> > *Emulating with Hackintosh: iMac (27-inch, Late 2013)*
>> > *Processor  3.09 GHz Quad-Core Intel Core i5*
>> > *macOS Catalina *
>> >
>> * > *
>> >
>> * > *
>> >
>> > *Process:               FreeDV [1466]*
>> > *Path:                  /Applications/FreeDV.app/Contents/MacOS/FreeDV*
>> > *Identifier:            org.freedv.freedv*
>> > *Version:               ??? (1.8.5)*
>> > *Code Type:             X86-64 (Native)*
>> > *Parent Process:        ??? [1]*
>> > *Responsible:           FreeDV [1466]*
>> > *User ID:               501*
>> >
>> * > *
>> > *Date/Time:             2022-11-16 06:47:07.895 +1100*
>> > *OS Version:            Mac OS X 10.15.3 (19D76)*
>> > *Report Version:        12*
>> > *Anonymous UUID:        E215C155-F950-4ED2-AF3A-7CB392630AD3*
>> >
>> * > *
>> >
>> * > *
>> > *Time Awake Since Boot: 81000 seconds*
>> >
>> * > *
>> > *System Integrity Protection: enabled*
>> >
>> * > *
>> > *Crashed Thread:        0  Dispatch queue: com.apple.main-thread*
>> >
>> * > *
>> > *Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)*
>> > *Exception Codes:       0x0000000000000001, 0x0000000000000000*
>> > *Exception Note:        EXC_CORPSE_NOTIFY*
>> >
>> * > *
>> > *Termination Signal:    Illegal instruction: 4*
>> > *Termination Reason:    Namespace SIGNAL, Code 0x4*
>> > *Terminating Process:   exc handler [1466]*
>> >
>> * > *
>> > *Thread 0 Crashed:: Dispatch queue: com.apple.main-thread*
>> > *0   liblpcnetfreedv.0.4.dylib      0x00000001021202bb lpcnet_enc +
>> 107*
>> > *1   libcodec2.1.0.dylib            0x0000000101fbdd54 freedv_comptx +
>> 324*
>> > *2   org.freedv.freedv              0x000000010057ee44
>> MainFrame::test2020Mode_() + 772*
>> > *3   org.freedv.freedv              0x000000010058655c
>> MainFrame::MainFrame(wxWindow*) + 7116*
>> > *4   org.freedv.freedv              0x000000010057eafd
>> MainFrame::MainFrame(wxWindow*) + 29*
>> > *5   org.freedv.freedv              0x000000010057e907
>> MainApp::OnInit() + 375*
>> > *6   org.freedv.freedv              0x0000000100980327
>> wxApp::CallOnInit() + 359*
>> > *7   org.freedv.freedv              0x0000000100bae4f8 wxEntry(int&,
>> wchar_t**) + 104*
>> > *8   org.freedv.freedv              0x000000010057e183 main + 35*
>> > *9   libdyld.dylib                  0x00007fff6ba457fd start + 1*
>> >
>> * > *
>> > *Thread 1:*
>> > *0   libsystem_pthread.dylib        0x00007fff6bc4a818 start_wqthread
>> + 0*
>> >
>> >
>> >
>> * > * *On Tue, 15 Nov 2022 11:15:47 -0800, Mooneer Salem wrote*
>> > > Hi Alan,
>> > >
>> > > Can you give
>> https://www.dropbox.com/s/dqgoitt5xqcxhc2/FreeDV.dmg?dl=0 a shot and let
>> me know how that goes? It seems that a recent LPCNet PR (
>> https://github.com/drowe67/LPCNet/pull/43) may have caused some code to
>> inappropriately be compiled with AVX2 enabled, so this version has some
>> tweaks to the CMake scripts to avoid that.
>> > >
>> > > Thanks,
>> > >
>> > > -Mooneer K6AQ
>> > >
>> > > On Mon, Nov 14, 2022 at 11:01 PM Mooneer Salem <moon...@gmail.com>
>> wrote:
>> > >
>>>
>>>
>>> > > Hi Alan,
>>> > >
>>> > > This actually looks similar to what a few others reported on Linux
>>> before I removed the Debian packages from the release. What does System
>>> Information show for your processor/model? My 2019 16" MBP shows
>>> "MacBookPro16,4" and "8-Core Intel Core i9" @ 2.3 GHz and seems to execute
>>> and decode fine. (FWIW, I also have access to an M1 Mac Mini as well as a
>>> 2011 MBA. I do remember an earlier 1.8.5 build working properly on the MBA,
>>> though, albeit in Windows 10.)
>>> > >
>>> > > Also, if possible, can you try building it yourself from the
>>> "ms-2020c" branch? The needed prerequisites can be installed with the
>>> following MacPorts command:
>>> > >
>>> > > sudo port install subversion git libtool sox +universal cmake
>>> > >
>>> > > Thanks,
>>> > >
>>> > > -Mooneer K6AQ
>>> > >
>>> > > On Mon, Nov 14, 2022 at 10:09 PM Al Beard <
>>> bear...@unixservice.com.au> wrote:
>>> > >
>>>>
>>>>
>>>> > > *Hi Mooneer,*
>>>> > >
>>>> * > > *
>>>> > > *OSX on Catalina, not so good:*
>>>> > >
>>>> * > > *
>>>> > >
>>>> > > *Process:               FreeDV [1050]*
>>>> > > *Path:
>>>> /Applications/FreeDV.app/Contents/MacOS/FreeDV*
>>>> > > *Identifier:            org.freedv.freedv*
>>>> > > *Version:               ??? (1.8.5)*
>>>> > > *Code Type:             X86-64 (Native)*
>>>> > > *Parent Process:        ??? [1]*
>>>> > > *Responsible:           FreeDV [1050]*
>>>> > > *User ID:               501*
>>>> > >
>>>> * > > *
>>>> > > *Date/Time:             2022-11-15 16:57:48.889 +1100*
>>>> > > *OS Version:            Mac OS X 10.15.3 (19D76)*
>>>> > > *Report Version:        12*
>>>> > > *Anonymous UUID:        E215C155-F950-4ED2-AF3A-7CB392630AD3*
>>>> > >
>>>> * > > *
>>>> > >
>>>> * > > *
>>>> > > *Time Awake Since Boot: 31000 seconds*
>>>> > >
>>>> * > > *
>>>> > > *System Integrity Protection: enabled*
>>>> > >
>>>> * > > *
>>>> > > *Crashed Thread:        0  Dispatch queue: com.apple.main-thread*
>>>> > >
>>>> * > > *
>>>> > > *Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)*
>>>> > > *Exception Codes:       0x0000000000000001, 0x0000000000000000*
>>>> > > *Exception Note:        EXC_CORPSE_NOTIFY*
>>>> > >
>>>> * > > *
>>>> > > *Termination Signal:    Illegal instruction: 4*
>>>> > > *Termination Reason:    Namespace SIGNAL, Code 0x4*
>>>> > > *Terminating Process:   exc handler [1050]*
>>>> > >
>>>> * > > *
>>>> > > *Thread 0 Crashed:: Dispatch queue: com.apple.main-thread*
>>>> > > *0   liblpcnetfreedv.0.4.dylib      0x000000010512c2ce
>>>> __codec2__nlp_create + 254*
>>>> > > *1   liblpcnetfreedv.0.4.dylib      0x000000010511d16c
>>>> codec2_pitch_create + 108*
>>>> > > *2   liblpcnetfreedv.0.4.dylib      0x0000000105121b6f
>>>> lpcnet_dump_create + 159*
>>>> > > *3   liblpcnetfreedv.0.4.dylib      0x00000001051239e1
>>>> lpcnet_freedv_create + 33*
>>>> > > *4   libcodec2.1.0.dylib            0x0000000104fc78d7
>>>> freedv_2020x_open + 1095*
>>>> > > *5   libcodec2.1.0.dylib            0x0000000104fc1775
>>>> freedv_open_advanced + 101*
>>>> > > *6   libcodec2.1.0.dylib            0x0000000104fc1707 freedv_o*
>>>> > > *bash-5.1$ *
>>>> > >
>>>> > >
>>>> > > *================ Whereas FreeDV v1.6 works fine and has 2020
>>>> mode.*
>>>> > >
>>>> * > > *
>>>> > > *On Mon, 14 Nov 2022 21:00:55 -0800, Mooneer Salem wrote*
>>>> > > > Hi all,
>>>> > > >
>>>> > > > I've generated a pre-release build of FreeDV that contains the
>>>> following:
>>>> > > >
>>>> > > > 1. Build system:
>>>> > > >     * Add checks for .git folder to prevent errors when building
>>>> from official release tarballs. (PR #294)
>>>> > > > 2. Enhancements:
>>>> > > >     * Update FreeDV configuration defaults to improve first-time
>>>> usability. (PR #293)
>>>> > > > 3. Bugfixes:
>>>> > > >     * Fix issue preventing macOS binaries from running on
>>>> releases older than 12.0. (PR #301)
>>>> > > >     * Fix issue with 2020B not being selected as default on next
>>>> start (PR #299)
>>>> > > > 4. Documentation:
>>>> > > >     * Update manual to reflect Ubuntu renaming libsndfile-dev to
>>>> libsnd1file-dev. (PR #297)
>>>> > > >
>>>> > > > Windows and macOS binaries (as well as source code) can be
>>>> downloaded from
>>>> https://github.com/drowe67/freedv-gui/releases/tag/v1.8.5-20221114.
>>>> > > >
>>>> > > > Thanks,
>>>> > > >
>>>> > > > -Mooneer K6AQ
>>>> > >
>>>> > > ---------------------------------------------------
>>>> > > Alan VK2ZIW
>>>> > > Before the Big Bang, God, Sela.
>>>> > > OpenWebMail 2.53, nothing in the cloud.
>>>> > >
>>>> > > _______________________________________________
>>>> > > Freetel-codec2 mailing list
>>>> > > Freetel-codec2@lists.sourceforge.net
>>>> > > https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>> > >
>>>
>>>
>> >
>> > ---------------------------------------------------
>> > Alan VK2ZIW
>> > Before the Big Bang, God, Sela.
>> > OpenWebMail 2.53, nothing in the cloud.
>> >
>> > _______________________________________________
>> > Freetel-codec2 mailing list
>> > Freetel-codec2@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>> >
>
>
>
>
> ---------------------------------------------------
> Alan VK2ZIW
> Before the Big Bang, God, Sela.
> OpenWebMail 2.53, nothing in the cloud.
>
> _______________________________________________
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to