Skip to content
Prev 34104 / 63424 Next

cannot build R-devel (>= r49747)

Romain Francois wrote:
This could be pretty serious.

unprotect_ptr is used where the usual PROTECT/UNPROTECT mechanisms don't 
work because things do not follow strict stack discipline. The main spot 
is when the parser uses lookahead  to distinguish different constructs. 
  I don't think I have ever seen it fail like that, but a possible 
reason could be that the wrong pointer got removed from the protection 
stack. Or memory corruption in the stack itself of course. A bit odd if 
the former sort of bug should be unportable, though.

It is not happening for me on 32bit fedora 9.

It could be useful if you could drill a little further down to see 
exactly how R is invoked at the failure, incl content input file(s), and 
maybe redo the run with debugging turned on so that we can see who is 
trying to unprotect what.