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

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

PSPP-BUG: [bug #25947] psppire crashes on windows when add a new value o


From: Michel Boaventura
Subject: PSPP-BUG: [bug #25947] psppire crashes on windows when add a new value on sheet
Date: Fri, 20 Mar 2009 23:51:08 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3

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

                 Summary: psppire crashes on windows when add a new value on
sheet
                 Project: PSPP
            Submitted by: michelboaventura
            Submitted on: Fri 20 Mar 2009 11:51:06 PM GMT
                Category: Graphical User Interface
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

This issue happens both on Windows XP and Vista, but not on wine.

If you open the last psppire git version and create a new variable it works.
Then you back to data view and insert a number on the first cel. As soon as
you click on other cell, psppire crashes.

Debugging it, I've found that the problem is on src/data/data-out.c:702.

The line is:
int digit = r->string[r->integer_digits + decimals + 1];

Before this line, if I type on gdb: p *r I get:

$2 = {
string = "1,0000...",
integer_digits = -2291248,
leading_nines = 0,
leading_zeros = 0,
negative = false}

As you can see, the integer_digits have a huge negative number, so this line
tries to access r->string with a big negative index and crashes psppire.




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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