Maxim,

I had a similar problem - the destructors associated with thread
specific storage are not called in the RH 9 pthread library either.

You can work around this by linking against the pthread and libc
libraries in /lib or /lib/i686, which seem to work. Unfortunately, the
only way I could do this was to change the perms on the libraries in
/lib/tls so that the linker couldn't read them.

Regards

Tom

-----Original Message-----
From: Maxim Koshelev +AFs-mailto:chuchelo+AEA-krasu.ru+AF0- 
Sent: 17 June 2003 06:09
To: redhat-devel-list+AEA-redhat.com
Subject: threads problems in RedHat9+-updates


---INTERNET EMAIL NOTIFICATION---
   This email originates from the Internet and therefore may not be from
the apparent sender. Please check any attachments carefully before
opening them as they may not be as they appear. 
If you have any doubts about the origin or content of the email please
contact PC Support on x2288.
---

Hi there,

It seems to me that pthread+AF8-cleanup+AF8-(pop+AHw-push) routines are broken in
RH9. My multithreaded application works well only if I comment out all 
'pthread+AF8-cleanup+AF8-' strings in my program.
In most cases using pthread+AF8-cleanup+AF8- routines lead to:
(gdb bt):
+ACM-1  0x4002fea9 in +AF8AXw-pthread+AF8-cleanup+AF8-upto () from
/lib/tls/libpthread.so.0 +ACM-2  0x42027431 in +AF8-longjmp+AF8-unwind () from
/lib/tls/libc.so.6 +ACM-3  0x4202739c in siglongjmp () from
/lib/tls/libc.so.6 +ACM-4  0x4002ce62 in pthread+AF8-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+AF8-cleanup+AF8- routines?

Thanks in advice for any explanation.
Maxim.



+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXw-
Redhat-devel-list mailing list
Redhat-devel-list+AEA-redhat.com
https://www.redhat.com/mailman/listinfo/redhat-devel-list



-----------------------------------------------------------------------
The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary 
companies.
-----------------------------------------------------------------------


_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to