Re: [Rd] [R] Segfault in pure R code

2006-12-14 Thread Göran Broström
On 12/13/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > That's in the memory manager and indicates prior memory corruption. > Please re-run under valgrind, plus gctorture(TRUE) if needed. I did, no errors (but slow)! > However, I would start by seeing if this occurs in a single-byte domain if

Re: [Rd] [R] Segfault in pure R code

2006-12-14 Thread Göran Broström
On 12/14/06, Göran Broström <[EMAIL PROTECTED]> wrote: > On 12/13/06, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > > [...] > > > Ouch. Call the marines... > > > > The error comes from the garbage collector, which means that something > > got corrupted in internal data structures some time previousl

Re: [Rd] [R] Segfault in pure R code

2006-12-14 Thread Göran Broström
On 12/13/06, Peter Dalgaard <[EMAIL PROTECTED]> wrote: [...] > Ouch. Call the marines... > > The error comes from the garbage collector, which means that something > got corrupted in internal data structures some time previously. > > The most important thing is to preserve the bug. Rebuild anyth

Re: [Rd] [R] Segfault in pure R code

2006-12-13 Thread Göran Broström
On 12/13/06, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > Göran Broström wrote: > > I tried once more under the debugger, and > > > > ++ > > [EMAIL PROTECTED]:~/R/BEMANNING/Doc$ R -d gdb > > GNU gdb 6.5-debian > > Copyright (C) 2006 Free Software Foundation, I

Re: [Rd] [R] Segfault in pure R code

2006-12-12 Thread Peter Dalgaard
Göran Broström wrote: > I tried once more under the debugger, and > > ++ > [EMAIL PROTECTED]:~/R/BEMANNING/Doc$ R -d gdb > GNU gdb 6.5-debian > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License

Re: [Rd] [R] Segfault in pure R code

2006-12-12 Thread Prof Brian Ripley
That's in the memory manager and indicates prior memory corruption. Please re-run under valgrind, plus gctorture(TRUE) if needed. However, I would start by seeing if this occurs in a single-byte domain if this was in a UTF-8 domain. Experience suggests that we have some flakier code in the les

Re: [Rd] [R] Segfault in pure R code

2006-12-12 Thread Göran Broström
I tried once more under the debugger, and ++ [EMAIL PROTECTED]:~/R/BEMANNING/Doc$ R -d gdb GNU gdb 6.5-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it