FS#58828 - [cairo] soffice.bin crashes when showing slides with Chinese character

Attached to Project: Arch Linux
Opened by Yonhjang Liu (sigma96) - Friday, 01 June 2018, 14:41 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 30 January 2019, 18:22 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package version(s):
libreoffice-fresh 6.0.4-1
cairo 1.15.12-1

Steps to reproduce:

* run `libreoffice --impress` to create a new presentation
* paste "一" (which is a Chinese character) into any text field on the first slide
* click "Slide Show" - "Start from First Slide"
* The program crashes, with an error that reads
soffice.bin: cairo-ft-font.c:576: _cairo_ft_unscaled_font_create_internal: Assertion `unscaled->base.hash_entry.hash == key.base.hash_entry.hash' failed.

Looks like a bug in cairo, see https://bugzilla.redhat.com/show_bug.cgi?id=1567633.

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 30 January 2019, 18:22 GMT
Reason for closing:  Fixed
Comment by Doss Man (dosssman) - Monday, 17 September 2018, 13:43 GMT
Before an actual fix, here is a workaround:

https://www.actinia.me/?p=335

To save some space, might want to soft link to that C:/Windows/Fonts instead of copying the directory7s content.
Comment by Andreas Radke (AndyRTR) - Wednesday, 30 January 2019, 11:38 GMT
How's status with recent updates? I guess new cairo release contains the required fix.
Comment by Yonhjang Liu (sigma96) - Wednesday, 30 January 2019, 14:57 GMT
It looks good from my side. The above steps no longer result in a crash.

Loading...