Bug 105519 - testFormulasFODS double equality assertion failed with version 5.3.0.2
Summary: testFormulasFODS double equality assertion failed with version 5.3.0.2
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.0.2 rc
Hardware: PowerPC All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 110453
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-25 12:34 UTC by Michel Normand
Modified: 2017-11-13 17:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Normand 2017-01-25 12:34:14 UTC
testFormulasFODS double equality assertion failed with version 5.3.0.2

error reported while building libreoffice 5.3.0.2 on ppc64le
on openSUSE distro (1) and similar error for aarch64 (2) 


(1) https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:F:DVD/libreoffice/standard/ppc64le
===
[ 7695s] Testing file:///home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/forecast.ets.add.fods:
[ 7695s] /home/abuild/rpmbuild/BUILD/libreoffice-5.3.0.2/sc/qa/unit/functions_test.cxx:73:FunctionsTest::testFormulasFODS
[ 7695s] double equality assertion failed
[ 7695s] - Expected: 1
[ 7695s] - Actual  : 0
[ 7695s] - Delta   : 1e-14
[ 7695s]
[ 7695s] FunctionsTest::testFormulasFODS finished in: 87615ms
[ 7695s] functions_test.cxx:73:Assertion
[ 7695s] Test name: FunctionsTest::testFormulasFODS
[ 7695s] double equality assertion failed
[ 7695s] - Expected: 1
[ 7695s] - Actual  : 0
[ 7695s] - Delta   : 1e-14
[ 7695s]
[ 7695s] Failures !!!
[ 7695s] Run: 1   Failure total: 1   Failures: 1   Errors: 0
===
(2) https://build.opensuse.org/package/live_build_log/LibreOffice:Factory/libreoffice/openSUSE_Factory_ARM/aarch64
Comment 1 Eike Rathke 2017-01-25 13:08:30 UTC
Can you
a) reproduce it
b) if so, load the sc/qa/unit/data/functions/fods/forecast.ets.add.fods manually in your locally built office, go to Sheet2 and do a hard recalc (Shift+Ctrl+F9) and report where it fails and how?
c) maybe even debug that?
Comment 2 Michel Normand 2017-01-25 13:24:58 UTC
(In reply to Eike Rathke from comment #1)
> Can you
> a) reproduce it
> b) if so, load the sc/qa/unit/data/functions/fods/forecast.ets.add.fods
> manually in your locally built office, go to Sheet2 and do a hard recalc
> (Shift+Ctrl+F9) and report where it fails and how?
> c) maybe even debug that?

I am able to reproduce it, BUT on a remote ssh only accessed PowerPC machine (do not have X uer interface).
So not sure I am able to do above step b) as I assume this is about a load in libreoffice GUI interface.
Is there a equivalent CLI for step b) ?
Comment 3 Michel Normand 2017-01-26 10:39:02 UTC
Similar failing signature for following input files:
===
libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/forecast.ets.add.fods
libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/forecast.ets.mult.fods
libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/linest.fods
libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/logest.fods
libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/minverse.fods
libreoffice-5.3.0.2/sc/qa/unit/data/functions/fods/rate.fods
===
Comment 4 Eike Rathke 2017-01-30 16:48:29 UTC
(In reply to Michel Normand from comment #2)
> I am able to reproduce it, BUT on a remote ssh only accessed PowerPC machine
> (do not have X uer interface).
> So not sure I am able to do above step b) as I assume this is about a load
> in libreoffice GUI interface.
> Is there a equivalent CLI for step b) ?

Unfortunately not. You could use X-forwarding (ssh -X ...) from a machine that does have X.
Comment 5 Michel Normand 2017-02-16 12:48:56 UTC
my guess is that failure is raised by  Asserter::failNotEqualIf as per the grep output.
But I do not have the call stack to confirm that, and to identify from where are coming the data that raised this error.
===
$grep -Hnr  "double equality assertion failed" cppunit-1.13.2/
cppunit-1.13.2/src/cppunit/TestAssert.cpp:42:                            "double equality assertion failed" );
cppunit-1.13.2/src/cppunit/TestAssert.cpp:37: Asserter::failNotEqualIf( !equal,
===
Comment 6 Xisco Faulí 2017-07-25 20:45:11 UTC Comment hidden (obsolete)
Comment 7 Michel Normand 2017-07-28 16:28:53 UTC
I tried to recreate the problem using the libreoffice-5.4.0.3 (the last one used by openSUSE Tumbleweed) but  am blocked by a new problem
Comment 8 Michel Normand 2017-07-28 16:37:08 UTC
The new problem is "Fatal exception: Signal 6" while running make check for
CppunitTest_svtools_graphic
CppunitTest_sd_export_tests

I will create a new bug for it and add its reference in Depends on list.
Comment 9 Michel Normand 2017-07-31 09:05:54 UTC
(In reply to Michel Normand from comment #8)
> The new problem is "Fatal exception: Signal 6" while running make check for
> CppunitTest_svtools_graphic
> CppunitTest_sd_export_tests
> 
> I will create a new bug for it and add its reference in Depends on list.

the new created bug #110453
placed as depends on of current one.
Comment 10 Xisco Faulí 2017-11-13 17:51:49 UTC
Hello,
Bugzilla is used for bugs in the software, not for problems compiling the software.
Please, check the mailling list archives for similar problems: http://nabble.documentfoundation.org/Dev-f1639786.html and if your can't find the solution, send an email to the mailling list, they will be glad to help you.
Regards