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

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

[Octave-bug-tracker] [bug #31861] crash with empty function line


From: Judd Storrs
Subject: [Octave-bug-tracker] [bug #31861] crash with empty function line
Date: Wed, 15 Dec 2010 03:52:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.04 Chromium/8.0.552.215 Chrome/8.0.552.215 Safari/534.10

Follow-up Comment #17, bug #31861 (project octave):

I can reproduce the crash with octave installed in /usr/local/ after using
"backend fltk".


octave:1> backend fltk
octave:2> function y = foo(x)
> 
> endfunction
octave: ../../octave/src/symtab.h:1850: static void
symbol_table::set_curr_fcn(octave_user_function*, int): Assertion `scope !=
xtop_scope && scope != xglobal_scope' failed.

Program received signal SIGABRT, Aborted.
0x00007fffeff60a75 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007fffeff60a75 in raise () from /lib/libc.so.6
#1  0x00007fffeff645c0 in abort () from /lib/libc.so.6
#2  0x00007fffeff59941 in __assert_fail () from /lib/libc.so.6
#3  0x00007ffff74c3b5e in symbol_table::set_curr_fcn (curr_fcn=0x6abfb0,
scope=1) at ../../octave/src/symtab.h:1850
#4  0x00007ffff74c00d1 in octave_user_function (this=0x6abfb0, sid=1,
pl=0xb33930, rl=0x0, cl=0xaaa770) at ../../octave/src/ov-usr-fcn.cc:193
#5  0x00007ffff731351b in start_function (param_list=0xb33930, body=0xaaa770,
end_fcn_stmt=0xc63970) at oct-parse.yy:2814
#6  0x00007ffff730f6b3 in octave_parse () at oct-parse.yy:1410
#7  0x00007ffff73cd9d3 in main_loop () at ../../octave/src/toplev.cc:568
#8  0x00007ffff73883fb in octave_main (argc=1, argv=0x7fffffffe2b8,
embedded=0) at ../../octave/src/octave.cc:896
#9  0x0000000000400889 in main (argc=1, argv=0x7fffffffe2b8) at
../../octave/src/main.c:35
(gdb) 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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