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

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

[Octave-bug-tracker] [bug #35772] Nested Function Support


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #35772] Nested Function Support
Date: Sat, 17 Mar 2012 23:24:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Tundraantelope/3.6.13

Follow-up Comment #8, bug #35772 (project octave):

At revision 14479:05b59be209ed, when running 


./run-octave -valgrind -q --eval 'sin(2)'


I get what looks like relevant output:


ans =  0.90930
==13302== Invalid read of size 4
==13302==    at 0x78FE360: fileno (fileno.c:37)
==13302==    by 0x5595E28: octave__init_buffer(yy_buffer_state*, _IO_FILE*)
(lex.cc:3470)
==13302==    by 0x5595CF8: octave__create_buffer(_IO_FILE*, int)
(lex.cc:3419)
==13302==    by 0x5595A6B: octave_restart(_IO_FILE*) (lex.cc:3344)
==13302==    by 0x55968FF: reset_parser() (lex.ll:1154)
==13302==    by 0x5596FB8: cleanup_parser() (lex.ll:1434)
==13302==    by 0x56E2E45: do_octave_atexit() (toplev.cc:1069)
==13302==    by 0x56E06BB: clean_up_and_exit(int) (toplev.cc:670)
==13302==    by 0x5691E0B: octave_main (octave.cc:892)
==13302==    by 0x400738: main (main.c:35)
==13302==  Address 0x10d14070 is 0 bytes inside a block of size 568 free'd
==13302==    at 0x4C248FE: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13302==    by 0x78FAA1C: fclose@@GLIBC_2.2.5 (iofclose.c:88)
==13302==    by 0x71DAD89: rpl_fclose (fclose.c:100)
==13302==    by 0x561C5EC: safe_fclose(_IO_FILE*) (oct-parse.yy:3253)
==13302==    by 0x562A18A: unwind_protect::fcn_arg_elem<_IO_FILE*>::run()
(unwind-prot.h:87)
==13302==    by 0x5392756: unwind_protect::run_top() (unwind-prot.h:260)
==13302==    by 0x53927A7: unwind_protect::run() (unwind-prot.h:289)
==13302==    by 0x53927D3: unwind_protect::~unwind_protect()
(unwind-prot.h:303)
==13302==    by 0x561D30B: parse_fcn_file(std::string const&, std::string
const&, bool, bool, std::string const&) (oct-parse.yy:3600)
==13302==    by 0x561E3B0: load_fcn_from_file(std::string const&, std::string
const&, std::string const&, std::string const&, bool) (oct-parse.yy:3772)
==13302==    by 0x56CE11E:
symbol_table::fcn_info::fcn_info_rep::find_user_function() (symtab.cc:1009)
==13302==    by 0x56CD3E5:
symbol_table::fcn_info::fcn_info_rep::xfind(octave_value_list const&, bool)
(symtab.cc:782)
==13302== 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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