Bug 769421

Summary: NPTL issues with 2.14.90-25 - mostly pulseaudio but others as well
Product: [Fedora] Fedora Reporter: Valdis Kletnieks <valdis.kletnieks>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, jakub, kazuro.hozono, law, usdanskys
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-02 18:22:28 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:

Description Valdis Kletnieks 2011-12-20 18:58:28 UTC
Description of problem:
After installing 2.14.89025, I was seeing lots of weird issues - programs trying to talk to pulseaudio would hang, firefox was wedged and flickering the X cursor between 2 different cursors, some other weird stuff.

Caught this in gdb of /usr/bin/pidgin hung during startup:

(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:145
145             movl    $1, %r8d
(gdb) where
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:145
#1  0x00007f8d189f7740 in pa_threaded_mainloop_wait (m=0x7f8d1c27d650) at pulse/thread-mainloop.c:206
#2  0x00007f8d18c16cbc in ?? () from /usr/lib64/gstreamer-0.10/libgstpulse.so
#3  0x00007f8d18c180aa in ?? () from /usr/lib64/gstreamer-0.10/libgstpulse.so
#4  0x00000034bbc070f1 in ?? () from /usr/lib64/libgstaudio-0.10.so.0
#5  0x00000034bbc09cc0 in gst_ring_buffer_pause () from /usr/lib64/libgstaudio-0.10.so.0
#6  0x00000034bbc12c8a in ?? () from /usr/lib64/libgstaudio-0.10.so.0
#7  0x00007f8d18c195a9 in ?? () from /usr/lib64/gstreamer-0.10/libgstpulse.so
#8  0x00000034b8c41d4c in gst_element_change_state () from /usr/lib64/libgstreamer-0.10.so.0

Reverting to 2.14.90-23 and everything started working normally again - pidgin, pulseaudio, firefox, etc.

Am willing to add instrumentation and re-test if somebody tells me what they want tried.


Version-Release number of selected component (if applicable):
glibc-2.14.90-25.fc17

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Kazuro Hozono 2011-12-22 00:10:08 UTC
I had similar weird behaviors of applications in F16 (x86_64) after I installed glibc-2.14.90-24.fc16.3. I googled and found (in Bug#651899 in Debian) my problem might be related to glibc-rh552960.patch had been introduced in 2.14.90-24.fc16.x. I locally build glibc-2.14.90-24.fc16.3 without the patch then everything have been working fine for two days. I found the patch has been merged into glibc-2.14.90-25.fc17 tarball. 

Regards,

Comment 2 Valdis Kletnieks 2011-12-22 02:53:30 UTC
Kazuro: Thank you for digging further into this, and confirming I'm not crazy (or at least, not hallucinating this particular bug ;)

Comment 3 Valdis Kletnieks 2011-12-29 22:40:34 UTC
Got around to testing 2.14.90-26, which contained this:

  - Revert "fix" to pthread_cond_wait (#769421)

and it does appear to be working correctly on my box again.  Thanks..

Comment 4 Jeff Law 2012-01-02 18:21:03 UTC
*** Bug 769600 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Law 2012-01-02 18:22:28 UTC
Should be fixed by either 2.15-1.fc17 or 2.14.90-26.fc17 (both revert the problematical pthread_cond_wait patch).

Comment 6 Fedora Update System 2012-02-14 03:53:36 UTC
glibc-2.14.90-24.fc16.5 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/glibc-2.14.90-24.fc16.5