Ticket #215 (closed defect: fixed)
Ophonekitd crashes with no SIM in phone
| Reported by: | DigitalPioneer | Owned by: | ainulindale |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | ophonekitd | Version: | |
| Keywords: | Cc: |
Description
Using SHR, ophonekitd does not appear to start at boot. If I run it myself, I can start exposure once and all is well. The second time I start it though, ophonekitd crashes. /var/log/ophonekitd.log follows...
(process:1106): DEBUG: phonegui_init()
(process:1106): DEBUG: Entering ecore loop
(process:1106): DEBUG: Phonegui initiated
(process:1106): DEBUG: Phonelog database initiated
(process:1106): DEBUG: Entering glib main loop
(process:1106): DEBUG: /org/shr/ophonekitd/Usage
(process:1106): DEBUG: Trying to get the system bus
(process:1106): DEBUG: Adding signals.
(process:1106): DEBUG: Added sim AuthStatus?.
(process:1106): DEBUG: Added sim IncomingStoredMessage?.
(process:1106): DEBUG: Added call CallStatus?.
(process:1106): DEBUG: Added device Idle Notifier State.
(process:1106): DEBUG: Connected to the buses
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: Initiated elementary
(process:1106): DEBUG: Initiated etk
(process:1106): DEBUG: Added exit callback to ecore.
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: dbus not available, try again in 5s
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: GSM not available, try again in 5s
(process:1106): DEBUG: idle notifier state handler called, id 0
(process:1106): DEBUG: list_resources()
(process:1106): DEBUG: list_resources_callback()
(process:1106): DEBUG: Resource Bluetooth available
(process:1106): DEBUG: Resource GSM available
(process:1106): DEBUG: Request GSM resource
(process:1106): DEBUG: idle notifier state handler called, id 1
(process:1106): DEBUG: idle notifier state handler called, id 0
(process:1106): DEBUG: request_resource_callback()
(process:1106): DEBUG: call ogsmd_device_set_antenna_power()
(process:1106): DEBUG: power_up_antenna_callback()
ERROR : SIM card not present.
aborting...
Scale 2.000

This is both
a) ogsmd should not spit out SIM card not present on power_up_antenna, since gsm-modem should work without SIM card (emergency calls only mode).
b) ophonekitd should not crash on that exception either, but rather retry to power up the antenna