[Bug 1392397] Re: Crash when ofono is respawning fast
** Changed in: urfkill (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392397 Title: Crash when ofono is respawning fast To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1392397/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392397] Re: Crash when ofono is respawning fast
** Changed in: urfkill (Ubuntu) Status: New => In Progress ** Changed in: urfkill (Ubuntu) Importance: Undecided => High ** Changed in: urfkill (Ubuntu) Assignee: (unassigned) => Alfonso Sanchez-Beato (alfonsosanchezbeato) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392397 Title: Crash when ofono is respawning fast To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1392397/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392397] Re: Crash when ofono is respawning fast
It looks like two nested calls to urf-device-ofono.c:set_soft() provokes this. The second call to set_soft() is made before the callback for the first call has been invoked. Apparently this provokes that the callback for the second one is invoked after the call to the object's dispose(). I think that the fact that we are using the same GCancellable object in both calls makes that the call to g_object_unref() for the DBus proxy in dispose() does not cancel the second callback, so it gets called in the end, but the modem object has already been destroyed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392397 Title: Crash when ofono is respawning fast To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1392397/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1392397] Re: Crash when ofono is respawning fast
The reason for the two calls to set_soft() can be found in bug #1379807. Probable the best way to solve this crash and avoid future issues is to remove the double call, which will make urfkill more robust. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392397 Title: Crash when ofono is respawning fast To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1392397/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs