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.
Ok, this is more exact log from the crash.
ofonod[3225]: src/modem. c:modem_ change_ state() old state: 3, new state: 1 c:flush_ atoms() waiting. c:mw_remove( ) atom: 0x820d98 c:gprs_ context_ unregister( ) 0x820b08, 0x8208e8 c:gprs_ context_ remove( ) atom: 0x820b28 rilmodem/ gprs-context. c:ril_gprs_ context_ remove( ) *gc: 0x820b08 c:gprs_ context_ unregister( ) 0x820ac8, 0x8208e8 c:gprs_ context_ remove( ) atom: 0x820ae8 rilmodem/ gprs-context. c:ril_gprs_ context_ remove( ) *gc: 0x820ac8 c:gprs_ unregister( ) 0x8208e8 c:__ofono_ netreg_ remove_ status_ watch() 0x800c60 c:gprs_ remove( ) atom: 0x820958 rilmodem/ gprs.c: ril_gprs_ remove( ) barring. c:call_ barring_ remove( ) atom: 0x8208b0 forwarding. c:call_ forwarding_ remove( ) atom: 0x81c0e0 settings. c:call_ settings_ remove( ) atom: 0x8005f0 c:ussd_ remove( ) atom: 0x81e0c0 c:ofono_ sim_remove_ spn_watch( ) 0x800b20
ofonod[3225]: src/modem.
ofonod[3225]: src/message-
ofonod[3225]: src/gprs.
ofonod[3225]: src/gprs.
ofonod[3225]: drivers/
ofonod[3225]: src/gprs.
ofonod[3225]: src/gprs.
ofonod[3225]: drivers/
ofonod[3225]: Unregistered handle for channel 1: 0x10009
ofonod[3225]: src/gprs.
ofonod[3225]: src/network.
ofonod[3225]: src/gprs.
ofonod[3225]: drivers/
ofonod[3225]: src/call-
ofonod[3225]: src/call-
ofonod[3225]: src/call-
ofonod[3225]: src/ussd.
ofonod[3225]: src/sim.
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.