help-octave
[Top][All Lists]
Advanced

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

Re: chebfun gives Illegal instruction: 4


From: Andrew Janke
Subject: Re: chebfun gives Illegal instruction: 4
Date: Sun, 19 May 2019 03:32:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1


On 5/18/19 12:41 PM, José Abílio Matos wrote:
> On Saturday, 18 May 2019 16.07.39 WEST address@hidden wrote:
>> Thanks very much for taking a look at this (and in such depth). I did find
>> this on the chebfun website: "No, Chebfun does not work in Octave, because
>> it relies too intimately on the object-oriented features of MATLAB.” which
>> I posted on #octave earlier (when I thought my email had not been
>> received). But I agree it should not produce an illegal instruction.
>>
>> I am sad that I can’t use chebfun but it is not essential to what I am
>> doing.
>>
>> Thanks once again.
> 
> As far as I remember these problems should be mitigated in octave 6, due to 
> jwe work with the object oriented interface.
> 
> Running this on octave 6 (development) I get (after changing to the chebfun-
> master directory):
> 
>>> addpath(pwd())
>>> x = chebfun('x');
> error: octave_base_value::bool_value(): wrong type argument 'sq_string'
> error: called from
>     chebfun at line 219 column 36
> 
> 
> One of the reasons why I follow more or less this issue is because I am 
> involved in a more or less related project:
> https://cmup.fc.up.pt/tautoolbox/index.html
> 
> Regards,
> 

On macOS 10.14.5 on a Late 2015 iMac 5K with a fresh build from the
default branch tonight (2019-05-19), I get this:

$ octave-default -q
octave:1> addpath ~/tmp/chebfun/chebfun-master
octave:2> x = chebfun('x')
error: 'sampleTest' undefined near line 89 column 15
error: called from
    happinessCheck at line 89 column 13
    populate at line 116 column 23
    chebtech2 at line 102 column 27
    constructor at line 57 column 17
    constructor at line 71 column 21
    bndfun at line 103 column 24
    constructor at line 100 column 21
    constructor at line 51 column 21
    constructor>getFun at line 276 column 3
    constructor>constructorNoSplit at line 110 column 37
    constructor at line 63 column 18
    chebfun at line 219 column 36
octave:2> ver
----------------------------------------------------------------------
GNU Octave Version: 6.0.0 (hg id: f16471efcdf4 + patches)
GNU Octave License: GNU General Public License
Operating System: Darwin 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25
23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control  |   3.2.0 | /Users/janke/octave/control-3.2.0
      signal  |   1.4.1 | /Users/janke/octave/signal-1.4.1
octave:3>


I have to admit that I'm too lazy to chase that stack trace down, since
it doesn't have class qualifiers in it. But I think this is better than
a crash!

This was from a Homebrew-installed
`octave-app/octave-app/octave-default` on 2019-05-19 at 03:30 Eastern.

Cheers,
Andrew



reply via email to

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