gnome-panel crashed with SIGABRT when accessing the preferences of the Weather Report applet

Bug #1825450 reported by KyL416
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-applets (Ubuntu)
Fix Released
Undecided
Dmitry Shachnev
Disco
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
gnome-panel crashes when one tries to open the preferences of the Weather Report applet.

[Test Case]
1. Install gnome-panel and gnome-applets.
2. Run gnome-panel.
3. Open the “Add to Panel” dialog (Alt + right-click → Add to Panel…), select “Weather Report”.
4. Right-click the added applet, click “Preferences”.
5. gnome-panel should not crash, instead the preferences menu should be opened.

[Proposed Fix]
libgweather 3.31.91 introduced an ABI break without SONAME bump, the values of some enums have changed. See <https://gitlab.gnome.org/GNOME/libgweather/issues/17>. As the current gnome-applets in Disco was built against libgweather 3.28, it thinks that a location level is GWEATHER_LOCATION_DETACHED, while it actually is GWEATHER_LOCATION_NAMED_TIMEZONE.

The proposed fix is a simple rebuild against new libgweather to pick up new enum values.

[Regression Potential]
As the fix is a simple rebuild, I cannot imagine any regressions this could cause.

ProblemType: Crash
DistroRelease: Ubuntu 19.04
Package: gnome-panel 1:3.30.0-1ubuntu3
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Thu Apr 18 21:01:27 2019
ExecutablePath: /usr/bin/gnome-panel
ExecutableTimestamp: 1549538883
GsettingsChanges:
 b'org.gnome.gnome-panel.layout' b'object-id-list' b"['menu-bar', 'show-desktop', 'window-list', 'workspace-switcher', 'indicator-applet-complete', 'g-weather-applet', 'notification-area']"
 b'org.gnome.gnome-panel.layout' b'toplevel-id-list' b"['top-panel', 'bottom-panel']"
InstallationDate: Installed on 2010-12-09 (3052 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcCmdline: gnome-panel
ProcCwd: /home/kyle
Signal: 6
SourcePackage: gnome-panel
StacktraceTop:
 () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 () at /usr/lib/gnome-applets/libgweather-applet.so
 () at /usr/lib/gnome-applets/libgweather-applet.so
 gweather_xml_load_locations () at /usr/lib/gnome-applets/libgweather-applet.so
Title: gnome-panel crashed with SIGABRT
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirt libvirtd lpadmin plugdev sambashare sudo vboxusers wireshark
separator:

Revision history for this message
KyL416 (kyl416) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7f57bc6cb490 <__func__.64814> "gweather_xml_parse_node", message=<optimized out>) at ../../../glib/gtestutils.c:2878
 g_assertion_message_expr (domain=domain@entry=0x7f57bc6cb320 "org.gnome.gnome-applets.gweather", file=file@entry=0x7f57bc6cb460 "gweather-xml.c", line=line@entry=130, func=func@entry=0x7f57bc6cb490 <__func__.64814> "gweather_xml_parse_node", expr=expr@entry=0x0) at ../../../glib/gtestutils.c:2904
 gweather_xml_parse_node (gloc=0x55b733a51630, store=store@entry=0x55b734ad5b00, parent=parent@entry=0x0) at gweather-xml.c:130
 gweather_xml_parse_node (gloc=gloc@entry=0x55b733a2a660, store=store@entry=0x55b734ad5b00, parent=parent@entry=0x0) at gweather-xml.c:136
 gweather_xml_load_locations () at gweather-xml.c:156

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-panel (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :
Changed in gnome-applets (Ubuntu):
status: New → Confirmed
Changed in gnome-panel (Ubuntu):
status: New → Invalid
description: updated
no longer affects: gnome-panel (Ubuntu)
Changed in gnome-applets (Ubuntu):
assignee: nobody → Dmitry Shachnev (mitya57)
status: Confirmed → In Progress
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello KyL416, or anyone else affected,

Accepted gnome-applets into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-applets/3.30.0-3build1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-applets (Ubuntu Disco):
status: New → Fix Committed
tags: added: verification-needed verification-needed-disco
Adam Conrad (adconrad)
Changed in gnome-applets (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-applets - 3.30.0-3build1

---------------
gnome-applets (3.30.0-3build1) disco; urgency=medium

  * No-change rebuild against libgweather 3.32 (LP: #1825450).

 -- Dmitry Shachnev <email address hidden> Sun, 21 Apr 2019 11:57:43 +0300

Changed in gnome-applets (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
KyL416 (kyl416) wrote :

This fixed it, thanks

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for testing! Marking as verified then.

tags: added: verification-done verification-done-disco
removed: verification-needed verification-needed-disco
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-applets - 3.30.0-3build1

---------------
gnome-applets (3.30.0-3build1) disco; urgency=medium

  * No-change rebuild against libgweather 3.32 (LP: #1825450).

 -- Dmitry Shachnev <email address hidden> Sun, 21 Apr 2019 11:57:43 +0300

Changed in gnome-applets (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-applets has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.