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

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

[Octave-bug-tracker] [bug #53156] examples/code/make_int.cc does not com


From: Rik
Subject: [Octave-bug-tracker] [bug #53156] examples/code/make_int.cc does not compile with development release
Date: Wed, 14 Feb 2018 17:28:56 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #53156 (project octave):

The file now compiles fine, and appears to run okay, but there is a
segmentation fault at the exit of Octave.


octave:1> diary on
octave:2> x = make_int(1.2)
installing integer type at type-id = 56
x =

1

octave:3> y = make_int (1.9)
y =

2

octave:4> z = x + y
z =

3

octave:5> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  ===== 
        x           0x0                          0  integer
        y           0x0                          0  integer
        z           0x0                          0  integer

Total is 0 elements using 0 bytes

octave:6> exit
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault


The segmentation fault may have been there for a long time, but it should be
fixed.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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