[pulseaudio-tickets] [PulseAudio] #225: Deadlock/crash in flashsupport closing stream

PulseAudio trac-noreply at tango.0pointer.de
Wed Jan 23 14:47:18 PST 2008


#225: Deadlock/crash in flashsupport closing stream
------------------------------+---------------------------------------------
  Reporter:  ed at catmur.co.uk  |       Owner:  lennart
      Type:  defect           |      Status:  new    
  Priority:  normal           |   Milestone:         
 Component:  daemon           |    Severity:  normal 
Resolution:                   |    Keywords:         
------------------------------+---------------------------------------------
Comment (by ed at catmur.co.uk):

 Some objects from thread 2 frame 5:
 (gdb) p *p
 $6 = {mainloop = 0xa230b88, context = 0x8d9fe58, stream = 0xdb9e200,
   buf = '\0' <repeats 4095 times>, thread_id = 2916174736, first = 0}
 (gdb) p *p->stream
 $7 = {_ref = {value = 2}, context = 0x8d9fe58, mainloop = 0xcded95c,
   next = 0x0, prev = 0x0, name = 0xa314780 "Flash Animation",
   manual_buffer_attr = false, buffer_attr = {maxlength = 132300,
     tlength = 88200, prebuf = 86436, minreq = 1764, fragsize = 1764},
   sample_spec = {format = PA_SAMPLE_S16LE, rate = 44100, channels = 2
 '\002'},
   channel_map = {channels = 2 '\002', map = {PA_CHANNEL_POSITION_LEFT,
       PA_CHANNEL_POSITION_RIGHT, -1220374306, 224746336,
       PA_CHANNEL_POSITION_LEFT, 148504152, -1322945312, -1322782732,
       148504152, -1378795464, -1322791485, 170068872,
       PA_CHANNEL_POSITION_MONO, -1322981429, PA_CHANNEL_POSITION_AUX12,
       -1378795436, 216280352, -1378795416, -1322803212, -1220376124,
       -1322803212, -1322846997, -1322803212, -1322802172, -1322883488,
       -1378795400, -1322846688, -1322802172, -1219660068, -1323018629,
       1462214644, -1219555340}}, flags = 10, channel = 0, syncid = 0,
   channel_valid = 1, stream_index = 2186, direction = PA_STREAM_PLAYBACK,
   state = PA_STREAM_READY, buffer_attr_not_ready = false,
   timing_info_not_ready = false, requested_bytes = 7192, device_index = 1,
   device_name = 0xc439a78 "alsa_output.pci_1039_7012_alsa_playback_0",
   suspended = false, peek_memchunk = {memblock = 0x0, index = 0, length =
 0},
   peek_data = 0x0, record_memblockq = 0x0, corked = 0, timing_info = {
     timestamp = {tv_sec = 1201045939, tv_usec = 162025},
     synchronized_clocks = 1, sink_usec = 91266, source_usec = 0,
     transport_usec = 252, playing = 1, write_index_corrupt = 0,
     write_index = 6694292, read_index_corrupt = 0, read_index = 6606092},
   timing_info_valid = 1, previous_time = 37354402, write_index_not_before
 = 0,
   read_index_not_before = 0, write_index_corrections = {{tag = 372, valid
 = 0,
       value = 0, absolute = 0, corrupt = 0}, {tag = 373, valid = 0, value
 = 0,
       absolute = 0, corrupt = 0}, {tag = 374, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 375, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 376, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 377, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 368, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 369, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 370, valid = 0, value = 0,
       absolute = 0, corrupt = 0}, {tag = 371, valid = 0, value = 0,
       absolute = 0, corrupt = 0}}, current_write_index_correction = 5,
   auto_timing_update_event = 0xaec0fd0, auto_timing_update_requested = 0,
   cached_time = 37260628, cached_time_valid = 0,
   state_callback = 0xb127cc90 <stream_state_cb>, state_userdata =
 0xb3542f8,
   read_callback = 0, read_userdata = 0x0,
   write_callback = 0xb127cbc0 <stream_request_cb>, write_userdata =
 0xb3542f8,
   overflow_callback = 0, overflow_userdata = 0x0, underflow_callback = 0,
   underflow_userdata = 0x0,
   latency_update_callback = 0xb127cb20 <stream_latency_update_cb>,
   latency_update_userdata = 0xb3542f8, moved_callback = 0,
   moved_userdata = 0x0, suspended_callback = 0, suspended_userdata = 0x0}
 (gdb) p p->stream->requested_bytes
 $8 = 7192

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/225#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list