search for: do_detach

Displaying 2 results from an estimated 2 matches for "do_detach".

Did you mean: no_detach
2005 Dec 09
2
segfault following a detach
...It has proved difficult to track down (at least for me) because it does not happen when the call is made, detach returns and then some seconds (~ 30 seconds - 1 minute) later a segmentation fault occurrs. I have run it in the debugger and the backtrace is below. When I step through the code of do_detach it does not appear to be happening at any consistent location. I assume this means that some worker thread is involved, but the bactrace is not helpful (at least to me). 1.) Can I improve the backtrace message after the segfault to increase message potential. 2.) Can I set some breakpoints else...
2002 Jan 17
1
detach(package:base) kills R (PR#1271)
...ess violation on Windows. I guess the same will happen on any platform. Obviously this is a not a sensible command to execute but you could easily do it by accident particularly if using the pos parameter to detach and getting it wrong. It seems to me that an obvious fix is to report an error in do_detach in envir.c if the base package is the one which the caller is attempting to detach. As a related issue it seems bad that when R crashes it doesn't give you a chance to save your workspace. In fact, why does an access violation have to cause termination? At the least the user should get a cha...