ophonekitd: race condition?

arne anka openmoko at ginguppin.de
Thu Sep 17 12:38:25 CEST 2009


sent this mail to shr-developers, but it bounced since i am not subscribed.
could any of the shr developers, reading here, please have a look and  
forward the information if needed?


recently sebastian reichel made ophonekitd available for debian.
while it worked the first times i tried (saying something about gsm not
being available and retrying in 5sec), recently i got always segfaults
because of, apparently, the gsm not being enabled already.
that's what i see:

> debian-gta02:~$ DISPLAY=:0 ophonekitd
> ** (process:11425): DEBUG: Configuration file read
> ** (process:11425): DEBUG: Entering ecore loop
> ** (process:11425): DEBUG: Phonegui initiated
> ** (process:11425): DEBUG: Entering glib main loop
> ** (process:11425): DEBUG: /org/shr/ophonekitd/Usage
> ** (process:11425): DEBUG: Trying to get the system bus
> ** (process:11425): DEBUG: Adding signals.
> ** (process:11425): DEBUG: Added sim AuthStatus.
> ** (process:11425): DEBUG: Added sim ReadyStatus.
> ** (process:11425): DEBUG: Added sim IncomingStoredMessage.
> ** (process:11425): DEBUG: Added call CallStatus.
> ** (process:11425): DEBUG: Added device Idle Notifier State.
> ** (process:11425): DEBUG: Added network IncomingUssd.
> ** (process:11425): DEBUG: Connected to the buses
> ** (process:11425): DEBUG: list_resources()
> ** (process:11425): DEBUG: list_resources_callback()
> ** (process:11425): DEBUG: Resource TEST available
> ** (process:11425): DEBUG: Resource CPU available
> ** (process:11425): DEBUG: Resource Display available
> ** (process:11425): DEBUG: Resource GSM available
> ** (process:11425): DEBUG: Request GSM resource
> ** (process:11425): DEBUG: Initiated elementary
> ** (process:11425): DEBUG: Initiated etk
> ** (process:11425): DEBUG: request_resource_callback()
> ** (process:11425): DEBUG: call ogsmd_device_set_antenna_power()
> Failed to handle dbus error: Resource Device is not enabled, current
> status is 'enabling', 80 (dbus-glib-error-quark), code 32
> ** (process:11425): DEBUG: power_up_antenna_callback()
> Failed to handle dbus error: Resource Device is not enabled, current
> status is 'enabling', 80 (dbus-glib-error-quark), code 32
> ** (process:11425): DEBUG: sim_ready_status_callback(status=1074499584)
> ** (process:11425): DEBUG: sim ready
> Failed to handle dbus error: Resource Device is not enabled, current
> status is 'enabling', 80 (dbus-glib-error-quark), code 32
> ** (process:11425): DEBUG: get_messagebook_info_callback()
> Segmentation fault

joachim breitner sent to smartphone-userland a log:

$ ophonekitd
** (process:2106): DEBUG: Configuration file read
** (process:2106): DEBUG: Entering ecore loop
** (process:2106): DEBUG: Phonegui initiated
** (process:2106): DEBUG: Entering glib main loop
** (process:2106): DEBUG: /org/shr/ophonekitd/Usage
** (process:2106): DEBUG: Trying to get the system bus
** (process:2106): DEBUG: Adding signals.
** (process:2106): DEBUG: Added sim AuthStatus.
** (process:2106): DEBUG: Added sim ReadyStatus.
** (process:2106): DEBUG: Added sim IncomingStoredMessage.
** (process:2106): DEBUG: Added call CallStatus.
** (process:2106): DEBUG: Added device Idle Notifier State.
** (process:2106): DEBUG: Added network IncomingUssd.
** (process:2106): DEBUG: Connected to the buses
** (process:2106): DEBUG: list_resources()
** (process:2106): DEBUG: list_resources_callback()
** (process:2106): DEBUG: Resource WiFi available
** (process:2106): DEBUG: Resource Display available
** (process:2106): DEBUG: Resource Bluetooth available
** (process:2106): DEBUG: Resource TEST available
** (process:2106): DEBUG: Resource GSM available
** (process:2106): DEBUG: Request GSM resource
** (process:2106): DEBUG: Initiated elementary
** (process:2106): DEBUG: Initiated etk
** (process:2106): DEBUG: request_resource_callback()
** (process:2106): DEBUG: call ogsmd_device_set_antenna_power()
** (process:2106): DEBUG: sim_ready_status_callback(status=0)
** (process:2106): DEBUG: ophonekitd_sim_ready_status_handler()
** (process:2106): DEBUG: ophonekitd_sim_auth_status_handler()
** (process:2106): DEBUG: sim auth ready
** (process:2106): DEBUG: power_up_antenna_callback()
** (process:2106): DEBUG: ophonekitd_sim_ready_status_handler()
** (process:2106): DEBUG: sim ready
** (process:2106): DEBUG: register_to_network_callback()
** (process:2106): DEBUG: Registering to network failed: Did not receive
a reply. Possible causes include: the remote application did not send a
reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken. dbus -2



More information about the community mailing list