sometimes no ring for incoming calls.

Bug #1512132 reported by Roascio Paolo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
Critical
Bill Filler
telephony-service (Ubuntu)
In Progress
High
Tiago Salem Herrmann

Bug Description

This is similar, but not equal to this:

https://bugs.launchpad.net/canonical-devices-system-image/+bug/1471338

After ota-7, my aquaris E4.5 sometimes doesn't ring on incoming calls. It vibrates, the led blinks, but no sound at all. The phone isn't muted and toggle the related function doesn't affect the problem - the phone remains muted and only a reboot let the ringer work again for a while. after that the problem returns.

when the problem presents, telephone-service-indicator.log reports:

void CallManager::onCallEnded()
void CallManager::onCallEnded()
TelephonyService/MessagingMenu: Calling back "+xxxxxxxxxxxx"
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
void CallManager::onCallEnded()
void CallManager::onCallEnded()
void CallManager::onCallEnded()

** (process:2264): WARNING **: a source with id 'telephony-service-indicator' doesn't exist
void CallManager::onCallEnded()
void CallManager::onCallEnded()

system-image-cli -i

current build number: 28
device name: krillin
channel: ubuntu-touch/stable/bq-aquaris.en
last update: 2015-12-17 18:07:06
version version: 28
version ubuntu: 20151210
version tag: OTA-8.5
version device: 20150821-736d127
version custom: 20151111--36-46-vivid

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: New → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

@roascio
When the phone is in this state, do any other sounds play correctly? For example, can you play music from the music-app or try to change ringtones and preview them from system-settings?

It's possible media-hub could be crashing. Also, please go to System-Settings and enable sending crash reports as this will help us see if something is crashing.

Changed in telephony-service (Ubuntu):
assignee: nobody → Tiago Salem Herrmann (tiagosh)
importance: Undecided → High
summary: - something no ring for incoming calls.
+ sometimes no ring for incoming calls.
Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → ww46-2015
Revision history for this message
Roascio Paolo (roa) wrote :

@Bill

| It's possible media-hub could be crashing. Also, please go to System-Settings and enable sending crash reports as this will | help us see if something is crashing.

OK, done!

Sorry i didn't test other sounds while the problem was in act. Please mark this bug as "needinfo" so i can test other sounds/ringtones when the problem occours (i rebooted the phone and - for now - ring works)

Revision history for this message
Bill Filler (bfiller) wrote :

Guessing most likely this is a duplicate of:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1506953

Where the media-hub probably crashed and things are not recovering properly under the covers which causes the ringing to stop.

Changed in telephony-service (Ubuntu):
status: New → Incomplete
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
importance: High → Critical
status: Confirmed → In Progress
Changed in telephony-service (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Bill Filler (bfiller) wrote :

As a workaround for theunderlying bug 1506953, we will destroy the QMediaPlayer instance and create a new one every time a new call arrives, which will force reconnect to the new instance of media-hub and should eliminate the problem of the phone never ringing if media-hub crashes and restarts.

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

@roa Do you at least see the snap decision (notification with the slider) to accept the call?
Could you run the following command and paste the output for us?

zgrep "Failed to get current playback position" $HOME/.cache/upstart/*

Thank you.

Revision history for this message
Roascio Paolo (roa) wrote :

@Tiago Yes, when the phone receive a call, the snap decision is always shown, if i realize that there is an incoming call (vibration) i can always answer the phone. Then the call goes as usual, the only strangeness is the total absence of ringtone (when this happen, all incoming calls are without tones until a phone reboot)

The command you suggested reports no results, but after the last reboot i deleted all .gz files in that directory, so i fear that interesting results may be just in that files :(

I'm sorry, when the problem will be repeated (quite random), i'll quickly post the result of that command

Changed in canonical-devices-system-image:
status: In Progress → Incomplete
milestone: ww46-2015 → none
Roascio Paolo (roa)
description: updated
Revision history for this message
Roascio Paolo (roa) wrote :

Ok, finally the bug returned back.

Via ssh i made a full dump of the .cache/upstart directory, so - this time - i have a full log availability :) and some other info:

@Bill
>When the phone is in this state, do any other sounds play correctly? For
>example, can you play music from the music-app or try to change
>ringtones and preview them from system-settings?

I tried both, listen music and change ringtones in system.settings: no sounds.

@Tiago
>Could you run the following command and paste the output for us?

>zgrep "Failed to get current playback position" $HOME/.cache/upstart/*

That command still reports no results, so, i believe this is not a duplicate of that in comment #3 (at least is slightly different).

The error, this time, blown out when i'm trying to figure out reasons i can't play some kind of videos as reported in bug 1512090, so, surely something has crashed somewhere and this prevents sessions to be restored.

There is a thing i don't full understand: in comment #4 Bill mentions a workaround, then, is this workaround included in OTA-8.5? If so, then it doesn't solve this bug.

Now i'm going to attach some logs. feel free to ask the full upstart dump if useful to solve this bug.

Revision history for this message
Roascio Paolo (roa) wrote :

dbus.log

Revision history for this message
Roascio Paolo (roa) wrote :

media-hub.log

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The workaround was released so unclear whats happening, the symptom does sound the same as noted above

Changed in canonical-devices-system-image:
milestone: none → ww08-2016
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@roascio can you enable crash reporting (security and privacy settings) and check /var/crash when it occurs

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

It seems to me that media-hub is crashing at the time approver tries to play the ringtone. The workaround we landed makes sure the next incoming calls will work without rebooting the device, but not the one that actually crashed media-hub.

Revision history for this message
Roascio Paolo (roa) wrote : Re: [Bug 1512132] Re: sometimes no ring for incoming calls.

@pat as crash reporting is always enabled on my phone, i'll willingly check
in /var/crash when the problem will recur.
However i noticed that after last updates (ota 8.5) the problem occours
very rarely.

The last time it happened i did a full dump of the phablet directory, maybe
useful for log analisys?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.