Issue #1342 has been updated by Graham Agnew. OK, so the problem with Segmentation faults was related to the previous changes I had made to use getcontext/setcontext instead of setjmp/lonjmp; it was causing Fibers to fail for one thing, and who knows what else. Once I reverted back to setjmp/lonjmp all but one of the tests pass. The failing test is as per ticket #1341 - I haven't looked into that much just yet... *** orig/ruby-1.9.1-p0/thread_pthread.c Tue Jan 20 09:53:14 2009 --- ruby-1.9.1-p0/thread_pthread.c Wed Apr 8 13:53:08 2009 *************** *** 17,22 **** --- 17,27 ---- #include <sys/resource.h> #endif + #ifdef __hpux + #undef PTHREAD_STACK_MIN + #define PTHREAD_STACK_MIN 0x80000 + #endif + static void native_mutex_lock(pthread_mutex_t *lock); static void native_mutex_unlock(pthread_mutex_t *lock); static int native_mutex_trylock(pthread_mutex_t *lock); ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1342 ---------------------------------------- http://redmine.ruby-lang.org