[Gc] Re: Segmentation fault in `GC_clear_stack_inner ()'

Ludovic Courtès ludovic.courtes at laas.fr
Thu Apr 20 06:16:14 PDT 2006


Hello,

"Boehm, Hans" <hans.boehm at hp.com> writes:

> This usually means that you are invoking the collector from a stack
> that the collector doesn't know about, e.g. because the collector is
> configured without threads, but you have a multithreaded application.

Indeed, my application uses pthreads but I had forgotten to define
`GC_THREADS' and to include <gc/gc.h> after <pthread.h>.

Thanks!
Ludovic.



More information about the Gc mailing list