octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44824] Bad syntax in script crashing octave


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44824] Bad syntax in script crashing octave
Date: Mon, 13 Apr 2015 09:07:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Iceweasel/35.0.1

Update of bug #44824 (project octave):

                Severity:              3 - Normal => 4 - Important          
                  Status:                    None => Confirmed              
                 Release:                   3.8.2 => dev                    
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #1:

Thanks for your bug report. I can confirm this crash on Linux with the 4.0.0
release candidate branch also. The following simple example shows the crash:


>> if (true); 1; endevents


And the gdb stack trace is as follows:


#0  0x00007ffff45d6107 in __GI_raise (address@hidden)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff45d74e8 in __GI_abort () at abort.c:89
#2  0x00007ffff7447c38 in panic (
    address@hidden "impossible state reached in file '%s' at
line %d")
    at ../../libinterp/corefcn/error.cc:743
#3  0x00007ffff7302ada in octave_base_parser::end_error
(address@hidden, 
    address@hidden "if",
address@hidden::events_end, 
    l=<optimized out>, c=<optimized out>) at parse-tree/oct-parse.yy:2095
#4  0x00007ffff7304d61 in octave_base_parser::end_token_ok
(address@hidden, 
    tok=0xbed990, address@hidden::if_end) at
parse-tree/oct-parse.yy:2137
#5  0x00007ffff7305675 in octave_base_parser::finish_if_command
(this=0x7fffffffbb50, 
    if_tok=0xbd4410, list=0x83ffa0, end_tok=<optimized out>, lc=0x0)
    at parse-tree/oct-parse.yy:2834
#6  0x00007ffff730e34b in octave_push_parse (yyps=0xccd320,
yypushed_char=3649, 
    yypushed_val=0x6, address@hidden, parser=...)
    at parse-tree/oct-parse.yy:1006
#7  0x00007ffff7310613 in octave_pull_parse (address@hidden, parser=...)
    at parse-tree/oct-parse.cc:3010
#8  0x00007ffff731066a in octave_parse (parser=...) at
parse-tree/oct-parse.cc:2986
#9  0x00007ffff7310675 in octave_parser::run (address@hidden)
    at parse-tree/oct-parse.yy:3956
#10 0x00007ffff7810195 in main_loop () at
../../libinterp/corefcn/toplev.cc:593
#11 0x00007ffff6d2d3d9 in octave_execute_interpreter () at
../../libinterp/octave.cc:919
#12 0x00007ffff45c2b45 in __libc_start_main (main=0x400920 <main(int,
char**)>, argc=9, 
    argv=0x7fffffffbf08, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffbef8) at libc-start.c:287
#13 0x00000000004009af in _start ()


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44824>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]