From murdoch@stats.uwo.ca  Thu Jun 13 14:28:36 2002
From: murdoch@stats.uwo.ca (Duncan Murdoch)
Date: Thu, 13 Jun 2002 09:28:36 -0400
Subject: [R] help debugging segfaults
In-Reply-To: <51F9C42DA15CD311BD220008C707D81906FFC35C@usrymx10.merck.com>
References: <51F9C42DA15CD311BD220008C707D81906FFC35C@usrymx10.merck.com>
Message-ID: <kb7hguot6ics8pl88gjeschevf8ceckvn8@4ax.com>

On Thu, 13 Jun 2002 08:38:32 -0400, you wrote in message
<51F9C42DA15CD311BD220008C707D81906FFC35C@usrymx10.merck.com>:

>Hi all,
>
>Thanks to Prof. Ripley, Prof. Gentleman, and Simon Wood (did I miss
>anyone?).  The problem seemed to have gone away.
>
>Everyone suggested using some malloc debugger (such as Electric Fence).  All
>I did was following half of what BDR suggested below, i.e., changing all the
>S_alloc() calls to Calloc() and Free().  I didn't get to try efence, and the
>problem seems to have disappeared!

In my experience, that's not such good news.  The bug is probably
still there, it just doesn't have obvious symptoms in the tests you're
using.  I'd still recommend using the malloc debugger to try to track
it down.

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] help debugging segfaults
Duncan Murdoch