ofono plugin segfaults when enabling the modem
Running gnome-calls -p ofono
and then /usr/share/ofono/scripts/enable-modem
makes calls crash
This is on the pinephone
backtrace:
Core was generated by `gnome-calls -p ofono'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000007f9601dc9c in g_variant_iter_loop (iter=0x0,
format_string=0x7f8e1d9488 "&s") at ../../../glib/gvariant.c:5764
5764 ../../../glib/gvariant.c: No such file or directory.
[Current thread is 1 (Thread 0x7f905e5010 (LWP 3123))]
(gdb) bt
#0 0x0000007f9601dc9c in g_variant_iter_loop
(iter=0x0, format_string=0x7f8e1d9488 "&s")
at ../../../glib/gvariant.c:5764
#1 0x0000007f8e1d0b48 in ()
at /usr/lib/aarch64-linux-gnu/calls/plugins/ofono/libofono.so
#2 0x0000007f94f96048 in () at /lib/aarch64-linux-gnu/libffi.so.7
#3 0x0000007f94f95770 in () at /lib/aarch64-linux-gnu/libffi.so.7
#6 0x0000007f960f19e4 in <emit signal ??? on instance 0x557bc030b0 [GDBOModemProxy]>
(node=0x557bc88290, detail=0, instance=0x557bc030b0, emission_return=0x0, instance_and_params=0x55809a77b0) at ../../../gobject/gsignal.c:3739
#4 0x0000007f960de954 in g_cclosure_marshal_generic
(closure=0x7f9610f730, return_gvalue=0x0, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=<optimized out>) at ../../../gobject/gclosure.c:1500
#5 0x0000007f960de018 in g_closure_invoke
(closure=0x557bc73350, return_value=return_value@entry=0x0, n_param_values=3, param_values=param_values@entry=0x55809a77b0, invocation_hint=invocation_hint@entry=0x7fd977e4b8) at ../../../gobject/gclosure.c:810
#7 0x0000007f8e1d32ec in ()
at /usr/lib/aarch64-linux-gnu/calls/plugins/ofono/libofono.so
#11 0x0000007f960f7e90 in <emit signal ??? on instance 0x557bc030b0 [GDBOModemProxy]>
(instance=instance@entry=0x557bc030b0, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3551
#8 0x0000007f960de018 in g_closure_invoke
(closure=closure@entry=0x557b7e29b0, return_value=return_value@entry=0x0, n_param_values=4, param_values=param_values@entry=0x7fd977e790, invocation_hint=invocation_hint@entry=0x7fd977e758) at ../../../gobject/gclosure.c:810
#9 0x0000007f960f1558 in signal_emit_unlocked_R
(node=node@entry=0x557b7e29e0, detail=detail@entry=0, instance=instance@entry=0x557bc030b0, emission_return=emission_return@entry=0x0, instance_and_params=0x7fd977e790, instance_and_params@entry=0x0)
at ../../../gobject/gsignal.c:3777
#10 0x0000007f960f7898 in g_signal_emit_valist
(instance=instance@entry=0x557bc030b0, signal_id=<optimized out>, detail=detail@entry=0, var_args=...) at ../../../gobject/gsignal.c:3495
#12 0x0000007f95589f90 in on_signal_received
(connection=<optimized out>, sender_name=0x7f80035f00 ":1.161", object_path=<optimized out>, interface_name=<optimized out>, signal_name=0x7f800138d0 "PropertyChanged", parameters=0x55806c02a0, user_data=<optimized out>)
at ../../../gio/gdbusproxy.c:884
#13 0x0000007f955763c8 in emit_signal_instance_in_idle_cb
(data=0x7f80013b60) at ../../../gio/gdbusconnection.c:3789
#14 0x0000007f95fd9ab4 in g_main_dispatch (context=0x557b7d4da0)
at ../../../glib/gmain.c:3325
#15 g_main_context_dispatch (context=0x557b7d4da0)
at ../../../glib/gmain.c:4043
#16 0x0000007f95fd9e5c in g_main_context_iterate
(context=context@entry=0x557b7d4da0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#17 0x0000007f95fd9f24 in g_main_context_iteration
(context=context@entry=0x557b7d4da0, may_block=may_block@entry=1)
at ../../../glib/gmain.c:4184
#18 0x0000007f9554bac8 in g_application_run
(application=0x557b7d3140 [CallsApplication], argc=<optimized out>, argv=0x7fd977ede8) at ../../../gio/gapplication.c:2559
#19 0x000000556cb5d250 in main ()
If however I start calls after bringing the modem up with the above mentioned ofono script at a first glance everything seems to be working (well I can't place any calls, but that's a different issue I suppose - pasting the error for completeness sake: ** (sm.puri.Calls:3244): WARNING **: 19:00:31.483: Error dialing number on modem
QUECTEL Mobile Broadband Module': GDBus.Error:org.ofono.Error.NotAvailable: Operation currently not available`)