[pulseaudio-tickets] [PulseAudio] #932: Skype crashes PA on startup

PulseAudio trac-noreply at tango.0pointer.de
Fri Apr 15 09:13:31 PDT 2011


#932: Skype crashes PA on startup
----------------------+-----------------------------------------------------
  Reporter:  frankqc  |       Owner:  lennart
      Type:  defect   |      Status:  new    
 Milestone:           |   Component:  daemon 
Resolution:           |    Keywords:         
----------------------+-----------------------------------------------------
Description changed by coling:

Old description:

> Starting Skype 2.2.0.25 after few seconds of sound (startup sound or,
> later, voice call) caused pulseaudio to crash (restart).
>
> -vvvvv log under gdb:
>
> D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-
> surround-40 becomes busy.
> D: resampler.c: Channel matrix:
> D: resampler.c:        I00
> D: resampler.c:     +------
> D: resampler.c: O00 | 1,000
> D: resampler.c: O01 | 1,000
> D: resampler.c: O02 | 1,000
> D: resampler.c: O03 | 1,000
> I: remap.c: Using generic matrix remapping
> I: resampler.c: Using resampler 'speex-float-1'
> I: resampler.c: Using float32le as working format.
> I: resampler.c: Choosing speex quality setting 1.
> D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0,
> base=8, prebuf=0, minreq=1 maxrewind=0
> D: memblockq.c: memblockq sanitized: maxlength=33554432,
> tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
> I: sink-input.c: Created input 0 "Event Sound" on alsa_output.pci-
> 0000_00_1b.0.analog-surround-40 with sample spec s16le канал 1 48000Гц
> and channel map mono
> I: sink-input.c:     window.icon_name = "skype"
> I: sink-input.c:     application.icon_name = "skype"
> I: sink-input.c:     media.role = "event"
> I: sink-input.c:     media.name = "Event Sound"
> I: sink-input.c:     application.name = "Skype"
> I: sink-input.c:     native-protocol.peer = "UNIX socket client"
> I: sink-input.c:     native-protocol.version = "16"
> I: sink-input.c:     application.process.id = "31197"
> I: sink-input.c:     application.process.user = "frank"
> I: sink-input.c:     application.process.host = "fqc-book"
> I: sink-input.c:     application.process.binary = "skype"
> I: sink-input.c:     application.language = "ru_UA.UTF-8"
> I: sink-input.c:     window.x11.display = ":0.0"
> I: sink-input.c:     application.process.machine_id =
> "a097b393763b7a20d5eff09d00000003"
> I: sink-input.c:     application.process.session_id =
> "a097b393763b7a20d5eff09d00000003-1302585067.660404-2124890183"
> I: sink-input.c:     module-stream-restore.id = "sink-input-by-media-
> role:event"
> I: protocol-native.c: Requested tlength=20,02 ms, minreq=20,00 ms
> D: protocol-native.c: Adjust latency mode enabled, configuring sink
> latency to half of overall latency.
> D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
> D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
> D: memblockq.c: memblockq requested: maxlength=4194304, tlength=3888,
> base=2, prebuf=1970, minreq=1920 maxrewind=0
> D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=3888,
> base=2, prebuf=1970, minreq=1920 maxrewind=0
> I: protocol-native.c: Final latency 41,00 ms = 0,50 ms + 2*20,00 ms +
> 0,50 ms
> D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
> D: alsa-sink.c: Latency set to 0,50ms
> D: alsa-sink.c: hwbuf_unused=3528144
> D: alsa-sink.c: setting avail_min=441030
> D: alsa-sink.c: Requesting rewind due to latency change.
> D: alsa-sink.c: Requested to rewind 3528320 bytes.
> D: alsa-sink.c: Limited to 3526720 bytes.
> D: alsa-sink.c: before: 440840
> D: alsa-sink.c: after: 440840
> D: alsa-sink.c: Rewound 3526720 bytes.
> D: sink.c: Processing rewind...
> D: sink-input.c: Have to rewind 3526720 bytes on render memblockq.
> D: source.c: Processing rewind...
> D: reserve-wrap.c: Device lock status of reserve-monitor-wrapper at Audio0
> changed: not busy
> D: sink-input.c: Requesting rewind due to uncorking
> D: alsa-sink.c: Requested to rewind 665016 bytes.
> D: alsa-sink.c: Limited to 96 bytes.
> D: alsa-sink.c: before: 12
> D: alsa-sink.c: after: 12
> D: alsa-sink.c: Rewound 96 bytes.
> D: sink.c: Processing rewind...
> D: source.c: Processing rewind...
> D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-
> surround-40 becomes busy.
> D: protocol-native.c: Requesting rewind due to end of underrun.
> D: alsa-sink.c: Requested to rewind 665016 bytes.
> D: alsa-sink.c: Mhmm, actually there is nothing to rewind.
> D: memblock.c: Pool full
> D: memblock.c: Pool full
> D: memblock.c: Pool full
> D: memblock.c: Pool full
> D: memblock.c: Pool full
> D: sink-input.c: Requesting rewind due to corking
> [Thread 0xb309ab70 (LWP 31192) exited]
> [Thread 0xb38f4b70 (LWP 31187) exited]
>
> Program terminated with signal SIGKILL, Killed.
> The program no longer exists.
>
> Can't backtrace (no stack after SIGKILL).
> dmesg isn't saying anything.
> How to debug?

New description:

 Starting Skype 2.2.0.25 after few seconds of sound (startup sound or,
 later, voice call) caused pulseaudio to crash (restart).

 -vvvvv log under gdb:

 {{{
 D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-
 surround-40 becomes busy.
 D: resampler.c: Channel matrix:
 D: resampler.c:        I00
 D: resampler.c:     +------
 D: resampler.c: O00 | 1,000
 D: resampler.c: O01 | 1,000
 D: resampler.c: O02 | 1,000
 D: resampler.c: O03 | 1,000
 I: remap.c: Using generic matrix remapping
 I: resampler.c: Using resampler 'speex-float-1'
 I: resampler.c: Using float32le as working format.
 I: resampler.c: Choosing speex quality setting 1.
 D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0,
 base=8, prebuf=0, minreq=1 maxrewind=0
 D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432,
 base=8, prebuf=0, minreq=8 maxrewind=0
 I: sink-input.c: Created input 0 "Event Sound" on alsa_output.pci-
 0000_00_1b.0.analog-surround-40 with sample spec s16le канал 1 48000Гц and
 channel map mono
 I: sink-input.c:     window.icon_name = "skype"
 I: sink-input.c:     application.icon_name = "skype"
 I: sink-input.c:     media.role = "event"
 I: sink-input.c:     media.name = "Event Sound"
 I: sink-input.c:     application.name = "Skype"
 I: sink-input.c:     native-protocol.peer = "UNIX socket client"
 I: sink-input.c:     native-protocol.version = "16"
 I: sink-input.c:     application.process.id = "31197"
 I: sink-input.c:     application.process.user = "frank"
 I: sink-input.c:     application.process.host = "fqc-book"
 I: sink-input.c:     application.process.binary = "skype"
 I: sink-input.c:     application.language = "ru_UA.UTF-8"
 I: sink-input.c:     window.x11.display = ":0.0"
 I: sink-input.c:     application.process.machine_id =
 "a097b393763b7a20d5eff09d00000003"
 I: sink-input.c:     application.process.session_id =
 "a097b393763b7a20d5eff09d00000003-1302585067.660404-2124890183"
 I: sink-input.c:     module-stream-restore.id = "sink-input-by-media-
 role:event"
 I: protocol-native.c: Requested tlength=20,02 ms, minreq=20,00 ms
 D: protocol-native.c: Adjust latency mode enabled, configuring sink
 latency to half of overall latency.
 D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
 D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
 D: memblockq.c: memblockq requested: maxlength=4194304, tlength=3888,
 base=2, prebuf=1970, minreq=1920 maxrewind=0
 D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=3888,
 base=2, prebuf=1970, minreq=1920 maxrewind=0
 I: protocol-native.c: Final latency 41,00 ms = 0,50 ms + 2*20,00 ms + 0,50
 ms
 D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
 D: alsa-sink.c: Latency set to 0,50ms
 D: alsa-sink.c: hwbuf_unused=3528144
 D: alsa-sink.c: setting avail_min=441030
 D: alsa-sink.c: Requesting rewind due to latency change.
 D: alsa-sink.c: Requested to rewind 3528320 bytes.
 D: alsa-sink.c: Limited to 3526720 bytes.
 D: alsa-sink.c: before: 440840
 D: alsa-sink.c: after: 440840
 D: alsa-sink.c: Rewound 3526720 bytes.
 D: sink.c: Processing rewind...
 D: sink-input.c: Have to rewind 3526720 bytes on render memblockq.
 D: source.c: Processing rewind...
 D: reserve-wrap.c: Device lock status of reserve-monitor-wrapper at Audio0
 changed: not busy
 D: sink-input.c: Requesting rewind due to uncorking
 D: alsa-sink.c: Requested to rewind 665016 bytes.
 D: alsa-sink.c: Limited to 96 bytes.
 D: alsa-sink.c: before: 12
 D: alsa-sink.c: after: 12
 D: alsa-sink.c: Rewound 96 bytes.
 D: sink.c: Processing rewind...
 D: source.c: Processing rewind...
 D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-
 surround-40 becomes busy.
 D: protocol-native.c: Requesting rewind due to end of underrun.
 D: alsa-sink.c: Requested to rewind 665016 bytes.
 D: alsa-sink.c: Mhmm, actually there is nothing to rewind.
 D: memblock.c: Pool full
 D: memblock.c: Pool full
 D: memblock.c: Pool full
 D: memblock.c: Pool full
 D: memblock.c: Pool full
 D: sink-input.c: Requesting rewind due to corking
 [Thread 0xb309ab70 (LWP 31192) exited]
 [Thread 0xb38f4b70 (LWP 31187) exited]

 Program terminated with signal SIGKILL, Killed.
 The program no longer exists.

 Can't backtrace (no stack after SIGKILL).
 }}}

 dmesg isn't saying anything.
 How to debug?

--

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


More information about the pulseaudio-bugs mailing list