octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave on Yosemite


From: Julius Smith
Subject: Re: Octave on Yosemite
Date: Fri, 21 Nov 2014 00:15:11 -0800

At 03:21 PM 11/20/2014, ailevin wrote:
I am also struggling with 3.8.2_1 under Yosemite. In addition to the segment
fault on exit, I also crash and get the following message if I incorrectly
index or have other run time errors in functions or oct files: ...

Octave crashes on exit in Mavericks as well (at least the latest MacPorts version does):

> octave
...
octave:1> exit
libc++abi.dylib: terminating with uncaught exception of type octave_interrupt_exception
panic: Abort trap: 6 -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Abort

> uname -a
Darwin josmbp.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

A lot of other stuff doesn't work as well:

> octave
...
octave:1> resample([1 1],2,1)
error: resample: /opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct: failed to load: dlopen(/opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct, 2): Library not loaded: /opt/local/lib/octave/3.6.4/liboctinterp.1.dylib
  Referenced from: /opt/local/lib/octave/packages/signal-1.2.2/x86_64-apple-darwin12.4.0-api-v48+/upfirdn.oct
  Reason: image not found
libc++abi.dylib: terminating with uncaught exception of type octave_execution_exception
panic: Abort trap: 6 -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Abort

> octave
...
octave:1> tf(1)
error: tf: /opt/local/lib/octave/packages/control-2.6.0/x86_64-apple-darwin13.0.0-api-v48+/is_real_matrix.oct: failed to load: dlopen(/opt/local/lib/octave/packages/control-2.6.0/x86_64-apple-darwin13.0.0-api-v48+/is_real_matrix.oct, 2): Library not loaded: /opt/local/lib/octave/3.6.4/liboctinterp.1.dylib
  Referenced from: /opt/local/lib/octave/packages/control-2.6.0/x86_64-apple-darwin13.0.0-api-v48+/is_real_matrix.oct
  Reason: image not found
libc++abi.dylib: terminating with uncaught exception of type octave_execution_exception
panic: Abort trap: 6 -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Abort

> octave
...
octave:1> version
ans = 3.8.2

> port installed | grep octave
  octave @3.8.2_1+atlas+gcc48 (active)
  octave-control @2.6.5_0 (active)
  octave-general @1.3.4_0 (active)
  octave-signal @1.2.2_0 (active)
  octave-specfun @1.1.0_0 (active)

There seems to have been a lot of regression lately (as of a few months ago).

- Julius

At 03:21 PM 11/20/2014, ailevin wrote:
I am also struggling with 3.8.2_1 under Yosemite. In addition to the segment
fault on exit, I also crash and get the following message if I incorrectly
index or have other run time errors in functions or oct files:

    "libc++abi.dylib: terminating with uncaught exception of type
octave_execution_exception"

Octave seems fully functional otherwise with no trouble compiling and
linking oct files.

Port and Build Story

I built octave using MacPorts: "sudo port octave +atlas+docs". It is the
first port after a complete uninstall, clean, and selfupdate. The install
halted during install of atlas with error:
    "org.macports.configure for port atlas returned: Atlas could not detect
any fortran compiler."
So "sudo port install gcc48" and the did the octave port again. This time I
was fine until it got to a circular list of dependencies. I installed
ghostscript with its dependencies and once again did the octave +atlas+docs
install.
 
I have Xcode cli installed:
    "~ % pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
     package-id: com.apple.pkg.CLTools_Executables
     version: 6.1.0.0.1.1413057044"

Can anyone give me some guidance on what might need to be reinstalled or
recompiled and what switches need to be set so these uncaught exceptions get
properly serviced?

Thanks,
Alan



--
View this message in context: http://octave.1599824.n4.nabble.com/Octave-on-Yosemite-tp4667302p4667402.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


Julius O. Smith III <address@hidden>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/


reply via email to

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