search for: run_rmainloop

Displaying 20 results from an estimated 102 matches for "run_rmainloop".

2019 Feb 27
2
Intermittent crashes with inset `[<-` command
...al.c:6795) ==4711== by 0x4F7D86D: R_compileAndExecute (eval.c:1407) ==4711== by 0x4F7DA70: do_for (eval.c:2185) ==4711== by 0x4F7741C: Rf_eval (eval.c:691) ==4711== by 0x4FA7181: Rf_ReplIteration (main.c:258) ==4711== by 0x4FA7570: R_ReplConsole (main.c:308) ==4711== by 0x4FA760E: run_Rmainloop (main.c:1082) ==4711== by 0x40075A: main (Rmain.c:29) ==4711== Address 0x19b3ab90 is 0 bytes inside a block of size 160,048 free'd ==4711== at 0x4C2ACBD: free (vg_replace_malloc.c:530) ==4711== by 0x4FAFCB2: ReleaseLargeFreeVectors (memory.c:1055) ==4711== by 0x4FAFCB2: RunGenColle...
2019 Feb 27
0
Intermittent crashes with inset `[<-` command
...0x4F7D86D: R_compileAndExecute (eval.c:1407) > ==4711== by 0x4F7DA70: do_for (eval.c:2185) > ==4711== by 0x4F7741C: Rf_eval (eval.c:691) > ==4711== by 0x4FA7181: Rf_ReplIteration (main.c:258) > ==4711== by 0x4FA7570: R_ReplConsole (main.c:308) > ==4711== by 0x4FA760E: run_Rmainloop (main.c:1082) > ==4711== by 0x40075A: main (Rmain.c:29) > ==4711== Address 0x19b3ab90 is 0 bytes inside a block of size 160,048 > free'd > ==4711== at 0x4C2ACBD: free (vg_replace_malloc.c:530) > ==4711== by 0x4FAFCB2: ReleaseLargeFreeVectors (memory.c:1055) > ==4711=...
2019 Feb 26
8
Intermittent crashes with inset `[<-` command
The following code crashes after about 300 iterations on my?x86_64-w64-mingw32?machine on R 3.5.2 --vanilla.?? Others have duplicated this (see?https://github.com/tidyverse/magrittr/issues/190?if necessary), but I don't know how machine/OS-dependent it may be.?? If it doesn't crash for you, please try increasing the length of the x vector. Substituting the commented-out line for the one
2009 Nov 03
1
memory misuse in subscript code when rep() is called in odd way
...) ==26459== by 0x80C7368: do_subset_dflt (subset.c:158) ==26459== by 0x80B4283: do_rep (Rinlinedfuns.h:161) ==26459== by 0x816491B: Rf_eval (eval.c:464) ==26459== by 0x805A726: Rf_ReplIteration (main.c:262) ==26459== by 0x805A95E: R_ReplConsole (main.c:311) ==26459== by 0x805AFBC: run_Rmainloop (main.c:964) ==26459== by 0x8058E2B: main (Rmain.c:33) ==26459== ==26459== Conditional jump or move depends on uninitialised value(s) ==26459== at 0x80C5567: integerSubscript (subscript.c:409) ==26459== by 0x80C5EDC: Rf_vectorSubscript (subscript.c:658) ==26459== by 0x80C5FFD: Rf_makeSu...
2006 Aug 31
2
stop R mainloop without calling exit(1)
Hello, I'm trying to make my Java application work with R, which involves sending and retrieving data and to run R functions from within the Java application. I also need to have "live interaction" with R, to show the R console output (e.g. warnings and print) and to enable the user to enter input when a function asks for it. Therefore I created a simple R console in Java using JRI
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...line_arguments (argc, argv); // Here, the main initialization of R is performed setup_Rmainloop (); // Init the IO buffer and the global context R_ReplDLLinit(); // if I use the following instead, no problem occurs on error in evaluation: // run_Rmainloop (); while ((_state== Connected || _state == Running) && R_ReplDLLdo1() > 0) { Pi::msleep(5); // to keep the processor cool }; // Usually we don't get here on q() R_RunExitFinalizers(); Rf_KillAllDevices(); } This,...
2003 Jul 04
1
R crashes when installing package from CRAN (PR#3399)
...n 004DA9E8 R.dll:004DA9E8 Rf_eval 004DACD5 R.dll:004DACD5 Rf_applyClosure 004DA7F7 R.dll:004DA7F7 Rf_eval 004DACD5 R.dll:004DACD5 Rf_applyClosure 004DA7F7 R.dll:004DA7F7 Rf_eval 004FA06E R.dll:004FA06E Rf_ReplIteration 004FA672 R.dll:004FA672 Rf_ReplIteration 004FB176 R.dll:004FB176 run_Rmainloop 00401407 Rgui.exe:00401407 0040134E Rgui.exe:0040134E 00401523 Rgui.exe:00401523 00401170 Rgui.exe:00401170 00401013 Rgui.exe:00401013 77E614C7 kernel32.dll:77E614C7 GetCurrentDirectoryW ############# 2 Rgui.exe caused an Access Violation at location 005b5845 in module R.dll Writing to lo...
2018 Jun 28
1
Null pointer dereference in Rf_isVector()
...R-3.5.0/src/main/eval.c:624:8 #6 0x8669a2 in R_execClosure R-3.5.0/src/main/eval.c #7 0x817d7f in Rf_eval R-3.5.0/src/main/eval.c:747:12 #8 0x93cfa4 in Rf_ReplIteration R-3.5.0/src/main/main.c:258:2 #9 0x941e7a in R_ReplConsole R-3.5.0/src/main/main.c:308:11 #10 0x941e7a in run_Rmainloop R-3.5.0/src/main/main.c:1082 #11 0x50080a in main R-3.5.0/src/main/Rmain.c:29:5 #12 0x7fd74d55c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #13 0x42cf88 in _start (R-3.5.0/bin/exec/R+0x42cf88) AddressSanitizer can not provide additional info. SUMMARY: AddressS...
2017 Feb 10
3
Pressing either Ctrl-\ of Ctrl-4 core dumps R
.../lib/R/lib/libR.so) ==979== by 0x502EDDF: R_checkActivityEx (in /usr/lib/R/lib/libR.so) ==979== by 0x502F32B: ??? (in /usr/lib/R/lib/libR.so) ==979== by 0x4F6988B: Rf_ReplIteration (in /usr/lib/R/lib/libR.so) ==979== by 0x4F69CF0: ??? (in /usr/lib/R/lib/libR.so) ==979== by 0x4F69DA7: run_Rmainloop (in /usr/lib/R/lib/libR.so) ==979== by 0x4007CA: main (in /usr/lib/R/bin/exec/R) ==979== ==979== HEAP SUMMARY: ==979== in use at exit: 28,981,596 bytes in 13,313 blocks ==979== total heap usage: 27,002 allocs, 13,689 frees, 49,025,684 bytes allocated ==979== ==979== LEAK SUMMARY: ==979==...
2006 Jul 05
1
i suspect that there a memory leak in "vmmin"?
...:100B86CB Rf_eval 100BA5D5 R.dll:100BA5D5 do_begin 100B86CB R.dll:100B86CB Rf_eval 100BB8EB R.dll:100BB8EB Rf_applyClosure 100B85F8 R.dll:100B85F8 Rf_eval 100BA4D2 R.dll:100BA4D2 do_set 100B86CB R.dll:100B86CB Rf_eval 100DB51C R.dll:100DB51C Rf_ReplIteration 100DBAA6 R.dll:100DBAA6 run_Rmainloop 004013CF Rgui.exe:004013CF 00401316 Rgui.exe:00401316 00401518 Rgui.exe:00401518 00401236 Rgui.exe:00401236 00401288 Rgui.exe:00401288 7C816D4F kernel32.dll:7C816D4F RegisterWaitForInputIdle
2004 Jul 17
2
gsub(*, perl=TRUE) bug incl. seg.fault (PR#7108)
...c/main/print.c:775 #11 0x080d55f1 in Rf_ReplIteration (rho=0x823f014, savestack=150798432, browselevel=1, state=0x823f014) at ../../../R/src/main/main.c:254 #12 0x080d578d in R_ReplConsole (rho=0x823f014, savestack=0, browselevel=0) at ../../../R/src/main/main.c:298 #13 0x080d60d0 in run_Rmainloop () at ../../../R/src/main/main.c:656 #14 0x08147e90 in main (ac=150798432, av=0x8fd0060) at ../../../R/src/unix/system.c:99 #15 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 (which is not directly helpful since src/main/pcre.c (where the C source for gsub(*, perl=...
2006 Oct 19
1
Segmentation fault/buffer overflow with fix() in Fedora Core 5 from Extras repository
...] /usr/lib/R/lib/libR.so[0x1e30ae] /usr/lib/R/lib/libR.so(Rf_eval+0x483)[0x1b0973] /usr/lib/R/lib/libR.so(Rf_applyClosure+0x2a7)[0x1b2f67] /usr/lib/R/lib/libR.so(Rf_eval+0x2f4)[0x1b07e4] /usr/lib/R/lib/libR.so(Rf_ReplIteration+0x311)[0x1d01b1] /usr/lib/R/lib/libR.so[0x1d03c1] /usr/lib/R/lib/libR.so(run_Rmainloop+0x60)[0x1d0710] /usr/lib/R/lib/libR.so(Rf_mainloop+0x1c)[0x1d073c] /usr/lib/R/bin/exec/R(main+0x46)[0x8048696] /lib/libc.so.6(__libc_start_main+0xc6)[0x9c41fe] /usr/lib/R/bin/exec/R[0x8048591] ======= Memory map: ======== 00110000-00329000 r-xp 00000000 08:05 553625 /usr/lib/R/lib/libR.so 00329...
2018 Mar 29
2
Possible `substr` bug in UTF-8 Corner Case
...al (eval.c:6775) ==15375==??? by 0x4D95AF: Rf_eval (eval.c:624) ==15375==??? by 0x4DAD12: R_execClosure (eval.c:1764) ==15375==??? by 0x4D9561: Rf_eval (eval.c:747) ==15375==??? by 0x507008: Rf_ReplIteration (main.c:258) ==15375==??? by 0x5073E7: R_ReplConsole (main.c:308) ==15375==??? by 0x507494: run_Rmainloop (main.c:1082) ==15375==??? by 0x41A8E6: main (Rmain.c:29) ==15375==? Address 0xb9e518d is 3,869 bytes inside a block of size 7,960 alloc'd ==15375==??? at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==15375==??? by 0x51033E: GetNewPage (memory.c:888) ==15375==???...
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
...= (Rboolean)FALSE; Rp->R_Interactive = (Rboolean)TRUE; Rp->RestoreAction = SA_RESTORE; Rp->SaveAction = SA_NOSAVE; // our parameters R_SetParams(Rp); R_set_command_line_arguments(0, NULL); GA_initapp(0, NULL); readconsolecfg(); /// run_Rmainloop() starting in a different thread
2005 Sep 22
1
Rf_initEmbeddedR in Windows
...ssing of R.lib corresponding to R.dll. extern char *getDLLVersion(); extern void R_DefParams(Rstart); extern void R_SetParams(Rstart); extern void setup_term_ui(void); extern void ProcessEvents(void); extern void end_Rmainloop(void), R_ReplDLLinit(void); extern int R_ReplDLLdo1(); extern void run_Rmainloop(void); Then I google it, I find some solution of Borland C++ Builder, i.e. using implib to generate R.lib. The only place where I can find implib is at (http://www.geocities.com/SiliconValley/5806/download.htm#IMPLIB) and the commond generates a error as below C:\Program Files\R\rw2011\bin>IM...
2000 Jul 11
1
Help: R seg faults
...7 #5 0x80e6b2e in R_ReadConsole (prompt=0x4093c210 "> ", buf=0xbfffeedc "", len=1024, addtohistory=1) at ../../../R-1.1.0/src/unix/system.c:66 #6 0x8097d78 in R_ReplConsole (rho=0x40296338, savestack=0, browselevel=0) at ../../../R-1.1.0/src/main/main.c:128 #7 0x80985e2 in run_Rmainloop () at ../../../R-1.1.0/src/main/main.c:454 #8 0x8098620 in Rf_mainloop () at ../../../R-1.1.0/src/main/main.c:468 #9 0x80e715a in main (ac=0, av=0xbffff7f4) at ../../../R-1.1.0/src/unix/system.c:222 Cheers, Jan. Jan Kreft Phone +44 (0)29 20875278 Cardiff School of...
2008 Apr 18
1
swig 1.3.35 & R - is the R wrapper still maintained and of interest?
...(call=0xa60d74c, op=0x9e23a94, arglist=0xa60d6dc, rho=0x9a9a720, suppliedenv=0x9a9a73c) at eval.c:669 #14 0xb7e0de19 in Rf_eval (e=0xa60d74c, rho=0x9a9a720) at eval.c:507 #15 0xb7e31a00 in Rf_ReplIteration (rho=0x9a9a720, savestack=0, browselevel=0, state=0xbfa589a8) at main.c:257 #16 0xb7e31ddc in run_Rmainloop () at main.c:306 #17 0xb7e31e1c in Rf_mainloop () at main.c:974 #18 0x08048776 in main (ac=1, av=0xb805b668) at Rmain.c:35 #19 0xb7be8450 in __libc_start_main () from /lib/i686/cmov/libc.so.6 #20 0x08048691 in _start () To reproduce ?wget http://nn7.de/debugging/shogun-0.6.1+svn2882.tar.bz2 tar x...
2018 Aug 06
2
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
...al (e=e at entry=0x1d45828, rho=rho at entry=0x15a3370) at eval.c:747 #11 0x6ca11170 in Rf_ReplIteration (rho=0x15a3370, savestack=0, browselevel=0, state=0x142edec) at main.c:258 #12 0x6ca11567 in R_ReplConsole (rho=<optimized out>, savestack=0, browselevel=0) at main.c:308 #13 0x6ca11604 in run_Rmainloop () at main.c:1082 #14 0x6ca11700 in Rf_mainloop () at main.c:1089 #15 0x00401836 in AppMain (argc=1, argv=0x15c16f8) at rterm.c:86 #16 0x00401649 in WinMain at 16 (Instance=0x400000, PrevInstance=0x0, CmdLine=0x1904797 "", CmdShow=10) at graphappmain.c:23 #17 0x00402a8d in main () An...
2008 Oct 03
1
Memory crash
...al (e=0x1e05ff8, rho=0x959c18) at eval.c:507 #20 0x0000000000416b95 in Rf_ReplIteration (rho=0x959c18, savestack=0, browselevel=0, state=0x7fffca277fa0) at main.c:257 #21 0x0000000000416e60 in R_ReplConsole (rho=0x959c18, savestack=0, browselevel=0) at main.c:306 #22 0x0000000000417140 in run_Rmainloop () at main.c:967 #23 0x0000000000414c08 in main (ac=<value optimized out>, av=<value optimized out>) at Rmain.c:35 #24 0x00007f10c116a1c4 in __libc_start_main () from /lib/libc.so.6 #25 0x0000000000414b29 in _start () -- G?ran Brostr?m phone: 46 90 786 5223; 46 705...
2003 Feb 06
1
rdbi segmentation fault (fwd)
...013c in Rf_PrintValueEnv (s=0x8b50cd0, env=0x81e6f68) at print.c:662 #7 0x080b5597 in Rf_ReplIteration (rho=0x81e6f68, savestack=0, browselevel=0, state=0xbffff550) at main.c:236 #8 0x080b56ad in R_ReplConsole (rho=0x81e6f68, savestack=0, browselevel=0) at main.c:280 #9 0x080b5d4b in run_Rmainloop () at main.c:579 #10 0x0811570e in main (ac=1, av=0xbffffa34) at system.c:99 #11 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6 thanks, rafael MESSGAGE from archive: I've not seen this behavior. Try "R -d gdb" and then type "run" at the gdb prompt. Run your...