[pulseaudio-tickets] [PulseAudio] #839: Sink wrongly unloaded or not reloaded

PulseAudio trac-noreply at tango.0pointer.de
Sun Jul 11 03:54:36 PDT 2010


#839: Sink wrongly unloaded or not reloaded
------------------------+---------------------------------------------------
  Reporter:  mcarans    |       Owner:  lennart      
      Type:  defect     |      Status:  closed       
 Milestone:             |   Component:  module-alsa-*
Resolution:  elsewhere  |    Keywords:               
------------------------+---------------------------------------------------

Comment(by mcarans):

 That unfortunately caused a seg fault:
 D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=1698,
 base=1, prebuf=1478, minreq=221 maxrewind=0
 I: protocol-native.c: Final latency 250.01 ms = 113.92 ms + 2*20.05 ms +
 96.00 ms
 D: core-subscribe.c: Dropped redundant event due to change event.
 D: module-suspend-on-idle.c: Sink SPDIF becomes idle, timeout in 5
 seconds.
 D: alsa-sink.c: Requested to rewind 55296 bytes.
 D: alsa-sink.c: Limited to 55272 bytes.
 D: alsa-sink.c: before: 4606
 Segmentation fault

 I tried doing something along the lines of:
         size_t max_rewind = PA_MIN(u->hwbuf_size,
 snd_pcm_rewindable(u->pcm_handle));
         pa_sink_set_max_rewind(u->sink, max_rewind);

 But u->pcm_handle is not populated at that stage as far as I can tell.

-- 
Ticket URL: <http://pulseaudio.org/ticket/839#comment:7>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list