ureyuki / audirvana

Automatically exported from code.google.com/p/audirvana
0 stars 0 forks source link

repeatable crash when playing specific file #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play this file http://www.indievisible.org/orb-deltamk2.flac (warning: 135M 
file!)
2. Wait ~ 20 seconds
3. watch the crash

What is the expected output? What do you see instead?
a bit of funky ambient-dub... instead I get silence and me sighing

What version of the product are you using? On what operating system?
one-point-null; OS X 10.7.3

Please provide any additional information below.
Plays fine in Songbird and Clementine
Pro-Ject DAC Box II (device #1, burr-brown -- not tested with my other DACs)

Audirvana rev. 1.0 debug information:

Hog Mode is off
Devices found : 6

List of devices:
Device #0: ID 0x74 Built-in Output  UID:AppleHDAEngineOutput:1B,0,1,2:0
Device #1: ID 0x68 Burr-Brown Japan PCM2702 UID:AppleUSBAudioEngine:Burr-Brown 
Japan:Burr-Brown Japan PCM2702:fd330000:1
Device #2: ID 0x6f USB Audio CODEC  UID:AppleUSBAudioEngine:Burr-Brown from TI  
            :USB Audio CODEC :fd320000:1
Device #3: ID 0x48 Soundflower (2ch)    UID:SoundflowerEngine:0
Device #4: ID 0x21 Soundflower (16ch)   UID:SoundflowerEngine:1
Device #5: ID 0x8b US-200   UID:VID_0644_PID_8034_BUS_FD310000

Preferred device: Burr-Brown Japan PCM2702  UID:AppleUSBAudioEngine:Burr-Brown 
Japan:Burr-Brown Japan PCM2702:fd330000:1

Selected device:
ID 0x68 Burr-Brown Japan PCM2702    UID:AppleUSBAudioEngine:Burr-Brown 
Japan:Burr-Brown Japan PCM2702:fd330000:1
3 available sample rates up to 48000.0Hz
32000.0
44100.0
48000.0

Audio buffer frame size : 15 to 6144 frames
Current I/O buffer frame size : 512
Physical (analog) volume control: No
Virtual (digital) volume control: Yes
Preferred stereo channels L:1 R:2
Simple stereo device: yes
Channel mapping: L:Stream 0 channel 0 R:Stream 0 channel 1

1 output streams:
Stream ID 0x69 2 channels starting at 1
6 virtual formats:
Mixable linear PCM Interleaved 32bits little endian  Float @48.0kHz
Mixable linear PCM Interleaved 32bits little endian  Float @48.0kHz
Mixable linear PCM Interleaved 32bits little endian  Float @44.1kHz
Mixable linear PCM Interleaved 32bits little endian  Float @44.1kHz
Mixable linear PCM Interleaved 32bits little endian  Float @32.0kHz
Mixable linear PCM Interleaved 32bits little endian  Float @32.0kHz

6 physical formats
Mixable linear PCM Interleaved 16bits little endian Signed Integer @48.0kHz
Mixable linear PCM Interleaved 16bits little endian Signed Integer @48.0kHz
Mixable linear PCM Interleaved 16bits little endian Signed Integer @44.1kHz
Mixable linear PCM Interleaved 16bits little endian Signed Integer @44.1kHz
Mixable linear PCM Interleaved 16bits little endian Signed Integer @32.0kHz
Mixable linear PCM Interleaved 16bits little endian Signed Integer @32.0kHz

Original issue reported on code.google.com by cloudkucooland on 14 May 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Process:         Audirvana [486]
Path:            /Applications/Audirvana.app/Contents/MacOS/Audirvana
Identifier:      fr.dplisson.Audirvana
Version:         1.0 (1.0)
Code Type:       X86-64 (Native)
Parent Process:  launchd [129]

Date/Time:       2012-05-14 10:58:49.075 -0500
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Interval Since Last Report:          1541 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  1030 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      8FD09CC4-BC10-4226-B28E-A3A81159B17D

Crashed Thread:  5  Dispatch queue: com.apple.root.default-priority

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000112d76000

VM Regions Near 0x112d76000:
    VM_ALLOCATE            000000010ad76000-0000000112d76000 [128.0M] rw-/rwx SM=PRV  
--> 
    CG shared images       0000000118ecf000-0000000118ed7000 [   32K] r--/r-- SM=SHM  

Application Specific Information:
objc[486]: garbage collection is OFF

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff9579167a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff95790d71 mach_msg + 73
2   com.apple.CoreFoundation        0x00007fff902d050c 
__CFRunLoopServiceMachPort + 188
3   com.apple.CoreFoundation        0x00007fff902d8c74 __CFRunLoopRun + 1204
4   com.apple.CoreFoundation        0x00007fff902d8486 CFRunLoopRunSpecific + 230
5   com.apple.HIToolbox             0x00007fff9651b4d3 RunCurrentEventLoopInMode 
+ 277
6   com.apple.HIToolbox             0x00007fff96522781 ReceiveNextEventCommon + 
355
7   com.apple.HIToolbox             0x00007fff9652260e 
BlockUntilNextEventMatchingListInMode + 62
8   com.apple.AppKit                0x0000000100317e31 _DPSNextEvent + 659
9   com.apple.AppKit                0x0000000100317735 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10  com.apple.AppKit                0x0000000100314071 -[NSApplication run] + 470
11  com.apple.AppKit                0x0000000100590244 NSApplicationMain + 867
12  fr.dplisson.Audirvana           0x00000001000020e4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff957937e6 kevent + 10
1   libdispatch.dylib               0x00007fff91b2178a _dispatch_mgr_invoke + 923
2   libdispatch.dylib               0x00007fff91b2031a _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib          0x00007fff95792e42 __semwait_signal + 10
1   libsystem_c.dylib               0x00007fff90479dea nanosleep + 164
2   libsystem_c.dylib               0x00007fff90479bb5 usleep + 53
3   com.tascam.us200.hal            0x0000000102bd5c97 PGOSXDevice::threadRun() 
+ 375
4   libsystem_c.dylib               0x00007fff904c38bf _pthread_start + 335
5   libsystem_c.dylib               0x00007fff904c6b75 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff9579167a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff95790d71 mach_msg + 73
2   com.apple.CoreFoundation        0x00007fff902d050c 
__CFRunLoopServiceMachPort + 188
3   com.apple.CoreFoundation        0x00007fff902d8c74 __CFRunLoopRun + 1204
4   com.apple.CoreFoundation        0x00007fff902d8486 CFRunLoopRunSpecific + 230
5   com.apple.CoreFoundation        0x00007fff902e819f CFRunLoopRun + 95
6   com.apple.Foundation            0x00007fff9725572a -[NSThread main] + 68
7   com.apple.Foundation            0x00007fff972556a2 __NSThread__main__ + 1575
8   libsystem_c.dylib               0x00007fff904c38bf _pthread_start + 335
9   libsystem_c.dylib               0x00007fff904c6b75 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff95793192 __workq_kernreturn + 10
1   libsystem_c.dylib               0x00007fff904c5594 _pthread_wqthread + 758
2   libsystem_c.dylib               0x00007fff904c6b85 start_wqthread + 13

Thread 5 Crashed:: Dispatch queue: com.apple.root.default-priority
0   com.apple.audio.toolbox.AudioToolbox    0x00007fff958809da 
NativeInt32ToFloat32_X86 + 202
1   com.apple.audio.toolbox.AudioToolbox    0x00007fff957ab683 
PCMConverter2::ConvertBufferList(unsigned int, CABufferList const*, 
CABufferList*) + 97
2   com.apple.audio.toolbox.AudioToolbox    0x00007fff957aaa43 
CBRConverter::RenderOutput(CABufferList*, unsigned int, unsigned int&, 
AudioStreamPacketDescription*) + 93
3   com.apple.audio.toolbox.AudioToolbox    0x00007fff957aa865 
BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, 
AudioStreamPacketDescription*) + 307
4   com.apple.audio.toolbox.AudioToolbox    0x00007fff957aa995 
AudioConverterChain::RenderOutput(CABufferList*, unsigned int, unsigned int&, 
AudioStreamPacketDescription*) + 105
5   com.apple.audio.toolbox.AudioToolbox    0x00007fff957eb957 
AudioConverterChain::ConvertBuffer(unsigned int, unsigned char*, unsigned int&, 
unsigned char*) + 199
6   com.apple.audio.toolbox.AudioToolbox    0x00007fff957b3a08 
AudioConverterConvertBuffer + 80
7   fr.dplisson.Audirvana           0x000000010001a03c 
__144-[AudioFileFLACLoader 
loadChunk:OutBufferData:AllocatedBufSize:MaxBufferSize:NumTotalFrames:NumLoadedF
rames:Status:NextInputPosition:ForBuffer:]_block_invoke_067 + 284
8   libdispatch.dylib               0x00007fff91b1fa86 
_dispatch_call_block_and_release + 18
9   libdispatch.dylib               0x00007fff91b20965 _dispatch_worker_thread2 
+ 255
10  libsystem_c.dylib               0x00007fff904c53da _pthread_wqthread + 316
11  libsystem_c.dylib               0x00007fff904c6b85 start_wqthread + 13

Thread 6:: com.apple.CFSocket.private
0   libsystem_kernel.dylib          0x00007fff95792df2 __select + 10
1   com.apple.CoreFoundation        0x00007fff90321c8b __CFSocketManager + 1355
2   libsystem_c.dylib               0x00007fff904c38bf _pthread_start + 335
3   libsystem_c.dylib               0x00007fff904c6b75 thread_start + 13

Thread 7:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib          0x00007fff9579167a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff95790d71 mach_msg + 73
2   com.apple.audio.CoreAudio       0x00007fff96129eb3 
HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, 
unsigned int, mach_msg_header_t*, unsigned int) + 93
3   com.apple.audio.CoreAudio       0x00007fff96129f05 
HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, 
int, int&, unsigned int) + 37
4   com.apple.audio.CoreAudio       0x00007fff96123568 
HALC_ProxyIOContext::IOWorkLoop() + 888
5   com.apple.audio.CoreAudio       0x00007fff96123151 
HALC_ProxyIOContext::IOThreadEntry(void*) + 73
6   com.apple.audio.CoreAudio       0x00007fff9612300c 
HALB_IOThread::Entry(void*) + 78
7   libsystem_c.dylib               0x00007fff904c38bf _pthread_start + 335
8   libsystem_c.dylib               0x00007fff904c6b75 thread_start + 13

Thread 5 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000448  rbx: 0x00000001029f5a60  rcx: 0x0000000112d76000  rdx: 0x00000000000006e2
  rdi: 0x00000001082b8000  rsi: 0x0000000112d75598  rbp: 0x0000000107816bd0  rsp: 0x0000000107816bd0
   r8: 0x00000001082b8a68   r9: 0x00007fff7e381c60  r10: 0x0000000107816d28  r11: 0x00000001029d7ee8
  r12: 0x00000001029d7ef8  r13: 0x00000001029f3448  r14: 0x00000000000006e2  r15: 0x0000000000000001
  rip: 0x00007fff958809da  rfl: 0x0000000000010202  cr2: 0x0000000112d76000
Logical CPU: 1

Original comment by cloudkucooland on 14 May 2012 at 4:05

GoogleCodeExporter commented 8 years ago
If I switch to my TASCAM US-200, the problem goes away. The Pro-Ject is 
48kHz/16-bit. The TASCAM is 96kHz/24-bit (and the source of these files). The 
files were made in WaveLab 7 Elements (recorded to raw PCM and then converted 
to FLAC after any processing (none in the case of this file)). WaveLab did the 
flac compression. I had been using cubase to do the recording and splitting, 
then encoding from the CLI, but I like WaveLab better since it saves me several 
steps.

Original comment by cloudkucooland on 14 May 2012 at 4:07