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 363871 - Critical when opening function guru
Critical when opening function guru
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-10-21 09:40 UTC by Jon Kåre Hellan
Modified: 2007-11-20 07:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jon Kåre Hellan 2006-10-21 09:40:35 UTC
New gnumeric
A1: =isna(getenv(A2),"",getenv(A2))
finish editing cell
go back to A1
Insert/Function

** (gnumeric:3889): CRITICAL **: dialog_formula_guru_load_string: assertion `okay' failed

(gnumeric:3889): Gtk-CRITICAL **: gtk_tree_store_set: assertion `VALID_ITER (iter, tree_store)' failed

(gnumeric:3889): Gtk-CRITICAL **: gtk_tree_store_get_value: assertion `iter->stamp == GTK_TREE_STORE (tree_model)->stamp' failed

(gnumeric:3889): GLib-GObject-WARNING **: gtype.c:3337: type id `0' is invalid

(gnumeric:3889): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

Program received signal SIGSEGV, Segmentation fault.

Backtrace at segv:
  • #0 IA__gtk_tree_model_get_valist
    at gtktreemodel.c line 1376
  • #1 IA__gtk_tree_model_get
    at gtktreemodel.c line 1338
  • #2 dialog_formula_guru_adjust_children
    at dialog-formula-guru.c line 274
  • #3 dialog_formula_guru_load_fd
    at dialog-formula-guru.c line 392
  • #4 dialog_formula_guru_load_expr
    at dialog-formula-guru.c line 462
  • #5 dialog_formula_guru_load_expr
    at dialog-formula-guru.c line 464
  • #6 dialog_formula_guru
    at dialog-formula-guru.c line 1013
  • #7 cb_formula_guru
    at wbcg-actions.c line 986
  • #0 IA__g_log
    at gmessages.c line 516
  • #1 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #2 dialog_formula_guru_load_string
    at dialog-formula-guru.c line 427
  • #3 dialog_formula_guru_load_expr
    at dialog-formula-guru.c line 480
  • #4 dialog_formula_guru_load_expr
    at dialog-formula-guru.c line 464
  • #5 dialog_formula_guru
    at dialog-formula-guru.c line 1013
  • #6 cb_formula_guru
    at wbcg-actions.c line 986

Comment 1 Jon Kåre Hellan 2006-10-21 13:07:48 UTC
Found an unhandled failure case in dialog_formula_guru_load_fd. This fixes the crash. We now get

** (gnumeric:13688): CRITICAL **: dialog_formula_guru_load_string: assertion `okay' failed

** (gnumeric:13688): CRITICAL **: dialog_formula_guru_load_string: assertion `okay' failed

and a blank guru
Comment 2 Morten Welinder 2006-10-21 23:51:43 UTC
The warnings are there because you are supplying two more arguments to
ISNA than it wants.
Comment 3 Jon Kåre Hellan 2006-10-22 08:46:17 UTC
Exactly.

I made a mistake. (Should have been =IF(isna(getenv.... ). Entered the function guru to fix it, and it blew up.

This is what the guru if *for*
Comment 4 Andreas J. Guelzow 2007-11-20 07:29:22 UTC
This problem has been fixed in the development version (well I have the fix in my tree and will commit as soon as 1.7.90 has been released since the distribution build is in progress). The fix will be available in the next major software release after 1.7.90. Thank you for your bug report.