[linux-audio-dev] Re: [linux-audio-user] hydrogen crashes / extract waves from .mid-files of ddrum

Paul Davis paul at linuxaudiosystems.com
Tue Feb 22 21:10:33 UTC 2005

looks very much like a race in H2 to me:

>inline void audioEngine_process_clearAudioBuffers(uint32_t nFrames)
>*--->   memset( m_pMainBuffer_L, 0, nFrames * sizeof( float ) );        // cle
>ar main out Left
>        memset( m_pMainBuffer_R, 0, nFrames * sizeof( float ) );        // cle
>ar main out Right

>(gdb) bt full
>#0  0xb759949b in memset (dstpp=0x0, c=0, len=512)

so, the port buffer pointer was null. going further down the stack:

>#2  0x08074381 in audioEngine_process (nframes=128, arg=0x0) at

i'm suprised to see that the "arg" is null.

>        sampleRate = 1.17287768e-35

odd, though possibly OK.


More information about the Linux-audio-dev mailing list