Bug 2326719 - after recent update, reboot, login, mate-panel fails to initialize fully, crashes, desktop unusable
Summary: after recent update, reboot, login, mate-panel fails to initialize fully, cra...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-sensors-applet
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2327489 2350072 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-17 00:17 UTC by publiccontact2020
Modified: 2025-11-29 22:36 UTC (History)
3 users (show)

Fixed In Version: mate-sensors-applet-1.28.0-6.fc42
Clone Of:
Environment:
Last Closed: 2025-03-28 00:16:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github mate-desktop mate-sensors-applet pull 137 0 None Merged Fix an invalid pointer crash with glib 2.83.2 2025-11-29 22:36:23 UTC

Description publiccontact2020 2024-11-17 00:17:48 UTC
Description of problem: Post update, reboot, login, mate panel fails to initialize, crashes, attempts to initialze repeatedly but crashes


Version-Release number of selected component (if applicable):
mate-panel-libs-1.28.2-2.fc41.x86_64
mate-panel-1.28.2-2.fc41.x86_64

How reproducible:
sudo dnf upgrade

Steps to Reproduce:
1.upgrade via dnf
2.reboot
3.login, mate panel crashes

Actual results:
mate panel fails to initialize

Expected results:
mate-panel initialize and desktop functional

Additional info:

Comment 1 Wolfgang Ulbrich 2024-11-17 00:32:22 UTC
What packages are updated?
Maybe revert the update?

I do not run f41....

Comment 2 Wolfgang Ulbrich 2024-11-17 10:41:05 UTC
I tried to reproduce your issue with updating a f41 VM from beta to current status, but the panel starts well here.
I updated the system step by step and noticed there was a iwlwifi update. Maybe networkmanager-applet causes a problem?
But this i won't be able to test as i can't use wifi in a VM.

So more infos are needed. Logs?

Comment 3 publiccontact2020 2024-11-18 15:08:28 UTC
Revert to functional backup; dnf upgrade more than 200 packages; no mate-panel crash until following packages installed:

PackageKit-glib-1.2.8-8.fc42.x86_64.rpm  
glib2-2.83.0-1.fc42.x86_64.rpm gli
b2-devel-2.83.0-1.fc42.x86_64.rpm

mate-panel alternately starts to initialize and then crashes.

terminal output:

$sudo killall mate-panel

$mate-panel

glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/rx_packets": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/tx_packets": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/rx_bytes": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/tx_bytes": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/rx_errors": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/tx_errors": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/collisions": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/rx_packets": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/tx_packets": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/rx_bytes": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/tx_bytes": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/rx_errors": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/tx_errors": No such file or directory
glibtop(c=2338): [WARNING] Failed to open "/sys/class/net/enp8s0/statistics/collisions": No such file or directory
free(): invalid pointer
Aborted (core dumped)

Comment 4 publiccontact2020 2024-11-18 15:10:40 UTC
correction:

Revert to functional backup; dnf upgrade more than 200 packages; no mate-panel crash until following packages installed:

PackageKit-glib-1.2.8-8.fc42.x86_64.rpm  
glib2-2.83.0-1.fc42.x86_64.rpm gli
glib2-devel-2.83.0-1.fc42.x86_64.rpm

Comment 5 Wolfgang Ulbrich 2024-11-18 16:49:14 UTC
I did  a scratch rebuild against new glib2 for testing. Maybe it helps?
Please download and install from koji build server.
https://koji.fedoraproject.org/koji/taskinfo?taskID=125989688

Comment 6 publiccontact2020 2024-11-18 20:03:51 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=125989707

wget https://kojipkgs.fedoraproject.org//work/tasks/9707/125989707/mate-panel-1.28.2-3.fc42.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//work/tasks/9707/125989707/mate-panel-libs-1.28.2-3.fc42.x86_64.rpm

sudo rpm -ihv --force mate-panel-1.28.2-3.fc42.x86_64.rpm mate-panel-libs-1.28.2-3.fc42.x86_64.rpm

sudo dnf upgrade

Package                             Arch     Version                          Repository       Size

Upgrading:
 
PackageKit-glib                     x86_64   1.2.8-8.fc42                     rawhide          517.6 KiB
replacing PackageKit-glib           x86_64   1.2.8-7.fc41                     <unknown>        520.4 KiB

glib2                               x86_64   2.83.0-1.fc42                    rawhide           14.7 MiB
replacing glib2                     x86_64   2.82.2-1.fc42                    rawhide           14.7 MiB

glib2-devel                         x86_64   2.83.0-1.fc42                    rawhide           15.8 MiB
replacing glib2-devel               x86_64   2.82.2-1.fc42                    rawhide           15.7 MiB

ibus-libs                           x86_64   1.5.31-1.fc42                    rawhide          859.5 KiB
replacing ibus-libs                 x86_64   1.5.31~rc1-2.fc42                rawhide          859.5 KiB

packages with broken dependencies:
eom                                 x86_64   1.28.0-4.fc42                    rawhide            7.7 MiB

Transaction Summary:
4 packages
Replacing:          4 package
Skipping:           1 package

reboot 

rpm -qa | grep mate-panel
mate-panel-libs-1.28.2-3.fc42.x86_64
mate-panel-1.28.2-3.fc42.x86_64

All appears well in mate-land.

Thank you, Wolfgang, for the prompt attention.

Comment 7 Wolfgang Ulbrich 2024-11-18 20:48:50 UTC
Nice to hear that it works for you. I will do a rebuild for f42.
Eom rebuild is already in rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=125990669
There was an unannounced so-name bump of image-magick.

Comment 8 Wolfgang Ulbrich 2024-11-18 20:58:15 UTC
Real fixed version is mate-panel-1.28.2-4.fc42 https://koji.fedoraproject.org/koji/taskinfo?taskID=125992778

Comment 9 publiccontact2020 2025-03-13 21:18:02 UTC
This issue with mate-panel crashing should be reopened as the issue has recurred after the mass update-rebuild and persists in rawhide 43.

There are continuing serious issues with the mate file manager caja,  atril, udisks2, gvfs, glib2, nm-applet and the mate panel brightness applet.

New mate-panels can not be created and panels do not accept resizing nor is it possible to easily right-click and add new shortcuts to a panel.

Numerous bug reports have been filed with no significant resolution and the mate desktop in rawhide is disfunctional and seriously crippled after updates that do not exclude packages as follows:

sudo dnf upgrade --exclude="PackageKit-glib, glib2, gcr, gcr-libs, gcr3, gcr3-base, libsecret, gvfs, udisks2, atril, caja, caja-*"

Comment 10 Wolfgang Ulbrich 2025-03-13 22:53:17 UTC
I just updated a f41 VM to f43 with dnf upgrade tool  https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/
Upgrade was seamless and Mate desktop runs fine.
No idea what is wrong in your installation......

Comment 11 publiccontact2020 2025-03-14 16:11:48 UTC
In response to comment 10:

This issue was resolved once; see comment 6.

The mate-panel build/version you provided was updated and the issue re-appeared.  

Can you specify a test to identify the issue?

Comment 12 Wolfgang Ulbrich 2025-03-14 17:15:49 UTC
You're using f42 or rawhide (f43)? Please post the output of `uname -r`
And which mate-panel version are you using? `rpm -qa mate-panel`

Comment 13 publiccontact2020 2025-03-14 17:58:12 UTC
Wolfgang, per your request in comment 12: 

rpm -qa | grep mate-panel
mate-panel-libs-1.28.2-5.fc42.x86_64
mate-panel-1.28.2-5.fc42.x86_64

uname -r
6.14.0-rc5 

Attempted to download the scratch build rpms you made against glib2, as mate-panel did not crash after login with these installed.

Apparenty these builds are no longer available:

https://koji.fedoraproject.org/koji/taskinfo?taskID=125989707

wget https://kojipkgs.fedoraproject.org//work/tasks/9707/125989707/mate-panel-1.28.2-3.fc42.x86_64.rpm
wget https://kojipkgs.fedoraproject.org//work/tasks/9707/125989707/mate-panel-libs-1.28.2-3.fc42.x86_64.rpm

In order to prevent mate-panel from crashing with mate-panel-1.28.2-5.fc42.x86_64 it was necessary to use glib2 from fedora 41, but it has since become evident that not updating glib2 has caused numerous symbol lookup errors in other programs including udisks2, caja, and nm-applet.

Since your scratch build of mate-panel-libs-1.28.2-3.fc42.x86_64.rpm against glib2 was the only one that did not crash, this is a request to do an update build of mate-panel/mate-panel-libs 1.28.2-5.fc42.x86_64 against glib2.

It appears the original glib2 problem crashing mate-panel was not esolved after the mass-rebuild.

Comment 14 Wolfgang Ulbrich 2025-03-14 18:47:39 UTC
Please post full output of uname -r
Like
```
uname -r
6.13.5-100.fc40.x86_64
```
I like to know the version of the OS to be sure we are talking about f42

Btw. actual mate-panel-1.28.2-5.fc42.x86_64 from massrebuild from releng should be the same as mate-panel-1.28.2-4.fc42 build by me. mate-panel-1.28.2-4.fc42 is the official build of mate-panel-1.28.2-3 scratch build.

In my f42 VM with latest package versions.....
```
rave@fedora:~$ uname -r
6.14.0-0.rc3.29.fc42.x86_64
rave@fedora:~$ rpm -qa mate-panel*
mate-panel-libs-1.28.2-5.fc42.x86_64
mate-panel-1.28.2-5.fc42.x86_64
rave@fedora:~$ rpm -qa caja
caja-1.28.0-4.fc42.x86_64
rave@fedora:~$ rpm -qa glib2
glib2-2.83.2-6.fc42.x86_64
```
.....i don't get this crashes. Everything runs smooth.
So i am still wondering why your installation is faulty?
Are you using this installation (bare-metal or VM ?) for production or only for testing?

Comment 16 publiccontact2020 2025-03-16 14:02:10 UTC
Wolfgang, thank you for the fedora 42/fedora 43 mate-panel builds.

Neither resolved the mate-panel crash issue.

The hardware sensors monitor panel applet was causing mate-panel to crash.

$mate-panel
free(): invalid pointer
Aborted (core dumped)

Removing the applet from the panel resolved the crash issue.

If this applet was not installed in your VM tests it would explain why the mate-panel crash issue was not present.

Apparently there is an incompatibility issue between the applet and glib2 2.83/2.84 that did not exist with glib2 2.82.

It is worthwhile to note that the hardware sensors monitor applet was failing to load in a number of other distributions, but without crashing mate-panel. 

Whether the issue lies with the hardware sensors monitor applet or glib2 version >2.82, or both, is a matter for investigation.

Thank you for your attention to this matter.

Comment 17 publiccontact2020 2025-03-16 14:52:45 UTC
After resolving the issue found this online:

https://github.com/mate-desktop/mate-sensors-applet/commit/9b74dc16d852a40d37f7ce6c236406959fd013e5
Fix an invalid pointer crash with glib 2.83.2
The typecast to non-const gchar produced invalid pointer errors on free() with glib 2.83.2

Comment 18 Wolfgang Ulbrich 2025-03-16 16:38:08 UTC
Thanks for finding this commit.
Can you try https://koji.fedoraproject.org/koji/taskinfo?taskID=130356156
It's build with the patch but not tested by me, because i don't have a bare metal installation with this glib2 version.
Whole the panel with all applets are build-in-process to support wayland. Means all applets and the panel itself running in one pid.
For this reason the panel crash if one applet is faulty.

Comment 19 publiccontact2020 2025-03-16 23:21:37 UTC
Reply to comment 18:

Thank your for the build, Wolfgang.

Regarding:

https://koji.fedoraproject.org/koji/taskinfo?taskID=130356291
https://kojipkgs.fedoraproject.org//work/tasks/6291/130356291/mate-sensors-applet-1.28.0-5.fc42.x86_64.rpm

Loaded two instances to run at the same time to test stability, one instance in an existing mate-panel and a second instance in a mate-panel by itself and both appear to be working properly with the following installed packages:

mate-panel-libs-1.28.2-5.fc42.x86_64
mate-panel-1.28.2-5.fc42.x86_64

glib2-2.84.0-1.fc43.x86_64
glib2-devel-2.84.0-1.fc43.x86_64

mate-sensors-applet-1.28.0-5.fc42.x86_64.rpm

NAME="Fedora Linux"
VERSION="43 (Rawhide Prerelease)"
RELEASE_TYPE=development
ID=fedora
VERSION_ID=43
VERSION_CODENAME=""
PLATFORM_ID="platform:f43"

Comment 20 Fedora Update System 2025-03-18 09:19:05 UTC
FEDORA-2025-b1d77b0612 (mate-sensors-applet-1.28.0-6.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b1d77b0612

Comment 21 Wolfgang Ulbrich 2025-03-18 09:21:51 UTC
If you got a fas account please leave karma for f42 at bodhi.

Comment 22 Fedora Update System 2025-03-19 01:58:38 UTC
FEDORA-2025-b1d77b0612 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b1d77b0612`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b1d77b0612

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2025-03-28 00:16:36 UTC
FEDORA-2025-b1d77b0612 (mate-sensors-applet-1.28.0-6.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Debarshi Ray 2025-11-29 22:35:43 UTC
*** Bug 2327489 has been marked as a duplicate of this bug. ***

Comment 25 Debarshi Ray 2025-11-29 22:35:44 UTC
*** Bug 2350072 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.