Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1004258: modem-manager-gui: segfaults on launch

229 views
Skip to first unread message

Matteo F. Vescovi

unread,
Jan 23, 2022, 12:30:04 PM1/23/22
to
Package: modem-manager-gui
Version: 0.0.20-2+b1
Severity: important

Dear Maintainer,

since a few days m-m-g doesn't start anymore and when launched on a
terminal it segfaults with the following output:

= = = = = >8 = = = = =
$ modem-manager-gui
Connection manager: Network Manager >= 0.9.0
Modem manager: Modem Manager >= 0.7.0

(modem-manager-gui:13971): GLib-CRITICAL **: 18:19:45.790: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed

(modem-manager-gui:13971): GLib-CRITICAL **: 18:19:45.790: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed

(modem-manager-gui:13971): GLib-CRITICAL **: 18:19:45.790: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed

(modem-manager-gui:13971): GLib-CRITICAL **: 18:19:45.790: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed

(modem-manager-gui:13971): GLib-CRITICAL **: 18:19:45.790: g_variant_unref: assertion 'value != NULL' failed

** (modem-manager-gui:13971): WARNING **: 18:19:45.799: Network Manager >= 0.9.0: No such file or directory
Segmentation fault at address: 0x20
Stack trace:
1. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_bit_lock+0x50) [0x7f0662106310]
2. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_bit_lock+0x50) [0x7f0662106310]
3. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_variant_n_children+0x19) [0x7f066217ae29]
4. /usr/lib/x86_64-linux-gnu/modem-manager-gui/modules/libmodcm_nm09.so(mmgui_module_connection_enum+0x490) [0x7f065d77fa50]
5. modem-manager-gui(mmguicore_connections_enum+0x69) [0x5610b6d889a9]
6. modem-manager-gui(+0x49664) [0x5610b6da8664]
7. modem-manager-gui(mmguicore_devices_open+0x1b8) [0x5610b6d88f98]
8. modem-manager-gui(+0x3b0e6) [0x5610b6d9a0e6]
9. modem-manager-gui(+0x4920e) [0x5610b6da820e]
= = = = = >8 = = = = =

I'm really thinking at the possibility that the culprit could be N-M
since it's actually installed but not detected by m-m-g.
Probably, newer releases in N-M changed something that m-m-g doesn't
like that much ;)

In case, feel free to ping me for more info.

Cheers.

mfv


-- System Information:
Debian Release: bookworm/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages modem-manager-gui depends on:
ii libayatana-appindicator3-1 0.5.90-5
ii libc6 2.33-3
ii libcairo2 1.16.0-5
ii libgdbm6 1.22-1
ii libgdk-pixbuf-2.0-0 2.42.6+dfsg-2
ii libglib2.0-0 2.70.2-1
ii libgtk-3-0 3.24.31-1
ii libgtkspell3-3-0 3.0.10-1
ii mobile-broadband-provider-info 20210805-1
ii modemmanager 1.18.4-1
ii network-manager 1.34.0-2
ii policykit-1 0.105-31
ii ppp 2.4.9-1+1

Versions of packages modem-manager-gui recommends:
ii modem-manager-gui-help 0.0.20-2
ii yelp 41.2-1

Versions of packages modem-manager-gui suggests:
ii evolution-data-server 3.42.3-1
pn libindicate5 | libmessaging-menu0 <none>
ii libnotify4 0.7.9-3

-- no debconf information
signature.asc

Mykola Nikishov

unread,
Apr 21, 2022, 1:30:03 PM4/21/22
to
"Matteo F. Vescovi" <m...@debian.org> writes:

> Package: modem-manager-gui
> Version: 0.0.20-2+b1
> Severity: important
>
> Dear Maintainer,
>
> since a few days m-m-g doesn't start anymore and when launched on a
> terminal it segfaults with the following output:

[...]

Downgrading libnm0 (and network-manager) to version from stable fixes
the same issue for me.

--
Mykola

Libre/Free Java Software Developer
https://manandbytes.gitlab.io/

Graham Inggs

unread,
May 4, 2022, 4:50:03 AM5/4/22
to
Hi Matteo, Mykola

What make/model modem do you have? I am unable to reproduce this with
a Huawei E3276.

Regards
Graham

Matteo F. Vescovi

unread,
May 5, 2022, 5:50:04 PM5/5/22
to
Hi Graham!

On 2022-05-04 at 10:42 (+02), Graham Inggs wrote:
> Hi Matteo, Mykola
>
> What make/model modem do you have? I am unable to reproduce this with
> a Huawei E3276.

Attached, you'll find the gdb backtrace for modem-manager-gui and the
output for mmcli about my LTE modem (Sierra EM7345, ftr).

Hope this info could help you find a fix.
Feel free to ping me for whatever more info you'd need to solve the
problem.

Cheers.

mfv

gdb.txt
m1.txt
signature.asc

Wolfram Sang

unread,
Aug 4, 2022, 1:20:03 PM8/4/22
to
Hi,

first of all, thank you for fixing this bug. I was also bitten by it
and I am happy that it was fixed already by a patch.

I'd like to suggest some improvements, though. First, I think the new
variable introduced should be 'gint' rather than 'int' to stay
consistent. Also, there were some white space issues with one of the new
lines. I add an updated patch here to this message. It is also a tad
shorter because of the ternary operator. Its usage is often a matter of
taste but I think it fits nicely here.

Thanks and looking forward to comments,

Wolfram
fix_segfault_on_DNS_entries.patch
signature.asc
0 new messages