bugPSPP - Bugs: bug #55807, Segmentation fault: case_data_idx...


bug #55807: Segmentation fault: case_data_idx (c=c@entry=0x0, idx=6) at src/data/case.c:277

Submitted by:  Mindaugas <embar>
Submitted on:  Sat 02 Mar 2019 06:51:49 AM UTC  
Category:  System/Portable File I/O Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed 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.


Sat 02 Mar 2019 02:33:18 PM UTC, comment #4: 

Looking at this file and the bug-report from whence it comes it looks as if it has been deliberately mutated probably by a fuzzing tool.

This shouldn't ever be encountered in real life.  Nevertheless, I pushed a fix to avoid this particular crash.

John Darrington <jmd>
Project Administrator
Sat 02 Mar 2019 01:32:28 PM UTC, comment #3: 
Mindaugas <embar>
Sat 02 Mar 2019 01:24:45 PM UTC, comment #2: 

This file looks seriously corrupt.    Did you generate it yourself? or do you know where it came from?

I suppose it's still a valid test case.  PSPP shouldn't crash when presented with corrupt input.

John Darrington <jmd>
Project Administrator
Sat 02 Mar 2019 06:58:39 AM UTC, comment #1: 

At line
"277     src/data/case.c: Toks failas ar aplankas neegzistuoja."
there is non-Egshish text. It means:
"No such file or directory"

Mindaugas <embar>
Sat 02 Mar 2019 06:51:49 AM UTC, original submission:  

Latest PSPPIRE 1.2.0-g25bc10 crash after opening https://bugzilla.redhat.com/attachment.cgi?id=1539022 file and pressing "Data View" tab. See attached backtrace

Mindaugas <embar>


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

Attach Files:

Attached Files
file #46388:  psppire-1.2.0-g25bc10 crash.txt added by embar (18KiB - text/plain - gdb backtrace)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by embar (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-02 jmd StatusNone => Fixed
        Open/ClosedOpen => Closed
    2019-03-02 jmd CategoryNone => System/Portable File I/O
    2019-03-02 embar Attached File- => Added psppire-1.2.0-g25bc10 crash.txt, #46388

    Back to the top

    Powered by Savane 3.5