search for: dummy_vfprintf

Displaying 6 results from an estimated 6 matches for "dummy_vfprintf".

2017 Jan 04
0
cat(s, file): infinite loop of "invalid char string in output conversion" warnings with UTF-8 encoding
...output conversion", quote(cat(s, file = tempfile()))) 1: cat(s, file = tempfile()) ## SOME TROUBLESHOOTING Using options(warn = 1) shows that the "invalid char string in output conversion" warning is outputted over and over in an infinite loop. This warning is generated by dummy_vfprintf() defined in src/main/connections.c (https://github.com/wch/r-source/blob/R-3-3-branch/src/main/connections.c#L370); # define BUFSIZE 10000 int dummy_vfprintf(Rconnection con, const char *format, va_list ap) { [...] if(ires == (size_t)(-1) && errno != E2BIG) /* is this safe...
2005 Nov 27
1
segfault on write.dcf with gzfile connection
I'm seeing a segfault on x86_64 Linux with the following code: desc = read.dcf("BAD") con = gzfile("test.gz", "wt") write.dcf(desc, file=con) close(con) where BAD has a long field (see below for example). The crash happens inside dummy_vfprintf. I think the issue is that the va_list ap is modified by the first vsnprintf call (connections.c:190) and the subsequent vsprintf call (connections.c:194) gets an invalid va_list arg. The following patch improves things for me, but I've not tested on other platforms. Index: connections.c ==...
2001 Jun 29
3
Fail to build R (PR#1005)
...ftp.o memset 0x608 nanohttp.o memset 0x1dc Rsock.o memset 0x1098 nanohttp.o memset 0x67c nanoftp.o memset 0x1398 nanoftp.o ... dummy_vfprintf 0x3f0 sockconn.o <unknown> 0x1344 nanoftp.o <unknown> 0x1348 nanoftp.o <unknown> 0x134c nanoftp.o <unknown> 0x1338 nanoftp.o...
2005 Dec 20
0
R 2.2.1 is released
...files did not correctly match braces enclosing a whole argument, e.g. \eqn{{\bf a}}{a}. o The C function pythag (used if hypot was not available) would infinite-loop on systems with effective optimizing compilers. o Writing long formats (more than 1000 bytes) with connections that use dummy_vfprintf could fail on some systems. The limit has been changed to 100000 bytes pending a more complete fix in R 2.3.0. o Making in src/nmath/standalone without making R was not making Rmath.h. o Both the R front-end and INSTALL could find the attempted temporary directory name already in use...
2005 Dec 20
0
R 2.2.1 is released
...files did not correctly match braces enclosing a whole argument, e.g. \eqn{{\bf a}}{a}. o The C function pythag (used if hypot was not available) would infinite-loop on systems with effective optimizing compilers. o Writing long formats (more than 1000 bytes) with connections that use dummy_vfprintf could fail on some systems. The limit has been changed to 100000 bytes pending a more complete fix in R 2.3.0. o Making in src/nmath/standalone without making R was not making Rmath.h. o Both the R front-end and INSTALL could find the attempted temporary directory name already in use...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
..._InputHandlers R_PolledEvents R_wait_usec R_NaInt Rf_error Rf_warning Rprintf REprintf R_ExpandFileName R_NilValue Rf_allocVector Rf_asInteger Rf_asLogical Rf_GetOption Rf_install Rf_isString Rf_length Rf_protect Rf_unprotect R_Consolefile R_Busy Rf_checkArity R_fopen init_con R_setInternetRoutines dummy_vfprintf gmake[5]: Entering directory `/soft/R/R-1.5.1/src/modules/internet' gmake[5]: Leaving directory `/soft/R/R-1.5.1/src/modules/internet' gmake[4]: Leaving directory `/soft/R/R-1.5.1/src/modules/internet' gmake[3]: Leaving directory `/soft/R/R-1.5.1/src/modules/internet' gmake[3]: Ente...