octave-maintainers
[Top][All Lists]
Advanced

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

Re: Problem in parse-tree/lex.ll when make-checking


From: Julien Bect
Subject: Re: Problem in parse-tree/lex.ll when make-checking
Date: Thu, 05 Mar 2015 08:35:19 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Le 05/03/2015 08:13, Julien Bect a écrit :
Le 03/03/2015 18:41, John W. Eaton a écrit :
[snip]

Can you isolate it to a single test?

What version of flex do you have?

$ flex --version
flex 2.5.39

I will try to isolate it to a single test.

Ok, I think I have found it. The test is attached.

# ./run-octave --no-gui
GNU Octave, version 3.9.1+
Copyright (C) 2015 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> test ("faulty.tst", "verbose", stdout)
>>>>> processing faulty.tst
>>>>> /usr/local/src/octave/default/faulty.tst
***** test
 hf1 = figure ("visible", "off");
 ax1 = subplot (1,2,1);
 ax2 = subplot (1,2,2);
 hf2 = figure ("visible", "off");
 unwind_protect
   set (ax2, "parent", hf2);
   assert (get (hf2, "currentaxes"), ax2);
   assert (get (hf1, "currentaxes"), ax1);
   set (ax1, "parent", hf2);
   assert (get (hf2, "currentaxes"), ax2);
 unwind_protect_cleanup
   close (hf1);
   close (hf2);
 end_unwind_protect
parse-tree/lex.ll :2697 : void octave_base_lexer::handle_number(): l'assertion « nread == 1 » a échoué.
panic: Abandon -- stopping myself...
Abandon (core dumped)




reply via email to

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