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

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

PSPP-BUG: [bug #58600] Floating point execption in create_matrix_reader_


From: Andrea Fioraldi
Subject: PSPP-BUG: [bug #58600] Floating point execption in create_matrix_reader_from_case_reader
Date: Wed, 17 Jun 2020 04:57:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

URL:
  <https://savannah.gnu.org/bugs/?58600>

                 Summary: Floating point execption in
create_matrix_reader_from_case_reader
                 Project: PSPP
            Submitted by: andreafioraldi
            Submitted on: Wed 17 Jun 2020 08:57:43 AM UTC
                Category: Syntax Parser
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

In create_matrix_reader_from_case_reader, xalloc is called with s=0 cause the
exception.

gdb --args ./pspp -O format=txt -o /dev/null -b fpe


Program received signal SIGFPE, Arithmetic exception.
0x0000000000c843b0 in xcalloc (n=8, s=0) at xmalloc.c:100
100       if (xalloc_oversized (n, s)
(gdb) p s
$1 = 0
(gdb) bt
#0  0x0000000000c843b0 in xcalloc (n=8, s=0) at xmalloc.c:100
#1  0x000000000065d356 in create_matrix_reader_from_case_reader
(dict=<optimized out>, in_reader=<optimized out>, vars=<optimized out>,
n_vars=<optimized out>) at src/language/data-io/matrix-reader.c:141
#2  0x00000000005aa041 in cmd_factor (lexer=<optimized out>, ds=<optimized
out>) at src/language/stats/factor.c:1149
#3  0x00000000004d048c in do_parse_command (lexer=0x602000000990,
ds=<optimized out>, state=CMD_STATE_DATA) at src/language/command.c:233
#4  cmd_parse_in_state (lexer=0x602000000990, ds=0x0, state=CMD_STATE_DATA) at
src/language/command.c:148
#5  0x00000000004d1ecb in cmd_parse (lexer=<optimized out>, ds=<optimized
out>) at src/language/command.c:163
#6  0x00000000004c9df7 in main (argc=<optimized out>, argv=<optimized out>) at
src/ui/terminal/main.c:138
(gdb) 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 17 Jun 2020 08:57:43 AM UTC  Name: fpe  Size: 4KiB   By:
andreafioraldi

<http://savannah.gnu.org/bugs/download.php?file_id=49295>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58600>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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