Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the cbs creation for n900 plugin, this lead to crashes on n9 ofon... #264

Closed
wants to merge 1 commit into from

Conversation

locusf
Copy link
Contributor

@locusf locusf commented Nov 27, 2014

...o init.

For the latest release of ofono for Nemo Mobile, the modem fails to initialize
with the isimodem driver enabled. This is due to a segmentation fault occurring
in the flush of the atoms of the modem in cbs_assembly_free function. This
resulted in a segmentation fault when using n900 driver.

[n900] Remove cbs creation.

…fono init.

For the latest release of ofono for Nemo Mobile, the modem fails to initialize
with the isimodem driver enabled. This is due to a segmentation fault occurring
in the flush of the atoms of the modem in cbs_assembly_free function. This
resulted in a segmentation fault when using n900 driver.

[n900] Remove cbs creation.
@sledges
Copy link

sledges commented Nov 27, 2014

Good find! Yes, this patch https://git.merproject.org/mer-core/ofono/blob/master/0001-n900-disable-cbs.patch has never made it upstream, probably there was a reason for it (regression fear on n900?)
@vakkov, is this patch threatening your current effort? ;)

@@ -507,7 +507,7 @@ static void n900_post_online(struct ofono_modem *modem)

ofono_netreg_create(modem, 0, "isimodem", isi->modem);
ofono_sms_create(modem, 0, "isimodem", isi->modem);
ofono_cbs_create(modem, 0, "isimodem", isi->modem);
/* ofono_cbs_create(modem, 0, "isimodem", isi->modem);*/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just commenting out without explanation looks more of a hack/unclean, possibly that's why it also never made upstream as-was in 2012.
I'm not familiar how ofono patches are proposed upstream, could you please comment more @jpoutiai ?

@locusf
Copy link
Contributor Author

locusf commented Nov 30, 2014

Can't reopen this pull request, creating a new one instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants