[Rd] stack imbalance in contour

Paul Murrell p.murrell at auckland.ac.nz
Wed Oct 25 04:24:50 CEST 2006


Hi


Peter Dalgaard wrote:
> Patrick Burns <pburns at pburns.seanet.com> writes:
> 
>> I'm not sure if this has much significance or not -- but
>> it sounds rather ominous.  It doesn't appear to be new
>> as it happens with 2.0.0 in Linux (but the formatting of
>> the warning messages has improved).
>>
>>  > contour(array(3e10, c(10,10), list(1:10, 11:20)))
>> Warning: stack imbalance in 'contour', 20 then 24
>> Warning: stack imbalance in '.Internal', 19 then 23
>> Warning: stack imbalance in '{', 17 then 21
>> Warning message:
>> all z values are equal
>>  > sessionInfo()
>> R version 2.4.0 RC (2006-09-27 r39543)
>> i386-pc-mingw32
> 
> I see it on Linux too. It's a serious programming error in that
> something has its PROTECT/UNPROTECT mechanism messed up. Fortunately,
> it is protecting too much, which is not usually fatal. Also, it
> appears to happen only in the all z equal case (the value 3e10 is
> not magic - any nonzero z will do). We should get it tracked down,
> but it's not worth breaking the code freeze for 2.4.0 over.


Now fixed in r-devel and r-patched.

Paul
-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/




More information about the R-devel mailing list