[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-audio-dev
Subject:    RE: [Audio-dev] CN-Client: Fixing bug #9770: Crash occasionally
From:       Leina Tani <ltani () real ! com>
Date:       2009-12-15 19:01:52
Message-ID: 766B5A29D28DA442AB229AAEE2AFC44507D7D58F41 () SEAMBX ! corp ! real ! com
[Download RAW message or body]

Please also check into 347Atlas.

Thanks,
-leina

-----Original Message-----
From: audio-dev-bounces@helixcommunity.org \
                [mailto:audio-dev-bounces@helixcommunity.org] On Behalf Of Daniel Yek
Sent: Tuesday, December 15, 2009 10:52 AM
To: audio-dev@helixcommunity.org
Subject: [Audio-dev] CN-Client: Fixing bug #9770: Crash occasionally when seeking \
audio / pa_stream_flush() not locking mainloop.

This is now checked into 310Atlas and 3_4_10Atlas.

-- 
Daniel Yek.



Gregory Wright wrote:
> Looks good.
> --greg.
> 
> On Dec 14, 2009, at 5:35 PM, Daniel Yek wrote:
> 
> > Modified by: dyek@real.com
> > Date: 11/19/2009
> > Project: RealPlayer for Netbook
> > 
> > Synopsis:
> > Fixing bug #9770: Crash occasionally when seeking audio content.
> > It was caused by pa_stream_flush() calls without locking mainloop.
> > 
> > Overview:
> > Intel noticed that RealPlayer's PulseAudio support
> > crash occassionally (reported as a probably "random" 10%).
> > 
> > It was found to be repro-able by clicking the timeline bar
> > as quickly as possible for about 2 minutes or more.
> > 
> > This turned out to be a real bug with:
> > pa_stream_flush()
> > called from outside PulseAudio (equivalently Helix audio) thread during:
> > CAudioOutLinuxPA::_Reset()
> > calls.
> > 
> > pa_stream_flush() was added last in the PulseAudio implementation
> > to make seek performance really good,
> > but I must have not gone through the file one more time
> > making sure that all "outside" PulseAudio function calls were made
> > with PulseAudio mainloop locking.
> > 
> > (It is the second bug reported by customer
> > with the new PulseAudio implementation.
> > This is the first bug that was found by the customer
> > that I wasn't aware of.)
> > 
> > This change simply add mainloop locking before calling:
> > pa_stream_flush().
> > 
> > 
> > Files Modified:
> > audio/device/platform/unix/audlinux_pulseaudio.cpp
> > 
> > 
> > Image Size and Heap Use impact (Client -Only):
> > None.
> > 
> > Platforms and Profiles Affected:
> > Linux
> > 
> > Distribution Libraries Affected:
> > None.
> > 
> > Distribution library impact and planned action:
> > None.
> > 
> > Platforms and Profiles Build Verified:
> > Profile: helix_client_moblin
> > Platform: linux-2.2-libc6-gcc32-i586
> > 
> > Platforms and Profiles Functionality verified:
> > Profile: helix_client_moblin
> > Platform: linux-2.2-libc6-gcc32-i586
> > 
> > Branch: 310Atlas, 3_4_10Atlas.
> > 
> > Copyright assignment: I am a RealNetworks employee.
> > 
> > -- 
> > Daniel Yek.

_______________________________________________
Audio-dev mailing list
Audio-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

_______________________________________________
Audio-dev mailing list
Audio-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/audio-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic