FS#76490 - [libnma] 1.10.4-2 crashes after attempt to add new VPN connection

Attached to Project: Arch Linux
Opened by Andrey Fomin (SayCheeseOrDie) - Tuesday, 08 November 2022, 21:05 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 09 November 2022, 08:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
It seemingly happend with the latest update, since after update to 43.1 everything worked fine. Attempt to add any new VPN connection in Gnome Control center fails with the error

Additional info:
Error message:
(gnome-control-center:10404): GLib-GIO-ERROR **: 23:51:33.722: settings object created with schema 'org.gnome.nm-applet.eap' and path '/org/gnome/nm-applet/eap/2b7e5573-d9eb-4906-82ca-674e00e54fca/', but path '/org/gnome/nm-applet/eap/' is specified by schema

All packages are the latest as of NOV 9, 2022, 00:00 AM GMT +03:00
Gnome Control Center version is 43.1-2
libnma-gtk4 version: 1.10.4-1
libnma version: 1.10.4-1
networkmanager-pptp version: 1.2.10-2
networkmanager version: 1.40.2-1

Steps to reproduce:
1. Open gnome-control-center
2. Go to Networks Tab
3. Click "+" On VPN list
4. Choose any (tested PPTP and OpenVPN)
5. Enter minimum info (server address for PPTP) to make "Add" button available
6. Click Add
7. That's the moment when control center halts for a second and shuts down with error

It behaves identically on 2 different PCs (laptop and desktop).
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 09 November 2022, 08:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  libnma 1.10.4-3
Comment by Andrey Fomin (SayCheeseOrDie) - Tuesday, 08 November 2022, 21:33 GMT
Here is a coredump for gnome-control-center.
Debian Testing appears to use the same version and it works fine, so I don't think that's an upstream bug. I'll try my best to provide any info or help with testing regarding the bug since it's in my best interest that this is fixed ASAP.

Also forgot to mention - both machines tested are brand new Arch installs (did about 2 hours ago for both).
Comment by Toolybird (Toolybird) - Wednesday, 09 November 2022, 02:40 GMT
> Here is a coredump

Where? Forgot to attach? But do not worry..

We need a backtrace with debug symbols. I just reproduced this in a VM and will attach 2 backtraces. Once is with "bt" and the other is with "bt full". Someone who cares about this should probably report it upstream.
Comment by Logan Bateman (nametable) - Wednesday, 09 November 2022, 02:45 GMT
This same crash also happens for me with nm-connection-editor, so it may not be gnome-control-center specific.
Comment by Toolybird (Toolybird) - Wednesday, 09 November 2022, 03:27 GMT
Yeah, can also repro with nm-connection-editor so I suppose the bug is in "libnma". Attaching another trace.
Comment by Andrey Fomin (SayCheeseOrDie) - Wednesday, 09 November 2022, 08:02 GMT
For now rolling back libnma, libnma-common and libnma-gtk4 to version from October 25 fixes the issue. Here is a command (using Arch archive) for convenience in case someone stuck:

sudo pacman -U https://archive.archlinux.org/packages/l/libnma/libnma-1.10.2-2-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/l/libnma-common/libnma-common-1.10.2-2-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/l/libnma-gtk4/libnma-gtk4-1.10.2-2-x86_64.pkg.tar.zst

It doesn't mess with any other packages so rollback is safe to do imo.

Toolybird, I've tried to add 15+ MiB coredump using the button that explicitly says 'max 2 MiB', because of course I did. I'll try to report upstream today and post info here. If anyone would do that before me, please also post here.

Loading...