FS#33130 - libicule.so cause soffice.bin to crash

Attached to Project: Arch Linux
Opened by ido (ik_5) - Wednesday, 19 December 2012, 10:28 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 20 December 2012, 19:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:
When trying to load csv file using Libreoffice that the content contain Hebrew (cp1255 and UTF-8) into Libreoffice
Libre crash, and at the systemlog I have the following error message:

kernel: [15636.280257] soffice.bin[13308]: segfault at 0 ip 00007fd82ece96ee sp 00007fff6b69ad80 error 4 in libicule.so.50.1.1[7fd82ecd6000+3f000]

Additional info:
* Libreoffice (Version 3.6.4.3 (Build ID: 3.6.4.3 Arch Linux build-1)
* icu 50.1.1-1


Steps to reproduce:
have a csv created with MS Excel with Hebrew (as the one that I have attached)
load it with libreoffice
   test.csv (0.1 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 20 December 2012, 19:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.6.4-2 has been rebuilt for new icu.
Comment by kionez (kionez) - Wednesday, 19 December 2012, 11:44 GMT
Description:

Here too, but happens when i try to change font with every libreoffice app (i.e.: calc, writer)

[ 4848.166589] soffice.bin[4029]: segfault at 0 ip 00007f47c879d6ee sp 00007fff030d8460 error 4 in libicule.so.50.1.1[7f47c878a000+3f000]
[12404.824046] soffice.bin[8306]: segfault at 0 ip 00007ff2d34636ee sp 00007fffc3360690 error 4 in libicule.so.50.1.1[7ff2d3450000+3f000]

Additional info:
* x86_64
* libreoffice-* 3.6.4-1
* icu 50.1.1-1

Steps to reproduce:
Open a new calc or writer document, write something then change font.
Comment by John Sivak (jsivak) - Wednesday, 19 December 2012, 15:39 GMT
I have experienced similar behavior after icu was upgraded to the latest release (50.1.1-1)

Downgraded to icu-50.1-2 and the Libreoffice crashing does not happen.
Comment by Andreas Radke (AndyRTR) - Wednesday, 19 December 2012, 16:24 GMT
Does a Libreoffice recompilition help?
Comment by John Sivak (jsivak) - Wednesday, 19 December 2012, 16:53 GMT
@AndyRTR:
You mean by using abs and rebuilding libreoffice-base and libreoffice-calc packages after upgrading icu back to version 50.1.1-1?
Comment by Andreas Radke (AndyRTR) - Wednesday, 19 December 2012, 17:37 GMT
Yes. try to rebuild libreoffice using abs against new icu. There could be some hidden ABI/API change.

If that doesn't work check for known upstream bugs or file a new one.
Comment by Andreas Radke (AndyRTR) - Wednesday, 19 December 2012, 20:44 GMT
For me recompiling LibreOffice 4.0beta2 solves that segfault. Can you confirm that for 3.6?
Comment by John Sivak (jsivak) - Thursday, 20 December 2012, 03:56 GMT
Yes, after recompiling libreoffice 3.6.4-1 and re-installing libreoffice-base, libreoffice-calc, libreoffice-core and libreoffice-common I was able to open .xlsx files that have utf-8 encoded text in multiple languages.

Comment by patrick (potomac) - Thursday, 20 December 2012, 08:42 GMT
another bug caused by ICU:

libreoffice calc will crash if I try to format cells ( menu "format cells" ) :

https://bugs.archlinux.org/task/33142

it's a major bug, we need a recompilation of the libreoffice package
Comment by Lev Levitsky (levitsky) - Thursday, 20 December 2012, 11:16 GMT
The same problem occurs for me when trying to open a file with Russian text with LibreOffice Writer. Downgrading icu to 50.1-2 seems to help.
Comment by kionez (kionez) - Thursday, 20 December 2012, 11:56 GMT
Rebuilding and reinstalling everyting from abs fixes the problem (Writer and Calc doesn't crash when i try to change font style)
Comment by Wilco (Wilco) - Thursday, 20 December 2012, 18:56 GMT
Got this error in dmesg when trying format cells in Calc:
soffice.bin[1130]: segfault at 1 ip 00007fd2a729c6ee sp 00007fffba470f10 error 4 in libicule.so.50.1.1[7fd2a7289000+3f000]

Downgrading to icu-50.1-2 like levitsky wrote indeed helped and fixed the issue.

Loading...