Bug 42449

Summary: Assertion 'b' failed at pulsecore/memblock.c:454
Product: PulseAudio Reporter: Jasmin <js>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: major    
Priority: medium CC: diwic, lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jasmin 2011-10-31 12:13:44 UTC
Hello,

unfortunately pulseaudio 1.0 exits with the following messages:

I: [pulseaudio] client.c: Created 2 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client2
D: [pulseaudio] protocol-native.c: Protocol version: remote 23, local 23
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for totem
D: [pulseaudio] module-augment-properties.c: Found /usr/share/applications/totem.desktop.
I: [pulseaudio] client.c: Freed 2 "Totem Video-Player"
I: [pulseaudio] protocol-native.c: Connection died.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client2
I: [pulseaudio] client.c: Created 3 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client3
D: [pulseaudio] protocol-native.c: Protocol version: remote 23, local 23
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for totem
D: [pulseaudio] module-suspend-on-idle.c: Sink ladspa_output.mbeq_1197.mbeq becomes busy.
I: [pulseaudio] resampler.c: Using resampler 'speex-float-3'
I: [pulseaudio] resampler.c: Using float32le as working format.
I: [pulseaudio] resampler.c: Choosing speex quality setting 3.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 1 "Playback Stream" on ladspa_output.mbeq_1197.mbeq with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c:     media.name = "Playback Stream"
I: [pulseaudio] sink-input.c:     application.name = "Totem Video-Player"
I: [pulseaudio] sink-input.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c:     native-protocol.version = "23"
I: [pulseaudio] sink-input.c:     media.role = "video"
I: [pulseaudio] sink-input.c:     application.process.id = "26015"
I: [pulseaudio] sink-input.c:     application.process.user = "jasmin"
I: [pulseaudio] sink-input.c:     application.process.host = "jasmin-mobil-01"
I: [pulseaudio] sink-input.c:     application.process.binary = "totem"
I: [pulseaudio] sink-input.c:     application.icon_name = "totem"
I: [pulseaudio] sink-input.c:     window.x11.display = ":0.0"
I: [pulseaudio] sink-input.c:     application.language = "de_DE.utf8"
I: [pulseaudio] sink-input.c:     application.process.machine_id = "7bae1dd2796f04b29e3a6bda0000091d"
I: [pulseaudio] sink-input.c:     application.process.session_id = "7bae1dd2796f04b29e3a6bda0000091d-1320085098.612345-2004452429"
I: [pulseaudio] sink-input.c:     module-stream-restore.id = "sink-input-by-media-role:video"
I: [pulseaudio] protocol-native.c: Requested tlength=200,00 ms, minreq=10,00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=27288, base=4, prebuf=0, minreq=1764 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=27288, base=4, prebuf=0, minreq=1764 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 200,01 ms = 134,69 ms + 2*10,00 ms + 45,32 ms
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Stream added for object /org/pulseaudio/core1/playback_stream1
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] protocol-native.c: Requesting rewind due to end of underrun.
D: [bluetooth] sink-input.c: Requesting rewind due to uncorking
D: [bluetooth] sink-input.c: Have to rewind 16 bytes on implementor.
D: [pulseaudio] module-suspend-on-idle.c: Sink ladspa_output.mbeq_1197.mbeq becomes busy.
E: [bluetooth] memblock.c: Assertion 'b' failed at pulsecore/memblock.c:454, function pa_memblock_acquire(). Aborting.


It happens with different applications connecting to PA. pa-mbeq is active and everytime a stream begins/ends/pauses(corks?), the problem (see above) occurs.

If pa-mbeq connects to alsa it works. If it connects to bluetooth or another pulseaudio-server via Lan it works not.
I tried another laptop, same debian packages (wheezy) same version, same configuration. mbeq => bluetooth (same headset) works.

So the problem occurs on one of my laptops and if mbeq connects to bluetooth or another pulseaudio server..... ?

Thanks for any help!

Jasmin
Comment 1 Arun Raghavan 2012-03-14 23:12:12 UTC
Marking as 2.0 blocker for now.
Comment 2 David Henningsson 2012-03-23 04:05:46 UTC
I believe this needs backtrace info to get a hint of where to look. On debian and its derivatives, install libpulse-dbg and pulseaudio-dbg packages before making the backtrace with gdb (use the "bt full" command).

Thanks!
Comment 3 Arun Raghavan 2012-04-02 22:55:50 UTC
Dropping as 2.0 blocker since we have no information to go on.
Comment 4 GitLab Migration User 2018-07-30 10:02:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/182.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.