After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677956 - Crash on random generator
Crash on random generator
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other Linux
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-06-12 15:51 UTC by Andreas J. Guelzow
Modified: 2012-06-12 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2012-06-12 15:51:42 UTC
new gnumeric
select A1:A10
Data->Fill->RandomGenerator->Uncorrellated
select uniform distribution 0 to 1
ok
View->NewView
ok
close old view
undo
redo

boom!!!

** (gnumeric:32180): CRITICAL **: wb_control_view: assertion `IS_WORKBOOK_CONTROL (wbc)' failed
Segmentation fault
Comment 1 Morten Welinder 2012-06-12 15:58:50 UTC
We need to update the wbc stored in the dao.  Or not store one to begin
with.  Adding

	dao->wbc = wbc;

to cmd_analysis_tool_redo and cmd_analysis_tool_undo might be enough.
Comment 2 Andreas J. Guelzow 2012-06-12 16:31:16 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.