[Rd] I have won!

From: Vladimir Eremeev <wl2776_at_gmail.com>
Date: Thu 25 Jan 2007 - 13:11:56 GMT

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.

R-devel@r-project.org mailing list
Received on Fri Jan 26 00:13:11 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 Jan 2007 - 13:31:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.