[pulseaudio-discuss] memblock.c: Assertion 'pa_atomic_load(&b->pool->stat.n_imported) > 0' Aborting

Philip Walden pwaldenlinux at comcast.net
Tue Mar 3 12:18:02 PST 2009


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.

Here are my my machine environment:

uname -a
Linux walden5 2.6.27.9-73.fc9.i686 #1 SMP Tue Dec 16 15:25:05 EST 2008 
i686 i686 i386 GNU/Linux

rpm -qa | grep pulseaudio
pulseaudio-module-zeroconf-0.9.10-2.fc9.i386
pulseaudio-esound-compat-0.9.10-2.fc9.i386
pulseaudio-0.9.10-2.fc9.i386
alsa-plugins-pulseaudio-1.0.16-4.fc9.i386
pulseaudio-libs-zeroconf-0.9.10-2.fc9.i386
xine-lib-pulseaudio-1.1.16-1.fc9.1.i386
pulseaudio-core-libs-0.9.10-2.fc9.i386
pulseaudio-utils-0.9.10-2.fc9.i386
pulseaudio-libs-glib2-0.9.10-2.fc9.i386
pulseaudio-module-gconf-0.9.10-2.fc9.i386
pulseaudio-libs-0.9.10-2.fc9.i386
pulseaudio-module-x11-0.9.10-2.fc9.i386

lspci -v
00:0d.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i 
PCI Audio Accelerator
    Subsystem: Hewlett-Packard Company Unknown device 0010
    Flags: bus master, medium devsel, latency 64, IRQ 5
    I/O ports at 1400 [size=256]
    Memory at f4000000 (32-bit, non-prefetchable) [size=8K]
    Capabilities: [c0] Power Management version 2
    Kernel driver in use: Maestro3
    Kernel modules: snd-maestro3

lsusb -v
Bus 001 Device 006: ID 0471:0110 Philips
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0471 Philips
  idProduct          0x0110
  bcdDevice            4.02
  iManufacturer           1 Philips
  iProduct                2 UAC3553B
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          187
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          3 F5 2002/06/12 11:01
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           43
        bInCollection           1
        baInterfaceNr( 0)       1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID            12
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 1
        bSourceID              12
        bControlSize            2
        bmaControls( 0)      0x55
        bmaControls( 0)      0x01
          Mute
          Bass
          Treble
          Automatic Gain
          Bass Boost
        bmaControls( 1)      0x02
        bmaControls( 1)      0x00
          Volume
        bmaControls( 2)      0x02
        bmaControls( 2)      0x00
          Volume
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            20
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               1
        iTerminal               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          12
        bDelay                  0 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            0 Continuous
        tLowerSamFreq        6400
        tUpperSamFreq       48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0064  1x 100 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay              1 Decoded PCM samples
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          12
        bDelay                  0 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            0 Continuous
        tLowerSamFreq        6400
        tUpperSamFreq       48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay              1 Decoded PCM samples
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      41
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
Device Status:     0x0000
  (Bus Powered)




More information about the pulseaudio-discuss mailing list