On Tue, 14 Jul 2009, Tim Jenness wrote: > On Wed, 15 Jul 2009, Peter W. Draper wrote: > > > On Wed, 15 Jul 2009, Mark Taylor wrote: > > > >> On Tue, 14 Jul 2009, Tim Jenness wrote: > >> > >>> JNIAST doesn't work at all for me on OSX 64-bit. > >>> > >>> java.lang.Error: pthread_setspecific error 22 > >>> at uk.ac.starlink.ast.UnitMap.construct(Native Method) > >>> at uk.ac.starlink.ast.UnitMap.<init>(UnitMap.java:46) > >>> at uk.ac.starlink.ast.AstPackage.isAvailable(AstPackage.java:36) > >>> at uk.ac.starlink.splat.ast.ASTJ.isAvailable(ASTJ.java:126) > >>> > >>> were we expecting that? This is from rebuilt JNIAST library. The previous > >>> build from 3 months ago worked fine. > >> > >> Hmm. Peter, are you in a position to look at this? I think I can > >> dredge up a 64-bit OSX system if required, but it doesn't have a > >> git starlink build on it and I don't much relish doing one from > >> scratch. > > > > Yes, I'm looking at this now (and typing this on a borrowed Mac). I don't > > see the same error as Tim -- assuming the above is from the "ant test" > > target of jniast: > > > > [junit] Testsuite: uk.ac.starlink.ast.FitsChanTest > > [junit] Invalid memory access of location 0x20 rip=0x111d806d9 > > [junit] > > > > which points at the area you were looking at recently. I'll re-check my > > sources are up to date and try kicking the tyres some more. > > > > in 64-bit mode? Using a completely fresh ant build-native and current > libast? [the one in svn for x86_64 is from a few months back]. Yes to all. Just updated, cleaned and rebuilt everything (well AST, JNIAST and STARJAVA, no need to do the whole git tree). > you can log on to poma at JAC I think. Thanks, last time I tried that it seemed to be offline. I'll have a play on that next. BTW, just ran up SPLAT with this new JNIAST library and that seems to work. Peter.