Solver crashes gnumeric whenever I add constraints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnumeric (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
I had a very simple spreadsheet: two columns of data (x-axis and y-axis), a third column modeling the y-axis data, a fourth column computing the squared error between the model and the data, and two cells with parameters to the model
I had a very simple spreadsheet: two columns of data (x-axis and y-axis), a third column modeling the y-axis data, a fourth column computing the squared error between the model and the data, and two cells with parameters to the model. I wanted the Solver to change those parameters until the sum of the squared error was minimized. So I set the cells in the Solver like you'd expect, then pressed Solve. The Solver told me I needed to set constraints (see the other usability bug I just filed), so I tried to put in the totally perfunctory constraints that the two parameters needed to be nonnegative. Gnumeric crashed. I restarted gnumeric and tried again. It crashed again. I'm willing to say that this is a highly repeatable bug.
Changed in gnumeric: | |
assignee: | nobody → gnome |
Thanks for your bug report. I'm going to upload gnumeric 1.6.2 to Dapper - if you have a chance to test it, it'd be great to hear if it got fixed. The upstream changelog says:
...
- Fix a pile of leaks in solver and scenario saving and loading.
- Fix leaks in solver dialog.
- Fix parser leak. [#301127]
- Fix solver dialog crash. [#324585]
...
http:// bugs.gnome. org/324585 seems to be related.