[Gc] Example segfault with GC 7.1

Hans Aberg haberg-1 at telia.com
Tue Jan 18 05:15:11 PST 2011

[I am not on this list, so please cc me.]

The attached example segfaults for some reason when using gc_allocator  
with std::string; works fine using traceable_allocator. The example is  
a modification of

Compiled using
  g++ -lgc gc_alloc_ex.cc -o gc_alloc_ex

g++ --version
powerpc-apple-darwin9-g++-4.0.1 (GCC) 4.0.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc_alloc_ex.cc
Type: application/octet-stream
Size: 2252 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20110118/d107676f/gc_alloc_ex.obj
-------------- next part --------------

More information about the Gc mailing list