bugPSPP - Bugs: bug #54684, parse_record_placement: Assertion...

 
 

bug #54684: parse_record_placement: Assertion `*record >= 1' failed

Submitted by:  Tianxiao Gu <tianxiaogu>
Submitted on:  Tue 18 Sep 2018 10:55:51 PM UTC  
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Cannot Reproduce Assigned to:  None
Open/Closed:  Open Release:  None
Effort:  0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 24 Sep 2018 07:38:29 AM UTC, comment #2:

Hi Ben,

Can you try to reproduce the bug using the attached Dockerfile?
I can reproduce it with pspp-1.0.1, clang 7 and address sanitizer on Ubuntu 18.04.

Steps.
1. Download the attached Dockerfile into a directory.
2. Change to the directory that contains the Dockerfile. Build the docker image.
`docker build -t pspp .`
3. Run 'docker run -t pspp /test-case-54684' to reproduce bug 54684.
4. Run 'docker run -t pspp /test-case-54663' to reproduce bug 54663.

Dockerfile
```
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-config clang wget gettext zlib1g-dev libgslcblas0 libgsl-dev
ADD http://mirror.keystealth.org/gnu/pspp/pspp-1.0.1.tar.gz pspp-1.0.1.tar.gz
ADD http://savannah.gnu.org/bugs/download.php?file_id=45014 test-case-54663
ADD http://savannah.gnu.org/bugs/download.php?file_id=45042 test-case-54684
RUN tar zxvf pspp-1.0.1.tar.gz && cd ./pspp-1.0.1 && ./configure --without-gui --without-cairo && make CFLAGS="-g -O0 -fsanitize=address"
ENTRYPOINT ["/pspp-1.0.1/src/ui/terminal/pspp"]
```

(file #45083)

Tianxiao Gu <tianxiaogu>
Mon 24 Sep 2018 06:12:25 AM UTC, comment #1:

I was not able to reproduce this one.

Ben Pfaff <blp>
Project Administrator
Tue 18 Sep 2018 10:55:51 PM UTC, original submission:

1. Build pspp with assertion enabled.
2. Run `pspp test-case-000007`.

pspp: src/language/data-io/placement-parser.c:420: parse_record_placement: Assertion `*record >= 1' failed.
******************************************************
You have discovered a bug in PSPP. Please report this
to bug-gnu-pspp@gnu.org. Please include this entire
message, plus several lines of output just above it.
For the best chance at having the bug fixed, also
include the syntax file that triggered it and a sample
of any data file used for input.
proximate cause: Assertion Failure/Abort
version: GNU pspp 1.1.0
host_system: x86_64-pc-linux-gnu
build_system: x86_64-pc-linux-gnu
locale_dir: /usr/local/share/locale
compiler version: 7.3.0
******************************************************
Aborted

Tianxiao Gu <tianxiaogu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #45083:  Dockerfile added by tianxiaogu (571B - application/octet-stream)
file #45042:  test-case-000007 added by tianxiaogu (165B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by tianxiaogu (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-24 tianxiaogu Attached File- => Added Dockerfile, #45083
    2018-09-24 blp StatusNone => Cannot Reproduce
    2018-09-18 tianxiaogu Attached File- => Added test-case-000007, #45042

    Back to the top


    Powered by Savane 3.3