← Back to team overview

touch-packages team mailing list archive

[Bug 1486004] Re: Cannot import contacts from sim card

 

I'm also attaching the crash file after the backtrace has been created (
after installing the -dbg package and viewing the crash with apport-cli
).

Here's the stack trace which occurs in the rilmodem phonebook atom:

#0  read_record_cb (ok=<optimized out>, total_length=<optimized out>, record=<optimized out>, data=0xf92130 "", record_length=2, userdata=0xf933e0) at d
rivers/rilmodem/phonebook.c:679
         ref = 0xf94130
         file_info = <optimized out>
         cbd = 0xf933e0
         pb = <optimized out>
         pbd = <optimized out>
         ref = <optimized out>
         rec = 0xf8fde0
         __func__ = "read_record_cb"
         __FUNCTION__ = "read_record_cb"
 #1  0x000b7e1e in sim_fs_op_read_record_cb (error=<optimized out>, sdata=0xf92130 "", length=2, data=0xf83ff0) at src/simfs.c:352
         fs = 0xf83ff0
         op = <optimized out>
         cb = 0x34c2d <read_record_cb>
 #2  0x000316d0 in ril_file_io_cb (message=<optimized out>, user_data=0xf91f50) at drivers/rilmodem/sim.c:283
         cbd = 0xf91f50
         cb = 0xb7df1 <sim_fs_op_read_record_cb>
         sd = 0xf75cb0
         error = {type = OFONO_ERROR_TYPE_NO_ERROR, error = 0}
         reply = 0xf93bf0
 #3  0x000239b8 in handle_response (message=0xf93b30, p=0xf823c0) at gril/gril.c:387
         count = <optimized out>
         i = <optimized out>
         len = <optimized out>
         req = 0xf91640
         found = 1
         id = <optimized out>
 #4  dispatch (message=0xf93b30, p=<optimized out>) at gril/gril.c:548
         data_len = <optimized out>
         unsolicited_field = <optimized out>
         id_num_field = <optimized out>
         bufp = <optimized out>
         datap = <optimized out>


** Attachment added: "ofono crash file with backtrace"
   https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1486004/+attachment/4449767/+files/_usr_sbin_ofonod.0.crash

** Changed in: ofono (Ubuntu)
       Status: Incomplete => Confirmed

** Changed in: ofono (Ubuntu)
   Importance: Undecided => High

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Summary changed:

- Cannot import contacts from sim card
+ Cannot import contacts from sim card ( ofono crash )

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to address-book-app in
Ubuntu.
https://bugs.launchpad.net/bugs/1486004

Title:
  Cannot import contacts from sim card ( ofono crash )

Status in Canonical System Image:
  New
Status in address-book-app package in Ubuntu:
  New
Status in ofono package in Ubuntu:
  Confirmed

Bug description:
  I open a new bug as asked from this bug (last comment #14) :
  https://bugs.launchpad.net/ubuntu/+source/address-book-
  app/+bug/1331346?comments=all

  I've got a meizu mx4 ubuntu phone, but i cannot import contacts from
  the sim card, it makes some wierd messages but never stop, and no
  contact is imported.

  As asked in the previous bug repport, the /var/log/syslog file attached and the output :
  Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
  Welcome to Ubuntu 15.04 (GNU/Linux 3.10.35+ armv7l)

   * Documentation:  https://help.ubuntu.com/
  Last login: Mon Jul 20 17:05:07 2015 from localhost.localdomain
  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/test-phonebook /ril_0
  Traceback (most recent call last):
    File "/usr/share/ofono/scripts/test-phonebook", line 23, in <module>
      print(phonebook.Import(timeout=100))
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/test-phonebook /ril_1
  Traceback (most recent call last):
    File "/usr/share/ofono/scripts/test-phonebook", line 23, in <module>
      print(phonebook.Import(timeout=100))
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: Method "Import" with signature "" on interface "org.ofono.Phonebook" doesn't exist

  phablet@ubuntu-phablet:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1486004/+subscriptions


References