Re: [Rd] how to trace what crashes R

2007-01-24 Thread Duncan Murdoch
On 1/24/2007 2:47 PM, Dirk Eddelbuettel wrote: > On Wed, Jan 24, 2007 at 11:15:49AM -0800, Vladimir Eremeev wrote: >> The problem is. R crashes with the "segmentation violation". >> Tracing with the insight and with simple Rprintf's gave me that crash occurs >> on the call of the function deeply in

Re: [Rd] how to trace what crashes R

2007-01-24 Thread Dirk Eddelbuettel
On Wed, Jan 24, 2007 at 11:15:49AM -0800, Vladimir Eremeev wrote: > The problem is. R crashes with the "segmentation violation". > Tracing with the insight and with simple Rprintf's gave me that crash occurs > on the call of the function deeply in the snns kernel. > That is, R correctly calls C wr

[Rd] how to trace what crashes R

2007-01-24 Thread Vladimir Eremeev
I am writing bindings to the C library (neural network simulator SNNS). DLL was produced with the command R CMD SHLIB [source with C-wrappers, callable from R with .C and all sources from the snns kernel] I used latest MinGW. The problem is. R crashes with the "segmentation violation". Tracing w