Bug 43388 - Crash (Runtime error) when using SCO (or DEPS) Evolutionary Algorithm Solver
Summary: Crash (Runtime error) when using SCO (or DEPS) Evolutionary Algorithm Solver
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 3.4.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 10:37 UTC by alexander.buchner
Modified: 2014-02-12 22:23 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Example file for crash (7.68 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-11-30 10:37 UTC, alexander.buchner
Details
bt + console logs on master (8.21 KB, text/plain)
2013-01-06 18:26 UTC, Julien Nabet
Details
Fatal Error - NullPointerException (38.08 KB, image/png)
2014-02-12 22:23 UTC, alexander.buchner
Details

Description alexander.buchner 2011-11-30 10:37:23 UTC
Created attachment 53981 [details]
Example file for crash

I just noticed an error when using the solver module in calc. I will attach an example file.

In this file, go Tools, Solver.

- Target cell is $B$1.
- Optimize result to Minimum
- By changing cells $A$1:$A$2
- Limiting conditions: $A$3 should be Integer

Then hit "Solve" and calc crashes:

Microsoft Visual C++ Runtime Library

Runtime Error!

Program: C:\Program Files (x86)\LibreOffice 3.4\program\soffice.bin

This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
Comment 1 Rainer Bielefeld Retired 2011-11-30 22:04:01 UTC
[Reproducible] with reporter's sample and "LibreOffice 3.4.4  - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:402)]". LibO Linear solver will not crash.

Error Message is: "Microsoft Visual C++ Runtime Library
Runtime Error
Program C:\.....\soffice.bin
This applicaton has requested the runtime to terminate it in an unusúal way. Please contact the application's support team for more information.

Not a regression, 3.3.3 also crashes.

Bug of feature? Master only has the "Linear solver" what will not crash

@David: 
Help and Documentation might be affected.

LibreOffice 3 Calc Guide:
"The default solver supports only linear equations. For nonlinear programming
requirements, try the EuroOffice Solver or Sun’s Solver for Nonlinear Programming
[Beta]. Both are available from the LibreOffice extensions repository."

For 3.4.4 that's not correct, "SCO Evolutionary Algorithm Solver" and "DEPS Evolutionary Algorithm Solver" indeed are Extensions, but they are in the installation bundle and can not be removed.

For 3.5 those 2 Solvers no longer are in the installation bundle, but they are not available from <http://extensions.libreoffice.org/>.

@Kohei:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Comment 2 Rainer Bielefeld Retired 2011-11-30 22:25:30 UTC
BTW: it seems that the crashing solver is the default one (at least for me with my LibO version).
Comment 3 Rainer Bielefeld Retired 2011-12-01 01:52:54 UTC
Concerning Solver versions in installation package:
Server installation of  Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) GERMAN UI [Build ID: 130028f-b211287-090bcba-45cf606-05891e7]" Win-x86@9-Voreppe  - 111130) contains "Solver for Nonlinear Programming 0.9", can be used after activatin "Experimental functions".  
Reintroduced or difference between the builds?

A.M. LibO Master version also shows the crash
Comment 4 Rainer Bielefeld Retired 2011-12-01 01:57:20 UTC
Works with Server installation of  Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) GERMAN UI [Build ID: 130028f-b211287-090bcba-45cf606-05891e7]" Win-x86@9-Voreppe  - 111130)

Bug gone or build specific?
Comment 5 Rainer Bielefeld Retired 2011-12-01 02:00:05 UTC
Please ignore Comment 4 - wrong Bug!
Comment 6 Julien Nabet 2013-01-06 18:26:09 UTC
Created attachment 72592 [details]
bt + console logs on master

On pc Debian x86-64 with master sources updated today, I reproduced the crash.

I attached console logs + bt
Comment 7 alexander.buchner 2014-02-12 22:21:32 UTC
In Version 4.2.0.4 the error message changed to a NullPointerExeption.
Comment 8 alexander.buchner 2014-02-12 22:23:40 UTC
Created attachment 93968 [details]
Fatal Error - NullPointerException


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.