[sndtools] Compiling rt_lpc [OSX]

Ananya Misra amisra at CS.Princeton.EDU
Tue Oct 10 15:54:20 EDT 2006


Hi Dan!

If you still have this problem (you mean it didn't go away by itself?!), 
I'm not quite sure why it happens. Maybe you could try sending us a 
detailed gdb log in case it has more information?

Thanks!

-Ananya


On Wed, 4 Oct 2006, Dan Stowell wrote:

> Hi -
>
> rt_lpc looks really interesting. I'm trying to compile it on an (Intel) Mac.
>
> The compiled version from your website works fine, but I'm trying to
> compile it so I can start to do other things with it. If I run "make -f
> makefile.osx" it seems to compile OK, but then when I run "./rt_lpc" the
> following happens:
>
> 1) The window appears, with OpenGL lines drawn. They're completely flat
> (as if sound input thread not running?)
>
> 2) After about a second, the window disappears, and the app crashes
> leaving the message "Bus error" on the terminal.
>
> Can you offer any hints about why this might be happening? An excerpt
> from the crash log follows:
>
>
> Exception:  EXC_BAD_ACCESS (0x0001)
> Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
>
> Thread 2 Crashed:
> 0   rt_lpc                    	0x0000a173
> RtApi::convertStreamBuffer(RtApi::StreamMode) + 3343
> 1   rt_lpc                    	0x0000b968
> RtApiCore::callbackEvent(unsigned long, void*, void*) + 1094
> 2   rt_lpc                    	0x0000bd9f callbackHandler(unsigned long,
> AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*,
> AudioBufferList*, AudioTimeStamp const*, void*) + 47
> 3   com.apple.audio.CoreAudio 	0x91471912 HP_IOProc::Call(AudioTimeStamp
> const&, AudioTimeStamp const&, AudioBufferList const*, AudioTimeStamp
> const&, AudioBufferList*) + 240
> 4   com.apple.audio.CoreAudio 	0x91470e4e
> IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&,
> AudioTimeStamp const&) + 274
> 5   com.apple.audio.CoreAudio 	0x91470bd9
> HP_IOThread::PerformIO(AudioTimeStamp const&) + 1299
> 6   com.apple.audio.CoreAudio 	0x9146f001 HP_IOThread::WorkLoop() + 953
> 7   com.apple.audio.CoreAudio 	0x9146ec43
> HP_IOThread::ThreadEntry(HP_IOThread*) + 17
> 8   com.apple.audio.CoreAudio 	0x91463239 CAPThread::Entry(CAPThread*) + 93
> 9   libSystem.B.dylib         	0x90023d87 _pthread_body + 84
>
>
>
>
> Thanks in advance for any hints -
>
> Best,
> Dan
>
>
>
>
> -- 
> Dan Stowell
> Centre for Digital Music
> Queen Mary, University of London
> Mile End Road, London E1 4NS
> _______________________________________________
> sndtools mailing list
> sndtools at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/sndtools
>


More information about the sndtools mailing list