[Rd] valgrind crashing

From: David <pleydell_at_supagro.inra.fr>
Date: Wed, 12 Sep 2012 01:38:50 -0400

I am trying to do a classic

R -d valgrind --vanilla < mypkg-Ex.R

as described in

The problem is valgrind crashes imediately.

I am using Ubuntu 10.04 LST (actually Biolinux) on a 64bit Dell Precision laptop with 4 core-i5 Intel processors. I have R-2-15-0 installed from source and configured using

./configure --enable-memory-profiling --with-valgrind-instrumentation=2 --prefix=/usr/local/lib64/R-2.15.0-vg2

in /usr/local/bin there's a dynamic link

R-2.15.0-vg2 -> /usr/local/lib64/R-2.15.0-vg2/bin/R

I can run R in bash using

$ R-2.15.0-vg2

Valgrind was installed from the Ubuntu repositories using apt-get. But ...

$ R-2.15.0-vg2 -d valgrind --vanilla
R-2.15.0-vg2 -d valgrind --vanilla
==29007== Memcheck, a memory error detector
==29007== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==29007== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==29007== Command: /usr/local/lib64/R-2.15.0-vg2/lib64/R/bin/exec/R

--29007-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a

valgrind: m_debuginfo/readdwarf.c:2292 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed.
==29007== at 0x3802B1F7: ??? (in /usr/lib/valgrind/memcheck-amd64-linux)

sched status:


Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.

I've used valgrind in the past on other computer without problem, but I have no idea what's failling here (the FAQ didn't help). Does anyone have any idea?

many thanks

p.s. I also have 2.15.1 installed in a near-identical manner as 2.15.0 with just the difference --with-valgrind-instrumentation=1, the result is the same though.

        [[alternative HTML version deleted]]

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 12 Sep 2012 - 05:42:16 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 27 Sep 2012 - 10:10:45 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive