I'm writing an extension for Mac OS X using the CoreMIDI library. I can send
MIDI data into DrRacket by registering a callback. In my callback I need to
allocate memory with malloc. I have written the code in XCode to verify that
it works. When I compile with 3m for DrRacket it crashes DrRacket when it is
used. Any ideas?? CoreMIDI assigns a high priority thread to handle the
processing. It is definitely the malloc line that breaks. When I remove it,
the extension works. Of course I need the malloc line for the data to be
correct. Any help will be greatly appreciated. Thank you
-Justin
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Reply via email to