Bug 57992

Summary: date literal expression causes crash or hang during fileopen
Product: LibreOffice Reporter: libreoffice
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: medium    
Version: 3.6.2.1 rc   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: tiny spreadsheet (with date literal expression)

Description libreoffice 2012-12-07 17:40:15 UTC
Created attachment 71148 [details]
tiny spreadsheet (with date literal expression)

Problem description:  crash or hang during fileopen

Steps to reproduce:
1.  open attached tiny spreadsheet (with date literal expression)

Current behavior:
*** glibc detected *** /usr/lib/libreoffice/program/soffice.bin: malloc(): memory corruption (fast): 0x098c78e8 ***
hangs without rendering window

Expected behavior:
open and render window

the contained date literal expression is:  ="06/07/2012 16:01:00"+"0:25:21"
Comment 1 Andreas Blochberger 2012-12-30 12:36:50 UTC
I can confirm this behavior (using LibreOffice Version 3.6.2.2 (Build ID: 360m1(Build:2))), but i get a different output on the console, when started with

> libreoffice fo4\:56-abdx2yz.ods 

The output is:

Fontconfig warning: "/usr/lib/libreoffice/share/fonts/truetype/fc_local.conf", line 13: Having multiple <family> in <alias> isn't supported and may not works as expected

A message box pops up, telling that the operation is not supported on the underlying operating system. I have Ubuntu 12.10

Double clicking the file in dolphin does not bring up the message box above. LibreOffice simply does not start
Comment 2 Andreas Blochberger 2012-12-30 12:48:37 UTC
The difference in behavior ist the path of the file. Called with full path, libreoffice hangs.

> libreoffice fo4\:56-abdx2yz.ods 

This call brings up the error message and quits

> libreoffice /home/andreas/Downloads/fo4\:56-abdx2yz.ods 

This call hangs.
Comment 3 Andreas Blochberger 2012-12-30 12:58:09 UTC
Creating a new spreadsheet with the value ="06/07/2012 16:01:00"+"0:25:21" in A1 does not crash libreoffice on open
Comment 4 Andreas Blochberger 2012-12-30 13:09:13 UTC
Version 4.0.0.0.alpha1 (Build ID: 400m0(Build:1)) opens the attached file without problem.
Comment 5 Owen Genat (retired) 2013-05-29 00:43:53 UTC
As per comment #4 LO v4.0.3.3 under Crunchbang 11 opens and saves the file without issue. I think this bug can be RESOLVED as FIXED.
Comment 6 Kohei Yoshida 2014-02-10 05:35:41 UTC
It opens fine, and also per Comment 5.

WORKSFORME is the right one to use when the bug has fixed itself.