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

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

PSPP-BUG: [bug #61282] SIGABRT in pspp at src/language/utilities/set.q:2


From: Irfan Ariq
Subject: PSPP-BUG: [bug #61282] SIGABRT in pspp at src/language/utilities/set.q:289
Date: Mon, 4 Oct 2021 11:35:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

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

                 Summary: SIGABRT in pspp at src/language/utilities/set.q:289
                 Project: PSPP
            Submitted by: irfanariq
            Submitted on: Mon 04 Oct 2021 03:35:51 PM UTC
                Category: None
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

Hello,

We are currently working on fuzz testing feature, and we found a **SIGABRT**
on `pspp`.

The stack traces are as follow:
```
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff586d921 in __GI_abort () at abort.c:79
#2  0x00007ffff585d48a in __assert_fail_base (fmt=0x7ffff59e4750 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff6d32080 "0",
file=file@entry=0x7ffff6d33880 "src/language/utilities/set.q",
line=line@entry=289, function=function@entry=0x7ffff6d348e0
<__PRETTY_FUNCTION__.9211> "stc_to_float_format") at assert.c:92
#3  0x00007ffff585d502 in __GI___assert_fail (assertion=0x7ffff6d32080 "0",
file=0x7ffff6d33880 "src/language/utilities/set.q", line=289,
function=0x7ffff6d348e0 <__PRETTY_FUNCTION__.9211> "stc_to_float_format") at
assert.c:101
#4  0x00007ffff6ba7651 in stc_to_float_format (stc=-1) at
src/language/utilities/set.q:289
#5  0x00007ffff6ba6bb0 in cmd_set (lexer=0x602000000530, ds=0x6110000002c0) at
src/language/utilities/set.q:191
#6  0x00007ffff6a3fd64 in do_parse_command (lexer=0x602000000530,
ds=0x6110000002c0, state=CMD_STATE_INITIAL) at src/language/command.c:233
#7  0x00007ffff6a3f80a in cmd_parse_in_state (lexer=0x602000000530,
ds=0x6110000002c0, state=CMD_STATE_INITIAL) at src/language/command.c:147
#8  0x00007ffff6a3f8da in cmd_parse (lexer=0x602000000530, ds=0x6110000002c0)
at src/language/command.c:162
#9  0x0000555555559e31 in main (argc=6, argv=0x7fffffffddd8) at
src/ui/terminal/main.c:136
```
The full stack trace is attached.

**Step to reproduce**

We configured `pspp` using `CFLAGS="-g -O0 -fsanitize=address" CXXFLAGS="-g
-O0 -fsanitize=address" ./configure --prefix=$(pwd)/ --without-cairo
--without-perl-module` and build it using `make -j10`, and run it with:

```
./pspp -o /dev/null -O format=odt <attached file>
```
The input file is attached.

**Environment**
- OS: Ubuntu 18.04.5 LTS
- GCC version: gcc 7.5.0
- pspp version: [pspp
1.4.1](http://mirror.yongbok.net/gnu/pspp/pspp-1.4.1.tar.gz)

Thank you.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 04 Oct 2021 03:35:51 PM UTC  Name: full_stacktrace_poc_9.zip  Size:
1KiB   By: irfanariq

<http://savannah.gnu.org/bugs/download.php?file_id=52023>
-------------------------------------------------------
Date: Mon 04 Oct 2021 03:35:51 PM UTC  Name: input_pspp_poc_9.zip  Size: 261B 
 By: irfanariq

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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