[Gc] Segmentation fault in `GC_clear_stack_inner ()'

Ludovic Courtès ludovic.courtes at laas.fr
Tue Apr 18 08:26:14 PDT 2006


Hi,

I'm experiencing a segmentation fault with libgc which is probably due
to a bug in my program.  However, I'd like to know whether is the
symptom is easily recognizable.  Here is what GDB tells me:

  #0  GC_clear_stack_inner (arg=0x1002cff0 "", limit=813891936) at misc.c:270
  #1  0x0feb4934 in GC_clear_stack_inner (arg=0x1002cff0 "", limit=813891936)
      at misc.c:275
  #2  0x0feb4934 in GC_clear_stack_inner (arg=0x1002cff0 "", limit=813891936)
      at misc.c:275
  #3  0x0feb4934 in GC_clear_stack_inner (arg=0x1002cff0 "", limit=813891936)
      at misc.c:275
  #4  0x0feb4934 in GC_clear_stack_inner (arg=0x1002cff0 "", limit=813891936)
  ...

And so on, and so forth.  Additionally:

  (gdb) info local
  dummy = {0 <repeats 213 times>}

This occurs with version 6.6 on `powerpc-unknown-linux-gnu' and not on
`i686-pc-linux-gnu' nor `sparc64-*-linux-gnu'.

Any hint?

Thanks,
Ludovic.



More information about the Gc mailing list