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.
[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.
BTW: it seems that the crashing solver is the default one (at least for me with my LibO version).
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
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?
Please ignore Comment 4 - wrong Bug!
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
In Version 4.2.0.4 the error message changed to a NullPointerExeption.
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.