Displaying 2 results from an estimated 2 matches for "rf_promiseargs".
2006 Oct 19
0
Memory leak
....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 0x80CCAC1: do_begin (eval.c:1107)
==11423== by 0x80CB320:...
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