Displaying 7 results from an estimated 7 matches for "cptrtorobj".
2002 Jun 12
3
help debugging segfaults
...info.allArgs = args;
1851 info.nargs = nargs;
1852 info.functionName = buf;
1853 nargs = 0;
1854 for (pargs = args ; pargs != R_NilValue ; pargs =
CDR(pargs)) {
1855 if(argConverters[nargs]) {
1864 PROTECT(s = CPtrToRObj(cargs[nargs], CAR(pargs),
which));
Program received signal SIGSEGV, Segmentation fault.
0x080ddc6a in RunGenCollect (size_needed=1515400) at memory.c:1133
1133 SEXP next = NEXT_NODE(s);
This is obtained on Linux (Mandrake 8.2 w/enterprise kernel 2.4.8) running
on dual P3-866 Xe...
2002 Jun 12
3
help debugging segfaults
...info.allArgs = args;
1851 info.nargs = nargs;
1852 info.functionName = buf;
1853 nargs = 0;
1854 for (pargs = args ; pargs != R_NilValue ; pargs =
CDR(pargs)) {
1855 if(argConverters[nargs]) {
1864 PROTECT(s = CPtrToRObj(cargs[nargs], CAR(pargs),
which));
Program received signal SIGSEGV, Segmentation fault.
0x080ddc6a in RunGenCollect (size_needed=1515400) at memory.c:1133
1133 SEXP next = NEXT_NODE(s);
This is obtained on Linux (Mandrake 8.2 w/enterprise kernel 2.4.8) running
on dual P3-866 Xe...
2002 Nov 11
2
R 1.6.1: help with debugging error in RunGenCollect(), R_gc_internal
...entation fault.
0xffffffdc in ?? ()
(gdb) where
#0 0xffffffdc in ?? ()
#1 0x080bcae7 in RunGenCollect (size_needed=6777) at memory.c:1286
#2 0x080bdaa0 in R_gc_internal (size_needed=6777) at memory.c:1859
#3 0x080bd729 in Rf_allocVector (type=13, length=13554) at memory.c:1722
#4 0x08090a71 in CPtrToRObj (p=0x98db958, arg=0x98b29f8, Fort=1, type=13)
at dotcode.c:209
#5 0x080933cb in do_dotCode (call=0x89f3880, op=0x8222154, args=0x833b380,
env=0x8346e90) at dotcode.c:1907
#6 0x080a035d in Rf_eval (e=0x89f3880, rho=0x8346e90) at eval.c:427
#7 0x080a195a in do_set (call=0x89f390c, op=0x82...
2002 Jun 18
1
can't find array overruns (was: help debugging segfaults)
...t; 1851 info.nargs = nargs;
> 1852 info.functionName = buf;
> 1853 nargs = 0;
> 1854 for (pargs = args ; pargs != R_NilValue ; pargs =
> CDR(pargs)) {
> 1855 if(argConverters[nargs]) {
> 1864 PROTECT(s = CPtrToRObj(cargs[nargs],
> CAR(pargs),
> which));
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x080ddc6a in RunGenCollect (size_needed=1515400) at memory.c:1133
> 1133 SEXP next = NEXT_NODE(s);
>
> This is obtained on Linux (Mandrake 8.2 w/enterpris...
2005 May 12
0
Patch to address (PR#7853) -- tested briefly, seems to
...r *) R_alloc(n, sizeof(unsigned char));
> + for (i = 0; i < n; i++)
> + rawptr[i] = RAW(s)[i];
> + }
> + return (void *) rawptr;
> + break;
> case LGLSXP:
> case INTSXP:
> n = LENGTH(s);
> @@ -329,6 +340,7 @@
>
> static SEXP CPtrToRObj(void *p, SEXP arg, int Fort,
> R_NativePrimitiveArgType type)
> {
> + unsigned char *rawptr;
> int *iptr, n=length(arg);
> float *sptr;
> double *rptr;
> @@ -339,6 +351,12 @@
> SEXP s, t;
>
> switch(type) {
> + case RAWSXP:
> + s = al...
2001 Jan 23
0
1.2.1 segfault
...7111c in RunGenCollect (size_needed=2) at memory.c:1027
1027 FORWARD_CHILDREN(s);
(gdb) bt
#0 0x7111c in RunGenCollect (size_needed=2) at memory.c:1027
#1 0x731c8 in R_gc_internal (size_needed=2) at memory.c:1670
#2 0x72dbc in Rf_allocVector (type=13, length=4) at memory.c:1542
#3 0x48794 in CPtrToRObj (p=0xd9fb78, arg=0xd9f208, Fort=1) at dotcode.c:180
#4 0x511d0 in do_dotCode (call=0x8ad148, op=0xd9f668, args=0xda163c,
env=0xd9da48) at dotcode.c:1778
#5 0x56c44 in Rf_eval (e=0x3a9fb8, rho=0xd9da48) at eval.c:340
#6 0x58f18 in Rf_DispatchOrEval (call=0x3a94d0, generic=0x1632e8 "[&quo...
2002 Jun 13
3
[R] help debugging segfaults
...s;
> > 1852 info.functionName = buf;
> > 1853 nargs = 0;
> > 1854 for (pargs = args ; pargs != R_NilValue ; pargs =
> > CDR(pargs)) {
> > 1855 if(argConverters[nargs]) {
> > 1864 PROTECT(s =
> CPtrToRObj(cargs[nargs], CAR(pargs),
> > which));
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x080ddc6a in RunGenCollect (size_needed=1515400) at memory.c:1133
> > 1133 SEXP next = NEXT_NODE(s);
> >
> > This is obtained on Linu...