Mac Crashing When Trying to Play Flac Files

Hello

I am trying to play FLAC files from two different albums and both fail immediately.

I tried playing them in both VLC and Quicktime and they work perfectly fine, so the files are no t the problem.

What is the issue?

Hi @ldsimpson16

Best to post you debug info so the boffins can gander at your setup for possible fixes.

I’m not a boffin.

Regards

Phil

Audirvana Origin 2.5.18.1 (20519)

macOS 12.7.6 x86_64 with 32GB physical RAM

NETWORK
Status: available

SIGNAL PROCESSING:

Polarity Inversion:
	Globally: OFF
	Per track: ON
Effects plugins ACTIVE in offline mode with new macOS API
	AU plugin #0: Effect - Apple AUDynamicsProcessor ()
	AU plugin #1: Effect - Apple AUMultibandCompressor ()
	AU plugin #2: Effect - Apple AUGraphicEQ ()
	AU plugin #3: None

UPSAMPLING:
SoX with Power Of Two upsampling
SoX filter parameters
Bandwidth at 0dB = 99.5%
Filter max length = 30000
Anti-aliasing = 100
Phase = 66%

AUDIO VOLUME:
Max allowed volume: 100
Replay Gain: None
SW volume control: OFF

LIBRARY SETTINGS:
Sync list: 2 folders
AUTO: /Volumes/S P/
AUTO: /Volumes/Seagate 8/
iTunes/Music library synchronization: not synchronized
Library database path: /Users/admin/Library/Application Support/Audirvana/AudirvanaDatabase.sqlite

Remote Control server:
Listening on 127.0.0.1 on port 49235

APPEARANCE SETTINGS:
UI theme: dark
Font size: regular
Language: System language
Show album covers in tracks list: no
Source list sorted:
My Music
Library
Startup view: Library: Albums
Show local extended in source list: no
Use media keys: yes
Use media keys for volume control: yes
Use Apple Remote: yes
Number of paired remotes: 0
Remote pairing code required: yes
Screen saver disabled: no

=================== AUDIO DEVICE ========================

Active method: Local

Max. memory for audio buffers: 29696MB

Local Audio Engine: CoreAudio
Exclusive access: ON
Integer mode: ON
Use max I/O buffer size: ON
Actual I/O buffer frame size: 512

Preferred device:
Apple Inc. Majority D40
Model UID:0 0
UID:41-42-88-4E-90-32:output

Active Sample Rate: 44.1kHz
Hog Mode is off

Bridge settings:
Sample rate limitation: none
Sample rate switching latency: none
Limit bitdepth to 24bit: OFF
Mute during sample rate change: OFF

Selected device:Majority D40
Manufacturer: Apple Inc.
Model name: Apple Inc. Majority D40
Model UID: 0 0
UID: 41-42-88-4E-90-32:output
ID 0x4a

1 available sample rates up to 44100Hz
44100
Audio buffer frame size : 14 to 1024 frames
Current I/O buffer frame size : 512

Volume Control
Physical: No
Virtual: Yes
Max volume alert: Enabled

MQA capability
Auto-detect MQA devices: Yes
Not automatically detected, user set to not MQA

DSD capability
DSD via PCM 1.0

Device audio channels
Preferred stereo channels L:1 R:2
Channel bitmap: Ox3, layout:
Channel 0 mapped to 0
Channel 1 mapped to 1

Audio channels in use
Number of channels: 2
Use as stereo device only: No
Simple stereo device: Yes

1 output streams:
Number of active channels: 2, in 1 stream(s)
Channel #0 :Stream 0 channel 0
Channel #1 :Stream 0 channel 1

Stream ID 0x4b 2 channels starting at 1
1 virtual formats:
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 44.1kHz

1 physical formats
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 44.1kHz

Local devices found : 3
Device #0: ID 0x4a Majority D40
Manufacturer: Apple Inc.
Model UID: 0 0
UID: 41-42-88-4E-90-32:output
Model name: Apple Inc. Majority D40
Device #1: ID 0x3b Built-in Output
Manufacturer: Apple Inc.
Model UID: AppleHDA:130
UID: AppleHDAEngineOutput:1F,3,0,1,2:0
Model name: Apple Inc. Built-in Output
Device #2: ID 0x2b Microsoft Teams Audio
Manufacturer: Microsoft Corp.
Model UID: MSLoopbackDriverDevice_ModelUID
UID: MSLoopbackDriverDevice_UID
Model name: Microsoft Corp. Microsoft Teams Audio

UPnP

UPnP devices found : 0

Chromecast

Chromecast devices found : 1
Device #0: Bedroom TV
ID: e4ff88b84aea6f78accc6588953c2fb5
Model name: Chromecast

First thing I notice is that you use almost all of your RAM for buffering. I’d start with lowering your buffersize to 4Gb.

Thanks for the input. How do I do that?

1 Like

Settings\Audio\Loading-Decoding (see screenshot below). You can only adjust this when Audirvana does not play music. For average use a setting of between 4 and 8 MB should be OK.

1 Like

Sweet thanks!

@ldsimpson16, do you still get your issue?

Yes, I do. But I have noticed it is only with HD FLAC files

Can you please send us the latest crash report you got from Audirvāna at [email protected]?

Audirvana crashed again after I played an HD flac file despite getting the latest update

Hi @ldsimpson16,

Can you please send me the crash log as I requested in my last post?

Has there been any progress on this issue?

So, it is unclear the D40 DAC supports USB protocol transmission from a computer…It may not, and this would not be unusual… Try running an optical S/PDIF cable from the headphone output of your Mac to the optical input of the D40 DAC… Otherwise you can use a DDC to convert the USB signal to 44.1kHz S/PDIF optical… or use the analog output of another DAC to playback high-resolution signals via the AUX input of the D40… In all cases, the D40 DAC only supports PCM signals to 44.1kHz.

From the D40 User Manual:

USB
To use USB mode, insert a USB drive into the USB port at the back of the speaker (Ref.13). You will hear the word ‘USB’ from the speakers indicating that USB mode is active, and the ‘USB/OPT’ mode indicator light (Ref.7) will light up blue. If necessary, select ‘USB’ mode using the ‘Mode’ button (Ref.24)/(Ref.3).

Note the bold text from your debug report information:

Enable ‘Limit bit depth to 24bit’

Apparently the Majority D40 speaker DAC only supports up-to 44.1kHz sample-rate… You have ‘Power of Two’ up-sampling enabled, which will up-sample the FLAC files to a maximum of 44.1kHz PCM… If you don’t limit the sample-rate and bit depth, these files will not play if they are higher sample-rate files.

Follow @Amarok1969 and @AndyLubke 's advice and reduce your playback pre-load memory allocation to 4GB.

Make sure your plug-ins support FLAC files…

:notes: :eye: :headphones: :eye: :notes:

1 Like

I will follow all this advice. Thanks so much

Note the changes to my original response :wink:

1 Like

You can implement a ‘Custom’ sample-rate conversion strategy like the one I describe below, when you have a proper S/PDIF optical connection made to the D40 DAC…

44.1kHz → 44.1kHz
48kHz → 44.1kHz
88.2kHz → 44.1kHz
96kHz → 44.1kHz
176.4kHz → 44.1kHz
192kHz → 44.1kHz
352.8kHz → 44.1kHz
384kHz → 44.1kHz

1 Like

Hi @ldsimpson16,

I have not been able to review your file. I will try my best to do it today or tomorrow.

No worries. The Community has really stepped up and been helpful

First remvove use new macos API and see, then if no change, Remove all 3 of plugin… test…

put 1 plugin… test, put 2 plugins… test