bugPSPP - Bugs: bug #58298, PSPPIRE crash chashed while...

 
 

bug #58298: PSPPIRE crash chashed while chanching variable type during import from TXT

Submitted by:  Mindaugas <embar>
Submitted on:  Mon 04 May 2020 03:52:16 AM UTC  
 
Category:  Graphical User Interface 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 06 Jun 2020 07:33:13 PM UTC, comment #3: 
Friedrich Beckmann <beckmanf>
Project Member
Tue 02 Jun 2020 01:06:02 PM UTC, comment #2: 

Same bug on Debian with pspp master branch from June 2nd 2020.

Friedrich Beckmann <beckmanf>
Project Member
Mon 04 May 2020 03:56:57 AM UTC, comment #1: 

At crash, I see:

psppire: src/data/case.c:475: assert_variable_matches_case: Assertion `caseproto_get_width (c->proto, case_idx) == var_get_width (v)' failed.

Mindaugas <embar>
Mon 04 May 2020 03:52:16 AM UTC, original submission:  

PSPPIRE 1.3.0-g762dcd (2020 April) version in openSUSE Leap 15.1 Linux.

Try import data from TXT file. In variables customization step try change variable type for any variable from numeric to string.

Result: crash.

Expected: no crash.

Mindaugas <embar>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48996:  pspp_import_test_B100NaN200Numeric.txt added by embar (6KiB - text/plain - TXT for testing, crash backtrace from gdb, video paused at crash while running inside gdb)
file #48997:  gdb-pspp-2020-05-04-dbg.txt added by embar (29KiB - text/plain - TXT for testing, crash backtrace from gdb, video paused at crash while running inside gdb)
file #48998:  vokoscreenNG-2020-05-04_06-38-28.mkv added by embar (490KiB - video/x-matroska - TXT for testing, crash backtrace from gdb, video paused at crash while running inside gdb)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by beckmanf (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-06 beckmanf CategoryNone => Graphical User Interface
        StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2020-06-02 beckmanf StatusNone => Confirmed
    2020-05-04 embar Attached File- => Added pspp_import_test_B100NaN200Numeric.txt, #48996
        Attached File- => Added gdb-pspp-2020-05-04-dbg.txt, #48997
        Attached File- => Added vokoscreenNG-2020-05-04_06-38-28.mkv, #48998

    Back to the top


    Powered by Savane 3.5