Displaying 3 results from an estimated 3 matches for "r_signalcstackoverflow".
2015 Aug 20
2
Child thread libR.so
So I'm working on a custom front end to R, in one mode of the front
end I dynamically load libR.so into a child worker thread. I'm very
careful to make sure it is loaded by a single thread and loaded only
once, but since it is a child thread it violates assumptions made by
the stack size checking inside of R and I get innumerable errors along
the lines of
Error: C stack usage
2015 Aug 24
0
Child thread libR.so
...ith GDB and confirmed that the advice of
setting R_CStackLimit after init, which is echoed in the "threading
issues" section of the R-exts help document, isn't entirely useful
because init apparently loads the main package which trips over the
broken stack checking.
Stack trace:
#0 R_SignalCStackOverflow (usage=140732197147604) at errors.c:81
#1 0x00002aaaab0625b7 in Rf_eval (e=0x1b7592a8, rho=0x1b753960) at eval.c:545
#2 0x00002aaaab0871ca in R_ReplFile (fp=0x1b69a830, rho=0x1b753960)
at main.c:98
#3 0x00002aaaab087a27 in setup_Rmainloop () at main.c:861
#4 0x00002aaaab14a98b in Rf_initEmbedde...
2015 Aug 25
0
Child thread libR.so
...t after init, which is echoed in the "threading
>> issues" section of the R-exts help document, isn't entirely useful
>> because init apparently loads the main package which trips over the
>> broken stack checking.
>>
>> Stack trace:
>>
>> #0 R_SignalCStackOverflow (usage=140732197147604) at errors.c:81
>> #1 0x00002aaaab0625b7 in Rf_eval (e=0x1b7592a8, rho=0x1b753960) at eval.c:545
>> #2 0x00002aaaab0871ca in R_ReplFile (fp=0x1b69a830, rho=0x1b753960)
>> at main.c:98
>> #3 0x00002aaaab087a27 in setup_Rmainloop () at main.c:861
>...