Displaying 10 results from an estimated 10 matches for "do_gsub".
2008 Jul 09
1
memory leak in sub("[range]",...)
...by 0x4005B9A: realloc (vg_replace_malloc.c:306)
==32503== by 0x80A5F92: parse_expression (regex.c:5202)
==32503== by 0x80A614F: parse_branch (regex.c:4707)
==32503== by 0x80A621A: parse_reg_exp (regex.c:4666)
==32503== by 0x80A6618: Rf_regcomp (regex.c:4635)
==32503== by 0x8110CB4: do_gsub (character.c:1355)
==32503== by 0x80654A4: do_internal (names.c:1135)
==32503== by 0x815F0EB: Rf_eval (eval.c:461)
==32503== by 0x8160DA7: do_begin (eval.c:1174)
==32503== by 0x815F0EB: Rf_eval (eval.c:461)
==32503== by 0x8162210: Rf_applyClosure (eval.c:667)
==32503==
... ignore 85...
2013 Sep 09
2
Invalid UTF-8 with gsub(perl=TRUE) and iconv(sub="")
...# [1] "\U3e3965"
gsub("a", "", "\U3e3965", perl=TRUE)
# Error in gsub("a", "", "\U3e3965", perl = TRUE) :
# input string 1 is invalid UTF-8
The error message in the second command seems to come from
src/main/grep.c:1640 (in do_gsub):
if (!utf8Valid(s)) error(("input string %d is invalid UTF-8"), i+1);
utf8Valid() relies on valid_utf8() from PCRE, whose behavior is
described in src/extra/pcre/pcre_valid_utf8.c.
Even more problematic/interesting is the fact that iconv() does not
consider the above character as inv...
2020 Jun 09
2
valgrind false positive on R startup?
...tre_parse_bracket_items (tre-parse.c:336)
==9565== by 0x50BAA07: tre_parse_bracket (tre-parse.c:453)
==9565== by 0x50BAA07: tre_parse (tre-parse.c:1380)
==9565== by 0x50B2498: tre_compile (tre-compile.c:1920)
==9565== by 0x50AFBE0: tre_regcompb (regcomp.c:150)
==9565== by 0x4FA9F42: do_gsub (grep.c:2023)
==9565== by 0x4F79045: bcEval (eval.c:7090)
==9565== by 0x4F8572F: Rf_eval (eval.c:723)
==9565== by 0x4F8754E: R_execClosure (eval.c:1888)
==9565== by 0x4F88316: Rf_applyClosure (eval.c:1814)
==9565== by 0x4F85902: Rf_eval (eval.c:846)
==9565==
R version 4.0.0 (2020-04...
2008 Aug 07
1
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#11946)
...by 0x4005B9A: realloc (vg_replace_malloc.c:306)
==28643== by 0x80A5E22: parse_expression (regex.c:5202)
==28643== by 0x80A5FDF: parse_branch (regex.c:4707)
==28643== by 0x80A60AA: parse_reg_exp (regex.c:4666)
==28643== by 0x80A64A8: Rf_regcomp (regex.c:4635)
==28643== by 0x8110AE0: do_gsub (character.c:1355)
==28643== by 0x80653BC: do_internal (names.c:1129)
==28643== by 0x815EF17: Rf_eval (eval.c:461)
==28643== by 0x8160BD3: do_begin (eval.c:1174)
==28643== by 0x815EF17: Rf_eval (eval.c:461)
==28643== by 0x816203C: Rf_applyClosure (eval.c:667)
==28643==
==28643== LEAK...
2020 Jun 10
0
valgrind false positive on R startup?
...(tre-parse.c:336)
> ==9565== by 0x50BAA07: tre_parse_bracket (tre-parse.c:453)
> ==9565== by 0x50BAA07: tre_parse (tre-parse.c:1380)
> ==9565== by 0x50B2498: tre_compile (tre-compile.c:1920)
> ==9565== by 0x50AFBE0: tre_regcompb (regcomp.c:150)
> ==9565== by 0x4FA9F42: do_gsub (grep.c:2023)
> ==9565== by 0x4F79045: bcEval (eval.c:7090)
> ==9565== by 0x4F8572F: Rf_eval (eval.c:723)
> ==9565== by 0x4F8754E: R_execClosure (eval.c:1888)
> ==9565== by 0x4F88316: Rf_applyClosure (eval.c:1814)
> ==9565== by 0x4F85902: Rf_eval (eval.c:846)
> ==95...
2008 Aug 07
0
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#12488)
...vg_replace_malloc.c:306)
> ==28643== by 0x80A5E22: parse_expression (regex.c:5202)
> ==28643== by 0x80A5FDF: parse_branch (regex.c:4707)
> ==28643== by 0x80A60AA: parse_reg_exp (regex.c:4666)
> ==28643== by 0x80A64A8: Rf_regcomp (regex.c:4635)
> ==28643== by 0x8110AE0: do_gsub (character.c:1355)
> ==28643== by 0x80653BC: do_internal (names.c:1129)
> ==28643== by 0x815EF17: Rf_eval (eval.c:461)
> ==28643== by 0x8160BD3: do_begin (eval.c:1174)
> ==28643== by 0x815EF17: Rf_eval (eval.c:461)
> ==28643== by 0x816203C: Rf_applyClosure (eval.c:667)...
2017 Apr 20
1
Intel MKL compiling issue
...ference to `pcre_assign_jit_stack'
/genetics/data/software/R-devel/src/main/grep.c:106: undefined reference to `pcre_jit_stack_alloc'
grep.o: In function `do_regexpr':
/genetics/data/software/R-devel/src/main/grep.c:2832: undefined reference to `pcre_free_study'
grep.o: In function `do_gsub':
/genetics/data/software/R-devel/src/main/grep.c:2116: undefined reference to `pcre_free_study'
grep.o: In function `do_grep':
/genetics/data/software/R-devel/src/main/grep.c:1109: undefined reference to `pcre_free_study'
grep.o: In function `do_strsplit':
/genetics/data/softwa...
2008 Jul 10
0
RODBC Close Memory Leak Question
...2== by 0x4005271: realloc (vg_replace_malloc.c:306)
==8682== by 0x80B47EC: parse_expression (regex.c:5202)
==8682== by 0x80B4934: parse_branch (regex.c:4714)
==8682== by 0x80B49BF: parse_reg_exp (regex.c:4666)
==8682== by 0x80B5317: Rf_regcomp (regex.c:4635)
==8682== by 0x812A38F: do_gsub (character.c:1356)
==8682== by 0x806650A: do_internal (names.c:1129)
==8682== by 0x81855B0: Rf_eval (eval.c:463)
==8682== by 0x818631E: do_begin (eval.c:1172)
==8682== by 0x81855B0: Rf_eval (eval.c:463)
==8682== by 0x81879B4: Rf_applyClosure (eval.c:669)
==8682==
==8682==
==8682== 23...
2017 Apr 20
2
Intel MKL compiling issue
Dear R-developers,
I would appreciate any insights over compiling R 3.4 with Intel MKL -- I have been successful until R 3.3.3 but now it stops complaining about pcre though it worked without Intel MKL as follows,
./configure LDFLAGS=-L/genetics/data/software/lib CFLAGS=-fPIC -I/genetics/data/software/include --enable-R-shlib
I have used,
export MKL_NUM_THREADS=15
export
2000 Jan 29
1
HDF5 as a module
...CS file: /home/rcvs/src/R/src/main/names.h,v
retrieving revision 1.51
diff -c -r1.51 names.h
*** src/main/names.h 2000/01/21 17:54:06 1.51
--- src/main/names.h 2000/01/29 00:23:19
***************
*** 181,188 ****
SEXP do_gray(SEXP, SEXP, SEXP, SEXP);
SEXP do_grep(SEXP, SEXP, SEXP, SEXP);
SEXP do_gsub(SEXP, SEXP, SEXP, SEXP);
- SEXP do_hdf5save (SEXP, SEXP, SEXP, SEXP);
- SEXP do_hdf5load (SEXP, SEXP, SEXP, SEXP);
SEXP do_hsv(SEXP, SEXP, SEXP, SEXP);
SEXP do_identify(SEXP, SEXP, SEXP, SEXP);
SEXP do_if(SEXP, SEXP, SEXP, SEXP);
--- 181,186 ----
Index: src/scripts/INSTALL.in
===============...