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 496052 - FMR when closing solver dialog
FMR when closing solver dialog
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-11-12 04:37 UTC by sum1
Modified: 2007-11-12 16:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.55 KB, patch)
2007-11-12 06:41 UTC, Jean Bréfort
none Details | Review

Description sum1 2007-11-12 04:37:05 UTC
Version: r16104
OS: Ubuntu Gutsy

Steps to reproduce:
- Run Gnumeric from a terminal
- Tools > Solver
- Press Cancel or Close and notice the following console output:

(gnumeric:4636): Gtk-CRITICAL **: gtk_tree_view_get_model: assertion `GTK_IS_TREE_VIEW (tree_view)' failed

(gnumeric:4636): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
Comment 1 Jean Bréfort 2007-11-12 06:39:46 UTC
Seems it occurs in cb_dialog_solver_destroy because the widgets have already been destroyed at this point. We probably have an associated memory leak.
Comment 2 Jean Bréfort 2007-11-12 06:41:39 UTC
Created attachment 98960 [details] [review]
proposed patch
Comment 3 Morten Welinder 2007-11-12 12:27:25 UTC
I'll have a look later.  Typically we just need to hold a ref.
Comment 4 Morten Welinder 2007-11-12 16:07:37 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.