Displaying 2 results from an estimated 2 matches for "compactphase".
1999 Nov 26
1
memory.profile() messes up the vector heap on Alpha/Linux?
...lts in seg faults. It doesn't
seg-fault on Linux/intel.
> memory.profile()
> gc()
As long as I don't execute memory.profile(), there is no problem with
garbage collection. So I think that memory.profile() screws up the
heap in some way.
When it seg-faults, it dies in the function compactPhase() in memory.c,
while (vfrom < R_VTop) {
s = BACKPOINTER(*vfrom);
switch (TYPEOF(s)) { /* get size in bytes */ /* <- dies here */
it segfaults becuase s becomes a pointer to 0x0, when the while loop is
almost finishing, i.e., vfrom is close to R_VTop (vfrom = 0x200018...
1999 May 12
1
Memory crash. (PR#194)
...e.
Reading symbols from /lib/ld-linux.so.1...done.
Reading symbols from /usr/local/src/R-0.64.1/library/rmutil/libs/rmutil.so...done.
Reading symbols from /usr/local/src/R-0.64.1/library/mmdc33/libs/mmdc33.so...done.
Reading symbols from /usr/local/src/R-0.64.1/library/gnlm/libs/gnlm.so...done.
#0 compactPhase () at memory.c:599
599 switch (TYPEOF(s)) { /* get size in bytes */
(gdb) quit
Patrick.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help&qu...