Bug 2023908 - pango_item_split: assertion 'split_offset > 0' failed (crashing nm-applet)
Summary: pango_item_split: assertion 'split_offset > 0' failed (crashing nm-applet)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peng Wu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-16 18:47 UTC by Bernard Cafarelli
Modified: 2021-11-22 01:20 UTC (History)
11 users (show)

Fixed In Version: pango-1.49.3-2.fc35
Clone Of:
Environment:
Last Closed: 2021-11-22 01:20:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME pango issues 627 0 None None None 2021-11-16 18:47:42 UTC

Description Bernard Cafarelli 2021-11-16 18:47:43 UTC
Description of problem:
After upgrading to Fedora 35, nm-applet (from network-manager-applet-1.24.0-1.fc35.x86_64) segfaults on a pango assert:
(nm-applet:8121): Pango-CRITICAL **: 19:26:36.541: pango_item_split: assertion 'split_offset > 0' failed


Version-Release number of selected component (if applicable):
pango-1.49.3-1.fc35.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Left-click on nm-applet to get list of possible connections

Actual results:
Immediate crash

Expected results:
List of connections (note that some sections show small cap letters)

Additional info:
The linked gnome gitlab issue mentions this is generic for strings in string in a GtkLabel (with small caps)
 
Rebuilding pango 1.49.3 with patch from https://gitlab.gnome.org/GNOME/pango/-/merge_requests/505 fixes the issue

Comment 1 Jens Petersen 2021-11-18 03:48:45 UTC
Which desktop are you using?

Comment 2 Peng Wu 2021-11-18 05:34:39 UTC
Sorry, I can't reproduce this issue yet.


This is the pango package scratch build with the patch.

URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=79008333

If the above package works for you, I will include the patch in Fedora soon.

Comment 3 mediaklan 2021-11-18 21:34:20 UTC
I can confirm this issue since my recent upgrade to F35, using xfce.
- A left click (for example, disconnecting a vpn) will crash the applet.
Here's the segfault :
[70195.350282] nm-applet[10865]: segfault at 38 ip 00007f9f4cd91be8 sp 00007ffd4ab8c370 error 4 in libpango-1.0.so.0.4903.0[7f9f4cd86000+2c000]
And Pango-CRITICAL :
(nm-applet:167296): Pango-CRITICAL **: 22:04:08.125: pango_item_split: assertion 'split_offset > 0' failed

Comment 4 Fedora Update System 2021-11-19 03:49:02 UTC
FEDORA-2021-64b892ec84 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-64b892ec84

Comment 5 Bernard Cafarelli 2021-11-19 09:13:56 UTC
Thanks for the update! I can confirm that with pango-1.49.3-2.fc35 RPMs, nm-applet does not crash either on list (left click) - also with XFCE here.

Comment 6 Fedora Update System 2021-11-20 02:19:27 UTC
FEDORA-2021-64b892ec84 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-64b892ec84`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-64b892ec84

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

Comment 7 Fedora Update System 2021-11-22 01:20:33 UTC
FEDORA-2021-64b892ec84 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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