Re: [R] segfault debugging

2012-12-01 Thread William Dunlap
TIBCO Software wdunlap tibco.com > -Original Message- > From: Brian Ripley [mailto:rip...@stats.ox.ac.uk] > Sent: Saturday, December 01, 2012 8:45 AM > To: William Dunlap > Cc: Martin Morgan; Duncan Murdoch; r-help@r-project.org; Donatella Quagli > Subject: Re: [R] seg

Re: [R] segfault debugging

2012-12-01 Thread David Winsemius
On Nov 30, 2012, at 10:02 AM, Donatella Quagli wrote: Hello everybody, I have written a script with two inline cfunctions. The script crashes from time to time with: *** caught segfault *** address 0x10, cause 'memory not mapped' The crashs happen within R code after the cfunctions we

Re: [R] segfault debugging

2012-12-01 Thread Brian Ripley
Sent: Saturday, December 01, 2012 6:54 AM >> To: Duncan Murdoch >> Cc: r-help@r-project.org; Donatella Quagli >> Subject: Re: [R] segfault debugging >> >> On 12/01/2012 04:51 AM, Duncan Murdoch wrote: >>> On 12-12-01 6:56 AM, Donatella Quagli wrote: >&g

Re: [R] segfault debugging

2012-12-01 Thread William Dunlap
-- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Martin Morgan > Sent: Saturday, December 01, 2012 6:54 AM > To: Duncan Murdoch > Cc: r-help@r-project.org; Donatella Quagli > Subject: Re: [R] segfault debugging > > On 12

Re: [R] segfault debugging

2012-12-01 Thread Martin Morgan
On 12/01/2012 04:51 AM, Duncan Murdoch wrote: On 12-12-01 6:56 AM, Donatella Quagli wrote: Thank you so far. Here is an excerpt from the gdb session after a crash: Program received signal SIGSEGV, Segmentation fault. 0xb7509a6b in Rf_allocVector () from /usr/lib/R/lib/libR.so (gdb) bac

Re: [R] segfault debugging

2012-12-01 Thread Duncan Murdoch
On 12-12-01 6:56 AM, Donatella Quagli wrote: Thank you so far. Here is an excerpt from the gdb session after a crash: Program received signal SIGSEGV, Segmentation fault. 0xb7509a6b in Rf_allocVector () from /usr/lib/R/lib/libR.so (gdb) backtrace #0 0xb7509a6b in Rf_allocVector () f

Re: [R] segfault debugging

2012-12-01 Thread Donatella Quagli
Thank you so far. Here is an excerpt from the gdb session after a crash:   Program received signal SIGSEGV, Segmentation fault.   0xb7509a6b in Rf_allocVector () from /usr/lib/R/lib/libR.so   (gdb) backtrace   #0  0xb7509a6b in Rf_allocVector () from /usr/lib/R/lib/libR.so   #1  0xb744b64c in ?? (

Re: [R] segfault debugging

2012-11-30 Thread Duncan Murdoch
On 30/11/2012 12:02 PM, Donatella Quagli wrote: Hello everybody, I have written a script with two inline cfunctions. The script crashes from time to time with: *** caught segfault *** address 0x10, cause 'memory not mapped' The crashs happen within R code after the cfunctions were execu

[R] segfault debugging

2012-11-30 Thread Donatella Quagli
Hello everybody, I have written a script with two inline cfunctions. The script crashes from time to time with:    *** caught segfault ***   address 0x10, cause 'memory not mapped' The crashs happen within R code after the cfunctions were executed. Nevertheless I think that the pointers in my c