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

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

PSPP-BUG: [bug #24557] crosstabs segfault


From: Jason H Stover
Subject: PSPP-BUG: [bug #24557] crosstabs segfault
Date: Tue, 14 Oct 2008 14:50:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

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

                 Summary: crosstabs segfault
                 Project: PSPP
            Submitted by: jstover
            Submitted on: Tue 14 Oct 2008 02:50:10 PM GMT
                Category: Other
                Severity: 7 - Major
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

The following syntax crashes crosstabs, using the attached data file:

GET DATA
  /TYPE=TXT
  /FILE="sentence-data-sample.txt"
  /IMPORTCASES=ALL
  /ARRANGEMENT=DELIMITED
  /DELCASE=LINE
  /FIRSTCASE=2
  /DELIMITERS="\t"
  /VARIABLES=
    author A16
    title A27
    a F1.0
    and_A F2.0
    he F1.0
    i F1.0
    in F1.0
    of F1.0
    she F1.0
    that F1.0
    the F2.0
    to_A F1.0
    was F1.0.

CROSSTABS
        /TABLES= author BY       in
        /FORMAT=AVALUE LABELS TABLES PIVOT
        /STATISTICS=CHISQ
        /CELLS=COUNT ROW COLUMN TOTAL.

Backtrace:
#0  0xb78d0864 in fork () from /lib/libc.so.6
#1  0x0804bbbb in connect_debugger () at src/ui/debugger.c:40
#2  0x0804a854 in bug_handler (sig=6) at src/ui/terminal/main.c:177
#3  <signal handler called>
#4  0xb7865c66 in raise () from /lib/libc.so.6
#5  0xb7867571 in abort () from /lib/libc.so.6
#6  0xb785ee60 in __assert_fail () from /lib/libc.so.6
#7  0xb7e7fc5f in sort (array=0x80fe2e0, count=109, size=8,
compare=0xb7f3e2e7 <compare_value>, aux=0xbf993e40)
    at src/libpspp/array.c:796
#8  0xb7e7ec06 in sort_unique (array=0x80fe2e0, count=109, size=8,
compare=0xb7f3e2e7 <compare_value>, 
    aux=0xbf993e40) at src/libpspp/array.c:215
#9  0xb7f3e44b in enum_var_values (entries=0x8078620, entry_cnt=109,
var_idx=0, values=0xb7fb0670, 
    value_cnt=0xb7fb0674) at src/language/stats/crosstabs.q:1683
#10 0xb7f3d2f5 in output_pivot_table (pb=0x8078620, pe=0x80787d4,
matp=0xbf9940f0, row_totp=0xbf9940ec, 
    col_totp=0xbf9940e8, maxrows=0xbf9940e4, maxcols=0xbf9940e0,
maxcells=0xbf9940dc)
    at src/language/stats/crosstabs.q:1241
#11 0xb7f3bc66 in postcalc () at src/language/stats/crosstabs.q:821
#12 0xb7f3a7e6 in internal_cmd_crosstabs (lexer=0x80758f8, ds=0x8075798) at
src/language/stats/crosstabs.q:321
#13 0xb7f3a39a in cmd_crosstabs (lexer=0x80758f8, ds=0x8075798) at
src/language/stats/crosstabs.q:192
#14 0xb7ed41e5 in do_parse_command (lexer=0x80758f8, ds=0x8075798,
state=CMD_STATE_DATA)
    at src/language/command.c:235
#15 0xb7ed3eea in cmd_parse_in_state (lexer=0x80758f8, ds=0x8075798,
state=CMD_STATE_DATA)
    at src/language/command.c:148
#16 0xb7ed3ff1 in cmd_parse (lexer=0x80758f8, ds=0x8075798) at
src/language/command.c:165
#17 0x0804a725 in main (argc=2, argv=0xbf994304) at
src/ui/terminal/main.c:124




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 14 Oct 2008 02:50:12 PM GMT  Name: sentence-data-sample.txt  Size:
165kB   By: jstover

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

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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