[Desktop] ofonod crashed with SIGSEGV in g_str_equal()

Bug #1412656 reported by David
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Triaged
Low
Unassigned
telephony-service (Ubuntu)
New
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

This bug has been reported the last two times I powered up my laptop, even though my laptop doesn't have mobile telephony capabilities.

Since upgrading to 14.10 I have had two "Mobile Broadband" entries under the network indicator.

The only related software I can think of is installing the Unity 8 desktop preview. (Which I did months ago, so it did not trigger this issue.)

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: ofono 1.12.bzr6880+14.10.20141010-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Sat Jan 17 12:01:52 2015
ExecutablePath: /usr/sbin/ofonod
ExecutableTimestamp: 1412931933
InstallationDate: Installed on 2014-04-24 (269 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcCmdline: ofonod -P ril
ProcCwd: /
ProcEnviron:
 PATH=(custom, no user)
 TERM=linux
RetraceOutdatedPackages:
 no debug symbol package found for libselinux1
 no debug symbol package found for libdbus-1-3
 no debug symbol package found for libudev1
SegvAnalysis:
 Segfault happened at: 0x7fd30933b156 <__strcmp_ssse3+22>: movlpd (%rdi),%xmm1
 PC (0x7fd30933b156) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm1" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: ofono
StacktraceTop:
 g_str_equal (v1=v1@entry=0x0, v2=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/ghash.c:1776
 message_filter (connection=0xfd75b0, message=0xfd7800, user_data=<optimized out>) at gdbus/watch.c:534
 dbus_connection_dispatch () from /tmp/apport_sandbox_QJAfx3/lib/x86_64-linux-gnu/libdbus-1.so.3
 message_dispatch (data=0xfd75b0, data@entry=<error reading variable: value has been optimized out>) at gdbus/mainloop.c:76
 g_timeout_dispatch (source=0xfe0150, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:4520
Title: ofonod crashed with SIGSEGV in g_str_equal()
UpgradeStatus: Upgraded to utopic on 2014-10-25 (86 days ago)
UserGroups:

Revision history for this message
David (lofidevops) wrote :
David (lofidevops)
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_str_equal (v1=v1@entry=0x0, v2=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/ghash.c:1776
 message_filter (connection=0xfd75b0, message=0xfd7800, user_data=<optimized out>) at gdbus/watch.c:534
 dbus_connection_dispatch (connection=connection@entry=0xfd75b0) at ../../dbus/dbus-connection.c:4677
 message_dispatch (data=0xfd75b0, data@entry=<error reading variable: value has been optimized out>) at gdbus/mainloop.c:76
 g_timeout_dispatch (source=0xfe0150, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:4520

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in ofono (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Tony Espy (awe) wrote : Re: ofonod crashed with SIGSEGV in g_str_equal()

So basically what happened is that unity8 depends on ofono, which ending up getting installed on your system when you installed the preview.

As this is unintentional, I've added a unity8 task as we really should only require ofono on touch devices with builtin modems, for the short to medium term, desktop Ubuntu will still rely in modem-mananger for WWAN support.

I've kept the ofono task open, as there's obviously still a bug there, however it's of low importance to us right now.

If you intend to keep the unity8 preview installed on your desktop, you should be able to fix the annoying crashes by dropping an upstart override file into place for ofono.

Simply do the following:

% echo "manual" > ./ofono.override
% cp ./ofono.override > /etc/init
% sudo reboot

Changed in unity8 (Ubuntu):
importance: Undecided → Medium
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: New → Triaged
importance: Medium → Low
Revision history for this message
Michał Sawicz (saviq) wrote :

So the dependency chain is unity8 → qtdeclarative5-ubuntu-telephony0.1 → telephathy-ofono → ofono. If we don't want ofono on some installs, we'll need to break the dependency somewhere... I've a feeling it should be between the telephony module and telepathy-ofono, since the functionality feels valid still even without modems (i.e. VoIP). Adding a telephony-service task then.

information type: Private → Public
Revision history for this message
Tony Espy (awe) wrote :

Thanks Michael. I'll add this to our network/telephony agenda for this week.

Revision history for this message
David (lofidevops) wrote :

The workaround in #6 worked (and I no longer have "Mobile Broadband" entries in my network indicator). Thanks!

Tony Espy (awe)
summary: - ofonod crashed with SIGSEGV in g_str_equal()
+ [Desktop] ofonod crashed with SIGSEGV in g_str_equal()
Changed in unity8 (Ubuntu):
status: New → Invalid
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.