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

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

[Octave-bug-tracker] [bug #39180] Crashing octave in 1 character


From: Michael Goffioul
Subject: [Octave-bug-tracker] [bug #39180] Crashing octave in 1 character
Date: Fri, 07 Jun 2013 12:37:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31

Follow-up Comment #1, bug #39180 (project octave):

Confirmed, backtrace is as follows:
#0  0x00007ffff6bfffc4 in token::is_symbol (this=0x0) at
../../libinterp/parse-tree/token.h:98
#1  0x00007ffff6bfb215 in
lexical_feedback::maybe_mark_previous_token_as_variable (this=0x7fe418) at
lex.ll:1635
#2  0x00007ffff6bf6491 in octave_lex (yylval_param=0x7fffffffb670,
yyscanner=0x8028e0) at lex.ll:1129
#3  0x00007ffff6c04306 in octave_pull_parse (yyps=0x0, parser=...) at
parse-tree/oct-parse.cc:2154
#4  0x00007ffff6c0429d in octave_parse (parser=...) at
parse-tree/oct-parse.cc:2124
#5  0x00007ffff6c10e86 in octave_parser::run (this=0x7fffffffb7a0) at
oct-parse.yy:3474
#6  0x00007ffff6fa8672 in main_loop () at
../../libinterp/interpfcn/toplev.cc:567
#7  0x00007ffff66d3d09 in octave_execute_interpreter () at
../../libinterp/octave.cc:1014
#8  0x0000000000402761 in main (argc=8, argv=0x7fffffffba48) at
../../src/main-cli.cc:42

Should be easy to fix by checking for non-NULL "tok" value in
lexical_feedback::maybe_mark_previous_token_as_variable


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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