[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31286] octave crash after paste
From: |
Kai Habel |
Subject: |
[Octave-bug-tracker] [bug #31286] octave crash after paste |
Date: |
Sat, 09 Oct 2010 12:59:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-169.1 Firefox/3.6.10 |
URL:
<http://savannah.gnu.org/bugs/?31286>
Summary: octave crash after paste
Project: GNU Octave
Submitted by: kahacjde
Submitted on: Sat 09 Oct 2010 02:59:45 PM CEST
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
I have:
address@hidden:~/hg-octave/octave> hg tip
Ă„nderung: 11091:5677f3f7b5fa
Marke: tip
Nutzer: John W. Eaton <address@hidden>
Datum: Fri Oct 08 15:22:47 2010 -0400
Zusammenfassung: Matlab compatible short-circuit behavior for & and |
operators
When I call ./run-octave -g and try to paste the folling code:
function myfun
figure(1)
set(1,'windowbuttondownfcn','grid')
end
I get the following crash:
octave:1> function myfun
> figure(1)
> set(1,'windowbuttondownfcn','grid')
> end
octave: symtab.h:1837: static void
symbol_table::set_curr_fcn(octave_user_function*, symbol_table::scope_id):
Assertion `scope != xtop_scope && scope != xglobal_scope' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff15039e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff15039e5 in raise () from /lib64/libc.so.6
#1 0x00007ffff1504ee6 in abort () from /lib64/libc.so.6
#2 0x00007ffff14fc235 in __assert_fail () from /lib64/libc.so.6
#3 0x00007ffff751ecb6 in set_curr_fcn (this=0x6a9138, sid=1, pl=0x0, rl=0x0,
cl=<value optimized out>) at symtab.h:1837
#4 octave_user_function::octave_user_function (this=0x6a9138, sid=1, pl=0x0,
rl=0x0, cl=<value optimized out>)
at ov-usr-fcn.cc:193
#5 0x00007ffff72d72d4 in start_function (param_list=0x0, body=0xd01720,
end_fcn_stmt=<value optimized out>)
at oct-parse.yy:2814
#6 0x00007ffff72e291c in octave_parse () at oct-parse.yy:1412
#7 0x00007ffff73c234c in main_loop () at toplev.cc:564
#8 0x00007ffff735ab0f in octave_main (argc=6, argv=<value optimized out>,
embedded=0) at octave.cc:884
#9 0x00007ffff14efb7d in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000400739 in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31286>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31286] octave crash after paste,
Kai Habel <=