It seems to me that pthread_cleanup_(pop|push) routines are broken in RH9.
My multithreaded application works well only if I comment out all 'pthread_cleanup_' strings in my program.
In most cases using pthread_cleanup_ routines lead to:
(gdb bt):
#1 0x4002fea9 in __pthread_cleanup_upto () from /lib/tls/libpthread.so.0
#2 0x42027431 in _longjmp_unwind () from /lib/tls/libc.so.6
#3 0x4202739c in siglongjmp () from /lib/tls/libc.so.6
#4 0x4002ce62 in pthread_exit () from /lib/tls/libpthread.so.0
Segmentation fault at exiting from thread.
There is any fix for it? Or something was changed in RH9 about pthread_cleanup_ routines?
Thanks in advice for any explanation. Maxim.
_______________________________________________ Redhat-devel-list mailing list Redhat-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/redhat-devel-list