Bug 52364

Summary: Pulseaudio 2.1 Sound via bluetooth stops after ~15min
Product: PulseAudio Reporter: robert
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart, rabuzarus
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description robert 2012-07-22 17:42:03 UTC
When listening to music or watching a moview with sound via bluetooth, the sound stops after ~15min. Only reconnecting the headset helps

Here's what happens in the log:

Jul 22 16:45:37 robert-laptop pulseaudio[649]: [bluetooth] module-bluetooth-device.c: Skipping 898816643 us (= 158551252 bytes) in audio stream
Jul 22 16:45:37 robert-laptop pulseaudio[649]: [bluetooth] xmalloc.c: Assertion 'size < (1024*1024*96)' failed at pulse/xmalloc.c:63, function pa_xmalloc(). Aborting.
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/HFPAG
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/HFPHS
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/HFPAG
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/HFPHS
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
Jul 22 16:45:37 robert-laptop pulseaudio[2238]: [pulseaudio] main.c: User-configured server at {8d1baaa156b67c951482c53900000a85}unix:/tmp/pulse-lSwmHMqKtGSl/native, which appears to be local. Probing deeper.
Jul 22 16:45:37 robert-laptop pulseaudio[2240]: [pulseaudio] main.c: User-configured server at {8d1baaa156b67c951482c53900000a85}unix:/tmp/pulse-lSwmHMqKtGSl/native, which appears to be local. Probing deeper.
Jul 22 16:45:37 robert-laptop pulseaudio[2239]: [pulseaudio] main.c: User-configured server at {8d1baaa156b67c951482c53900000a85}unix:/tmp/pulse-lSwmHMqKtGSl/native, which appears to be local. Probing deeper.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Successfully made thread 2245 of process 2245 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Supervising 5 threads of 2 processes of 2 users.
Jul 22 16:45:37 robert-laptop pulseaudio[2245]: [pulseaudio] pid.c: Stale PID file, overwriting.
Jul 22 16:45:37 robert-laptop pulseaudio[2241]: [pulseaudio] main.c: User-configured server at {8d1baaa156b67c951482c53900000a85}unix:/tmp/pulse-lSwmHMqKtGSl/native, which appears to be local. Probing deeper.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Successfully made thread 2248 of process 2245 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Supervising 6 threads of 2 processes of 2 users.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Successfully made thread 2249 of process 2245 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Supervising 7 threads of 2 processes of 2 users.
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/HFPAG
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/HFPHS
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/A2DPSource
Jul 22 16:45:37 robert-laptop bluetoothd[371]: bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/A2DPSink
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/HFPAG
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/HFPHS
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/A2DPSource
Jul 22 16:45:37 robert-laptop bluetoothd[371]: Endpoint registered: sender=:1.106 path=/MediaEndpoint/A2DPSink
Jul 22 16:45:37 robert-laptop pulseaudio[2245]: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on...y" doesn't exis
Jul 22 16:45:37 robert-laptop pulseaudio[2245]: [pulseaudio] bluetooth-util.c: org.bluez.HandsfreeGateway.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on...y" doesn't exis
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Successfully made thread 2250 of process 2245 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Jul 22 16:45:37 robert-laptop rtkit-daemon[512]: Supervising 8 threads of 2 processes of 2 users.
Jul 22 16:45:38 robert-laptop rtkit-daemon[512]: Successfully made thread 2254 of process 2254 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Jul 22 16:45:38 robert-laptop rtkit-daemon[512]: Supervising 9 threads of 3 processes of 2 users.
Jul 22 16:45:38 robert-laptop pulseaudio[2254]: [pulseaudio] pid.c: Daemon already running.
Jul 22 16:45:38 robert-laptop rtkit-daemon[512]: Successfully made thread 2256 of process 2256 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Jul 22 16:45:38 robert-laptop rtkit-daemon[512]: Supervising 9 threads of 3 processes of 2 users.
Jul 22 16:45:38 robert-laptop pulseaudio[2256]: [pulseaudio] pid.c: Daemon already running.
Jul 22 16:45:38 robert-laptop rtkit-daemon[512]: Successfully made thread 2258 of process 2258 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Jul 22 16:45:38 robert-laptop rtkit-daemon[512]: Supervising 9 threads of 3 processes of 2 users.
Jul 22 16:45:38 robert-laptop pulseaudio[2258]: [pulseaudio] pid.c: Daemon already running.



[robert@robert-laptop ~]$ pactl list short
0	module-device-restore		
1	module-stream-restore		
2	module-card-restore		
3	module-augment-properties		
4	module-alsa-card	device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1"	
5	module-udev-detect		
6	module-jackdbus-detect		
8	module-bluetooth-discover		
9	module-esound-protocol-unix		
10	module-native-protocol-unix		
11	module-rygel-media-server		
12	module-null-sink	sink_name=upnp format=s16be channels=2 rate=44100 sink_properties="device.description='DLNA/UPnP Streaming' device.bus='network' device.icon_name='network-server'"	
13	module-gconf		
14	module-default-device-restore		
15	module-rescue-streams		
16	module-always-sink		
17	module-intended-roles		
18	module-suspend-on-idle		
19	module-console-kit		
20	module-systemd-login		
21	module-position-event-sounds		
22	module-role-cork		
23	module-filter-heuristics		
24	module-filter-apply		
25	module-dbus-protocol		
26	module-switch-on-port-available		
0	alsa_output.pci-0000_00_1b.0.analog-stereo	module-alsa-card.c	s16le 2ch 44100Hz	RUNNING
2	upnp	module-null-sink.c	s16be 2ch 44100Hz	SUSPENDED
0	alsa_output.pci-0000_00_1b.0.analog-stereo.monitor	module-alsa-card.c	s16le 2ch 44100Hz	IDLE
1	alsa_input.pci-0000_00_1b.0.analog-stereo	module-alsa-card.c	s16le 2ch 48000Hz	SUSPENDED
3	upnp.monitor	module-null-sink.c	s16be 2ch 44100Hz	SUSPENDED
24	0	7	protocol-native.c	s16le 2ch 44100Hz
0	module-systemd-login.c	(null)
1	protocol-native.c	gnome-shell
2	protocol-native.c	gnome-shell
3	protocol-native.c	gnome-settings-daemon
4	protocol-native.c	firefox
5	protocol-native.c	gnome-settings-daemon
6	protocol-native.c	gnome-shell
7	protocol-native.c	deadbeef
10	protocol-native.c	pactl
0	bell-window-system	s16le 2ch 44100Hz	0,803
1	audio-volume-change	s16le 2ch 44100Hz	0,067
0	alsa_card.pci-0000_00_1b.0	module-alsa-card.c


[robert@robert-laptop ~]$ pactl stat
Momentane Nutzung: 120 Blöcke mit insgesamt 585,8 KB Bytes.
Während gesamter Laufzeit: 250780 Blöcke mit insgesamt 779,0 MB Bytes.
Sample-Pufferspeichergrösse: 149,8 KB
Server String: unix:/tmp/pulse-lSwmHMqKtGSl/native
Library Protocol Version: 26
Server Protocol Version: 26
Is Local: yes
Client Index: 11
Tile Size: 65472
User Name: robert
Host Name: robert-laptop
Server Name: pulseaudio
Server Version: 2.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 9771:35de


If you need further information, please contact me.
This bug appears regardless of the player used.

Regards,

Robert
Comment 1 robert 2012-07-22 18:00:18 UTC
Just tried the same with a Fedora 17 intallation, which uses pulseaudio 1.1 and there was no issue at all.
Comment 2 GitLab Migration User 2018-07-30 10:15: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/307.

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.