> If I comment out jack_set_process_callback, everything is fine. But if the > callback is set, here are the different results I can get: > > # jack_activate = foreign-lambda > > [panic] callback invoked in non-safe context - execution terminated > [...] > jack.scm:172: jack_activate <-- > > # jack_activate = foreign-safe-lambda > > jack_activate ... > Segmentation fault > > > By pure curiosity, I tried various combinations with jack_deactivate as > foreign-safe-lambda, and I get other errors that are not necessarily the same > with each run (I guess it has something to do with my program and jacks > running > in two different processes) > > I might be wrong, but I think the tricky part is that scheme is not calling > any > C function that calls back into scheme. jack_set_process_callback merely gives > informations to the jack server, and jack_activate only tells the server > "okay, > you can start using the callback". >
On what platform are you running this code? How is the callback declared (in C)? cheers, felix _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users