#11193 HIGH 1.75-so: XO-1.75: Scratch & Etoys freeze when playing audio

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 17 13:49:19 EST 2011


#11193: XO-1.75: Scratch & Etoys freeze when playing audio
--------------------------------------+-------------------------------------
           Reporter:  bert            |       Owner:  saadia       
               Type:  defect          |      Status:  new          
           Priority:  high            |   Milestone:  1.75-software
          Component:  etoys-activity  |     Version:  1.75-B1      
         Resolution:                  |    Keywords:               
        Next_action:  diagnose        |    Verified:  0            
Deployment_affected:                  |   Blockedby:  10831        
           Blocking:  11454           |  
--------------------------------------+-------------------------------------
Changes (by saadia):

 * cc: corbet at lwn.net (added)


Comment:

 I usually reproduce it in Scratch, by clicking the Sound toolbox, and then
 "play sound (meow)".
 The snd_pcm_writei error appears in
 ~olpc/.sugar/default/logs/edu.mit.media.ScratchActivity-1.log

 I tried debugging this in sound/core/pcm_native.c. At one point (after
 turning on the RULES_DEBUG flag in that file) I thought it had to do with
 the RATE hw param but I'm not sure.

 The code from the Squeak sound driver that is making the snd_pcm_write_i
 is here:
 http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/unix/vm-sound-
 ALSA/sqUnixSoundALSA.c?rev=2168&view=auto

-- 
Ticket URL: <http://dev.laptop.org/ticket/11193#comment:9>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list