bugPSPP - Bugs: bug #58594, Assertion error var_set_get_var

 
 

bug #58594: Assertion error var_set_get_var

Submitter:  Andrea Fioraldi <andreafioraldi>
Submitted:  Wed 17 Jun 2020 08:11:39 AM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 17 Jun 2020 08:11:39 AM UTC, original submission:  

Another assertion:

src/language/lexer/variable-parser.c:719: struct variable var_set_get_var(const struct var_set , size_t): Assertion `idx < var_set_get_cnt (vs)' failed.

The command line is always the same:

ASAN_OPTIONS=handle_abort=2 ./pspp -O format=txt -o /dev/null -b abort2


pspp: src/language/lexer/variable-parser.c:719: struct variable *var_set_get_var(const struct var_set *, size_t): Assertion `idx < var_set_get_cnt (vs)' failed.
AddressSanitizer:DEADLYSIGNAL
=================================================================
==117476==ERROR: AddressSanitizer: ABRT on unknown address 0x03e80001cae4 (pc 0x7ffff61c2e97 bp 0x7ffff633b7d8 sp 0x7fffffffd6f0 T0)
    #0 0x7ffff61c2e97 in raise /build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51
    #1 0x7ffff61c4800 in abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:79
    #2 0x7ffff61b4399 in __assert_fail_base /build/glibc-OTsEL5/glibc-2.27/assert/assert.c:92
    #3 0x7ffff61b4411 in __assert_fail /build/glibc-OTsEL5/glibc-2.27/assert/assert.c:101
    #4 0x7a4279 in parse_var_set_vars /home/andreaf/real/pspp/src/language/lexer/variable-parser.c
    #5 0x7a1df7 in parse_variables /home/andreaf/real/pspp/src/language/lexer/variable-parser.c:140:13
    #6 0x5dd253 in internal_cmd_formats /home/andreaf/real/pspp/src/language/dictionary/formats.c:81:12
    #7 0x4d048b in do_parse_command /home/andreaf/real/pspp/src/language/command.c:233:16
    #8 0x4d048b in cmd_parse_in_state /home/andreaf/real/pspp/src/language/command.c:148:12
    #9 0x622c13 in cmd_input_program /home/andreaf/real/pspp/src/language/data-io/inpt-pgm.c:109:16
    #10 0x4d048b in do_parse_command /home/andreaf/real/pspp/src/language/command.c:233:16
    #11 0x4d048b in cmd_parse_in_state /home/andreaf/real/pspp/src/language/command.c:148:12
    #12 0x4c9df6 in main /home/andreaf/real/pspp/src/ui/terminal/main.c:138:20
    #13 0x7ffff61a5b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
    #14 0x421499 in _start (/home/andreaf/real/pspp/pspp_afl+0x421499)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: ABRT /build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51 in raise
==117476==ABORTING


Andrea Fioraldi <andreafioraldi>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49288:  abort2 added by andreafioraldi (2KiB - 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 jmd (Updated the item)
  • -email is unavailable- added by andreafioraldi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-20 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2020-06-17 andreafioraldi Attached File- Added abort2, #49288

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code