Bug 89601
Summary: | Problems with threading when LD_ASSUME_KERNEL=2.4.20 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Terje Røsten <terje.rosten> | ||||
Component: | python | Assignee: | Mihai Ibanescu <mihai.ibanescu> | ||||
Status: | CLOSED CANTFIX | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-09-30 17:58:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Terje Røsten
2003-04-24 20:57:18 UTC
Created attachment 91284 [details]
python test script to illustrate the problem
Can you please get the latest kernel and glibc packages (issued as errata for Red Hat 9) and check to see if the problem is still there? OK - thanks for the hint. I have tried these combinations: glibc kernel status -------------------------------------- [On RH 9] 2.3.2-27.9 2.4.20-9 failed 2.3.2.27.9 2.4.20-1.1976 ok [On RH Rawhide] 2.3.2-33.9 2.4.20-9 failed 2.3.2-33.9 2.4.20-1.1976 ok 2.3.2-33.9 2.5.66 failed 2.3.2-33.9 2.5.68-bk-current failed 2.3.2-33.9 2.4.21-pre3-ac4 ok Seems in fact to be a kernel issue!? Looks like it. When you set LD_ASSUME_KERNEL you are using the old-style threads as opposed to NPTL; I know there were some bugs related to NPTL that were fixed, or about to be fixed. Yes, I known about the LD_ASSUME_KERNEL variable. When set to 2.4.20 or newer NPTL is used. From changelog in glibc.spec: * Thu Feb 13 2003 Jakub Jelinek <jakub> 2.3.1-45 - update from CVS - include also linuxthreads FLOATING_STACKS libs on i686 and athlon: LD_ASSUME_KERNEL=2.2.5 to LD_ASSUME_KERNEL=2.4.0 is non-FLOATING_STACKS lt, LD_ASSUME_KERNEL=2.4.1 to LD_ASSUME_KERNEL=2.4.19 is FLOATING_STACKS lt, later is NPTL (I guess this information is still valid?) I will test new glibc and/or kernel packages when they are released. I just tried the new Python-2.3 tarball from www.python.org and now it works with NPTL enabled. Versions are: $ rpm -q glibc kernel glibc-2.3.2-27.9 kernel-2.4.20-20.9 I built Python on the same system. With python-2.2.2-26 it is no working. So now I want python-2.3 in Red Hat Linux asap. Fedora ships with python 2.3.3 now. I'd be curious to know though if it still happens with the latest kernel packages for Red Hat Linux 9. Yes, it does. Same problem with 2.4.20-30.9 kernel. Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received the feedback we requested, we will assume the problem was not reproduceable or has been fixed in a later update for this product. |