HD Home Run Flex 4K Crashing on OSX 11.6.6

Help and support for HDHomeRun DVR and HDHomeRun software for Windows 10, Mac, Android, XBox, etc.
Post Reply
tonekids
Posts: 8
Joined: Wed May 06, 2015 8:17 am

HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by tonekids »

HD Home Run just crashes on startup on Mac OS 11.6.6 (Big Sur). This is brand new behavior. It's been working great for a long time. Anyone else seeing this? My hardware is a FLEX 4K.

Don't think I changed anything...it's just happening. Sometimes it will come up on channel 2, which doesn't get a good signal with my antenna, I can switch channels to channel 5, for example, it shows video for a couple of seconds then just crashes. Might have something to do with audio, because there's no audio, even if I get a picture for a few seconds, before it crashes.

Code: Select all

Process:               HDHomeRun [80642]
Path:                  /Applications/HDHomeRun.app/Contents/MacOS/HDHomeRun
Identifier:            com.silicondust.hdhomerun
Version:               20220822 (1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           HDHomeRun [80642]
User ID:               501

Date/Time:             2022-09-22 21:46:40.084 -0500
OS Version:            macOS 11.6.6 (20G624)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        EFACC8FC-659F-DD4A-2675-3FB392B5AD2E


Time Awake Since Boot: 370000 seconds

System Integrity Protection: enabled

Crashed Thread:        10  Dispatch queue: com.apple.root.default-qos

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
HDHomeRun(80642,0x700009ee4000) malloc: Heap corruption detected, free list is damaged at 0x600001244010
*** Incorrect guard value: 3038287259199220266
The crashed thread callstack, sure looks to be audio-related:

Code: Select all

Thread 10 Crashed:: Dispatch queue: com.apple.root.default-qos
0   libsystem_kernel.dylib        	0x00007fff203c191e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff203f05bd pthread_kill + 263
2   libsystem_c.dylib             	0x00007fff20345406 abort + 125
3   libsystem_malloc.dylib        	0x00007fff20225165 malloc_vreport + 548
4   libsystem_malloc.dylib        	0x00007fff202397e9 malloc_zone_error + 183
5   libsystem_malloc.dylib        	0x00007fff20217f53 nanov2_allocate_from_block + 583
6   libsystem_malloc.dylib        	0x00007fff20217500 nanov2_allocate + 130
7   libsystem_malloc.dylib        	0x00007fff2021742d nanov2_malloc + 56
8   libsystem_malloc.dylib        	0x00007fff20231f3b _malloc_zone_malloc + 118
9   libc++abi.dylib               	0x00007fff203b582a operator new(unsigned long) + 26
10  com.apple.audio.AudioToolboxCore	0x00007fff217e39f9 std::__1::vector<int, std::__1::allocator<int> >::insert(std::__1::__wrap_iter<int const*>, unsigned long, int const&) + 181
11  com.apple.audio.AudioToolboxCore	0x00007fff21805da9 Reinterleaver::Reinterleaver(StreamDescPair const&) + 181
12  com.apple.audio.AudioToolboxCore	0x00007fff218ef536 PCMConverterFactory::AddUpReinterleaver(StreamDescPair&, ChannelLayoutPair&, ChainBuildSettings const&, std::__1::vector<BufferedAudioConverter*, std::__1::allocator<BufferedAudioConverter*> >&, bool) + 282
13  com.apple.audio.AudioToolboxCore	0x00007fff218ee079 PCMConverterFactory::BuildConverterChain(StreamDescPair const&, ChainBuildSettings const&, AudioConverterChain*, PCMConverterFactory*) + 2535
14  com.apple.audio.AudioToolboxCore	0x00007fff21888956 _AudioConverterNewInternal + 958
15  com.apple.audio.units.Components	0x0000000113b0cd3a 0x113b00000 + 52538
16  com.apple.audio.units.Components	0x0000000113b0bfa6 0x113b00000 + 49062
17  com.apple.audio.units.Components	0x0000000113b08295 0x113b00000 + 33429
18  com.apple.audio.units.Components	0x0000000113b0d2a3 0x113b00000 + 53923
19  com.apple.audio.units.Components	0x0000000113b0d1b2 0x113b00000 + 53682
20  com.apple.audio.units.Components	0x0000000113b0d0de 0x113b00000 + 53470
21  com.apple.audio.AudioToolboxCore	0x00007fff21916616 -[AUAudioUnitV2Bridge allocateRenderResourcesAndReturnError:] + 73
22  com.apple.audio.AVFAudio      	0x00007fff6e05463d AUInterfaceBaseV3::Initialize() + 45
23  com.apple.audio.AVFAudio      	0x00007fff6e0f15bf AVAudioIONodeImpl::GetOutputFormat(unsigned long) + 125
24  com.apple.audio.AVFAudio      	0x00007fff6e0e5d90 -[AVAudioNode outputFormatForBus:] + 66
25  com.silicondust.hdhomerun     	0x0000000101845d7a primary_audio_player.configure() + 442
26  com.silicondust.hdhomerun     	0x0000000101842377 primary_audio_player.player_run() + 2471
27  com.silicondust.hdhomerun     	0x00000001018419bf closure #1 in primary_audio_player.init(avsource:clock:audio_master_volume_control:audio_volume:app_event_receiver:event_receiver:subtitle_event_receiver:) + 15
28  com.silicondust.hdhomerun     	0x000000010186cf59 thunk for @escaping @callee_guaranteed () -> () + 25
29  libdispatch.dylib             	0x00007fff20245623 _dispatch_call_block_and_release + 12
30  libdispatch.dylib             	0x00007fff20246806 _dispatch_client_callout + 8
31  libdispatch.dylib             	0x00007fff20248e37 _dispatch_queue_override_invoke + 775
32  libdispatch.dylib             	0x00007fff20255818 _dispatch_root_queue_drain + 326
33  libdispatch.dylib             	0x00007fff20255f70 _dispatch_worker_thread2 + 92
34  libsystem_pthread.dylib       	0x00007fff203ed417 _pthread_wqthread + 244
35  libsystem_pthread.dylib       	0x00007fff203ec42f start_wqthread + 15

jasonl
Silicondust
Posts: 16303
Joined: Sun Oct 28, 2007 9:23 pm
x 42

Re: HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by jasonl »

Can you update to 11.7 and verify if it's still an issue?

tonekids
Posts: 8
Joined: Wed May 06, 2015 8:17 am

Re: HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by tonekids »

I've been putting it off because of how the updates break my development environment but will give it a shot and report back.

Thanks.

tonekids
Posts: 8
Joined: Wed May 06, 2015 8:17 am

Re: HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by tonekids »

UPDATE!

Got it working. HDHomeRun app does not play nice with Blackhole audio loopback driver on OSX.

When I switched audio input back to "built-in microphone" using the "Audio MIDI Setup" app, it started working again. I had very strong suspicions it was audio-related since I didn't hear any sound right before the app crashed, combined with the crash stack trace pointing to something in the OSX audio subsystem.

So that's an important clue. Maybe you can get this issue added to your Jira or whatever other ticket system you use. For now, it's working if I monkey with my audio input settings.

nickk
Silicondust
Posts: 18796
Joined: Tue Jan 13, 2004 9:39 am
x 159

Re: HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by nickk »

Interesting - will set up a test this week to see if we can reproduce. Thanks!

tonekids
Posts: 8
Joined: Wed May 06, 2015 8:17 am

Re: HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by tonekids »

Hey, thanks!

I was just telling my wife this afternoon that I'd like to pay you folks again for this box, since it's worth every penny.

And I just figured out how to use the command line utils today to adjust the antenna in. In Chicago we have one single channel, CBS, on VHF and the rest are on UHF which is annoying, but with the command line tools I was able to get my antenna dialed in perfectly.

Thanks to you and your team for this awesome piece of gear!

nickk
Silicondust
Posts: 18796
Joined: Tue Jan 13, 2004 9:39 am
x 159

Re: HD Home Run Flex 4K Crashing on OSX 11.6.6

Post by nickk »

Hi,

We tested Blackhole here, both 2-channel and multi-channel - everything worked.

Checking, do you have the sampling rate set to 48kHz?

Nick

Post Reply