Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

diagnosing jags crashes

Help
2012-03-30
2012-09-01
  • Jack Tanner
    Jack Tanner
    2012-03-30

    In the last few days, I've been bitten by JAGS crashing, usually taking R down
    with it. The models aren't enormous, and this happens both in 32-bit and
    64-bit R/JAGS. Unfortunately, I haven't been able to reproduce this
    consistently.

    Martyn, is there a way to run JAGS from R in a way that captures a dump or
    other information that would be useful for you for debugging? This is on
    Windows.

     
  • Tim Handley
    Tim Handley
    2012-04-02

    The only time I've crashed JAGS/R in Windows was by asking for too much
    memory. This generally had more to do with monitoring many nodes for many
    iterations, rather than the total number of nodes in the model. However, my
    experience is that too-much-memory crashes were reproducible, so that may not
    be what is going on with you. Just out of curiosity, was there any sort of
    error message? What did it say?

     
  • Jack Tanner
    Jack Tanner
    2012-04-02

    Nope, no error message, and not an out-of-memory issue. Just a very unhappy R
    process. Useless answer, I know.

     
  • Martyn Plummer
    Martyn Plummer
    2012-04-05

    If you send me your programs and data confidentially I will debug it under
    Linux. There are a number of powerful tools that can be used (dbx, valgrind).