bugPSPP - Bugs: bug #58593, Assertion failure map_dependent_var

 
 

bug #58593: Assertion failure map_dependent_var

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

Add a New Comment Rich Markup
   

Tue 25 Aug 2020 09:13:40 AM UTC, comment #3: 

Closing, as nobody is able to reproduce this problem.   Most likely it has been fixed by other related bug fixes.

John Darrington <jmd>
Group administrator
Sat 20 Jun 2020 11:45:00 PM UTC, comment #2: 

I couldn't reproduce this either, although it reports memory leaks.

Ben Pfaff <blp>
Group administrator
Sat 20 Jun 2020 05:55:03 AM UTC, comment #1: 

I cannot reproduce this problem in any recent commit of pspp

John Darrington <jmd>
Group administrator
Wed 17 Jun 2020 08:08:18 AM UTC, original submission:  

I attach an input that triggers the following assertion:

src/language/stats/logistic.c:200: double map_dependent_var(const struct lr_spec , const struct lr_result , const union value *): Assertion `0' failed.

note: ASan report that the assertion is in run_lr, probably due to inlining (?)

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



warning: Not creating histogram because the data contains less than 2 distinct values

warning: Not creating histogram because the data contains less than 2 distinct values

warning: Not creating histogram because the data contains less than 2 distinct values

abort1:69: error: GRAPH: e is not a variable name.

abort1:69.45: error: GRAPH: Syntax error at `e': Variable expected.

abort1:70.13-70.19: error: GRAPH: Syntax error at `GROUPBD'.

abort1:71.12-71.14: error: GRAPH: Syntax error at `IST': expecting `='.
pspp: src/language/stats/logistic.c:200: double map_dependent_var(const struct lr_spec *, const struct lr_result *, const union value *): Assertion `0' failed.
AddressSanitizer:DEADLYSIGNAL
=================================================================
==116882==ERROR: AddressSanitizer: ABRT on unknown address 0x03e80001c892 (pc 0x7ffff61c2e97 bp 0x7ffff633b7d8 sp 0x7fffffffd530 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 0x64f327 in run_lr /home/andreaf/real/pspp/src/language/stats/logistic.c
    #5 0x64f327 in cmd_logistic /home/andreaf/real/pspp/src/language/stats/logistic.c:1100:12
    #6 0x4d048b in do_parse_command /home/andreaf/real/pspp/src/language/command.c:233:16
    #7 0x4d048b in cmd_parse_in_state /home/andreaf/real/pspp/src/language/command.c:148:12
    #8 0x4c9df6 in main /home/andreaf/real/pspp/src/ui/terminal/main.c:138:20
    #9 0x7ffff61a5b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
    #10 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
==116882==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 #49287:  abort1 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 blp (Posted a comment)
  • -email is unavailable- added by jmd (Posted a comment)
  • -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-08-25 jmd Open/ClosedOpen Closed
    2020-06-20 jmd StatusNone Cannot Reproduce
    2020-06-17 andreafioraldi Attached File- Added abort1, #49287

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code