Displaying 7 results from an estimated 7 matches for "rf_cons".
2006 Oct 19
0
Memory leak
...al.c:1107)
==11423== by 0x80CB320: Rf_eval (eval.c:431)
==11423== by 0x80CB5E0: Rf_applyClosure (eval.c:614)
==11423==
==11423== Invalid read of size 1
==11423== at 0x80EF3B8: RunGenCollect (memory.c:1240)
==11423== by 0x80F0635: R_gc_internal (memory.c:2141)
==11423== by 0x80EFD25: Rf_cons (memory.c:1732)
==11423== by 0x80CDA44: Rf_promiseArgs (eval.c:1551)
==11423== by 0x80CB19A: Rf_eval (eval.c:454)
==11423== by 0x80A198B: Rf_endcontext (context.c:241)
==11423== by 0x80CB57C: Rf_applyClosure (eval.c:617)
==11423== by 0x80CB1B7: Rf_eval (eval.c:455)
==11423== by 0x...
2008 Sep 27
1
seg.fault from nlme::gnls() {was "[R-sig-ME] GNLS Crash"}
....
0x0000003294e30155 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003294e30155 in raise () from /lib64/libc.so.6
#1 0x0000003294e31bf0 in abort () from /lib64/libc.so.6
#2 0x00000000004184f5 in R_gc_internal (size_needed=0)
at ../../../R/src/main/memory.c:761
#3 0x000000000041b121 in Rf_cons (car=0x1b2ec088, cdr=0x1a3436d8)
at ../../../R/src/main/memory.c:1755
#4 0x0000000000578472 in applydefine (call=<value optimized out>,
op=0x1a3617a8, args=0x1ad47590, rho=0x1b2ea428)
at ../../../R/src/include/Rinlinedfuns.h:153
#5 0x0000000000575a42 in Rf_eval (e=0x1ad47558, r...
2007 Mar 07
3
Garbage collector crashes after calling a C function
...y 0x4BEBA3F: do_set (in /usr/lib64/R/lib/libR.so)
### This is the RunGenCollect memory error
==9370== Invalid write of size 8
==9370== at 0x4C1F73A: RunGenCollect (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4C23E55: R_gc_internal (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4C22DC3: Rf_cons (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4C23AE1: Rf_allocList (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4B6926B: installAttrib (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4B69961: Rf_classgets (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4B68DC1: Rf_setAttrib (in /usr/lib64/R/l...
2009 Sep 03
1
Running an expression 1MN times using embedded R
...from the R extensions website, I would
appreciate any pointers to why this is crashing.
code can be found at the end of the email.
Much thanks for your time
Regards
Saptarshi
BT OUTPUT:
#0 0x00002b499ca40a6e in R_gc_internal (size_needed=0) at memory.c:1309
#1 0x00002b499ca42bc0 in Rf_cons (car=0x484ba98, cdr=0x484ba98) at
memory.c:1766
#2 0x00002b499ca1e39d in Rf_evalList (el=0x4cd0f30, rho=0x488ca48,
op=0x5077148) at eval.c:1489
#3 0x00002b499ca1de4d in Rf_eval (e=0x4cd1010, rho=0x488ca48) at
eval.c:480
#4 0x00002b499ca1ea82 in do_begin (call=0x4cd1048, op=0x486a830,
arg...
2011 Jan 11
0
[Rcpp-devel] Loading a package using Rcpp Modules results in memory corruption
...t;>>
>>>>> Yep. Doug's analysis is right. Rcpp is implemented with the C R API,
>>>>> and
>>>>> apparently there were a few places where we were not careful enough.
>>>>> Most
>>>>> notably in calls to Rf_lcons and Rf_cons. This has been partially
>>>>> dealt with
>>>>> today.
>>>>>
>>>>
>>>> Just for the record, Doug is summarizing my analysis, based on several
>>>> examples that I posted to this thread,
>>>> and that I am p...
2003 Apr 21
0
sweave provoked segfault (PR#2809)
...Program received signal SIGSEGV, Segmentation fault.
0x080c1598 in RunGenCollect (size_needed=0) at memory.c:1210
1210 PROCESS_NODES();
(gdb) bt
#0 0x080c1598 in RunGenCollect (size_needed=0) at memory.c:1210
#1 0x080c3089 in R_gc_internal (size_needed=0) at memory.c:1865
#2 0x080c27fe in Rf_cons (car=0xbfffbf40, cdr=0x81f65a0) at
memory.c:1534
#3 0x08097e35 in Rf_duplicate (s=0x8324ff0) at duplicate.c:108
#4 0x080c9abf in GetObject (cptr=0xbfffc2d0) at objects.c:40
#5 0x080ca663 in do_usemethod (call=0x82c5d28, op=0x8209874,
args=0x82c5d44,
env=0x8f1ecd4) at objects.c:401
#6 0x080a...
2008 Apr 29
2
reproducible segmentation fault caused by textConnection()
Dear all,
It seems that textConnection() can trigger a segmentation fault. The
following script (using two large loops) makes this bug reproducible:
for (i in 1:10000) {
z=textConnection(NULL,open='w')
for (j in 1:100) {
write(runif(1)*1e6,file=z)
write('\n',file=z)
}
close(z)
}
The bug could be reproduced on R-2.6.1, R-2.7.0 and on the latest
R-devel