On Thu, 12 Dec 2002, Leopold Toetsch wrote: > Simon Glover wrote: > > > On Thu, 12 Dec 2002, Leopold Toetsch wrote: > >>Simon Glover wrote: > > >>> Also, the above code (and the original version) still segfaults if I run > >>> it with --gc-debug. > > >>With my recent changes in dod.c/headers.c checked out from CVS? > > > Yep. I've just double-checked with a completely fresh check-out. > > > prot tests do segfault here[1] w/o the change in dod.c and don't > segfault with marking metadata as in CVS - strange (your snippet runs > fine too).
Mystery solved; I'd botched writing the test, and it was segfaulting for a completely different reason (forgetting to create a PMC before assigning to it). With a properly written test, it now works as expected. Sorry for wasting your time, gentlemen. Simon