Re: [Rd] invalid alignment error in R-2.4.0

2006-07-12 Thread Simon Urbanek
Robin, how did you compile your R? I know that old gcc 4 (as supplied by Apple) did indeed produce invalid code in quicksort that segfaulted, however, that was on an Intel Mac. You may want to use gcc 4.0.3 or later instead and see whether the problem is gone - R-devel from http://r.resear

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Robin Hankin
Hi median(rep(1000,10)) does indeed give a similar error: octopus:~/scratch% ./Rd/R.framework/Versions/2.4/Resources/bin/R -d gdb GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov 2 17:28:16 GMT 2005) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU G

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Tue, 11 Jul 2006 10:54:15 +0100 (BST) writes: BDR> On Tue, 11 Jul 2006, Martin Maechler wrote: >> Hi Robin, >> >> thanks for the extra info. I have no clue what the problem >> might be. >> >> But from

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Prof Brian Ripley
On Tue, 11 Jul 2006, Martin Maechler wrote: > Hi Robin, > > thanks for the extra info. I have no clue what the problem > might be. > > But from R-level debugging (and the R traceback you wrote > originally), > I assume you could trigger the problem already by a simple > > median(rep(1000, 10

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Martin Maechler
Hi Robin, thanks for the extra info. I have no clue what the problem might be. But from R-level debugging (and the R traceback you wrote originally), I assume you could trigger the problem already by a simple median(rep(1000, 10)) is that the case? If yes, please follow up on R-devel. In an

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Robin Hankin
Hi Martin On 11 Jul 2006, at 09:25, Martin Maechler wrote: > I assume this is specific to your installation of R-devel > (R-2.4.0 "unstable"). If I use your 'out', >hist(out^4, col = "gray") > works just fine consistently. > > Could it be a compiler / linker mismatch > on your Mac? Also, c

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Martin Maechler
I assume this is specific to your installation of R-devel (R-2.4.0 "unstable"). If I use your 'out', hist(out^4, col = "gray") works just fine consistently. Could it be a compiler / linker mismatch on your Mac? Also, can you run "under the debugger" 'R -d gdb' (from a commandline) ? This