Open stuzog opened 6 years ago
@stuzog I've just bumped cubicsdr to 0.2.3, see if that helps. If it doesn't work then try to reinstall fftw
--without-fortran
so it doesn't compile it with gcc
.
Install via Homebrew went smoothly bt ended wit a warning:
bash$ brew tap dholm/homebrew-sdr Updating Homebrew... bash$ brew install cubicsdr Updating Homebrew... ==> Installing cubicsdr from dholm/sdr ==> Installing dependencies for dholm/sdr/cubicsdr: mpfr, fftw, pothosware/pothos/soapysdr ==> Installing dholm/sdr/cubicsdr dependency: mpfr ==> Downloading https://homebrew.bintray.com/bottles/mpfr-4.0.1.el_capitan.bottle.tar.gz ######################################################################## 100.0% ==> Pouring mpfr-4.0.1.el_capitan.bottle.tar.gz 🍺 /usr/local/Cellar/mpfr/4.0.1: 28 files, 4.6MB ==> Installing dholm/sdr/cubicsdr dependency: fftw ==> Downloading http://fftw.org/fftw-3.3.7.tar.gz ######################################################################## 100.0% ==> ./configure --enable-single --enable-shared --prefix=/usr/local/Cellar/fftw/3.3.7_1 --en ==> make install ==> make clean ==> ./configure --enable-shared --prefix=/usr/local/Cellar/fftw/3.3.7_1 --enable-threads --d ==> make install ==> make clean ==> ./configure --enable-long-double --enable-shared --prefix=/usr/local/Cellar/fftw/3.3.7_1 ==> make install 🍺 /usr/local/Cellar/fftw/3.3.7_1: 52 files, 10.9MB, built in 26 minutes 47 seconds ==> Installing dholm/sdr/cubicsdr dependency: pothosware/pothos/soapysdr ==> Downloading https://github.com/pothosware/SoapySDR/archive/soapy-sdr-0.6.1.tar.gz Already downloaded: /Users/Stuart/Library/Caches/Homebrew/soapysdr-0.6.1.tar.gz ==> cmake .. -DUSE_PYTHON_CONFIG=ON -DENABLE_PYTHON3=OFF -DSOAPY_SDREXTVER=release -DSOAPY ==> make install 🍺 /usr/local/Cellar/soapysdr/0.6.1: 35 files, 1.5MB, built in 1 minute 3 seconds ==> Installing dholm/sdr/cubicsdr ==> Downloading https://github.com/cjcliffe/CubicSDR/archive/0.2.3.tar.gz ==> Downloading from https://codeload.github.com/cjcliffe/CubicSDR/tar.gz/0.2.3 ######################################################################## 100.0% ==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INS ==> make Warning: dholm/sdr/cubicsdr dependency gcc was built with a different C++ standard library (libstdc++ from clang). This may cause problems at runtime. 🍺 /usr/local/Cellar/cubicsdr/0.2.3: 29 files, 2.5MB, built in 3 minutes 37 seconds bash$ which cubicsdr /usr/local/bin/cubicsdr bash$ cubicsdr /usr/local/bin/cubicsdr: line 5: 83828 Illegal instruction: 4 ./CubicSDR bash$
Then CubicSDR crashed immediately on launch:
Process: CubicSDR [84000] Path: /usr/local/Cellar/cubicsdr/0.2.3/libexec/./CubicSDR Identifier: CubicSDR Version: 0 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: CubicSDR [84000] User ID: 501
Date/Time: 2018-02-13 13:37:46.717 -0800 OS Version: Mac OS X 10.11.6 (15G19009) Report Version: 11 Anonymous UUID: E4BD65AC-4E0A-D063-2F7A-69609F4E4881
Time Awake Since Boot: 17000 seconds
System Integrity Protection: disabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libliquid.dylib 0x00000001038b7471 fft_create_plan_mixed_radix + 387 1 libliquid.dylib 0x00000001038b740b fft_create_plan_mixed_radix + 285 2 CubicSDR 0x000000010378c026 SpectrumVisualProcessor::setup(unsigned int) + 310 3 CubicSDR 0x000000010370780e AppFrame::AppFrame() + 3510 4 CubicSDR 0x00000001036fffbd CubicSDR::OnInit() + 3935 5 libwx_osx_cocoau_core-3.0.dylib 0x000000010397a7e2 wxApp::CallOnInit() + 158 6 libwx_baseu-3.0.dylib 0x000000010410dc9f wxEntry(int&, wchar_t**) + 40 7 CubicSDR 0x00000001036fdda0 main + 48 8 libdyld.dylib 0x00007fff8a4b05ad start + 1
Thread 1: 0 libsystem_kernel.dylib 0x00007fff890085e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff86c02578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff86c00341 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff89008efa kevent_qos + 10 1 libdispatch.dylib 0x00007fff99417165 _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff99416dcd _dispatch_mgr_thread + 52
Thread 3: 0 libsystem_kernel.dylib 0x00007fff890085e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff86c02578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff86c00341 start_wqthread + 13
Thread 4: 0 libsystem_kernel.dylib 0x00007fff890085e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff86c02578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff86c00341 start_wqthread + 13
Thread 5: 0 libsystem_kernel.dylib 0x00007fff890085e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff86c02578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff86c00341 start_wqthread + 13
Thread 6:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff89001fae semaphore_wait_trap + 10 1 libdispatch.dylib 0x00007fff9941ccb2 _dispatch_semaphore_wait_slow + 224 2 com.apple.HIToolbox 0x00007fff9387e9e1 _BeginEventReceiptOnThread + 151 3 com.apple.AppKit 0x00007fff8c68ed33 _NSEventThread + 51 4 libsystem_pthread.dylib 0x00007fff86c0299d _pthread_body + 131 5 libsystem_pthread.dylib 0x00007fff86c0291a _pthread_start + 168 6 libsystem_pthread.dylib 0x00007fff86c00351 thread_start + 13
Thread 7: 0 libsystem_kernel.dylib 0x00007fff8900810a semwait_signal + 10 1 libsystem_c.dylib 0x00007fff9c1d2d0f nanosleep + 199 2 libc++.1.dylib 0x00007fff8d82a020 std::1::this_thread::sleep_for(std::1::chrono::duration<long long, std::1::ratio<1l, 1000000000l> > const&) + 75 3 CubicSDR 0x00000001037918d0 SpectrumVisualDataThread::run() + 48 4 CubicSDR 0x00000001037247e7 IOThread::threadMain() + 31 5 CubicSDR 0x00000001037037d2 void std::1::thread_proxy<std::__1::tuple<void (IOThread::)(), SpectrumVisualDataThread> >(void*) + 79 6 libsystem_pthread.dylib 0x00007fff86c0299d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff86c0291a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff86c00351 thread_start + 13
Thread 8: 0 libsystem_kernel.dylib 0x00007fff8900810a semwait_signal + 10 1 libsystem_c.dylib 0x00007fff9c1d2d0f nanosleep + 199 2 libc++.1.dylib 0x00007fff8d82a020 std::1::this_thread::sleep_for(std::1::chrono::duration<long long, std::1::ratio<1l, 1000000000l> > const&) + 75 3 CubicSDR 0x00000001037918d0 SpectrumVisualDataThread::run() + 48 4 CubicSDR 0x00000001037247e7 IOThread::threadMain() + 31 5 CubicSDR 0x00000001037037d2 void std::1::thread_proxy<std::__1::tuple<void (IOThread::)(), SpectrumVisualDataThread> >(void*) + 79 6 libsystem_pthread.dylib 0x00007fff86c0299d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff86c0291a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff86c00351 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff89007db6 psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff86c03728 _pthread_cond_wait + 767
2 libc++.1.dylib 0x00007fff8d7eb728 std::__1::condition_variable::do_timed_wait(std::1::unique_lock
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000001 rbx: 0x0000000000000000 rcx: 0x0000000103914860 rdx: 0x0000000000000400 rdi: 0x0000000104558a00 rsi: 0x0000000024644ddc rbp: 0x00007fff5c50f6f0 rsp: 0x00007fff5c50f670 r8: 0x000000000000000b r9: 0x00000000fffe0000 r10: 0x0000000000000007 r11: 0x00007f9a9a500000 r12: 0x00007f9a9a58c490 r13: 0x0000000000000080 r14: 0x00007f9a9a58c590 r15: 0x00007f9a9b06c600 rip: 0x00000001038b7471 rfl: 0x0000000000010202 cr2: 0x00000001038f5066 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 6
Binary Images:
0x1036ef000 - 0x1037fffff +CubicSDR (0) <0CE55C41-99C9-3002-AF30-8012C973582C> /usr/local/Cellar/cubicsdr/0.2.3/libexec/CubicSDR
0x1038aa000 - 0x103925ff7 +libliquid.dylib (0) <52A7E9E1-428F-38BF-B714-0FDD51511B94> /usr/local/opt/liquid-dsp/lib/libliquid.dylib
0x10394c000 - 0x103955ff3 +libwx_osx_cocoau_gl-3.0.dylib (0) <757868C5-6429-30F2-B87A-E596FC96ED66> /usr/local/opt/wxmac/lib/libwx_osx_cocoau_gl-3.0.dylib
0x103969000 - 0x103c55ffb +libwx_osx_cocoau_core-3.0.dylib (0) <852858D5-FA39-33F8-B754-29A477FA9971> /usr/local/opt/wxmac/lib/libwx_osx_cocoau_core-3.0.dylib
0x103e44000 - 0x103ec0ff7 +libwx_osx_cocoau_propgrid-3.0.dylib (0) <161692D2-8521-3FE9-ACA6-146F83EF03FF> /usr/local/opt/wxmac/lib/libwx_osx_cocoau_propgrid-3.0.dylib
0x103f1e000 - 0x103fe6ffb +libwx_osx_cocoau_adv-3.0.dylib (0) <5CDFBAA8-A720-37A1-984E-ACFA71C8F231> /usr/local/opt/wxmac/lib/libwx_osx_cocoau_adv-3.0.dylib
0x1040a4000 - 0x104222ff7 +libwx_baseu-3.0.dylib (0) <4A9758EA-7FE8-31EF-9D1B-F4B24B238B5E> /usr/local/opt/wxmac/lib/libwx_baseu-3.0.dylib
0x1042c4000 - 0x1042dcffb +libSoapySDR.0.6.dylib (0) <6494D9F5-2027-3A91-93EE-36D267011AF5> /usr/local/opt/soapysdr/lib/libSoapySDR.0.6.dylib
0x1042fb000 - 0x104435ff7 +libfftw3f.3.dylib (0) <2700031C-7F55-3D54-8838-D19431FF9C49> /usr/local/opt/fftw/lib/libfftw3f.3.dylib
0x10445c000 - 0x10447ffff +libpng16.16.dylib (0) <161BC31A-29E4-3AEA-8ACC-B33E3D16A410> /usr/local/opt/libpng/lib/libpng16.16.dylib
0x10448f000 - 0x1044bbff3 +libjpeg.9.dylib (0)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 1 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 10798 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=263.8M resident=0K(0%) swapped_out_or_unallocated=263.8M(100%) Writable regions: Total=73.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=73.5M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 2048K 2 CG image 4K 2 CG shared images 176K 7 CoreAnimation 36K 7 CoreUI image file 160K 3 Dispatch continuations 4096K 2 Kernel Alloc Once 8K 3 MALLOC 36.7M 14 MALLOC guard page 32K 7 Memory Tag 242 12K 2 Process Corpse Info 2048K 2 STACK GUARD 56.0M 11 Stack 12.1M 11 VM_ALLOCATE 52K 9 DATA 20.8M 231 GLSLBUILTINS 2588K 2 IMAGE 528K 2 LINKEDIT 95.6M 20 TEXT 168.2M 228 UNICODE 552K 2 mapped file 47.0M 8 shared memory 16.3M 11 =========== ======= ======= TOTAL 464.9M 564
Model: iMac7,1, BootROM IM71.007A.B03, 2 processors, Intel Core 2 Duo, 2.4 GHz, 6 GB, SMC 1.21f4 Graphics: ATI Radeon HD 2600 Pro, ATI,RadeonHD2600, PCIe, 256 MB Memory Module: BANK 0/DIMM0, 4 GB, DDR2 SDRAM, 667 MHz, 0xCE00000000000000, 0x4D342037305435323637415A332D43463720 Memory Module: BANK 1/DIMM1, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F4F000000000000, 0x54533235364D535136345636552020202020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (5.10.131.39.16) Bluetooth: Version 4.4.6f2, 3 services, 26 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: CT500BX100SSD1, 500.11 GB Parallel ATA Device: OPTIARC DVD RW AD-5630A USB Device: USB 2.0 Bus USB Device: Built-in iSight USB Device: USB 2.0 Bus USB Device: USB2.0 Hub Controller USB Device: Keyboard Hub USB Device: Apple Optical USB Mouse USB Device: Apple Keyboard USB Device: hp LaserJet 1320 series USB Device: USB Bus USB Device: USB Bus USB Device: USB Bus USB Device: USB Bus USB Device: Bluetooth HCI USB Device: USB Bus USB Device: IR Receiver FireWire Device: unknown_device, Unknown Thunderbolt Bus:
I’ll try your suggestion of reinstalling fiftw, but that part did proceed OK.
Stuart
On February 13, 2018 at 12:55:33 PM, David Holm (notifications@github.com) wrote:
@stuzog I've just bumped cubicsdr to 0.2.3, see if that helps. If it doesn't work then try to reinstall fftw --without-fortran so it doesn't compile it with gcc.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Don’t know if this will help:
bash$ cubicsdr /usr/local/bin/cubicsdr: line 5: 85788 Illegal instruction: 4 ./CubicSDR bash$ cd /usr/local/Cellar/cubicsdr/0.2.3/libexec/ bash$ ls CubicSDR CubicSDR.ico fonts bash$ ./CubicSDR Illegal instruction: 4
Stuart
On February 13, 2018 at 12:55:33 PM, David Holm (notifications@github.com) wrote:
@stuzog I've just bumped cubicsdr to 0.2.3, see if that helps. If it doesn't work then try to reinstall fftw --without-fortran so it doesn't compile it with gcc.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Thought I'd try install again with latest, but no success:
Maybe the clue is in this?