in reply to interfacing with a boehm-gc library from XS
Have you tried running this under Valgrind? Have you inspected the C code that Inline C is generating and is it doing what you expect?