Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization failure on Mac OS (Lion) and Matlab 2012a #46

Open
GoogleCodeExporter opened this issue Dec 29, 2015 · 9 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Run the initialization

What is the expected output? What do you see instead?

Matlab crashes gives this error message:

Process:         MATLAB [3801]
Path:            /Applications/MATLAB_R2012a.app/Contents/MacOS/StartMATLAB
Identifier:      com.mathworks.matlab
Version:         R2012a [7.14.0] (7.14.0)
Code Type:       X86-64 (Native)
Parent Process:  launchd [134]

Date/Time:       2012-09-16 00:31:51.371 -0400
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Interval Since Last Report:          79014 sec
Crashes Since Last Report:           4
Per-App Interval Since Last Report:  575374 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      6BFC8F52-6A0E-496B-9C3C-652CC662D37A

Crashed Thread:  3

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
objc[3801]: garbage collection is OFF

Dyld Error Message:
  Symbol not found: __gfortran_allocate64_array
  Referenced from: /Users/USER/Documents/*/glmnetMex.mexmaci64
  Expected in: /Applications/MATLAB_R2012a.app/sys/os/maci64/libgfortran.3.dylib

What version / revision of the product are you using? On what operating
system?

Jan11 2012, version 3

Mac OS Lion (10.7.4)


Please provide any additional information below.

The problem seems to appear at the last step of the initialization  "Compile 
mex"

Original issue reported on code.google.com by alexandr...@gmail.com on 16 Sep 2012 at 4:39

@GoogleCodeExporter
Copy link
Author

Same problem here

Original comment by ed...@socialflow.com on 18 Sep 2012 at 3:10

@GoogleCodeExporter
Copy link
Author

Seems to have the same problem.  In my case it failed at glmnet(x,y).  So I 
block out the entired %write glmnetInstalled.m part.  For now I'm able to run 
testPmtk3 to completion.

Original comment by vonphoms...@gmail.com on 4 Oct 2012 at 4:24

@GoogleCodeExporter
Copy link
Author

I appear to have the same problem as well. Mac OS 10.8.2. The dump shows a 
similar problem.

Original comment by t...@vollmer.ws on 11 Dec 2012 at 2:00

@GoogleCodeExporter
Copy link
Author

Same problem.

Original comment by ankgu...@gmail.com on 9 Jan 2013 at 10:20

@GoogleCodeExporter
Copy link
Author

I also met this problem.

Original comment by bonn...@gmail.com on 21 Jan 2013 at 1:51

@GoogleCodeExporter
Copy link
Author

same problem

Original comment by PuBoBi.C...@gmail.com on 12 Feb 2013 at 6:02

@GoogleCodeExporter
Copy link
Author

same problem

Original comment by sandro.r...@gmail.com on 14 Feb 2013 at 11:36

@GoogleCodeExporter
Copy link
Author

There is a try-catch statement after line "% /usr/local/lib/libgfortran.2.dylib 
is missing", but the catch statement fails to catch the error, as the error 
crashes Matlab. 

Solution: we know that glmnet() is failing on Mac, so the catch block should be 
executed. Replace that try-catch-end block with one line:

installed=false;

And then run initPmtk3 again.

I do not recommend following the solution in comment #2, as the function 
glmnetInstalled.m will not be created if you comment that block of code 
completely.

Original comment by ddel...@gmail.com on 26 Feb 2013 at 4:31

@GoogleCodeExporter
Copy link
Author

Moved to GitHub: https://github.com/probml/pmtk3/issues/46

Original comment by irosen on 4 Jan 2014 at 2:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant