Modem-manager-gui segmentation fault

After upgrading the system to version 21.2.2 Qonos, I found that the Modem-Manager-GUI stopped working with this error:

    ~  modem-manager-gui
Connection manager: Network Manager >= 0.9.0
Modem manager: Modem Manager >= 0.7.0
Segmentation fault at address: 0x20
Stack trace:
1. /usr/lib/libglib-2.0.so.0(g_bit_lock+0x50) [0x7f6446c11ad0]
2. /usr/lib/libglib-2.0.so.0(g_bit_lock+0x50) [0x7f6446c11ad0]
3. /usr/lib/libglib-2.0.so.0(g_variant_n_children+0x1e) [0x7f6446c8d9ee]
4. /usr/lib/modem-manager-gui/modules/libmodcm_nm09.so(mmgui_module_connection_enum+0x4a2) [0x7f6440008792]
5. modem-manager-gui(mmguicore_connections_enum+0x6f) [0x55ba6868fd9f]
6. modem-manager-gui(+0x4942a) [0x55ba686b042a]
7. modem-manager-gui(mmguicore_devices_open+0x1c5) [0x55ba68690395]
8. modem-manager-gui(+0x3af15) [0x55ba686a1f15]
9. modem-manager-gui(+0x4902b) [0x55ba686b002b]
    ~  

I downgraded NetworkManager by one version and with this Modem-Manager-GUI it started working normally again.
So when updating the system to the latest version, we forgot to adjust the NM versus MM collaboration.
This should be fixed as soon as possible, Modem-Manager-GUI is an excellent and useful application in any modem laptop.

    ~  inxi -Sxxx0
System:
  Host: lifebook Kernel: 5.10.93-1-MANJARO x86_64 bits: 64 compiler: gcc
    v: 11.1.0 Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
    ~  
    ~  lsusb
Bus 002 Device 006: ID 1199:9011 Sierra Wireless, Inc. MC8305 Modem
Bus 002 Device 005: ID 0489:e031 Foxconn / Hon Hai BCM20702A0
Bus 002 Device 007: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 002 Device 004: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 002 Device 003: ID 04f2:b240 Chicony Electronics Co., Ltd FJ Camera
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 046d:c06c Logitech, Inc. Optical Mouse
Bus 001 Device 003: ID 08ff:2683 AuthenTec, Inc. Fingerprint Sensor
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    ~  

I can’t reproduce that. Are you fully up to date?

sudo pacman-mirrors -f5 && sudo pacman -Syyuu

Also make sure you’re not ignoring any package upgrades:

cat /etc/pacman.conf | grep IgnorePkg
1 Like

Yes, I have the full latest update. No, I have not ignored any package.
It really came spontaneously after the last system update and in order to use the MM-GUI, I have to downgrade NetwokManager by one version, that’s enough.

I was still looking for this error and found that the MM-GUI starts normally when the SIM card is removed.
And then I noticed that someone had already reported the bug:

I also used another LTE modem, Quectel EC25-E miniPCIe, ModemManager-Gui reports the same error. So for now, I have to use it with a lower version of NetworkManager, 1.24. It works well.
It needs to be fixed as soon as possible, thanks.

i’m having the same problem
could you tell me please how to downgrade network manager?

edit:
sudo pacman -S manjaro-downgrade
sudo manjaro-downgrade networkmanager
i get this:
sudo manjaro-downgrade networkmanager  1 ✘

:: Retrieving packages…
networkmanager-1.24.0-1-x86_64 3.2 MiB 609 KiB/s 00:05 [#######################################################] 100%
loading packages…
error: ‘/var/cache/pacman/pkg/networkmanager-1.24.0-1-x86_64.pkg.tar.zst’: invalid or corrupted package (PGP signature)

Modem manager gui is an abandoned project. You should not ruin your system by selectively downgrading other stuff to make it work.
There is an AUR project modem-manager-gui-hg that takes the now 4 year old source and patches it, there is of course no guarantee how long will this still work, since the original code relies on old libraries versions…and it will break again at some point in the future.

Alternatively, you can use other tools to achieve the same tasks. Network manager already supports modems out of the box. Gnome calls can be used for calls, if supported by sim and modem. Modem manager itself can send and receive sms from the command line. For USSD codes like for checking the prepaid balance, there is the option of a gnome prepaid manager applet if you use gnome or you can use a com program to send AT commands to modem and respectively ussd commands.
There are also packages like Wammu or Gammu for mobile devices, that are somewhat all-in-one.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.