FS#54707 - [poedit] Crash when opening po file

Attached to Project: Community Packages
Opened by Marius (Martchus) - Wednesday, 05 July 2017, 16:44 GMT
Last edited by Balló György (City-busz) - Thursday, 13 July 2017, 11:07 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Poedit crashes, eg.
poedit

(poedit:9480): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(poedit:9480): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(poedit:9480): Gtk-WARNING **: Negative content width -33 (allocation 1, extents 17x17) while allocating gadget (node button, owner GtkToggleButton)

(poedit:9480): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(poedit:9480): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
poedit: cairo-arc.c:189: _cairo_arc_in_direction: Assertion `angle_max >= angle_min' failed.

Additional info:
* The application crashes when opening a *.po file.
* It didn't help to switch the Gtk theme from breeze-gtk to adwaita.
* Likely a bug in cairo or wxWidgets
* https://github.com/vslavik/poedit/issues/396


Steps to reproduce:
Open poedit and (try to) open a po file.
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 13 July 2017, 11:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  poedit 1:2.0.2-3
Comment by Marius (Martchus) - Wednesday, 05 July 2017, 17:00 GMT
Here is a version using the patch mentioned in the linked issue: https://github.com/Martchus/PKGBUILDs/commit/8cb9c63c2ca5d55722cc4c102ec41e5b069af3df

The patch works for me.

Loading...