[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Markus Mohrhard  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |markus.mohrhard@googlemail.
   |desktop.org |com
 Status|NEW |RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #13 from Markus Mohrhard  ---
(In reply to Noel Grandin from comment #11)
> The actual problem here is that we are trying to allocate a regression curve
> with nPointCount=625001323, which throws a std::bad_alloc, which gets munged
> a little bit by the event loop catch block for some reason.
> 
> Attached a backtrace.
> 
> Which means the most likely culprit commit is this one:
> 
>   
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=4c7116413af091a30f5fa60c63d29bc694730518
> 
>   committer  Markus Mohrhard 
>   fix odf validation errors around new chart regression curves
> 
> 
> I'm guessing that this file is broken, and the above commit improved things
> by allowing us to try and load bad data, which we would formerly ignore,
> which causes the allocation exception

It is more complicated than this. The file contains entries for
loext:regression-extrapolate-forward="" which can not be read by old
LibreOffice files which explains why it does not crash there.

This is most likely a user input but I think we need to sanitize these values
in the regression calculator to get some sensible results.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #12 from Noel Grandin  ---
Created attachment 144983
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144983&action=edit
gdb backtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Noel Grandin  changed:

   What|Removed |Added

 CC||markus.mohrhard@googlemail.
   ||com

--- Comment #11 from Noel Grandin  ---
The actual problem here is that we are trying to allocate a regression curve
with nPointCount=625001323, which throws a std::bad_alloc, which gets munged a
little bit by the event loop catch block for some reason.

Attached a backtrace.

Which means the most likely culprit commit is this one:

  
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4c7116413af091a30f5fa60c63d29bc694730518

  committer  Markus Mohrhard 
  fix odf validation errors around new chart regression curves


I'm guessing that this file is broken, and the above commit improved things by
allowing us to try and load bad data, which we would formerly ignore, which
causes the allocation exception

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Xisco Faulí  changed:

   What|Removed |Added

Crash report or|33949405-4d6a-4066-a996-a7d |
crash signature|572ac2faf   |
   Keywords||bisected

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Xisco Faulí  changed:

   What|Removed |Added

   Priority|medium  |high
 CC||noelgran...@gmail.com
   Severity|normal  |major

--- Comment #10 from Xisco Faulí  ---
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=d442a6460f5f1c897358a0e51727c90cd6746ae2

author  Noel Grandin  2014-03-03 14:06:44 +0200
committer   Noel Grandin  2014-03-11 08:18:14 +0200
commit  d442a6460f5f1c897358a0e51727c90cd6746ae2 (patch)
treea3e46551b4664ef057f4ee420690ce8172dd1373
parent  ea2fb5f8f9ea44d7da5f9d34760e470d696f587d (diff)
svx: sal_Bool->bool

Bisected with: bibisect-43max

Adding Cc: to Noel Grandin

I'm not 100% the commit mentioned above is the culprit one, that's why I've
also bisected it with lo-linux-dbgutil-daily-till43, which also points to the
same range of commits...

(In reply to Xisco Faulí from comment #9)
> Regression introduced in range
> https://cgit.freedesktop.org/libreoffice/core/log/
> ?qt=range&q=f351fd1e8eb75a25e7844ac632e5837851b2aeed..
> 375ee984859a3c7b03faae6ec92c50be43a39988

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Xisco Faulí  changed:

   What|Removed |Added

Version|6.1.1.2 release |4.3 all versions
   Keywords||bibisected

--- Comment #9 from Xisco Faulí  ---
Regression introduced in range
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=f351fd1e8eb75a25e7844ac632e5837851b2aeed..375ee984859a3c7b03faae6ec92c50be43a39988

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #8 from MM  ---
(In reply to Xisco Faulí from comment #7)
> Created attachment 144932 [details]
> Same file saved with LibreOffice 4.2 not crashing
> 
> If I open the file with LibreOffice 4.2 ( doesn't crash ) and save it, then
> I can open it with recent versions of LibreOffice

Yes, but also part of the charts are missing, so it might be not a good
example.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #7 from Xisco Faulí  ---
Created attachment 144932
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144932&action=edit
Same file saved with LibreOffice 4.2 not crashing

If I open the file with LibreOffice 4.2 ( doesn't crash ) and save it, then I
can open it with recent versions of LibreOffice

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #6 from Xisco Faulí  ---
Created attachment 144931
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144931&action=edit
gdb backtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Xisco Faulí  changed:

   What|Removed |Added

   Keywords||haveBacktrace

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Xisco Faulí  changed:

   What|Removed |Added

 Attachment #144926|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

Xisco Faulí  changed:

   What|Removed |Added

 OS|Linux (All) |All
   Hardware|x86-64 (AMD64)  |All
 CC||xiscofa...@libreoffice.org

--- Comment #5 from Xisco Faulí  ---
Also reproduced in

Versión: 6.1.1.2
Id. de compilación: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: group threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

MM  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
   Keywords||regression
Crash report or||33949405-4d6a-4066-a996-a7d
crash signature||572ac2faf

--- Comment #4 from MM  ---
Confirmed on ubuntu 16.04 with Version: 6.2.0.0.alpha0+
Build ID: 2789bbfd607240f260dfb38b6e9c19c9cf49fca9
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2018-09-09_22:35:03
Locale: en-US (en_US.UTF-8); Calc: threaded

crashreport.libreoffice.org/stats/crash_details/33949405-4d6a-4066-a996-a7d572ac2faf

I've managed it to convert to xls and open, so it's not that broken then.

Unconfirmed on windows 7 x64 with LibreOffice 3.3.4 
OOO330m19 (Build:401)

No problem at all opening in this version.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #3 from Ian Huang  ---
Huh, Google Drive can preview it but Google Sheets says it's corrupted. Meaning
that the corruption is probably within one of the graph elements or something.
I'm starting to think it was silly to file this bug, as dealing with file
corruption is probably a wild goose chase. Just say the word and I'll close.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #2 from Ian Huang  ---
Created attachment 144926
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144926&action=edit
stack trace

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 119922] calc crashes on opening this specific file

2018-09-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=119922

--- Comment #1 from Ian Huang  ---
Created attachment 144925
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144925&action=edit
ods file in question

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs