RE: [Rd] R-beta 2004-04-07 build failed on AIX

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Fri 08 Apr 2005 - 19:51:06 GMT


> From: pd@pubhealth.ku.dk
>
> "Liaw, Andy" <andy_liaw@merck.com> writes:
>
> > OK, after re-building R with the debug flags, I don't think
> I'm getting
> > anything useful. GDB gives me:
> >
> > gdb) run --vanilla < /ltmp/try.R
> > Starting program: /SFS/user/ry/liawand/R/Rbuild/bin/exec/R
> --vanilla <
> > /ltmp/try.R
>
> Nothing in here??

Nada.   

> > Error: [tcsetpgrp failed in terminal_inferior: Not owner]
> > aix-thread resume: unknown pthread 19
> > aix-thread: fetch_registers: pthdb_pthread_context returned CALLBACK
> >
> > (gdb) bt
> > Error: aix-thread: fetch_registers: pthdb_pthread_context
> returned CALLBACK
> >
> > and:
> >
> > Unable to Read Instructions at 0x90000000018c6d4
> >
> > Anyone know what these means?
>
> Not really, but a couple of thoughts:
>
> 1) Why are threads involved? Multi-threaded blas? Can you build
> without one?

No, it's using R's internal BLAS. I see that -lpthread is in FLIBS defined in Makeconf, so it was the Fortran compiler that wanted it.  

> 2) If you blew away the stack, the object is to get to the point just
> before it happened, which means checkpoints, single-stepping and
> general attempts to bisect the path leading to the point of
> failure. Can you read the gc_count variable after the crash? It is
> sometimes useful to conditionalize breakpoints (cond 1
> gc_count==1234 etc.)

I'll keep tryin'...

Thanks!
Andy  

> --
> O__ ---- Peter Dalgaard Blegdamsvej 3
> c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
> (*) \(*) -- University of Copenhagen Denmark Ph:
> (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX:
> (+45) 35327907
>
>
>



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Apr 09 05:56:16 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:26:35 GMT