[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #26861] REGRESSION Crashes on alpha variables.
From: |
Ben Pfaff |
Subject: |
PSPP-BUG: [bug #26861] REGRESSION Crashes on alpha variables. |
Date: |
Tue, 14 Jul 2009 03:01:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009061319 Iceweasel/3.0.11 (Debian-3.0.11-1) |
Update of bug #26861 (project pspp):
Status: None => Confirmed
Assigned to: None => jstover
_______________________________________________________
Follow-up Comment #2:
Running valgrind shows that the memory allocated on line 944 of
regression.q:
lopts.get_indep_mean_std = xnmalloc (n_variables, sizeof (int));
is being accessed after the end of the allocated space in this loop spanning
line 974:
for (i = 0; i < X->m->size2; i++)
{
lopts.get_indep_mean_std[i] = 1;
}
and in this loop on lines 324 to 326 of linreg.c:
for (i = 0; i < dm->m->size2; i++)
{
if (opts->get_indep_mean_std[i])
My guess is that more space should be allocated, but I am hoping that you
will know for sure.
The same valgrind run also shows uninitialized data being passed to
tab_text() on line 240 of regression.q:
tab_text (t, 1, this_row, TAB_CENTER, ds_cstr (&tstr));
but sometimes that sort of thing can be a side effect of earlier errors and
not a separate bug.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26861>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/