[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #61284] SIGABRT in pspp at src/data/casewriter.c:54
From: |
Irfan Ariq |
Subject: |
PSPP-BUG: [bug #61284] SIGABRT in pspp at src/data/casewriter.c:54 |
Date: |
Mon, 4 Oct 2021 11:41:26 -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/?61284>
Summary: SIGABRT in pspp at src/data/casewriter.c:54
Project: PSPP
Submitted by: irfanariq
Submitted on: Mon 04 Oct 2021 03:41:24 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=0x7ffff686ed60
"case_get_value_cnt (c) >= n_widths", file=file@entry=0x7ffff686ed20
"src/data/casewriter.c", line=line@entry=54,
function=function@entry=0x7ffff686edc0 <__PRETTY_FUNCTION__.5522>
"casewriter_write") at assert.c:92
#3 0x00007ffff585d502 in __GI___assert_fail (assertion=0x7ffff686ed60
"case_get_value_cnt (c) >= n_widths", file=0x7ffff686ed20
"src/data/casewriter.c", line=54, function=0x7ffff686edc0
<__PRETTY_FUNCTION__.5522> "casewriter_write") at assert.c:101
#4 0x00007ffff66f79ca in casewriter_write (writer=0x604000004c90,
c=0x603000003370) at src/data/casewriter.c:54
#5 0x00007ffff670be83 in proc_casereader_read (reader=0x604000004e50,
ds_=0x6110000002c0) at src/data/dataset.c:547
#6 0x00007ffff66f4452 in casereader_read (reader=0x604000004e50) at
src/data/casereader.c:71
#7 0x00007ffff670c038 in proc_casereader_destroy (reader=0x604000004e50,
ds_=0x6110000002c0) at src/data/dataset.c:578
#8 0x00007ffff66f45b0 in casereader_destroy (reader=0x604000004e50) at
src/data/casereader.c:94
#9 0x00007ffff66f1f0a in casereader_shim_destroy (reader=0x604000004d10,
s_=0x6020000134b0) at src/data/casereader-shim.c:123
#10 0x00007ffff66f59a6 in random_reader_destroy (reader=0x604000004d10,
br_=0x603000003340) at src/data/casereader.c:536
```
Here is the full stack trace : [link]()
**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 <attached file> -O device=listing -o -a -e format=odt -O -o
```
Attachment: [input file]()
**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:41:24 PM UTC Name: full_stacktrace_poc_11.zip Size:
1KiB By: irfanariq
<http://savannah.gnu.org/bugs/download.php?file_id=52027>
-------------------------------------------------------
Date: Mon 04 Oct 2021 03:41:24 PM UTC Name: input_pspp_poc_11.zip Size: 461B
By: irfanariq
<http://savannah.gnu.org/bugs/download.php?file_id=52028>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61284>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- PSPP-BUG: [bug #61284] SIGABRT in pspp at src/data/casewriter.c:54,
Irfan Ariq <=