Skip to content

Crash with Unicode and sub (PR#14114)

1 message · Brian 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: <alpine.LFD.2.00.0912092139001.548 at gannet.stats.ox.ac.uk>

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 locales as well as UTF-8.

So I am inclining to think this is Windows-specific.  One thing that 
is specific to Windows is UCS-2 (16-bit) wide characters, which might 
be the issue.  But we simply don't have the tools on Windows that we 
do on other platforms.
On Wed, 9 Dec 2009, g.russell at eos-solutions.com wrote: