Hi all!

My First Come First Served Readers/Writers Lock worked perfectly on the older 
systems that I run it on, but now its test program gets a deadlock of some 
sort, apparently with some stack corruption. To reproduce:

1. Fetch:

http://vipe.technion.ac.il/~shlomif/rwlock/pthread_rwlock_fcfs-0.4.0.tar.gz

2. In the directory type:

/configure --prefix=$HOME/apps/test/fcfs-rwlock --enable-debug-rwlock

3. Type "make" and "make install".

4. Now you can reproduce the problem by running "./test_rwlock", or debug it 
using "gdb .libs/test_rwlock"

----------

I can reproduce the problem on Mandriva 2006 (P4-2.4GHz). Can anyone tell me 
what is wrong? valgrind reports some memory errors inside the pthread_ 
library calls.

Regards,

        Shlomi Fish

---------------------------------------------------------------------
Shlomi Fish      [EMAIL PROTECTED]
Homepage:        http://www.shlomifish.org/

95% of the programmers consider 95% of the code they did not write, in the
bottom 5%.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to