assertion 'g_utf8_validate (string, -1, NULL)' failed
Aleksander Morgado
aleksander at aleksander.es
Wed Oct 21 05:00:02 PDT 2015
Hey José,
>
> Hi, I am working with Telit LE910. It works properly with ModemManager using QMI, but if I disable and enable the modem again, I get the following:
>
> root at ccimx6sbc:~# mmcli -m 0 -e
>
> ModemManager[698]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
>
> ModemManager[698]: <warn> (ttyUSB2): port attributes not fully set
>
> ModemManager[698]: <warn> (ttyUSB3): port attributes not fully set
>
> ModemManager[698]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> registering)
>
>
>
> (ModemManager:698): GLib-CRITICAL **: g_variant_new_string: assertion 'g_utf8_validate (string, -1, NULL)' failed
>
>
>
> (ModemManager:698): GLib-CRITICAL **: g_variant_ref_sink: assertion 'value != NULL' failed
>
> ModemManager[698]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> home)
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (17): 'MissingArgument'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (52): 'DeviceNotReady'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (48): 'InvalidArgument'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (48): 'InvalidArgument'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (17): 'MissingArgument'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (52): 'DeviceNotReady'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (48): 'InvalidArgument'
>
> ModemManager[698]: Couldn't read SMS messages: QMI protocol error (48): 'InvalidArgument'
>
> ModemManager[698]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> registered)
>
> successfully enabled the modem
>
>
> Why are those asserts coming out? How can I fix those?
Which ModemManager version is this?
Can you MM with --debug to get full debug logs? See:
http://www.freedesktop.org/wiki/Software/ModemManager/Debugging/
I'd bet these are related to content of read SMS messages.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list