{"action":"created","issue":{"url":"https://api.github.com/repos/csete/gqrx/issues/324","labels_url":"https://api.github.com/repos/csete/gqrx/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/csete/gqrx/issues/324/comments","events_url":"https://api.github.com/repos/csete/gqrx/issues/324/events","html_url":"https://github.com/csete/gqrx/issues/324","id":127009563,"number":324,"title":"Crash of GQRX 2.5.1 Immediately After Starting on Mac OS X 10.11.4 Beta","user":{"login":"fmaxwell","id":12490482,"avatar_url":"https://avatars.githubusercontent.com/u/12490482?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaxwell","html_url":"https://github.com/fmaxwell","followers_url":"https://api.github.com/users/fmaxwell/followers","following_url":"https://api.github.com/users/fmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/fmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaxwell/subscriptions","organizations_url":"https://api.github.com/users/fmaxwell/orgs","repos_url":"https://api.github.com/users/fmaxwell/repos","events_url":"https://api.github.com/users/fmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/fmaxwell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/csete/gqrx/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/csete/gqrx/labels/osx","name":"osx","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-01-16T08:09:20Z","updated_at":"2016-01-25T10:56:30Z","closed_at":null,"body":"## GQRX 2.5.1 Mac OS X binary crashes immediately upon startup under OS X 10.11.4 Beta.  No GUI is displayed prior to crash.\r\n\r\n_Note:  I have never tried to run GQRX on prior versions of OS X but do not believe that this is specific to the 10.11.4 Beta version of OS X._\r\n\r\nI Installed the GQRX binary to the Applications folder.  I start GQRX, an icon appears in dock and bounces a few times and then disappears.  Then a crash report appears (see below) which states:\r\n\r\n`Application Specific Information:\r\nterminating with uncaught exception of type std::runtime_error: audio_osx_sink::setup\r\nabort() called`\r\n\r\nThe crash repeats regardless of which audio output device I select in settings prior to running GQRX:\r\n\r\nStarting from the command line with a -r option reveals the following:\r\n\r\n\tFreds-Mac-Pro:MacOS Fred$ ./gqrx -r\r\n\tMac OS; Clang version 7.0.0 (clang-700.1.76); Boost_105900; UHD_003.009.001-0-unknown\r\n\r\n\tgr-osmosdr v0.1.4-56-g1f2511dd (0.1.5git) gnuradio 3.7.8.1\r\n\tbuilt-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy \r\n\tUsing Volk machine: sse4_2_64_orc\r\n\tINFO: Audio sink arch: osx\r\n\tERROR: \r\n\r\n\tA unique output audio device name matching the string 'built-in' was not found.\r\n\r\n\tThe current known output audio device names are:\r\n\t    Built-in Output\r\n\t    Built-in Line Output\r\n\t    Built-in Digital Output\r\n\t    Audioengine D1\r\n\t    AudioQuest DragonFly\r\n\r\n\tlibc++abi.dylib: terminating with uncaught exception of type std::runtime_error: audio_osx_sink::setup\r\n\tAbort trap: 6\r\n\tFreds-Mac-Pro:MacOS Fred$ \r\n\r\n#### Notes:\r\n##### 1. There are three audio device names containing the string \"Built-in\".\r\n##### 2.  If the search for \"built-in\" is case-sensitive, it will not match any of them.\r\n\r\n\r\n#### Crash report follows:\r\n\r\n\tProcess: gqrx [5352]\r\n\tPath: /Applications/Gqrx.app/Contents/MacOS/gqrx\r\n\tIdentifier: dk.gqrx.www\r\n\tVersion: 2.4 (0)\r\n\tCode Type: X86-64 (Native)\r\n\tParent Process: ??? [1]\r\n\tResponsible: gqrx [5352]\r\n\tUser ID: 501\r\n\r\n\tDate/Time: 2016-01-16 02:23:00.988 -0500\r\n\tOS Version: Mac OS X 10.11.4 (15E27e)\r\n\tReport Version: 11\r\n\tAnonymous UUID: 716CAA91-EA3A-2F6A-3A16-1B4E6968B7EA\r\n\r\n\tTime Awake Since Boot: 84000 seconds\r\n\r\n\tSystem Integrity Protection: enabled\r\n\r\n\tCrashed Thread: 0 Dispatch queue: com.apple.main-thread\r\n\r\n\tException Type: EXC_CRASH (SIGABRT)\r\n\tException Codes: 0x0000000000000000, 0x0000000000000000\r\n\tException Note: EXC_CORPSE_NOTIFY\r\n\r\n\tApplication Specific Information:\r\n\tterminating with uncaught exception of type std::runtime_error: audio_osx_sink::setup\r\n\tabort() called\r\n\r\n\tThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n\t0 libsystem_kernel.dylib 0x00007fff97662f26 __pthread_kill + 10\r\n\t1 libsystem_pthread.dylib 0x00007fff8e7524ec pthread_kill + 90\r\n\t2 libsystem_c.dylib 0x00007fff972fd6e7 abort + 129\r\n\t3 libc++abi.dylib 0x00007fff9d49cf81 abort_message + 257\r\n\t4 libc++abi.dylib 0x00007fff9d4c2a2f default_terminate_handler() + 243\r\n\t5 libobjc.A.dylib 0x00007fff8cbf84a6 _objc_terminate() + 124\r\n\t6 libc++abi.dylib 0x00007fff9d4c019e std::__terminate(void ()()) + 8\r\n\t7 libc++abi.dylib 0x00007fff9d4bfc12 __cxa_throw + 121\r\n\t8 libgnuradio-audio.3.7.8.1.dylib 0x000000010805d9de gr::audio::osx_sink::setup() + 2910\r\n\t9 libgnuradio-audio.3.7.8.1.dylib 0x000000010805bdf8 gr::audio::osx_sink::osx_sink(int, std::__1::basic_string, std::__1::allocator > const&, bool) + 552\r\n\t10 libgnuradio-audio.3.7.8.1.dylib 0x000000010805bad9 gr::audio::osx_sink_fcn(int, std::__1::basic_string, std::__1::allocator > const&, bool) + 57\r\n\t11 libgnuradio-audio.3.7.8.1.dylib 0x00000001080281b7 gr::audio::sink::make(int, std::__1::basic_string, std::__1::allocator >, bool) + 1687\r\n\t12 dk.gqrx.www 0x000000010781541e receiver::receiver(std::__1::basic_string, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, unsigned int) + 3374\r\n\t13 dk.gqrx.www 0x0000000107803d20 MainWindow::MainWindow(QString, bool, QWidget) + 1072\r\n\t14 dk.gqrx.www 0x00000001077fe8e0 main + 4352\r\n\t15 libdyld.dylib 0x00007fff997ad5ad start + 1\r\n\r\n\tThread 1:\r\n\t0 libsystem_kernel.dylib 0x00007fff97663602 __workq_kernreturn + 10\r\n\t1 libsystem_pthread.dylib 0x00007fff8e74f578 _pthread_wqthread + 1283\r\n\t2 libsystem_pthread.dylib 0x00007fff8e74d341 start_wqthread + 13\r\n\r\n\tThread 2:: Dispatch queue: com.apple.libdispatch-manager\r\n\t0 libsystem_kernel.dylib 0x00007fff97663f1a kevent_qos + 10\r\n\t1 libdispatch.dylib 0x00007fff9c0b4099 _dispatch_mgr_invoke + 216\r\n\t2 libdispatch.dylib 0x00007fff9c0b3d01 _dispatch_mgr_thread + 52\r\n\r\n\tThread 3:\r\n\t0 libsystem_kernel.dylib 0x00007fff97663602 __workq_kernreturn + 10\r\n\t1 libsystem_pthread.dylib 0x00007fff8e74f578 _pthread_wqthread + 1283\r\n\t2 libsystem_pthread.dylib 0x00007fff8e74d341 start_wqthread + 13\r\n\r\n\tThread 4:\r\n\t0 libsystem_kernel.dylib 0x00007fff97663602 __workq_kernreturn + 10\r\n\t1 libsystem_pthread.dylib 0x00007fff8e74f578 _pthread_wqthread + 1283\r\n\t2 libsystem_pthread.dylib 0x00007fff8e74d341 start_wqthread + 13\r\n\r\n\tThread 5:\r\n\t0 libsystem_kernel.dylib 0x00007fff9765cfe2 semaphore_timedwait_trap + 10\r\n\t1 libdispatch.dylib 0x00007fff9c0b9b9b _dispatch_semaphore_wait_slow + 149\r\n\t2 libdispatch.dylib 0x00007fff9c0b3c4f _dispatch_worker_thread + 148\r\n\t3 libsystem_pthread.dylib 0x00007fff8e74f99d _pthread_body + 131\r\n\t4 libsystem_pthread.dylib 0x00007fff8e74f91a _pthread_start + 168\r\n\t5 libsystem_pthread.dylib 0x00007fff8e74d351 thread_start + 13\r\n\r\n\tThread 0 crashed with X86 Thread State (64-bit):\r\n\trax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff58405768 rdx: 0x0000000000000000\r\n\trdi: 0x000000000000160b rsi: 0x0000000000000006 rbp: 0x00007fff58405790 rsp: 0x00007fff58405768\r\n\tr8: 0x0000000000000004 r9: 0x00007fff9d4c3a53 r10: 0x0000000008000000 r11: 0x0000000000000206\r\n\tr12: 0x00007fff584058f0 r13: 0x0000000000000006 r14: 0x00007fff792cb000 r15: 0x00007fff584057d0\r\n\trip: 0x00007fff97662f26 rfl: 0x0000000000000206 cr2: 0x00007fff7bb6d008\r\n\r\n\tLogical CPU: 0\r\n\tError Code: 0x02000148\r\n\tTrap Number: 133\r\n\r\n#### Note:  Deleted \"Binary Images\" section for brevity.\r\n\r\n### Hardware configuration from crash report:\r\n\r\n\tModel: MacPro5,1, BootROM MP51.007F.B03, 6 processors, 6-Core Intel Xeon, 3.46 GHz, 24 GB, SMC 1.39f11\r\n\tGraphics: ATI Radeon HD 5770, ATI Radeon HD 5770, PCIe, 1024 MB\r\n\tMemory Module: DIMM 1, 8 GB, DDR3 ECC, 1333 MHz, 0x802C, 0x33364A534631473732505A2D3147364B3120\r\n\tMemory Module: DIMM 2, 8 GB, DDR3 ECC, 1333 MHz, 0x802C, 0x33364A534631473732505A2D3147364B3120\r\n\tMemory Module: DIMM 3, 8 GB, DDR3 ECC, 1333 MHz, 0x802C, 0x31384A53463147373250445A2D3147364531\r\n\tAirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.24)\r\n\tBluetooth: Version 4.4.4d11 16720, 3 services, 27 devices, 1 incoming serial ports\r\n\tNetwork Service: Ethernet 1, Ethernet, en0\r\n\tPCI Card: pci1b4b,9182, AHCI Controller, Slot-2\r\n\tPCI Card: ATI Radeon HD 5770, Display Controller, Slot-1\r\n\tPCI Card: PXS4, USB eXtensible Host Controller, Slot-4\r\n\tSerial ATA Device: HL-DT-ST DVD-RW GH41N\r\n\tSerial ATA Device: ATAPI iHES208 2\r\n\tSerial ATA Device: SSD2SC240GM2DH16T-T, 240.06 GB\r\n\tSerial ATA Device: Hitachi HUS724040ALE640, 4 TB\r\n\tSerial ATA Device: HGST HDS724040ALE640, 4 TB\r\n\tSerial ATA Device: Samsung SSD 840 EVO 1TB, 1 TB\r\n\tUSB Device: USB Bus\r\n\tUSB Device: USB Bus\r\n\tUSB Device: AudioQuest DragonFly\r\n\tUSB Device: USB Bus\r\n\tUSB Device: BRCM2046 Hub\r\n\tUSB Device: Bluetooth USB Host Controller\r\n\tUSB Device: USB Bus\r\n\tUSB Device: USB Bus\r\n\tUSB Device: USB Bus\r\n\tUSB Device: 5130\r\n\tUSB Device: USB 2.0 Bus\r\n\tUSB Device: Hub\r\n\tUSB Device: Miscellaneous Device\r\n\tUSB Device: USB2.0 Hub\r\n\tUSB Device: Kensington Expert Mouse\r\n\tUSB Device: Matias Keyboard\r\n\tUSB Device: Apple Cinema HD Display\r\n\tUSB Device: USB 2.0 Bus\r\n\tUSB Device: USB 3.0 Bus\r\n\tUSB Device: USB-Serial Controller D\r\n\tUSB Device: Audioengine D1\r\n\tUSB Device: RTL2838UHIDIR\r\n\tFireWire Device: built-in_hub, Up to 800 Mb/sec\r\n\tThunderbolt Bus: "},"comment":{"url":"https://api.github.com/repos/csete/gqrx/issues/comments/174469910","html_url":"https://github.com/csete/gqrx/issues/324#issuecomment-174469910","issue_url":"https://api.github.com/repos/csete/gqrx/issues/324","id":174469910,"user":{"login":"fmaxwell","id":12490482,"avatar_url":"https://avatars.githubusercontent.com/u/12490482?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaxwell","html_url":"https://github.com/fmaxwell","followers_url":"https://api.github.com/users/fmaxwell/followers","following_url":"https://api.github.com/users/fmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/fmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaxwell/subscriptions","organizations_url":"https://api.github.com/users/fmaxwell/orgs","repos_url":"https://api.github.com/users/fmaxwell/repos","events_url":"https://api.github.com/users/fmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/fmaxwell/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T10:56:30Z","updated_at":"2016-01-25T10:56:30Z","body":"Sorry for the delay in getting back to you.  I had similar results to those reported by Kirk.  As long as I select the 'Default' audio device the first time, it works!  \r\n\r\n**If I bring up the 'IO Devices'configuration menu and try to switch the device after GQRX is running, I can select another output device.**  No crash.  \r\n\r\nThat said, even if I select a particular audio device that differs from the default, GQRX will start 'following' the system default device settings.  So I use AudioSwitcher to change output devices and GQRX follows the default, which is fine for me.\r\n\r\nBTW:  I highly recommend AudioSwitcher:\r\nhttps://itunes.apple.com/us/app/audioswitcher/id561712678?mt=12\r\n\r\nThat's how I normally switch audio devices, so this version of GQRX is working great for me.  \r\n"}}