bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #22073] Renaming a variable to a duplicate name causes as


From: Ben Pfaff
Subject: PSPP-BUG: [bug #22073] Renaming a variable to a duplicate name causes assertion failure
Date: Tue, 22 Jan 2008 03:47:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

URL:
  <http://savannah.gnu.org/bugs/?22073>

                 Summary: Renaming a variable to a duplicate name causes
assertion failure
                 Project: PSPP
            Submitted by: blp
            Submitted on: Monday 01/21/08 at 19:47
                Category: Graphical User Interface
                Severity: 5 - Average
                  Status: None
             Assigned to: jmd
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

Try this:

* Start psppire.
* Click on the var-sheet tab.
* Add a new variable "foo".
* Add a new varaible "bar".
* Click in variable "foo"'s name cell and type "bar".  As soon as I type the
"r", I get an assertion failure:

psppire: ../src/data/dictionary.c:653: dict_rename_var: Assertion
`!strcasecmp (var_get_name (v), new_name) || dict_lookup_var (d, new_name) ==
((void *)0)' failed.

Backtrace:

#0  0xffffe410 in ?? ()
#1  0xbfee8838 in ?? ()
#2  0x00000006 in ?? ()
#3  0x000008ef in ?? ()
#4  0xb7175eb5 in raise () from /lib/i686/cmov/libc.so.6
#5  0xb7177831 in abort () from /lib/i686/cmov/libc.so.6
#6  0xb716f08e in __assert_fail () from /lib/i686/cmov/libc.so.6
#7  0x0814b9ac in dict_rename_var (d=0x81eea48, v=0x8430138, 
    new_name=0x851ccb0 "bar") at ../src/data/dictionary.c:652
#8  0x08083bd9 in psppire_dict_rename_var (dict=0x81d1760, v=0x8430138, 
    name=0x851ccb0 "bar") at ../src/ui/gui/psppire-dict.c:793
#9  0x08087f01 in psppire_var_store_set_string (model=0x81d1060, 
    text=0x851ccb0 "bar", row=0, col=0)
    at ../src/ui/gui/psppire-var-store.c:409
#10 0x080aed2a in gtk_sheet_set_cell (sheet=0x8249180, row=0, col=0, 
    justification=GTK_JUSTIFY_FILL, text=0x851ccb0 "bar")
    at ../lib/gtksheet/gtksheet.c:3442
#11 0x080b1658 in gtk_sheet_entry_changed (widget=0x8511d80, data=0x8249180)
    at ../lib/gtksheet/gtksheet.c:3792
#12 0xb78e995f in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#13 0xb78dc619 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb78f0e0f in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x084eab20 in ?? ()
#16 0x00000000 in ?? ()





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22073>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]