Skip to content

(PR#1008) SIGSEGV began at 1.2.0

1 message · Roger Bivand

#
This behaviour is confirmed for RH70, RH62, Debian 2.2 on 3 different
Pentium-class i386. I've checked back and package ann_0.2-2 works on
1.1.1, but fails with seg. faults on 1.2.0 (ann_0.2-2.pre3.tar.gz to
accommodate the change in Makeconf) and subsequent (1.2.0 checked today on
RH62 with gcc 2.95.3 19991030 (prerelease)).

It is most likely that 1.1.1 was too forgiving, and that better memory
management from 1.2.0 is uncovering bad code in the *.so, but could there
be an interaction between dynamic memory management in R >= 1.2 and C++
(g++)? (namespace???). It strikes me as odd that the SIGSEGV sometimes
comes from the C++ side (annDeallocPts - __builtin_vec_delete), and
sometimes from the R side (ReleaseLargeFreeVectors), with no pattern that
I can see.

Roger