Bug 96562 - CRASH - Bad allocation: Calc crashes opening DBase file
Summary: CRASH - Bad allocation: Calc crashes opening DBase file
Status: CLOSED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-17 16:11 UTC by Teo91
Modified: 2016-09-01 13:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Crash DBase - bad allocation error (7.83 MB, application/dbase)
2015-12-17 16:11 UTC, Teo91
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teo91 2015-12-17 16:11:47 UTC
Created attachment 121370 [details]
Crash DBase - bad allocation error

LibreOffice 5.0.4 crashes opening the attached .dbf file (DBase).

Message window: "Fatal error - Bad Allocation"

LO quits and file can't be opened.


Wordpad/Notepad can open it: document is not corrupted.
Comment 1 raal 2015-12-17 17:03:14 UTC
No crash with Version: 5.2.0.0.alpha0+
Build ID: de9d0e797903e7ecc19be2b05c7e89d5936ae02d
Threads 4; Ver: Linux 4.2; Render: default; 

TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-12-03_04:13:00
Comment 2 m_a_riosv 2015-12-18 03:14:52 UTC
What means not corrupted, open the file with wordpad seems more a CSV file, they are not fields definition at the beginning of file, what I think it's mandatory for a dbf file.
Changing the extension to csv open fine with LibreOffice, but I don't know if in this case the data are the expected.

For me not a bug.
Comment 3 Teo91 2015-12-18 09:16:13 UTC
(In reply to m.a.riosv from comment #2)
> What means not corrupted, open the file with wordpad seems more a CSV file,
> they are not fields definition at the beginning of file, what I think it's
> mandatory for a dbf file.
> Changing the extension to csv open fine with LibreOffice, but I don't know
> if in this case the data are the expected.
> 
> For me not a bug.

I found this file on the web as is, I don't know if it's dbf or CSV, but LO should't CRASH for that reason.

For me it's a bug about stability, a simple "I can't open this file - wrong format" is enough :)
Comment 4 m_a_riosv 2015-12-18 15:08:06 UTC
I forget to mention, that I can't reproduce the crash.

Please try resetting the user profile, sometimes solves strange issues.
https://wiki.documentfoundation.org/UserProfile
Usually it's enough renaming/deleting the file "user/registrymodifications.xcu",  it affect all the options in Menu/Tools/Options, and the files "user/basic/dialog.xlc" and "scrip.xlc" are overwritten, additionally custom colors in "user/config/standard.soc" are lost.
Comment 5 Buovjaga 2015-12-22 13:11:27 UTC
No crash. Selected the character set that was offered Western Europe (DOS/OS2-850/International)

You can try getting a bt: https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided further testing information.

Win 7 Pro 64-bit, Version: 5.0.4.2 (x64)
Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale: fi-FI (fi_FI)