ModemManager 1.20.4 - invalid cast

Peter Naulls peter at chocky.org
Thu Jan 12 21:00:17 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

Sorry; I wasn't able to reproduce the crash, with or without gdb.  And
I have subsequently disabled mbim in MM (crept back in, should have been off 
anyway).

The occasional crash at shutdown is still happening too; I'm afraid I don't
have any insight into that either.  But hopefully I can share my bridge
mode stuff soon.





More information about the ModemManager-devel mailing list