Re: [Rd] segfault following a detach

2005-12-09 Thread Byron Ellis
That sounds like your C function is smashing some of the header information in a chunk of memory somewhere past res2 so that cleanup during quit fails. On Dec 9, 2005, at 4:28 PM, Izmirlian, Grant (NIH/NCI) [E] wrote: > Jim: > > This reminds me of problems I've had before, but usually they oc

[Rd] segfault following a detach

2005-12-09 Thread Izmirlian, Grant \(NIH/NCI\) [E]
Jim: This reminds me of problems I've had before, but usually they occur when I quit R i.e. q(), because when testing and developing I can't remember actually detaching a package. I can however think of countless times I get a segmentation fault upon quiting R. Usually this boils down to a hid

Re: [Rd] segfault following a detach

2005-12-09 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim, Can you send me a copy of the package and an R script that causes the problem and I'll take a look at it. D. James Bullard wrote: > Hello, first off, thanks for all of the previous help; hopefully someone > will have some insight on this

[Rd] segfault following a detach

2005-12-09 Thread James Bullard
Hello, first off, thanks for all of the previous help; hopefully someone will have some insight on this question. I am attempting to track down a segmentation fault which occurs only after a detach(2) is called in the code (I have replaced the detach(2) with detach(package:DSA) and that fails a