From wl2776 at gmail.com  Thu Jan 25 14:11:56 2007
From: wl2776 at gmail.com (Vladimir Eremeev)
Date: Thu, 25 Jan 2007 05:11:56 -0800 (PST)
Subject: [Rd] I have won!
In-Reply-To: <8570488.post@talk.nabble.com>
References: <8570488.post@talk.nabble.com>
Message-ID: <8612674.post@talk.nabble.com>



Vladimir Eremeev wrote:
> 
> That is, R correctly calls C wrapper, 
> ...
> its arguments have correct values
> 
That was not the case. 
I forgot as.integer() in the .C call and one of the arguments was 0 instead
of 1.
Since that, indices in the array were calculated incorrectly, and the
program tried reading prohibited memory address.
-- 
View this message in context: http://www.nabble.com/how-to-trace-what-crashes-R-tf3083985.html#a8612674
Sent from the R devel mailing list archive at Nabble.com.



[Rd] I have won!
Vladimir Eremeev