Re: [Rd] Crash with Unicode and sub (PR#14114)

2009-12-09 Thread ripley
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --27464147-153156736-1260394708=:548 Content-Type: TEXT/PLAIN; CHARSET=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: It seems

Re: [Rd] Crash with Unicode and sub (PR#14114)

2009-12-09 Thread Prof Brian Ripley
It seems (from the debugger output) that this is corruption in the R memory allocation routines. Such things can usually be tracked down via valgrind and a valgrind-instrumented build of R, but I cannot trigger this on any system with valgrind. I've tried 64- and 32-bit versions, and Latin-1

Re: [Rd] Crash with Unicode and sub (PR#14114)

2009-12-08 Thread maechler
> "PD" == Peter Dalgaard > on Tue, 08 Dec 2009 11:24:50 +0100 writes: PD> g.russ...@eos-solutions.com wrote: >> Full_Name: George Russell >> Version: 2.10.0 >> OS: Windows XP Version 2002 SP 2 >> Submission from: (NULL) (217.111.3.131) >> >> >> The fo

Re: [Rd] Crash with Unicode and sub (PR#14114)

2009-12-08 Thread Peter Dalgaard
g.russ...@eos-solutions.com wrote: > Full_Name: George Russell > Version: 2.10.0 > OS: Windows XP Version 2002 SP 2 > Submission from: (NULL) (217.111.3.131) > > > The following typed into R --vanilla induces a crash: > -- cut here -- > gctorture() > u <- intToUtf8(c(rep(1e3,1e2),32,c(rep(1e3,1e2

[Rd] Crash with Unicode and sub (PR#14114)

2009-12-07 Thread g . russell
Full_Name: George Russell Version: 2.10.0 OS: Windows XP Version 2002 SP 2 Submission from: (NULL) (217.111.3.131) The following typed into R --vanilla induces a crash: -- cut here -- gctorture() u <- intToUtf8(c(rep(1e3,1e2),32,c(rep(1e3,1e2 v <- rep(u,1e2) v <- sub(" ","",v) v %in% "" -- cu