Displaying 2 results from an estimated 2 matches for "valgrind_level".
2017 Oct 06
1
SIGSEGV during startup
...e[1]: Leaving directory '/home/josh/R/R-build/src'
Makefile:60: recipe for target 'R' failed
make: *** [R] Error 1
The context around memory.c:908 is below, and suggests the issue
manifests with the combination of the ALTREP framework and valgrind
instrumentation level >1.
#if VALGRIND_LEVEL > 1
if (NodeClassSize[node_class] > 0)
VALGRIND_MAKE_MEM_NOACCESS(DATAPTR(s),
NodeClassSize[node_class]*sizeof(VECREC));
#endif
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2017 | www.rinfinance.com
2008 Feb 23
0
patch: two minor debugging-related pointer protection stack issues (PR#10832)
...nk/src/main/memory.c
===================================================================
--- trunk/src/main/memory.c (revision 44589)
+++ trunk/src/main/memory.c (working copy)
@@ -1557,7 +1557,7 @@
R_Suicide("couldn't allocate memory for pointer stack");
R_PPStackTop = 0;
#if VALGRIND_LEVEL > 1
- VALGRIND_MAKE_NOACCESS(R_PPStackTop+R_PPStackSize,PP_REDZONE_SIZE);
+ VALGRIND_MAKE_NOACCESS(R_PPStack+R_PPStackSize,PP_REDZONE_SIZE);
#endif
vsfac = sizeof(VECREC);
R_VSize = (((R_VSize + 1)/ vsfac));
@@ -2329,11 +2329,11 @@
} while ( R_PPStack[--i] != s );
/*...