[411] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

[Pthread] beta5 on IRIX 5.3

daemon@ATHENA.MIT.EDU (Chee Weng)
Thu Sep 12 06:29:10 1996

From: Chee Weng <cheeweng@nsrc.nus.sg>
To: pthreads-bugs@MIT.EDU, pthreads@MIT.EDU
Date: Thu, 12 Sep 1996 17:53:01 +0800 (SGT)

Hi,

Anyone out there has experience building pthread for the
SGI IRIX 5.3? I am not sure if there is a successful build
as the examples in the tests fails...

Here is the info:
-----------------
Version : pthread beta 5
Machine : SGI IRIX 5.3 with gcc 2.7.2.
In the directory tests,
2 test program fails:

There are the tests that failed

% test_pw                     <---- No idea why it failed
getpwuid(1119) died!

%p_bench_pthread_create
Bus error (core dumped)

Trace says:
Starting program: /usr/local/public/parallel/pthreads-1_60_beta5/tests/p_bench_pthread_create 

Program received signal SIGSEGV, Segmentation fault.
0x405ca4 in __machdep_pthread_create (machdep_pthread=0x100083c4, 
    start_routine=0, start_argument=0x0, stack_size=65536, nsec=100000000, 
    flags=0) at machdep.c:132
machdep.c:132: No such file or directory.

Anyway line 132 is (within __machdep_pthread_create)

   memcpy((void *)machdep_pthread->machdep_state[JB_SP],
         (char *)(((int)&i) - 24), 32);




home help back first fref pref prev next nref lref last post