Lennart Poettering wrote:
On Tue, 03.03.09 12:18, Philip Walden ([email protected]) wrote:

I run pulseaudio for days on end. It drives a house sound system, which plays music and radio to a cron schedule, even when I am away. I have a USB sound card and an internal pci sound device both driven via a combined sink.

Every few days or so, the pulseaudio server dies with the one of following messages. Logging out-in restores the service. The problem is that I'd like to have it last at least 2-3 weeks.

localhost pulseaudio[25023]: memblock.c: Assertion 'pa_atomic_load(&b->pool->stat.n_imported) > 0' failed at pulsecore/memblock.c:634, function memblock_replace_import(). Aborting.

localhost pulseaudio[19753]: memblock.c: Assertion 'pa_atomic_load(&b->pool->stat.n_imported) > 0' failed at pulsecore/memblock.c:188, function stat_remove(). Aborting.

I have only recently joined the mailing list and I have not seen any threads that deal with this particular problem. Any advice appreciated.

Please provide a full back trace of this issue.

http://pulseaudio.org/wiki/Community#BugsPatchesTranslations

Also, please paste the full output of "ls" in pacmd. I need to know
which PA modules actually get loaded on your machine.

Lennart
The crashed pulseaudio server does not seem to be leaving a core file (so as to generate a stack trace) that I can spot. Is there some configuration I need to set to make it do this?

Here is the pacmd ls output:

Memory blocks currently allocated: 40, size: 202.3 KiB.
Memory blocks allocated during the whole lifetime: 57147, size: 158.3 MiB.
Memory blocks imported from other processes: 22, size: 94.7 KiB.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default sink name: alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0 Default source name: alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0.monitor
Memory blocks of type POOL: 18 allocated/32131 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/24 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/18396 accumulated.
Memory blocks of type IMPORTED: 22 allocated/6620 accumulated.
21 module(s) loaded.
   index: 0
   name: <module-alsa-sink>
argument: <device_id=0 sink_name=alsa_output.pci_125d_1998_sound_card_0_alsa_playback_0>
   used: -1
   auto unload: no
   index: 1
   name: <module-alsa-source>
argument: <device_id=0 source_name=alsa_input.pci_125d_1998_sound_card_0_alsa_capture_0>
   used: -1
   auto unload: no
   index: 2
   name: <module-alsa-sink>
argument: <device_id=1 sink_name=alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0>
   used: -1
   auto unload: no
   index: 3
   name: <module-hal-detect>
   argument: <>
   used: -1
   auto unload: no
   index: 4
   name: <module-esound-protocol-unix>
   argument: <>
   used: -1
   auto unload: no
   index: 5
   name: <module-native-protocol-unix>
   argument: <>
   used: -1
   auto unload: no
   index: 6
   name: <module-volume-restore>
   argument: <>
   used: -1
   auto unload: no
   index: 7
   name: <module-default-device-restore>
   argument: <>
   used: -1
   auto unload: no
   index: 8
   name: <module-rescue-streams>
   argument: <>
   used: -1
   auto unload: no
   index: 9
   name: <module-suspend-on-idle>
   argument: <>
   used: -1
   auto unload: no
   index: 10
   name: <module-combine>
   argument: <>
   used: -1
   auto unload: no
   index: 11
   name: <module-rtp-recv>
   argument: <>
   used: -1
   auto unload: no
   index: 12
   name: <module-native-protocol-tcp>
   argument: <auth-anonymous=1>
   used: -1
   auto unload: no
   index: 13
   name: <module-esound-protocol-tcp>
   argument: <auth-anonymous=1>
   used: -1
   auto unload: no
   index: 14
   name: <module-zeroconf-publish>
   argument: <>
   used: -1
   auto unload: no
   index: 15
   name: <module-zeroconf-discover>
   argument: <>
   used: -1
   auto unload: no
   index: 16
   name: <module-gconf>
   argument: <>
   used: -1
   auto unload: no
   index: 17
   name: <module-tunnel-source>
argument: <server=[192.168.1.140]:4713 source=alsa_input.pci_109e_878_sound_card_0_alsa_capture_0 format=s16le channels=2 rate=32000 source_name=tunnel.walden4.local.alsa_input.pci_109e_878_sound_card_0_alsa_capture_0 channel_map=front-left,front-right>
   used: -1
   auto unload: no
   index: 18
   name: <module-tunnel-sink>
argument: <server=[192.168.1.140]:4713 sink=alsa_output.pci_13f6_111_sound_card_0_alsa_playback_0 format=s16le channels=2 rate=44100 sink_name=tunnel.walden4.local.alsa_output.pci_13f6_111_sound_card_0_alsa_playback_0 channel_map=front-left,front-right>
   used: -1
   auto unload: no
   index: 19
   name: <module-tunnel-source>
argument: <server=[192.168.1.140]:4713 source=alsa_input.pci_13f6_111_sound_card_0_alsa_capture_0 format=s16le channels=2 rate=44100 source_name=tunnel.walden4.local.alsa_input.pci_13f6_111_sound_card_0_alsa_capture_0 channel_map=front-left,front-right>
   used: -1
   auto unload: no
   index: 20
   name: <module-cli-protocol-unix>
   argument: <>
   used: -1
   auto unload: no
4 sink(s) available.
   index: 0
   name: <alsa_output.pci_125d_1998_sound_card_0_alsa_playback_0>
   driver: <modules/module-alsa-sink.c>
   flags: HW_VOLUME_CTRL LATENCY HARDWARE
   state: RUNNING
   volume: <0:  87% 1:  87%>
   mute: <0>
   latency: <81814 usec>
   monitor source: <0>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <1>
   linked by: <2>
   module: <0>
   description: <ALSA PCM on front:0 (Maestro3) via DMA>
 * index: 1
name: <alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0>
   driver: <modules/module-alsa-sink.c>
   flags: HW_VOLUME_CTRL LATENCY HARDWARE
   state: RUNNING
   volume: <0:  99% 1:  99%>
   mute: <0>
   latency: <89954 usec>
   monitor source: <2>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <1>
   linked by: <2>
   module: <2>
   description: <ALSA PCM on front:1 (USB Audio) via DMA>
   index: 2
   name: <combined>
   driver: <modules/module-combine.c>
   flags: LATENCY
   state: RUNNING
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <117619 usec>
   monitor source: <3>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <1>
   linked by: <2>
   module: <10>
description: <Simultaneous output to ALSA PCM on front:0 (Maestro3) via DMA, ALSA PCM on front:1 (USB Audio) via DMA>
   index: 3
name: <tunnel.walden4.local.alsa_output.pci_13f6_111_sound_card_0_alsa_playback_0>
   driver: <modules/module-tunnel.c>
   flags: HW_VOLUME_CTRL LATENCY NETWORK
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   monitor source: <5>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   module: <18>
description: <ALSA PCM on front:0 (C-Media PCI DAC/ADC) via DMA on pwal...@walden4>
7 source(s) available.
   index: 0
   name: <alsa_output.pci_125d_1998_sound_card_0_alsa_playback_0.monitor>
   driver: <modules/module-alsa-sink.c>
   flags:
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   monitor_of: <0>
   module: <0>
   description: <Monitor Source of ALSA PCM on front:0 (Maestro3) via DMA>
   index: 1
   name: <alsa_input.pci_125d_1998_sound_card_0_alsa_capture_0>
   driver: <modules/module-alsa-source.c>
   flags: HW_VOLUME_CTRL LATENCY HARDWARE
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <1>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <1>
   module: <1>
   description: <ALSA PCM on front:0 (Maestro3) via DMA>
 * index: 2
name: <alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0.monitor>
   driver: <modules/module-alsa-sink.c>
   flags:
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   monitor_of: <1>
   module: <2>
   description: <Monitor Source of ALSA PCM on front:1 (USB Audio) via DMA>
   index: 3
   name: <combined.monitor>
   driver: <modules/module-combine.c>
   flags:
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   monitor_of: <2>
   module: <10>
description: <Monitor Source of Simultaneous output to ALSA PCM on front:0 (Maestro3) via DMA, ALSA PCM on front:1 (USB Audio) via DMA>
   index: 4
name: <tunnel.walden4.local.alsa_input.pci_109e_878_sound_card_0_alsa_capture_0>
   driver: <modules/module-tunnel.c>
   flags: LATENCY NETWORK
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 32000Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   module: <17>
description: <ALSA PCM on hw:1 (Bt87x Digital) via DMA on pwal...@walden4>
   index: 5
name: <tunnel.walden4.local.alsa_output.pci_13f6_111_sound_card_0_alsa_playback_0.monitor>
   driver: <modules/module-tunnel.c>
   flags:
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   monitor_of: <3>
   module: <18>
description: <Monitor Source of ALSA PCM on front:0 (C-Media PCI DAC/ADC) via DMA on pwal...@walden4>
   index: 6
name: <tunnel.walden4.local.alsa_input.pci_13f6_111_sound_card_0_alsa_capture_0>
   driver: <modules/module-tunnel.c>
   flags: LATENCY NETWORK
   state: SUSPENDED
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   used by: <0>
   linked by: <0>
   module: <19>
description: <ALSA PCM on front:0 (C-Media PCI DAC/ADC) via DMA on pwal...@walden4>
6 client(s) logged in.
   index: 0
   name: <PulseAudio>
   driver: <pulsecore/protocol-native.c>
   owner module: <12>
   index: 1
   name: <PulseAudio>
   driver: <pulsecore/protocol-native.c>
   owner module: <12>
   index: 2
   name: <PulseAudio>
   driver: <pulsecore/protocol-native.c>
   owner module: <12>
   index: 3
   name: <PulseAudio>
   driver: <pulsecore/protocol-native.c>
   owner module: <12>
   index: 4
   name: <MPlayer>
   driver: <pulsecore/protocol-native.c>
   owner module: <5>
   index: 9
   name: <UNIX socket client>
   driver: <pulsecore/cli.c>
   owner module: <20>
6 sink input(s) available.
   index: 2
   name: <ALSA PCM on front:0 (Maestro3) via DMA for pwal...@walden4>
   driver: <pulsecore/protocol-native.c>
   flags:
   state: CORKED
   sink: <0> 'alsa_output.pci_125d_1998_sound_card_0_alsa_playback_0'
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <99954 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   resample method: auto
   module: <12>
   client: <0> 'PulseAudio'
   index: 3
   name: <ALSA PCM on front:1 (USB Audio) via DMA for pwal...@walden4>
   driver: <pulsecore/protocol-native.c>
   flags:
   state: CORKED
sink: <1> 'alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0'
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <99977 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   resample method: auto
   module: <12>
   client: <3> 'PulseAudio'
   index: 6
name: <Simultaneous output to ALSA PCM on front:0 (Maestro3) via DMA, ALSA PCM on front:1 (USB Audio) via DMA for pwal...@walden4>
   driver: <pulsecore/protocol-native.c>
   flags:
   state: CORKED
   sink: <2> 'combined'
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <99977 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   resample method: auto
   module: <12>
   client: <2> 'PulseAudio'
   index: 7
   name: <Simultaneous output on ALSA PCM on front:0 (Maestro3) via DMA>
   driver: <modules/module-combine.c>
   flags: VARIABLE_RATE DONT_MOVE
   state: RUNNING
   sink: <0> 'alsa_output.pci_125d_1998_sound_card_0_alsa_playback_0'
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <27465 usec>
   sample spec: <s16le 2ch 44201Hz>
   channel map: <front-left,front-right>
   resample method: trivial
   module: <10>
   index: 8
   name: <Simultaneous output on ALSA PCM on front:1 (USB Audio) via DMA>
   driver: <modules/module-combine.c>
   flags: VARIABLE_RATE DONT_MOVE
   state: RUNNING
sink: <1> 'alsa_output.usb_device_471_110_noserial_if0_sound_card_0_alsa_playback_0'
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   resample method: trivial
   module: <10>
   index: 9
   name: <audio stream>
   driver: <pulsecore/protocol-native.c>
   flags:
   state: RUNNING
   sink: <2> 'combined'
   volume: <0: 100% 1: 100%>
   mute: <0>
   latency: <490000 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   resample method: auto
   module: <5>
   client: <4> 'MPlayer'
1 source outputs(s) available.
   index: 0
   name: 'ALSA PCM on front:0 (Maestro3) via DMA for pwal...@walden4'
   driver: <pulsecore/protocol-native.c>
   flags:
   state: CORKED
   source: <1> 'alsa_input.pci_125d_1998_sound_card_0_alsa_capture_0'
   latency: <0 usec>
   sample spec: <s16le 2ch 44100Hz>
   channel map: <front-left,front-right>
   resample method: auto
   owner module: <12>
   client: <1> 'PulseAudio'
1 cache entries available.
   name: <pulse-hotplug>
   index: <0>
   sample spec: <n/a>
   channel map: <n/a>
   length: <0>
   duration: <0.0s>
volume: <0: 100% 1: 100% 2: 100% 3: 100% 4: 100% 5: 100% 6: 100% 7: 100%>
   lazy: yes
   filename: /usr/share/sounds/startup3.wav
0 autoload entries available.

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to