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

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

[Octave-bug-tracker] [bug #52815] Incompatible api-v51 in 4.2.1 vs 4.3.0


From: Rik
Subject: [Octave-bug-tracker] [bug #52815] Incompatible api-v51 in 4.2.1 vs 4.3.0+
Date: Sat, 6 Jan 2018 09:56:54 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #52815 (project octave):

                  Status:               Confirmed => Works For Me           

    _______________________________________________________

Follow-up Comment #6:

@Petr: When you say "crashes the other Octave", do you mean there is an actual
segfault and you are returned to the shell prompt?

I get an error about not being able to load a library, but that is expected
because it was created with the wrong version of Octave.

For testing I used helloworld.cc which is available in the examples/code
directory.


~/wip/Projects_Mine/octave-dev/examples/code: octave-4.2.1 -f -q --no-gui
octave:1> mkoctfile helloworld.cc
octave:2> helloworld (1,2)
Hello World has 2 input arguments and 0 output arguments.
octave:3> exit

~/wip/Projects_Mine/octave-dev/examples/code: ../../run-octave -f -q --no-gui
octave:1> helloworld (1,2)
error: /home/rik/wip/Projects_Mine/octave-dev/examples/code/helloworld.oct:
failed to load:
/home/rik/wip/Projects_Mine/octave-dev/examples/code/helloworld.oct: undefined
symbol: _ZN19octave_pager_stream6streamEv
octave:1> 


It would be nice if Octave simply warned about the version mismatch (there is
a routine check_version for that, but it isn't getting run or maybe the
library has to load correctly before the version can be checked), but I don't
get a segfault.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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