bugPSPP - Bugs: bug #23555, assertion failure in...

 
 

bug #23555: assertion failure in ss_pointer_to_position()

Submitted by:  Jason H Stover <jstover>
Submitted on:  Thu 12 Jun 2008 07:01:52 PM UTC  
 
Category: Syntax ParserSeverity: 5 - Average
Status: NoneAssigned to: None
Open/Closed: ClosedRelease: 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.

 

Sun 14 Sep 2008 09:47:33 AM UTC, comment #4:

I'm fairly sure this has been fixed in the stable branch. Please reopen if this is not the case.

John Darrington <jmd>
Project Administrator
Sun 24 Aug 2008 09:33:43 AM UTC, comment #3:

I suspect this might be a duplicate of bug #24115

John Darrington <jmd>
Project Administrator
Sat 14 Jun 2008 06:30:31 AM UTC, comment #2:

I can't reproduce this, either on Debian GNU/Linux i386 or OpenBSD math.gcsu.edu 4.3 GENERIC#698 i386.

VARIABLES is misspelled (missing the "I") in your syntax, but it doesn't make any difference for me from an assertion-failure point of view whether I fix it or not.

Ben Pfaff <blp>
Project Administrator
Sat 14 Jun 2008 03:23:06 AM UTC, comment #1:

I can't reproduce this.

When I run it with 0.6.0 I get a warning: "warning: BEGIN DATA: Partial case discarded. The first variable missing was var1."

and the data file looks like:

VARIABLES var1 var2 var3
============================
a b c 1
2 3 d e

John Darrington <jmd>
Project Administrator
Thu 12 Jun 2008 07:01:52 PM UTC, original submission:

The following syntax causes an assertion failure:

DATA LIST FREE TABLE /VARABLES var1(A10) var2(A10) var3(A10).
BEGIN DATA.
a,b,c
1,2,3
d,e,f
END DATA.
SAVE /OUTFILE=asdf.a.

Backtrace:
(gdb) bt
#0 0xb79e52d8 in wait () from /lib/libc.so.6
#1 0x080cb5ba in connect_debugger () at src/ui/debugger.c:56
#2 0x0804debf in bug_handler (sig=6) at src/ui/terminal/main.c:176
#3 <signal handler called>
#4 0xb797ec87 in raise () from /lib/libc.so.6
#5 0xb79804f8 in abort () from /lib/libc.so.6
#6 0xb797830c in __assert_fail () from /lib/libc.so.6
#7 0x080f8f82 in ss_pointer_to_position (ss={string = 0x0, length = 6}, p=0x81605d3 "FILE=asdf.a.")
at src/libpspp/str.c:779
#8 0x080f8fb4 in ds_pointer_to_position (st=0x81604e0, p=0x81605d3 "FILE=asdf.a.") at src/libpspp/str.c:1161
#9 0x08051455 in parse_id (lexer=0x0) at src/language/lexer/lexer.c:409
#10 0x08051fa0 in lex_get (lexer=0x81604e0) at src/language/lexer/lexer.c:380
#11 0x0805008a in cmd_parse_in_state (lexer=0x81604e0, ds=0x8160390, state=CMD_STATE_DATA)
at src/language/command.c:184
#12 0x080508a0 in cmd_parse (lexer=0x81604e0, ds=0x8160390) at src/language/command.c:165
#13 0x0804e125 in main (argc=Cannot access memory at address 0x110e
) at src/ui/terminal/main.c:123

Jason H Stover <jstover>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Posted a comment)
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by jstover (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Sep 2008 09:47:33 AM UTCjmdOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1