Bug 96221 - Crash during open CSV file - SEH Exception (when UTF character set selected)
Summary: Crash during open CSV file - SEH Exception (when UTF character set selected)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: low major
Assignee: Not Assigned
Keywords: haveBacktrace
Depends on:
Blocks: CSV-Import
  Show dependency treegraph
Reported: 2015-12-03 08:25 UTC by pantrombka
Modified: 2020-09-23 13:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

POC (13.18 KB, text/csv)
2015-12-03 08:25 UTC, pantrombka
Backtrace (31.62 KB, text/plain)
2016-03-04 12:44 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description pantrombka 2015-12-03 08:25:28 UTC
Created attachment 120978 [details]

When I open this file in LibreOffice Calc I have SEH Exception
Comment 1 pantrombka 2015-12-03 10:43:11 UTC
Crash is also in LibreOffice Writer,
when you paste this chars in LibreOffice 
Comment 2 Timur 2015-12-03 12:46:40 UTC
I can't reproduce, file opens fine. Please provide a screenshot of your CSV text import options, if you get it. 
I can't also test the chars you wrote, it doesn't paste anything. Please save in MSO if you have one, or try with some other LO version. 
I recommend using Separate Install GUI tool from https://flosmind.wordpress.com/si-gui/ which extracts different LO versions, up to the currenn master without installing.
Please change back to Unconfirmed once you provided the answers.
Comment 3 pantrombka 2015-12-03 12:52:18 UTC
I tested it on Windows 2003 and older LO - OK
Tested Windows 10, libreOffice
Comment 4 pantrombka 2015-12-03 13:59:42 UTC
(c60.f90): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\LibreOffice 5\program\mergedlo.dll - 
eax=80000000 ebx=0000000a ecx=0000001f edx=0f2aa1f0 esi=00000000 edi=07ffffff
eip=5ac3db35 esp=00d8dcb4 ebp=00d8dee0 iopl=0         nv up ei ng nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010286
5ac3db35 8504ba          test    dword ptr [edx+edi*4],eax ds:002b:2f2aa1ec=????????
Comment 5 Timur 2015-12-04 09:04:26 UTC
Please provide a screenshot and a file, as requested.
Comment 6 Timur 2016-03-04 12:44:58 UTC
Created attachment 123225 [details]

I reproduced this today, I don't know why I couldn't do it before.
Comment 7 Timur 2016-03-04 12:58:18 UTC
How was this CSV created? Which code page is it? 
I suspect it crashes only if character set on fileopen is wrong, such as Unicode.
Comment 8 pantrombka 2016-03-04 13:10:00 UTC
This file is generated from my program.
Crash only when I choose UTF-16
Comment 9 Takeshi Abe 2016-12-13 04:21:57 UTC
I cannot reproduce this issue with LibO 5.1.6 on Windows 10.
Could you try LibO 5.1 or 5.2?
Comment 10 Xisco Faulí 2017-02-27 18:21:35 UTC
I don't get any crash in

Id. de compilación: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
Subpr. de CPU: 1; Versión de SO: Windows 6.1; Repr. de IU: predet.; Motor de trazado: HarfBuzz; 
Configuración regional: es-ES (es_ES); Calc: group

@Timur, could you please test it again in master or 5.3 ?
Comment 11 QA Administrators 2018-07-21 02:40:37 UTC Comment hidden (obsolete)
Comment 12 Xisco Faulí 2018-07-21 12:30:54 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2019-07-22 02:44:46 UTC Comment hidden (obsolete)
Comment 14 libre officer 2020-06-12 17:17:47 UTC
Does not crash when the file is opened, but LibreOffice hangs for about a minute every time you scroll with the arrow key any other direction or even clic anywhere in the spreadsheet

making thus libreOffice unusable to work with this file.

Version: (x64)
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: fr-CH (fr_FR); UI: en-GB
Calc: threaded
Comment 15 Timur 2020-09-23 13:25:54 UTC
I confirmed this before, but now I don't reproduce with LO 5.0. 
So I revert to reporter to test again new LO and write exacts steps and details, also screenshot of your CSV text import options.