Comment 3 for bug 1365481

Revision history for this message
Jussi Kangas (jkangas) wrote :

Ok, this is more exact log from the crash.

ofonod[3225]: src/modem.c:modem_change_state() old state: 3, new state: 1
ofonod[3225]: src/modem.c:flush_atoms()
ofonod[3225]: src/message-waiting.c:mw_remove() atom: 0x820d98
ofonod[3225]: src/gprs.c:gprs_context_unregister() 0x820b08, 0x8208e8
ofonod[3225]: src/gprs.c:gprs_context_remove() atom: 0x820b28
ofonod[3225]: drivers/rilmodem/gprs-context.c:ril_gprs_context_remove() *gc: 0x820b08
ofonod[3225]: src/gprs.c:gprs_context_unregister() 0x820ac8, 0x8208e8
ofonod[3225]: src/gprs.c:gprs_context_remove() atom: 0x820ae8
ofonod[3225]: drivers/rilmodem/gprs-context.c:ril_gprs_context_remove() *gc: 0x820ac8
ofonod[3225]: Unregistered handle for channel 1: 0x10009
ofonod[3225]: src/gprs.c:gprs_unregister() 0x8208e8
ofonod[3225]: src/network.c:__ofono_netreg_remove_status_watch() 0x800c60
ofonod[3225]: src/gprs.c:gprs_remove() atom: 0x820958
ofonod[3225]: drivers/rilmodem/gprs.c:ril_gprs_remove()
ofonod[3225]: src/call-barring.c:call_barring_remove() atom: 0x8208b0
ofonod[3225]: src/call-forwarding.c:call_forwarding_remove() atom: 0x81c0e0
ofonod[3225]: src/call-settings.c:call_settings_remove() atom: 0x8005f0
ofonod[3225]: src/ussd.c:ussd_remove() atom: 0x81e0c0
ofonod[3225]: src/sim.c:ofono_sim_remove_spn_watch() 0x800b20

Crash happens after trying to remove the SPN watch. I suspect that this might be related to MTK modems peculiar startup/shutdown sequence. It does not seem to have ofono_sim_driver_register call like rilmodem does.