bugGNU Octave - Bugs: bug #37960, is_real_type() always returns false

 
 

bug #37960: is_real_type() always returns false

Submitted by:  Torsten <ttl>
Submitted on:  Wed 19 Dec 2012 06:24:44 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 20 Dec 2012 05:14:26 AM UTC, comment #4:

Thanks Jordi, I actually had an old version of octave installed.

Torsten <ttl>
Project Member
Wed 19 Dec 2012 06:57:10 PM UTC, comment #3:

Torsten, I think your mkoctfile command is linking to a different, ABI-incompatible version of the Octave library than then you're running. So when you run this program, you're running into UB, since you're running against a different library than the one you compiled against.

Check that you don't have two different Octave installations running around.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Wed 19 Dec 2012 06:44:40 PM UTC, comment #2:

Same changeset 15819:1e9a6285acc4 on my system (ubuntu 12.04, 32 bit). Strange ...
I Will try a fresh clone and build

Torsten <ttl>
Project Member
Wed 19 Dec 2012 06:35:00 PM UTC, comment #1:

Works for me. My Mercurial archive is at 15819:1e9a6285acc4.

This was on a Linux machine.

Rik <rik5>
Project Administrator
Wed 19 Dec 2012 06:24:44 PM UTC, original submission:

The function is_real_type() always returns false. Please find attached a small test program (oct-file).

I am not sure but three or two weeks ago, the function was still working; I was still not able to identify a changeset that might have caused this effect.
An older version of octave (from July 2012) returns 1 as expected.

Torsten <ttl>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27126:  is_real_type_test.cc added by ttl (310B - text/x-c++src)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by ttl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Dec 2012 05:14:26 AM UTCttlStatusWorks For Me=>Invalid
      Open/ClosedOpen=>Closed
    Wed 19 Dec 2012 06:35:00 PM UTCrik5StatusNone=>Works For Me
    Wed 19 Dec 2012 06:24:44 PM UTCttlAttached File-=>Added is_real_type_test.cc, #27126

    Back to the top


    Powered by Savane 3.1-cleanup1