Re: [Rd] .Call and Segmentation Fault

From: Thomas Lumley <tlumley_at_u.washington.edu>
Date: Tue 30 Aug 2005 - 23:46:10 GMT

On Tue, 31 Aug 2005, Peter Dalgaard wrote:

> Well, did you try running under a debugger?
>
> R -d gdb
>
> then "bt" after the segfault. (Make sure that things are compiled with
> -g option)

It would also be worth renaming the the function -- while I don't see exactly how it could be causing the problem, I would be nervous about having a C function called main() that wasn't the real main().

         -thomas



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Aug 31 09:56:13 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:27:46 GMT