We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

Skype kills PulseAudio when connected to Bluetooth headset

Tracked by Jolla (In release)

asked 2016-09-02 19:35:22 +0300

xapienz gravatar image

Hello,
I'm using Intex Aqua Fish with Sailfish 2.0.2.51.
I encountered a problem with Android version of Skype (Skype 7.14.0.305).

The problem in short is that, when device is connected to Bluetooth headset, it is impossible to use Skype for voice/video calls. When making a Skype call, the sound just stops in the whole system and the phone needs to be rebooted. Only in rare cases it survives.

I tried to find the reason and found that process of pulseaudio has segfault, and it is enough to restart only the apps which are using sound and Android subsystem to have the sound again.

Here's the short part of a journalctl's log, which contains the problem: http://pastebin.com/Eq12A1VM. If you need more extensive log, please let me know.

Also I could get the backtrace of pulseaudio when it dies:

Program received signal SIGSEGV, Segmentation fault.
0xabfc0ab8 in pa_sink_ext_get_name () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
(gdb) bt
#0  0xabfc0ab8 in pa_sink_ext_get_name () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
#1  0xabfc774a in ?? () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
#2  0xabfc91d4 in pa_policy_group_move_to () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
#3  0xabfcba9a in ?? () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
#4  0xabfcc362 in ?? () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
#5  0xabfcc5e2 in ?? () from /usr/lib/pulse-8.0/modules/module-policy-enforcement.so
#6  0xb6d0d568 in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.3
#7  0xb6e612c8 in ?? () from /usr/lib/pulseaudio/libpulsecommon-8.0.so
#8  0xb6f1ed0c in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#9  0xb6f1eeda in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#10 0xb6f1ef54 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#11 0x000156f0 in main ()

I don't have debugging symbols for pulseaudio and I couldn't find where to download them. If they are located in some open repositories, please tell me where, I will try to get fulll backtrace.

Also I could find the shortest way to reproduce the crash:

  1. Restart the phone.
  2. Connect phone to bluetooth headset.
  3. Start Google Play Music (maybe another android music app), start playing some music.
  4. Open Skype, try to call to Skype Test Call.
  5. PulseAudio dies.

Please fix this bug :)

Thank you

edit retag flag offensive close delete

Comments

something like this happened to me with waze app...

Schturman ( 2016-09-04 07:48:35 +0300 )edit

Well, Skype for Android is getting almost two updates per day. Just wait a couple of hours.

objectifnul ( 2016-10-27 16:25:20 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2016-09-05 08:32:49 +0300

spiiroin gravatar image

@xapienz: Thanks for reporting & logs. I've created internal bugzilla ticket for this.

edit flag offensive delete publish link more

Comments

Hi spiiroin, I wanted to let you know that there is a 2014 bug similar to this one: https://together.jolla.com/question/11062/bug-audio-not-sent-to-bluetooth-from-android-apps/

Probably it's the same issue, but please investigate both. As I can't be notified that you read my comment, I kindly ask you to acknowledge you have read it by replying to this comment.

Thank you

c.la ( 2016-09-21 15:01:19 +0300 )edit

@c.la I created separate ticket for that - there should be "tracked by jolla" visible there too now.

spiiroin ( 2016-09-22 09:51:27 +0300 )edit

Thank you spiiroin, as a "first one" jolla user I appreciate that now there is some connection between bug reporting on TJC and jolla internal bugtracker. Back then many bugs like this one slipped trough and didn't get reported internally.

c.la ( 2016-09-23 10:46:28 +0300 )edit
1

answered 2016-10-27 15:04:17 +0300

jovirkku gravatar image

The fix for this issue was delivered in update 2.0.4.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2016-09-02 19:35:22 +0300

Seen: 436 times

Last updated: Oct 27 '16