Skip to content

stack imbalance in max.col for non-real matrices

3 messages · Michael Lawrence, Brian Ripley, Martin Morgan

1 day later
#
On 17/04/2013 21:25, Michael Lawrence wrote:
I can't reproduce it either, but that seems the right fix so 
incorporated now, thanks.

  
    
#
On 04/19/2013 01:16 AM, Prof Brian Ripley wrote:
Why isn't this reproducible? I thought the protection stack would be deterministic.

 > max.col(matrix())
Warning: stack imbalance in 'max.col', 10 then 11
Warning: stack imbalance in '.Internal', 9 then 10
Warning: stack imbalance in '{', 6 then 7
[1] NA

 > sessionInfo()
R Under development (unstable) (2013-04-18 r62615)
Platform: x86_64-unknown-linux-gnu (64-bit)

from config.log

   $ /home/mtmorgan/src/R-devel/configure --enable-memory-profiling 
--disable-byte-compiled-packages --enable-R-shlib CC=clang CFLAGS=-g -O0 
CXX=clang++ CXXFLAGS=-g -O0 --no-create --no-recursion

with

$ clang --version
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix