Okay, I'm getting it again.
I'm doing some debugging now. Setting a bp in gdb where the error is
generated:
Breakpoint 1, ril_cops_list_cb (message=<optimized out>, user_data=0xf4e98)
at drivers/rilmodem/network-registration.c:231
231 drivers/rilmodem/network-registration.c: No such file or directory.
(gdb) print ops
$1 = (struct ofono_network_operator *) 0x0
(gdb) print reply
$2 = (struct reply_avail_ops *) 0xf5c10
(gdb) print reply->num_ops
$3 = 0
>From the glib documentation for g_try_new0: The function returns NULL
when n_structs is 0 of if an overflow occurs.
So the error here is that reply->num_ops is 0.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276699
Title:
scan-for-operator script fails: org.ofono.Error.Failed: Operation
failed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1276699/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs