[sndtools] rt_lpc 1.0 crash (OSX)

Charles Gondre chgondre at yahoo.fr
Thu Apr 15 05:39:17 EDT 2010


Hi,

Running OS 10.5.8, I got a crash that is a bit similar to the one describe in that post (except that the window doesn't appear) :

https://lists.cs.princeton.edu/pipermail/sndtools/2006-October/000013.html

I got a few warnings at compilation :

RtAudio.cpp: In member function ‘virtual bool RtApiCore::probeDeviceOpen(int, RtApi::StreamMode, int, int, RtAudioFormat, int*, int)’:
RtAudio.cpp:2181: warning: ‘AudioDeviceAddIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2067)
RtAudio.cpp:2181: warning: ‘AudioDeviceAddIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2067)
RtAudio.cpp: In member function ‘virtual void RtApiCore::closeStream()’:
RtAudio.cpp:2233: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2081)
RtAudio.cpp:2233: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2081)
RtAudio.cpp:2240: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2081)
RtAudio.cpp:2240: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2081)


then, running rt_lpc, give me a "Bus error". 
By adding a few prints inside the code, I identified that the crash occurs at the second call of "void RtApi :: convertStreamBuffer( StreamMode mode )"
, (where mode is ==INPUT), at line 7923 : "out[offset_out[j]] = in[offset_in[j]];"

Any ideas about what's going wrong and how I could correct it?
Thanks in advance,
Best,
Charles


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/sndtools/attachments/20100415/9f219618/attachment.htm>


More information about the sndtools mailing list