pulseaudio seg faults when switching to bluetooth sink on RPi3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using pulseaudio-9.0 and bluez-5.43 and the RPi3 built-in bluetooth

After starting the bluetooth daemon, pairing with bluetooth headphones and setting them as an a2dp sink, attempting to switch the audio stream to Bluetooth results in a seg fault.

What would be the best way to troubleshoot this?


Bluetooth daemon and Bluetooth command logs attached.

D: [pulseaudio] sink-input.c: Starting to move sink input 0 from 'alsa_output.0.analog-stereo'
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Latency set to 40.00ms
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: hwbuf_unused=58480
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: setting avail_min=15503
I: [pulseaudio] source-output.c: Freeing output 2 "Peak detect"
D: [alsa-sink-bcm2835 ALSA] sink-input.c: Have to rewind 6792 bytes on render memblockq.
D: [alsa-sink-bcm2835 ALSA] sink-input.c: Have to rewind 6792 bytes on implementor.
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Latency set to 40.00ms
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: hwbuf_unused=58480
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: setting avail_min=15503
D: [alsa-sink-bcm2835 ALSA] sink.c: Requesting rewind due to started move
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Requested volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Got hardware volume: front-left: 65511 / 100% / -0.01 dB,   front-right: 65511 / 100% / -0.01 dB
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Calculated software volume: front-left: 65561 / 100% / 0.01 dB,   front-right: 65561 / 100% / 0.01 dB (accurate-enough=yes)
D: [alsa-sink-bcm2835 ALSA] sink.c: Volume not changing
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Requested to rewind 65536 bytes.
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Limited to 6800 bytes.
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: before: 1700
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: after: 1700
D: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Rewound 6800 bytes.
D: [alsa-sink-bcm2835 ALSA] sink.c: Processing rewind...
D: [alsa-sink-bcm2835 ALSA] sink.c: latency = 0
D: [alsa-sink-bcm2835 ALSA] source.c: Processing rewind...
I: [pulseaudio] protocol-native.c: Requested tlength=250.00 ms, minreq=20.00 ms
D: [pulseaudio] protocol-native.c: Traditional mode enabled, modifying sink usec only for compat with minreq.
D: [pulseaudio] protocol-native.c: Requested latency=210.00 ms, Received latency=210.00 ms
D: [bluetooth] sink.c: Requesting rewind due to finished move
D: [pulseaudio] sink-input.c: Successfully moved sink input 0 to bluez_sink.00_1B_66_00_31_88.
D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.00_1B_66_00_31_88 becomes busy, resuming.
I: [pulseaudio] module-stream-restore.c: Storing volume/mute/device for stream sink-input-by-application-name:XMMS.
D: [pulseaudio] sink.c: set_port() operation not implemented for sink 1 "bluez_sink.00_1B_66_00_31_88"
D: [pulseaudio] module-intended-roles.c: Not setting device for stream Peak detect, because already set.
D: [pulseaudio] source-output.c: Negotiated format: pcm, format.sample_format = "\"float32le\""  format.rate = "25"  format.channels = "1"  format.channel_map = "\"mono\""
I: [pulseaudio] source-output.c: Trying to change sample rate
I: [pulseaudio] source.c: Cannot update rate, SOURCE_IS_RUNNING, will keep using 44100 Hz
D: [pulseaudio] module-suspend-on-idle.c: Sink bluez_sink.00_1B_66_00_31_88 becomes busy, resuming.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 25 (method peaks)
D: [pulseaudio] resampler.c:   format s16le -> float32le (intermediate s16le)
D: [pulseaudio] resampler.c:   channels 2 -> 1 (resampling 1)
D: [pulseaudio] resampler.c: Channel matrix:
D: [pulseaudio] resampler.c:        I00   I01 
D: [pulseaudio] resampler.c:     +------------
D: [pulseaudio] resampler.c: O00 | 0.500 0.500
I: [pulseaudio] remap_neon.c: Using ARM NEON stereo to mono remapping
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
I: [pulseaudio] source-output.c: Created output 3 "Peak detect" on bluez_sink.00_1B_66_00_31_88.monitor with sample spec float32le 1ch 25Hz and channel map mono
I: [pulseaudio] source-output.c:     media.name = "Peak detect"
I: [pulseaudio] source-output.c:     application.name = "PulseAudio Volume Control"
I: [pulseaudio] source-output.c:     native-protocol.peer = "UNIX socket client"
I: [pulseaudio] source-output.c:     native-protocol.version = "31"
I: [pulseaudio] source-output.c:     application.id = "org.PulseAudio.pavucontrol"
I: [pulseaudio] source-output.c:     application.icon_name = "audio-card"
I: [pulseaudio] source-output.c:     application.version = "3.0"
I: [pulseaudio] source-output.c:     application.process.id = "4431"
I: [pulseaudio] source-output.c:     application.process.user = "tc"
I: [pulseaudio] source-output.c:     application.process.host = "box"
I: [pulseaudio] source-output.c:     application.process.binary = "pavucontrol"
I: [pulseaudio] source-output.c:     application.language = "C"
I: [pulseaudio] source-output.c:     window.x11.display = ":0.0"
I: [pulseaudio] source-output.c:     application.process.machine_id = "8ce3f778056e8b269dec710458ce631c"
I: [pulseaudio] source-output.c:     module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=0, base=4, prebuf=1, minreq=0 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=4194304, base=4, prebuf=4, minreq=4 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 96.93 ms = 40.00 ms + 56.93 ms
W: [bluetooth] module-bluez5-device.c: Skipping 9731 us (= 1716 bytes) in audio stream
Segmentation fault
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bluez_rpi3_logs.tar.xz
Type: application/octet-stream
Size: 5708 bytes
Desc: bluez_rpi3_logs.tar.xz
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170319/1b8cb595/attachment.obj>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux