ModemManager 1.20.4 - invalid cast
Peter Naulls
peter at chocky.org
Mon Jan 9 15:37:20 UTC 2023
On 1/9/23 06:11, Aleksander Morgado wrote:
> Hey Peter,
>
>>
>> (ModemManager:19419): GLib-GObject-WARNING **: 15:01:34.152: invalid cast from
>> 'MMBroadbandModemQmiQuectel' to 'MMBroadbandModemMbim'
>> **
>> ERROR:../src/mm-broadband-modem-mbim.c:284:mm_broadband_modem_mbim_peek_port_mbim:
>> assertion failed: (MM_IS_BROADBAND_MODEM_MBIM (self))
>> Bail out!
>> ERROR:../src/mm-broadband-modem-mbim.c:284:mm_broadband_modem_mbim_peek_port_mbim:
>> assertion failed: (MM_IS_BROADBAND_MODEM_MBIM (self))
>> Aborted
>>
>
> Any chance you can run this under gdb like this and get a backtrace?
> $ sudo G_DEBUG=fatal-warnings gdb --args /usr/sbin/ModemManager --debug
I will try; but as you recall, I've had problems with MM under GDB on this
platform since it greatly impacts the performance and affects timeouts, etc.
I'll get you a full log in any case; might be a day or two.
> Also, what modem is this?
Quectel EM12-AW; it is pretty similar to other Quectel modems.
Obviously what I am doing is not "correct", but an error condition or whatever
would be much better here than a crash.
Thanks.
More information about the ModemManager-devel
mailing list