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

Openblas segfault with Cbc #50

Closed
glennfulford opened this issue Oct 7, 2013 · 65 comments
Closed

Openblas segfault with Cbc #50

glennfulford opened this issue Oct 7, 2013 · 65 comments

Comments

@glennfulford
Copy link

Hi,
I've tried to run the combination lock example
http://iaindunning.com/2013/combination-locks.html

require("comblock")
Segmentation fault: 11

Further investigation shows the segmentation fault is occuring somewhere in the
solve command.

julia> versioninfo()
Julia Version 0.2.0-prerelease+3937
Commit 4666764* 2013-10-05 23:49:45 UTC
Platform Info:
System: Darwin (x86_64-apple-darwin12.5.0)
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm

@mlubin
Copy link
Member

mlubin commented Oct 7, 2013

Thanks for reporting this. A few things to try that will help diagnose the problem:

cd ~/.julia/MathProgBase/test
julia linprog.jl
julia mixintprog.jl

and let us know if there are any segfaults.

Also, within Julia:

julia> Pkg.status()

If the Homebrew package is installed,

julia> using Homebrew
julia> Homebrew.installed("coinmp")

@glennfulford
Copy link
Author

julia linprog.jl No error.
julia mixintprog.jl Seg fault 11.

Pkg.status()
julia> Pkg.status()
Required packages:

  • Clp 0.0.4
  • Distributions 0.2.9
  • GLM 0.2.0
  • Gadfly 0.1.13
  • Homebrew 0.0.0
  • IJulia 0.0.0
  • JuMP 0.1.0
  • Match 0.0.0
  • MixedModels 0.2.0
  • NLopt 0.0.0+ master
  • PyPlot 1.0.12
  • RDatasets 0.0.2
  • Stats 0.2.7
  • Winston 0.4.0
    Additional packages:
  • ArgParse 0.2.6
  • BinDeps 0.2.9
  • Blocks 0.0.0
  • Cairo 0.2.8
  • Cbc 0.0.3
  • Codecs 0.1.0
  • CoinMP 0.0.0- a74ccc45 (unregistered)
  • Color 0.2.6
  • Compose 0.1.12
  • DataFrames 0.3.12
  • Distance 0.2.4
  • GZip 0.2.5
  • IniFile 0.2.1
  • Iterators 0.1.1
  • JSON 0.2.2
  • Loess 0.0.0
  • MathProgBase 0.0.0
  • Mustache 0.0.0
  • Nettle 0.0.0
  • NumericExtensions 0.2.15
  • Options 0.2.1
  • PyCall 0.0.0
  • REPLCompletions 0.0.0
  • SortingAlgorithms 0.0.0
  • TextWrap 0.1.2
  • Tk 0.2.5
  • URIParser 0.0.0
  • Vega 0.0.0 fcabb6f4 (dirty)
  • ZMQ 0.1.6

julia> Homebrew.installed("coinmp")
true

Also, here is a copy of ENV
julia> ENV
TERM_PROGRAM=Apple_Terminal
PIP_REQUIRE_VIRTUALENV=FALSE
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/6h/b_zdwmc55nv2c1pvkk0kr0mct1dbxq/T/
Apple_PubSub_Socket_Render=/tmp/launch-vkMXAq/Render
TERM_PROGRAM_VERSION=309
TK_LIBRARY=/System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts
OLDPWD=/Users/fulford
TERM_SESSION_ID=FA10D7E5-F5F7-4794-B77C-C5110ABD03C8
USER=fulford
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-GJKsJg/Listeners
__CF_USER_TEXT_ENCODING=0x3416AFB7:0:0
Apple_Ubiquity_Message=/tmp/launch-WJ9OaW/Apple_Ubiquity_Message
PATH=/Users/fulford/.julia/Homebrew/deps/usr/bin:/Users/fulford/.julia/Homebrew/deps/usr/sbin:/usr/local/share/python:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
PWD=/Users/fulford/julia
DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/launch-TkVTpf/unix_domain_listener
LANG=en_AU.UTF-8
SHLVL=1
HOME=/Users/fulford
PYTHONPATH=/usr/local/lib/python2.7/site-packages:
LOGNAME=fulford
PKG_CONFIG=/usr/local/bin/
LDLIBRARY=/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config
DISPLAY=/tmp/launch-v8VKbg/org.macosforge.xquartz:0
PYTHONFRAMEWORKPREFIX=/usr/local/Cellar/python/2.7.5/Frameworks/Python.Frameworks
_=./julia
LINES=24
COLUMNS=80

@mlubin
Copy link
Member

mlubin commented Oct 7, 2013

Ok, so it looks like it's an issue with the MIP solver, Cbc. I don't have direct access to a 10.8 mac to try to reproduce this. @staticfloat, any chance you could test and see if you get the same crash? Is there a way to force homebrew to compile from source instead of using the binary tap?

For good measure, you should remove the CoinMP package, which was renamed to Cbc (just delete the directory in ~/.julia), but I don't think this will fix the issue.

@mlubin
Copy link
Member

mlubin commented Oct 7, 2013

Actually the version in METADATA wasn't using homebrew, so it's strange that homebrew reports it as installed. I've just bumped it.

I would try:

julia> Homebrew.rm("coinmp")
julia> Homebrew.update()

If you have a system installation of homebrew:

$ brew uninstall coinmp

The coinmp package in homebrew-science is not compatible with the version we use; we have a number of patches.

To reinstall using the latest build file, let's clear any existing binaries:

$ rm -r ~/.julia/Cbc/deps/usr ~/.julia/Cbc/deps/src

Then

julia> Pkg.update()
julia> Pkg.fixup("Cbc")

@staticfloat
Copy link
Contributor

Cbc works just fine for me on 10.8, using the binaries provided by Homebrew.jl. Could it be that you have a CoinMP package installed by homebrew-science and that is getting loaded? @mlubin is there any way we can (inside of Julia) detect that the configuration of CoinMP is incorrect? We have hooks inside of BinDeps now that lets us reject a binary after loading it if it fails some test

@mlubin
Copy link
Member

mlubin commented Oct 8, 2013

That seems like a plausible explanation. If @glennfulford confirms the issue, I can add this hook by checking for the bugs that I've patched :).

@glennfulford
Copy link
Author

Hi, I tried your suggestions (deleted coinmp, deleted reinstalled Cbc as
per your instructions) but I am still getting the same seg fault when I run
the test file mixintprog.jl.

The Cbc binary is definitely there in .julia/Homebrew/deps/usr/bin, it runs
from the command line and also runs in julia (using run(Cbc) so the path
to it is definitely being set.

On Tue, Oct 8, 2013 at 10:57 AM, Miles Lubin notifications@gh.neting.ccwrote:

That seems like a plausible explanation. If @glennfulfordhttps://github.com/glennfulfordconfirms the issue, I can add this hook by checking for the bugs that I've
patched :).


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25857856
.

@staticfloat
Copy link
Contributor

What does this output:

julia> run(`which Cbc`)

@glennfulford
Copy link
Author

julia> using MathProgBase

julia> run(which Cbc)
/Users/fulford/.julia/Homebrew/deps/usr/bin/Cbc

On Tue, Oct 8, 2013 at 3:17 PM, Glenn Fulford glenn.fulford@gmail.comwrote:

On Tue, Oct 8, 2013 at 3:14 PM, Elliot Saba notifications@gh.neting.ccwrote:

What does this output:

run(which Cbc)


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25865368
.

@mlubin
Copy link
Member

mlubin commented Oct 8, 2013

That's strange. Do you have an installation of coinmp anywhere else on the system? The binary search path may not be the same as the library search path.

Try gdb --args julia mixintprog.jl, and then r to run. It should give a stack trace which hopefully has useful information without needing to try to compile a debug version of cbc.

@glennfulford
Copy link
Author

Here is some of my output from gdb. I have cut out a lot of similar
warnings about gfortra. Let me know if you want to see all of them. Not
sure if they are important or not.

(gdb) run
Starting program: /Users/fulford/julia/julia mixintprog.jl
Reading symbols for shared libraries
+++++.+............................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/backtrace.o"

  • no debug information available for "backtrace.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/bounds.o"

  • no debug information available for "bounds.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/compile_options.o"

  • no debug information available for "compile_options.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/convert_char.o"

  • no debug information available for "convert_char.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/environ.o"

  • no debug information available for "environ.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/error.o"

  • no debug information available for "error.c".

--SNIP== lots of warnings like this

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgcc/unwind-dw2-fde-darwin_s.o"

  • no debug information available for "unwind-dw2-fde-darwin.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgcc/unwind-c_s.o"

  • no debug information available for "unwind-c.c".

warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgcc/emutls_s.o"

  • no debug information available for "emutls.c".

. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ....... done
Reading symbols for shared libraries ...... done
Reading symbols for shared libraries . done
Welcome to the CBC MILP Solver
Version: 2.7.8
Build Date: Sep 2 2013

command line - CoinMP -log 1 -solve -quit (default strategy 1)
logLevel was changed from 1 to 1
Continuous objective value is -16.5 - 0.00 seconds
Cgl0004I processed model has 1 rows, 5 columns (5 integer) and 5 elements
Objective coefficients multiple of 1
Cutoff increment increased from 1e-05 to 0.999

Program received signal SIGSEGV, Segmentation fault.
0x000000010627f215 in .L11 ()
(gdb)

On Tue, Oct 8, 2013 at 3:58 PM, Miles Lubin notifications@gh.neting.ccwrote:

That's strange. Do you have an installation of coinmp anywhere else on the
system? The binary search path may not be the same as the library search
path.

Try gdb --args julia mixintprog.jl, and then r to run. It should give a
stack trace which hopefully has useful information without needing to try
to compile a debug version of cbc.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25866593
.

@mlubin
Copy link
Member

mlubin commented Oct 8, 2013

Do you have a compiler set up? We can try compiling Cbc from source: Homebrew.rm("coinmp"). Comment out the lines (25-32) with @osx_only the lines in .julia/Cbc/deps/build.jl, and then run Pkg.fixup("Cbc"). This should help figure out if it's an issue with the homebrew binaries.

@glennfulford
Copy link
Author

Do you have a compiler set up?Yes, I normally buid julia from source.

OK, I did what you suggested, its compiling now. Seems to be compiling OK,
so far. I will let you know the outcome when it finishes.

On Tue, Oct 8, 2013 at 4:41 PM, Miles Lubin notifications@gh.neting.ccwrote:

Do you have a compiler set up? We can try compiling Cbc from source:
Homebrew.rm("coinmp"). Comment out the lines (25-32) with @osx_only the
lines in .julia/Cbc/deps/build.jl, and then run Pkg.fixup("Cbc"). This
should help figure out if it's an issue with the homebrew binaries.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25867877
.

@glennfulford
Copy link
Author

Ok, I think it compiled ok and it put new binaries into
./julia/Cbc/deps/usr/bin rather than ./julia/Homebrew/deps/usr/bin,

I still get the that test on linprog.jl appears to run ok, but
mixinntprog.jl still seg faults

Welcome to the CBC MILP Solver
Version: 2.7.8
Build Date: Oct 8 2013

command line - CoinMP -log 1 -solve -quit (default strategy 1)
logLevel was changed from 1 to 1
Continuous objective value is -16.5 - 0.00 seconds
Cgl0004I processed model has 1 rows, 5 columns (5 integer) and 5 elements
Objective coefficients multiple of 1
Cutoff increment increased from 1e-05 to 0.999
Segmentation fault: 11

On Tue, Oct 8, 2013 at 5:07 PM, Glenn Fulford glenn.fulford@gmail.comwrote:

Do you have a compiler set up?Yes, I normally buid julia from source.

OK, I did what you suggested, its compiling now. Seems to be compiling OK,
so far. I will let you know the outcome when it finishes.

On Tue, Oct 8, 2013 at 4:41 PM, Miles Lubin notifications@gh.neting.ccwrote:

Do you have a compiler set up? We can try compiling Cbc from source:
Homebrew.rm("coinmp"). Comment out the lines (25-32) with @osx_only the
lines in .julia/Cbc/deps/build.jl, and then run Pkg.fixup("Cbc"). This
should help figure out if it's an issue with the homebrew binaries.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25867877
.

@mlubin
Copy link
Member

mlubin commented Oct 8, 2013

The fact that it prints out the welcome lines really makes me think that it's finding some other version of coinmp on your system, because by default I've disabled that output in the patched version. Could you check your system for libcoinmp.dylib/libcoinmp.so in common library locations like /usr/lib and /usr/local/lib?

@glennfulford
Copy link
Author

Yeah, I tried looking using find / -name "coinmp" but it was taking ages,
and all it seemed to come up with was what was in the julia directories.
But it is possible that an older version of it was installed somewhere with
scipy or R, so I will have a look there specifically.

On Tue, Oct 8, 2013 at 5:26 PM, Miles Lubin notifications@gh.neting.ccwrote:

The fact that it prints out the welcome lines really makes me think that
it's finding some other version of coinmp on your system, because by
default I've disabled that output in the patched version. Could you check
your system for libcoinmp.dylib/libcoinmp.so in common library locations
like /usr/lib and /usr/local/lib?


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25869618
.

@glennfulford
Copy link
Author

I looked in /usr/lib and /usr/local/lib, but didn't find any files with
"coinmp" in the filename.

ALso, I tried
sudo find / -name "coinmp"
with output below, but all results seems to be that installed by julia.
This probably doesn't help much.

/Library/Caches/Homebrew/coinmp-1.6.0.tgz
/Library/Caches/Homebrew/coinmp-1.7.0.mountain_lion.bottle.tar.gz
/Library/Caches/Homebrew/Formula/coinmp.brewing
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/coinmp-uninstalled.pc
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/
coinmp-uninstalled.pc.in
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/coinmp.pc
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/coinmp.pc.in
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/src/config_coinmp.h
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/src/
config_coinmp.h.in
/Users/fulford/.julia/Cbc/deps/src/CoinMP-1.7.0/CoinMP/src/config_coinmp_default.h
/Users/fulford/.julia/Cbc/deps/usr/lib/pkgconfig/coinmp.pc
/Users/fulford/.julia/Cbc/deps/usr/share/coin/doc/CoinMP/coinmp_addlibs.txt
/Users/fulford/.julia/Homebrew/deps/usr/Library/Formula/coinmp.rb
/Users/fulford/.julia/Homebrew/deps/usr/Library/Taps/staticfloat-juliadeps/coinmp.rb
/Users/fulford/Library/Logs/Homebrew/coinmp
/usr/local/Library/Formula/coinmp.rb
/usr/local/Library/Taps/homebrew-science/coinmp.rb

On Tue, Oct 8, 2013 at 5:45 PM, Glenn Fulford glenn.fulford@gmail.comwrote:

Yeah, I tried looking using find / -name "coinmp" but it was taking ages,
and all it seemed to come up with was what was in the julia directories.
But it is possible that an older version of it was installed somewhere with
scipy or R, so I will have a look there specifically.

On Tue, Oct 8, 2013 at 5:26 PM, Miles Lubin notifications@gh.neting.ccwrote:

The fact that it prints out the welcome lines really makes me think that
it's finding some other version of coinmp on your system, because by
default I've disabled that output in the patched version. Could you check
your system for libcoinmp.dylib/libcoinmp.so in common library locations
like /usr/lib and /usr/local/lib?


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25869618
.

@mlubin
Copy link
Member

mlubin commented Oct 8, 2013

Hmm, we'll have to keep digging then. On line 47 of deps.jl, could you insert --enable-debug into the configure line after the prefix argument? Then clear Cbc/deps/usr and Cbc/deps/src and run Pkg.fixup("Cbc") to rebuild. It could also be useful to switch to a debug build of julia (make debug in the julia directory).

After this is done, go into Cbc/deps/src/CoinMP-1.7.0 and run make test to make sure that the cbc binary passes unit tests (I should really do this in the build script.) Then rerun the gdb command gdb --args julia mixintprog.jl. Hopefully that will give a more informative backtrace.

By the way, I realize this is a lot of work to get JuMP working. I'd like to figure out the issue with Cbc which could affect other users, but you could also try installing GLPK and use that as the solver in the meantime. If Cbc is also installed, it will be chosen by default, but you can explicitly set the solver when building a model object: Model(:Max,lpsolver = LPSolver(:GLPK), mipsolver = MIPSolver(:GLPK)).

@glennfulford
Copy link
Author

This is strangem, which i tried to build using Pkg.fixup("Cbc") with
--eanable-debug I got the following error about libcoinmp, but I don't get
this error when I try to build without the debug flag set.

WARNING: An exception occured while building binary dependencies.
You may have to take manual steps to complete the installation, see the
error message below.
To reattempt the installation, run Pkg.fixup("Cbc").

in build at pkg/entry.jl:434
ERROR: Provider BuildProcess failed to satisfy dependency libcoinmp
in error at error.jl:21
in satisfy! at /Users/fulford/.julia/BinDeps/src/dependencies.jl:435
in satisfy! at /Users/fulford/.julia/BinDeps/src/dependencies.jl:421
in anonymous at /Users/fulford/.julia/BinDeps/src/dependencies.jl:449
in include at boot.jl:238
in include_from_node1 at loading.jl:96
in anonymous at no file:437
in cd at file.jl:22
in build at pkg/entry.jl:434
in __fixup at pkg/entry.jl:466
in _fixup at pkg/entry.jl:493
in _fixup at pkg/entry.jl:496 (repeats 4 times)
in anonymous at pkg/dir.jl:30
in cd at file.jl:22
in cd at pkg/dir.jl:30
in fixup at pkg.jl:48
at /Users/fulford/.julia/Cbc/deps/build.jl:52

On Wed, Oct 9, 2013 at 1:17 AM, Miles Lubin notifications@gh.neting.ccwrote:

Hmm, we'll have to keep digging then. On line 47 of deps.jl, could you
insert --enable-debug into the configure line after the prefix argument?
Then clear Cbc/deps/usr and Cbc/deps/src and run Pkg.fixup("Cbc") to
rebuild. It could also be useful to switch to a debug build of julia (make
debug in the julia directory).

After this is done, go into Cbc/deps/src/CoinMP-1.7.0 and run make testto make sure that the cbc binary passes unit tests (I should really do this
in the build script.) Then rerun the gdb command gdb --args julia
mixintprog.jl. Hopefully that will give a more informative backtrace.

By the way, I realize this is a lot of work to get JuMP working. I'd like
to figure out the issue with Cbc which could affect other users, but you
could also try installing GLPK and use that as the solver in the meantime.
If Cbc is also installed, it will be choosen by default, but you can
explicitly set the solver when building a model object: Model(:Max,lpsolver
= LPSolver(:GLPK), mipsolver = MIPSolver(:GLPK)).


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25899162
.

@glennfulford
Copy link
Author

I went ahead and tried running gdb anyway, since the binaries were created,
here is the output (now using the debug version of julia)

IHBI-M-052237:test fulford$ gdb --args ~/julia/julia mixintprog.jl
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb 6 22:51:23 UTC
2013)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ....... done

(gdb) run
Starting program: /Users/fulford/julia/julia mixintprog.jl
Reading symbols for shared libraries
+++++.+............................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .warning: Could not find object file
"/private/tmp/gfortran-tgxr/gcc-4.8.1/build/x86_64-apple-darwin12.3.0/libgfortran/.libs/backtrace.o"

  • no debug information available for "backtrace.c".

SNIP---lots of warnings

Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
ERROR: Could not load library libclp. Try running Pkg.fixup() to install
missing dependencies!
in error at error.jl:21
in include at boot.jl:238
in include_from_node1 at loading.jl:96
in reload_path at loading.jl:121
in require at loading.jl:50
in include at boot.jl:238
in include_from_node1 at loading.jl:96
in reload_path at loading.jl:121
in require at loading.jl:50
in anonymous at no file:7
in include at boot.jl:238
in include_from_node1 at loading.jl:96
in reload_path at loading.jl:121
in require at loading.jl:50
in include at boot.jl:238
in include_from_node1 at loading.jl:96
in process_options at client.jl:291
in _start at client.jl:371
at /Users/fulford/.julia/Cbc/src/Cbc.jl:561
at /Users/fulford/.julia/Clp/src/Clp.jl:9
at /Users/fulford/.julia/MathProgBase/src/MathProgBase.jl:5
at /Users/fulford/.julia/MathProgBase/test/mixintprog.jl:2

Program exited with code 01.

On Wed, Oct 9, 2013 at 10:25 AM, Glenn Fulford glenn.fulford@gmail.comwrote:

This is strangem, which i tried to build using Pkg.fixup("Cbc") with
--eanable-debug I got the following error about libcoinmp, but I don't get
this error when I try to build without the debug flag set.

WARNING: An exception occured while building binary dependencies.
You may have to take manual steps to complete the installation, see the
error message below.
To reattempt the installation, run Pkg.fixup("Cbc").

in build at pkg/entry.jl:434
ERROR: Provider BuildProcess failed to satisfy dependency libcoinmp
in error at error.jl:21
in satisfy! at /Users/fulford/.julia/BinDeps/src/dependencies.jl:435
in satisfy! at /Users/fulford/.julia/BinDeps/src/dependencies.jl:421
in anonymous at /Users/fulford/.julia/BinDeps/src/dependencies.jl:449
in include at boot.jl:238
in include_from_node1 at loading.jl:96
in anonymous at no file:437
in cd at file.jl:22
in build at pkg/entry.jl:434
in __fixup at pkg/entry.jl:466
in _fixup at pkg/entry.jl:493
in _fixup at pkg/entry.jl:496 (repeats 4 times)
in anonymous at pkg/dir.jl:30
in cd at file.jl:22
in cd at pkg/dir.jl:30
in fixup at pkg.jl:48
at /Users/fulford/.julia/Cbc/deps/build.jl:52

On Wed, Oct 9, 2013 at 1:17 AM, Miles Lubin notifications@gh.neting.ccwrote:

Hmm, we'll have to keep digging then. On line 47 of deps.jl, could you
insert --enable-debug into the configure line after the prefix argument?
Then clear Cbc/deps/usr and Cbc/deps/src and run Pkg.fixup("Cbc") to
rebuild. It could also be useful to switch to a debug build of julia (make
debug in the julia directory).

After this is done, go into Cbc/deps/src/CoinMP-1.7.0 and run make testto make sure that the cbc binary passes unit tests (I should really do this
in the build script.) Then rerun the gdb command gdb --args julia
mixintprog.jl. Hopefully that will give a more informative backtrace.

By the way, I realize this is a lot of work to get JuMP working. I'd like
to figure out the issue with Cbc which could affect other users, but you
could also try installing GLPK and use that as the solver in the meantime.
If Cbc is also installed, it will be choosen by default, but you can
explicitly set the solver when building a model object: Model(:Max,lpsolver
= LPSolver(:GLPK), mipsolver = MIPSolver(:GLPK)).


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25899162
.

@mlubin
Copy link
Member

mlubin commented Oct 9, 2013

Could you clear the Cbc/deps/src directory again and paste the complete output of Pkg.fixup? There's not enough to tell what went wrong.

@glennfulford
Copy link
Author

Dear Miles, sorry about that.
there is a lot of output, so I have tried to put it in a gist (I have seen
other people do that)

https://gist.github.com/glennfulford/6895971

Hopefully you can read it, otherwise let me know and I will post it here.

Glenn

https://gist.github.com/glennfulford*
*

On Wed, Oct 9, 2013 at 12:40 PM, Miles Lubin notifications@gh.neting.ccwrote:

Could you clear the Cbc/deps/src directory again and paste the complete
output of Pkg.fixup? There's not enough to tell what went wrong.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25943103
.

@mlubin
Copy link
Member

mlubin commented Oct 9, 2013

Thanks for this. I'm going to try reproducing the error on a mac here. Could you reply with the output of the following commands:

which g++
g++ --version
clang --version
brew which

In parallel, I have one more variation to try with the configure line: ./configure --prefix=$prefix --enable-debug --enable-shared.

@glennfulford
Copy link
Author

which g++
/usr/bin/g++
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
clang --version
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
which brew
/usr/local/bin/brew

On Wed, Oct 9, 2013 at 3:48 PM, Miles Lubin notifications@gh.neting.ccwrote:

Thanks for this. I'm going to try reproducing the error on a mac here.
Could you reply with the output of the following commands:

which g++
g++ --version
clang --version
brew which

In parallel, I have one more variation to try with the configure line: ./configure
--prefix=$prefix --enable-debug --enable-shared.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25948126
.

@glennfulford
Copy link
Author

The output to running Pkg.fixup("Cbc") with configure option
--enable-shared is given in the gist

https://gist.github.com/glennfulford/6896963I've also included the full
output of
gdb --args julia mixintprog.jl

On Wed, Oct 9, 2013 at 3:54 PM, Glenn Fulford glenn.fulford@gmail.comwrote:

which g++
/usr/bin/g++
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
clang --version
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
which brew
/usr/local/bin/brew

On Wed, Oct 9, 2013 at 3:48 PM, Miles Lubin notifications@gh.neting.ccwrote:

Thanks for this. I'm going to try reproducing the error on a mac here.
Could you reply with the output of the following commands:

which g++
g++ --version
clang --version
brew which

In parallel, I have one more variation to try with the configure line: ./configure
--prefix=$prefix --enable-debug --enable-shared.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-25948126
.

@mlubin
Copy link
Member

mlubin commented Oct 9, 2013

Thanks. It looks like the library compiled fine this time. After the SIGSEGV line at the end, could you run the command bt on the gdb command line and paste the output?

@glennfulford
Copy link
Author

output of backtrace...

logLevel was changed from 1 to 1
Continuous objective value is -16.5 - 0.00 seconds
Cgl0004I processed model has 1 rows, 5 columns (5 integer) and 5 elements
Objective coefficients multiple of 1
Cutoff increment increased from 1e-05 to 0.999

Program received signal SIGSEGV, Segmentation fault.
0x0000000105a7f1e4 in .L11 ()
(gdb) bt
0  0x0000000105a7f1e4 in .L11 ()
1  0x0000000104b2119a in dgetf2_k ()
2  0x0000000104b24ff2 in dgetrf_parallel ()
3  0x0000000104b2479f in dgetrf_parallel ()
4  0x0000000104b2479f in dgetrf_parallel ()
5  0x0000000104b2479f in dgetrf_parallel ()
6  0x0000000104b2479f in dgetrf_parallel ()
7  0x0000000104b2479f in dgetrf_parallel ()
8  0x0000000104b2479f in dgetrf_parallel ()
9  0x0000000104813984 in dgetrf_ ()
10 0x000000010e02fc99 in CoinDenseFactorization::factor (this=0x100000000)
at CoinDenseFactorization.cpp:202
11 0x000000010cd3622d in ClpFactorization::factorize (this=0x10eaad160,
model=0x103a27000, solveType=0, valuesPass=false) at
ClpFactorization.cpp:1588
12 0x000000010cde6066 in ClpSimplex::internalFactorize (this=0x103a27000,
solveType=0) at ClpSimplex.cpp:1717
13 0x000000010cdfc07a in ClpSimplex::startup (this=0x103a27000,
ifValuesPass=0, startFinishOptions=7) at ClpSimplex.cpp:8271
14 0x000000010ce0dd29 in ClpSimplexDual::startupSolve (this=0x103a27000,
ifValuesPass=0, saveDuals=0x0, startFinishOptions=7) at
ClpSimplexDual.cpp:239
15 0x000000010ce1a63e in ClpSimplexDual::dual (this=0x103a27000,
ifValuesPass=0, startFinishOptions=7) at ClpSimplexDual.cpp:588
16 0x000000010cdf1d93 in ClpSimplex::dual (this=0x103a27000,
ifValuesPass=0, startFinishOptions=7) at ClpSimplex.cpp:5235
17 0x000000010c94c105 in OsiClpSolverInterface::crunch (this=0x10eab20c0)
at OsiClpSolverInterface.cpp:6688
18 0x000000010c94a2b3 in OsiClpSolverInterface::resolve (this=0x10eab20c0)
at OsiClpSolverInterface.cpp:1116
19 0x000000010e617b5c in CbcModel::resolve (this=0x10fb83600,
solver=0x10eab2358) at CbcModel.cpp:12139
20 0x000000010e5f9a57 in CbcModel::resolve (this=0x10fb83600, parent=0x0,
whereFrom=0, saveSolution=0x0, saveLower=0x0, saveUpper=0x0) at
CbcModel.cpp:8932
21 0x000000010e5ef86c in CbcModel::branchAndBound (this=0x10fb83600,
doStatistics=0) at CbcModel.cpp:1993
22 0x000000010e492431 in CbcMain1 (argc=5, argv=0x7fff5fbfd830,
model=@0x10f0a8600, callBack=0x10e476770 <dummyCallBack(CbcModel*, int)>)
at CbcSolver.cpp:5594
23 0x000000010e4a738a in CbcMain1 (argc=5, argv=0x7fff5fbfd830,
model=@0x10f0a8600) at CbcSolver.cpp:1116
24 0x000000010c9250e7 in CbcSolveProblem (hCbc=0x10ea95ff0,
pProblem=0x10cae62f0, pOption=0x10ea18de0, Method=0) at CoinCbc.cpp:948
25 0x000000010c92576d in CbcOptimizeProblem (pProblem=0x10cae62f0,
pResult=0x10ea20400, pSolver=0x10ea18c90, pOption=0x10ea18de0, Method=0) at
CoinCbc.cpp:1047
26 0x000000010c91bf7f in CoinOptimizeProblem (hProb=0x10ca91820, Method=0)
at CoinMP.cpp:590
27 0x000000010a551358 in ?? ()
28 0x000000010a551241 in ?? ()
29 0x000000010a551173 in ?? ()
30 0x000000010006f41c in jl_apply (f=0x10fc78f40, args=0x7fff5fbfdc18,
nargs=1) at julia.h:1026
31 0x0000000100071d0c in jl_trampoline (F=0x10fc78f40,
args=0x7fff5fbfdc18, nargs=1) at builtins.c:820
32 0x00000001000638bc in jl_apply (f=0x10fc78f40, args=0x7fff5fbfdc18,
nargs=1) at julia.h:1026
33 0x00000001000657f8 in jl_apply_generic (F=0x103d48dc0,
args=0x7fff5fbfdc18, nargs=1) at gf.c:1355
34 0x000000010a54b78e in ?? ()
35 0x000000010a54aa52 in ?? ()
36 0x000000010006f41c in jl_apply (f=0x10f168fa0, args=0x7fff5fbfde88,
nargs=8) at julia.h:1026
37 0x0000000100071d0c in jl_trampoline (F=0x10f168fa0,
args=0x7fff5fbfde88, nargs=8) at builtins.c:820
38 0x00000001000638bc in jl_apply (f=0x10f168fa0, args=0x7fff5fbfde88,
nargs=8) at julia.h:1026
39 0x00000001000657f8 in jl_apply_generic (F=0x10f106860,
args=0x7fff5fbfde88, nargs=8) at gf.c:1355
40 0x00000001000dd14c in jl_apply (f=0x10f106860, args=0x7fff5fbfde88,
nargs=8) at julia.h:1026
41 0x00000001000dd00e in do_call (f=0x10f106860, args=0x10f07e5b8,
nargs=8, locals=0x7fff5fbfe7a0, nl=3) at interpreter.c:57
42 0x00000001000dae4c in eval (e=0x10f147100, locals=0x7fff5fbfe7a0, nl=3)
at interpreter.c:175
43 0x00000001000daed5 in eval (e=0x10f1470e0, locals=0x7fff5fbfe7a0, nl=3)
at interpreter.c:182
44 0x00000001000dca57 in eval_body (stmts=0x10f07e500,
locals=0x7fff5fbfe7a0, nl=3, start=0, toplevel=1) at interpreter.c:447
45 0x00000001000dcd00 in jl_interpret_toplevel_thunk_with
(lam=0x10f10b8c0, loc=0x0, nl=3) at interpreter.c:483
46 0x00000001000dcd83 in jl_interpret_toplevel_thunk (lam=0x10f10b8c0) at
interpreter.c:490
47 0x00000001000f1e4c in jl_toplevel_eval_flex (e=0x10f146f80, fast=1) at
toplevel.c:406
48 0x00000001000f2b08 in jl_parse_eval_all (fname=0x1037e3800
"/Users/fulford/.julia/MathProgBase/test/mixintprog.jl") at toplevel.c:439
49 0x00000001000f2d19 in jl_load (fname=0x1037e3800
"/Users/fulford/.julia/MathProgBase/test/mixintprog.jl") at toplevel.c:472
50 0x00000001000f2ddb in jl_load_ (str=0x102256cf0) at toplevel.c:483
51 0x00000001028598a6 in ?? ()
52 0x000000010006f41c in jl_apply (f=0x1037947c0, args=0x7fff5fbfede8,
nargs=1) at julia.h:1026
53 0x0000000100071d0c in jl_trampoline (F=0x1037947c0,
args=0x7fff5fbfede8, nargs=1) at builtins.c:820
54 0x00000001000638bc in jl_apply (f=0x1037947c0, args=0x7fff5fbfede8,
nargs=1) at julia.h:1026
55 0x00000001000657f8 in jl_apply_generic (F=0x1037946c0,
args=0x7fff5fbfede8, nargs=1) at gf.c:1355
56 0x000000010285900d in ?? ()
57 0x000000010006f41c in jl_apply (f=0x103435100, args=0x7fff5fbff1b8,
nargs=1) at julia.h:1026
58 0x0000000100071d0c in jl_trampoline (F=0x103435100,
args=0x7fff5fbff1b8, nargs=1) at builtins.c:820
59 0x00000001000638bc in jl_apply (f=0x103435100, args=0x7fff5fbff1b8,
nargs=1) at julia.h:1026
60 0x00000001000657f8 in jl_apply_generic (F=0x1034350c0,
args=0x7fff5fbff1b8, nargs=1) at gf.c:1355
61 0x0000000102855ab1 in ?? ()
62 0x000000010006f41c in jl_apply (f=0x10366a6a0, args=0x7fff5fbff3e8,
nargs=1) at julia.h:1026
63 0x0000000100071d0c in jl_trampoline (F=0x10366a6a0,
args=0x7fff5fbff3e8, nargs=1) at builtins.c:820
64 0x00000001000638bc in jl_apply (f=0x10366a6a0, args=0x7fff5fbff3e8,
nargs=1) at julia.h:1026
65 0x00000001000657f8 in jl_apply_generic (F=0x10366a660,
args=0x7fff5fbff3e8, nargs=1) at gf.c:1355
66 0x0000000102800f04 in ?? ()
67 0x0000000102800bf0 in ?? ()
68 0x000000010006f41c in jl_apply (f=0x103155060, args=0x0, nargs=0) at
julia.h:1026
69 0x0000000100071d0c in jl_trampoline (F=0x103155060, args=0x0, nargs=0)
at builtins.c:820
70 0x00000001000638bc in jl_apply (f=0x103155060, args=0x0, nargs=0) at
julia.h:1026
71 0x00000001000657f8 in jl_apply_generic (F=0x103154fe0, args=0x0,
nargs=0) at gf.c:1355
72 0x0000000100001aec in jl_apply (f=0x103154fe0, args=0x0, nargs=0) at
julia.h:1026
73 0x0000000100001d9e in true_main (argc=2, argv=0x7fff5fbff970) at
repl.c:252
74 0x00000001000e62df in julia_trampoline (argc=2, argv=0x7fff5fbff970,
pmain=0x100001bd0 <true_main>) at init.c:814
75 0x000000010000226b in main (argc=2, argv=0x7fff5fbff970) at repl.c:292
(gdb)```

On Wed, Oct 9, 2013 at 11:59 PM, Miles Lubin notifications@gh.neting.ccwrote:

> Thanks. It looks like the library compiled fine this time. After the
> SIGSEGV line at the end, could you run the command bt on the gdb command
> line and paste the output?
> 
>
> Reply to this email directly or view it on GitHubhttps://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-25973091
> .

@mlubin
Copy link
Member

mlubin commented Oct 9, 2013

Very interesting! It seems like an openblas issue, not a Cbc issue. Try running the the test like OMP_NUM_THREADS=1 julia mixintprog.jl to disable multithreading in openblas.

@glennfulford
Copy link
Author

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 … 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 … 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin notifications@gh.neting.ccwrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity of the
problem.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26021557
.

@staticfloat
Copy link
Contributor

Just to double check: this is performed on a Julie executable that does not
use the fix Miles find for your issue? E.g. running the combinatorial lock
script on this Julia executable still crashes?
On Oct 9, 2013 5:57 PM, "glennfulford" notifications@github.com wrote:

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 … 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 … 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin notifications@gh.neting.ccwrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity of the
problem.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021557>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26021701
.

@glennfulford
Copy link
Author

If not sure if you wanted the output of
vmmap julia | grep dylib
on my computer, but here it is.

IHBI-M-052237:~ fulford$ vmmap julia | grep dylib
__TEXT 0000000100056000-0000000100bf5000 [ 11.6M] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libjulia-debug.dylib
__LINKEDIT 0000000100d3b000-0000000101074000 [ 3300K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libjulia-debug.dylib
__TEXT 00000001010ea000-00000001010ee000 [ 16K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/librandom.dylib
__LINKEDIT 00000001010f2000-00000001010f3000 [ 4K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/librandom.dylib
__TEXT 0000000102ae0000-0000000102af5000 [ 84K] r-x/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgcc_s.1.dylib
__LINKEDIT 0000000102af6000-0000000102aff000 [ 36K] r--/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgcc_s.1.dylib
__TEXT 0000000102c83000-0000000102cb8000 [ 212K] r-x/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libquadmath.0.dylib
__LINKEDIT 0000000102cb9000-0000000102cc6000 [ 52K] r--/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libquadmath.0.dylib
__TEXT 0000000102f83000-0000000102fe3000 [ 384K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libgmp.10.dylib
__LINKEDIT 0000000102fe7000-0000000102ff0000 [ 36K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libgmp.10.dylib
__TEXT 0000000104000000-0000000105add000 [ 26.9M] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenblas.dylib
__LINKEDIT 0000000105c0b000-0000000105e59000 [ 2360K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenblas.dylib
__TEXT 0000000105e59000-0000000105f6b000 [ 1096K] r-x/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgfortran.3.dylib
__LINKEDIT 0000000105f6d000-0000000105fcd000 [ 384K] r--/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgfortran.3.dylib
__TEXT 0000000108200000-000000010825d000 [ 372K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libpcre.1.dylib
__LINKEDIT 000000010825e000-0000000108261000 [ 12K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libpcre.1.dylib
__TEXT 00000001085a0000-00000001085bf000 [ 124K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenlibm.dylib
__LINKEDIT 00000001085c0000-00000001085c4000 [ 16K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenlibm.dylib
__TEXT 00007fff84d31000-00007fff84d7e000 [ 308K] r-x/r-x
SM=COW /usr/lib/libauto.dylib
__TEXT 00007fff84dd0000-00007fff84e09000 [ 228K] r-x/r-x
SM=COW /usr/lib/libncurses.5.4.dylib
__TEXT 00007fff8579a000-00007fff8579c000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libsystem_sandbox.dylib
__TEXT 00007fff85abd000-00007fff85acb000 [ 56K] r-x/r-x
SM=COW /usr/lib/libbz2.1.0.dylib
__TEXT 00007fff86469000-00007fff86478000 [ 60K] r-x/r-x
SM=COW /usr/lib/system/libsystem_network.dylib
__TEXT 00007fff8649b000-00007fff864ca000 [ 188K] r-x/r-x
SM=COW /usr/lib/system/libsystem_m.dylib
__TEXT 00007fff86562000-00007fff8662f000 [ 820K] r-x/r-x
SM=COW /usr/lib/system/libsystem_c.dylib
__TEXT 00007fff86877000-00007fff86879000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libsystem_blocks.dylib
__TEXT 00007fff86879000-00007fff8688f000 [ 88K] r-x/r-x
SM=COW /usr/lib/system/libdispatch.dylib
__TEXT 00007fff86b16000-00007fff86b3c000 [ 152K] r-x/r-x
SM=COW /usr/lib/libc++abi.dylib
__TEXT 00007fff86be0000-00007fff86be8000 [ 32K] r-x/r-x
SM=COW /usr/lib/system/libcopyfile.dylib
__TEXT 00007fff88091000-00007fff880a0000 [ 60K] r-x/r-x
SM=COW /usr/lib/system/libkxld.dylib
__TEXT 00007fff884c3000-00007fff884d7000 [ 80K] r-x/r-x
SM=COW /usr/lib/libbsm.0.dylib
__TEXT 00007fff88a29000-00007fff88c2a000 [ 2052K] r-x/r-x
SM=COW /usr/lib/libicucore.A.dylib
__TEXT 00007fff88c2a000-00007fff88c56000 [ 176K] r-x/r-x
SM=COW /usr/lib/libxslt.1.dylib
__TEXT 00007fff89631000-00007fff8963d000 [ 48K] r-x/r-x
SM=COW /usr/lib/system/libsystem_notify.dylib
__TEXT 00007fff896b3000-00007fff896d6000 [ 140K] r-x/r-x
SM=COW /usr/lib/system/libxpc.dylib
__TEXT 00007fff8985a000-00007fff8985f000 [ 20K] r-x/r-x
SM=COW /usr/lib/libpam.2.dylib
__TEXT 00007fff89c97000-00007fff89ca6000 [ 60K] r-x/r-x
SM=COW /usr/lib/system/libcommonCrypto.dylib
__TEXT 00007fff8a2b2000-00007fff8a3b0000 [ 1016K] r-x/r-x
SM=COW /usr/lib/libsqlite3.dylib
__TEXT 00007fff8a4f3000-00007fff8a4f4000 [ 4K] r-x/r-x
SM=COW /usr/lib/system/libkeymgr.dylib
__TEXT 00007fff8a4f4000-00007fff8a510000 [ 112K] r-x/r-x
SM=COW /usr/lib/system/libsystem_kernel.dylib
__TEXT 00007fff8a510000-00007fff8a513000 [ 12K] r-x/r-x
SM=COW /usr/lib/system/libunc.dylib
__TEXT 00007fff8a517000-00007fff8a51b000 [ 16K] r-x/r-x
SM=COW /usr/lib/system/libdyld.dylib
__TEXT 00007fff8a597000-00007fff8a5b9000 [ 136K] r-x/r-x
SM=COW /usr/lib/libCRFSuite.dylib
__TEXT 00007fff8b843000-00007fff8b941000 [ 1016K] r-x/r-x
SM=COW /usr/lib/libxml2.2.dylib
__TEXT 00007fff8c087000-00007fff8c0d7000 [ 320K] r-x/r-x
SM=COW /usr/lib/system/libcorecrypto.dylib
__TEXT 00007fff8c1d5000-00007fff8c23f000 [ 424K] r-x/r-x
SM=COW /usr/lib/libstdc++.6.0.9.dylib
__TEXT 00007fff8c3e9000-00007fff8c420000 [ 220K] r-x/r-x
SM=COW /usr/lib/system/libsystem_info.dylib
__TEXT 00007fff8cc41000-00007fff8cc43000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libremovefile.dylib
__TEXT 00007fff8cc43000-00007fff8cc4c000 [ 36K] r-x/r-x
SM=COW /usr/lib/system/liblaunch.dylib
__TEXT 00007fff8cd1a000-00007fff8cd1c000 [ 8K] r-x/r-x
SM=COW /usr/lib/libDiagnosticMessagesClient.dylib
__TEXT 00007fff8d057000-00007fff8d059000 [ 8K] r-x/r-x
SM=COW /usr/lib/liblangid.dylib
__TEXT 00007fff8d363000-00007fff8d366000 [ 12K] r-x/r-x
SM=COW /usr/lib/system/libquarantine.dylib
__TEXT 00007fff8d9b2000-00007fff8d9c5000 [ 76K] r-x/r-x
SM=COW /usr/lib/libz.1.2.5.dylib
__TEXT 00007fff8e49e000-00007fff8e4a5000 [ 28K] r-x/r-x
SM=COW /usr/lib/system/libmacho.dylib
__TEXT 00007fff8f1c2000-00007fff8f1d2000 [ 64K] r-x/r-x
SM=COW /usr/lib/libxar.1.dylib
__TEXT 00007fff8f5c0000-00007fff8f5c1000 [ 4K] r-x/r-x
SM=COW /usr/lib/libOpenScriptingUtil.dylib
__TEXT 00007fff8f611000-00007fff8f613000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libdnsinfo.dylib
__TEXT 00007fff8fbc9000-00007fff8fbd2000 [ 36K] r-x/r-x
SM=COW /usr/lib/system/libsystem_dnssd.dylib
__TEXT 00007fff8fd09000-00007fff8fd0f000 [ 24K] r-x/r-x
SM=COW /usr/lib/system/libcache.dylib
__TEXT 00007fff8fd0f000-00007fff8fe28000 [ 1124K] r-x/r-x
SM=COW /usr/lib/libobjc.A.dylib
__TEXT 00007fff90852000-00007fff908bb000 [ 420K] r-x/r-x
SM=COW /usr/lib/libc++.1.dylib
__TEXT 00007fff90b33000-00007fff90b3a000 [ 28K] r-x/r-x
SM=COW /usr/lib/system/libunwind.dylib
__TEXT 00007fff9104a000-00007fff91050000 [ 24K] r-x/r-x
SM=COW /usr/lib/system/libcompiler_rt.dylib
__TEXT 00007fff91050000-00007fff91052000 [ 8K] r-x/r-x
SM=COW /usr/lib/libSystem.B.dylib
__LINKEDIT 00007fff915e7000-00007fff94a03000 [ 52.1M] r--/r--
SM=COW /usr/lib/libxslt.1.dylib
__DATA 0000000100bf5000-0000000100d3b000 [ 1304K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libjulia-debug.dylib
__DATA 00000001010ee000-00000001010f2000 [ 16K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/librandom.dylib
__DATA 0000000102af5000-0000000102af6000 [ 4K] rw-/rwx
SM=PRV /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgcc_s.1.dylib
__DATA 0000000102cb8000-0000000102cb9000 [ 4K] rw-/rwx
SM=PRV /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libquadmath.0.dylib
__DATA 0000000102fe3000-0000000102fe7000 [ 16K] rw-/rwx
SM=COW /Users/fulford/julia/usr/lib/libgmp.10.dylib
__DATA 0000000105add000-0000000105af6000 [ 100K] rw-/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenblas.dylib
__DATA 0000000105af6000-0000000105c0b000 [ 1108K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libopenblas.dylib
__DATA 0000000105f6b000-0000000105f6d000 [ 8K] rw-/rwx
SM=PRV /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgfortran.3.dylib
__DATA 000000010825d000-000000010825e000 [ 4K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libpcre.1.dylib
__DATA 00000001085bf000-00000001085c0000 [ 4K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libopenlibm.dylib
__DATA 00007fff748b2000-00007fff748b4000 [ 8K] rw-/rwx
SM=COW /usr/lib/libauto.dylib
__DATA 00007fff748c4000-00007fff748c8000 [ 16K] rw-/rwx
SM=COW /usr/lib/libncurses.5.4.dylib
__DATA 00007fff74970000-00007fff74971000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_sandbox.dylib
__DATA 00007fff749e0000-00007fff749e1000 [ 4K] rw-/rwx
SM=COW /usr/lib/libbz2.1.0.dylib
__DATA 00007fff74aa1000-00007fff74aa3000 [ 8K] rw-/rwx
SM=COW /usr/lib/system/libsystem_network.dylib
__DATA 00007fff74aa9000-00007fff74aaa000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_m.dylib
__DATA 00007fff74ace000-00007fff74adf000 [ 68K] rw-/rwx
SM=COW /usr/lib/system/libsystem_c.dylib
__DATA 00007fff74b3c000-00007fff74b3d000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_blocks.dylib
__DATA 00007fff74b3d000-00007fff74b44000 [ 28K] rw-/rwx
SM=COW /usr/lib/system/libdispatch.dylib
__DATA 00007fff74b93000-00007fff74b9d000 [ 40K] rw-/rwx
SM=COW /usr/lib/libc++abi.dylib
__DATA 00007fff74bbe000-00007fff74bbf000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libcopyfile.dylib
__DATA 00007fff74e23000-00007fff74e24000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libkxld.dylib
__DATA 00007fff74e3a000-00007fff74e3c000 [ 8K] rw-/rw-
SM=COW /usr/lib/libbsm.0.dylib
__DATA 00007fff74ec2000-00007fff74ee0000 [ 120K] rw-/rw-
SM=COW /usr/lib/libicucore.A.dylib
__DATA 00007fff74ee0000-00007fff74ee1000 [ 4K] rw-/rw-
SM=COW /usr/lib/libxslt.1.dylib
__DATA 00007fff750b6000-00007fff750b7000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_notify.dylib
__DATA 00007fff750c9000-00007fff750ce000 [ 20K] rw-/rwx
SM=COW /usr/lib/system/libxpc.dylib
__DATA 00007fff7510d000-00007fff7510e000 [ 4K] rw-/rwx
SM=COW /usr/lib/libpam.2.dylib
__DATA 00007fff751d9000-00007fff751db000 [ 8K] rw-/rwx
SM=COW /usr/lib/system/libcommonCrypto.dylib
__DATA 00007fff7528a000-00007fff7528e000 [ 16K] rw-/rwx
SM=COW /usr/lib/libsqlite3.dylib
__DATA 00007fff752d2000-00007fff752d3000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libkeymgr.dylib
__DATA 00007fff752d3000-00007fff752d6000 [ 12K] rw-/rwx
SM=COW /usr/lib/system/libsystem_kernel.dylib
__DATA 00007fff752d6000-00007fff752d7000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libunc.dylib
__DATA 00007fff752d8000-00007fff752d9000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libdyld.dylib
__DATA 00007fff752e8000-00007fff752e9000 [ 4K] rw-/rwx
SM=COW /usr/lib/libCRFSuite.dylib
__DATA 00007fff753bf000-00007fff753c9000 [ 40K] rw-/rwx
SM=COW /usr/lib/libxml2.2.dylib
__DATA 00007fff754d4000-00007fff754d6000 [ 8K] rw-/rwx
SM=COW /usr/lib/system/libcorecrypto.dylib
__DATA 00007fff754e3000-00007fff754eb000 [ 32K] rw-/rwx
SM=COW /usr/lib/libstdc++.6.0.9.dylib
__DATA 00007fff75534000-00007fff75537000 [ 12K] rw-/rwx
SM=COW /usr/lib/system/libsystem_info.dylib
__DATA 00007fff755fe000-00007fff755ff000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libremovefile.dylib
__DATA 00007fff755ff000-00007fff75600000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/liblaunch.dylib
__DATA 00007fff7562c000-00007fff7562d000 [ 4K] rw-/rw-
SM=COW /usr/lib/libDiagnosticMessagesClient.dylib
__DATA 00007fff75690000-00007fff75691000 [ 4K] rw-/rw-
SM=COW /usr/lib/liblangid.dylib
__DATA 00007fff7572d000-00007fff7572e000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libquarantine.dylib
__DATA 00007fff75819000-00007fff7581a000 [ 4K] rw-/rw-
SM=COW /usr/lib/libz.1.2.5.dylib
__DATA 00007fff75b93000-00007fff75b94000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libmacho.dylib
__DATA 00007fff75dee000-00007fff75def000 [ 4K] rw-/rw-
SM=COW /usr/lib/libxar.1.dylib
__DATA 00007fff75e3c000-00007fff75e3d000 [ 4K] rw-/rwx
SM=COW /usr/lib/libOpenScriptingUtil.dylib
__DATA 00007fff75e49000-00007fff75e4a000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libdnsinfo.dylib
__DATA 00007fff75ecf000-00007fff75ed0000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_dnssd.dylib
__DATA 00007fff75f1d000-00007fff75f1e000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libcache.dylib
__DATA 00007fff75f1e000-00007fff75f26000 [ 32K] rw-/rwx
SM=COW /usr/lib/libobjc.A.dylib
__DATA 00007fff76192000-00007fff7619a000 [ 32K] rw-/rwx
SM=COW /usr/lib/libc++.1.dylib
__DATA 00007fff7624e000-00007fff7624f000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libunwind.dylib
__DATA 00007fff7628d000-00007fff7628e000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libcompiler_rt.dylib
__DATA 00007fff7628e000-00007fff7628f000 [ 4K] rw-/rw-
SM=COW /usr/lib/libSystem.B.dylib
IHBI-M-052237:~ fulford$ vmmap julia | grep dylib
__TEXT 0000000100056000-0000000100bf5000 [ 11.6M] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libjulia-debug.dylib
__LINKEDIT 0000000100d3b000-0000000101074000 [ 3300K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libjulia-debug.dylib
__TEXT 00000001010ea000-00000001010ee000 [ 16K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/librandom.dylib
__LINKEDIT 00000001010f2000-00000001010f3000 [ 4K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/librandom.dylib
__TEXT 00000001010f5000-00000001010fc000 [ 28K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libgrisu.dylib
__LINKEDIT 00000001010fd000-00000001010fe000 [ 4K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libgrisu.dylib
__TEXT 0000000102ae0000-0000000102af5000 [ 84K] r-x/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgcc_s.1.dylib
__LINKEDIT 0000000102af6000-0000000102aff000 [ 36K] r--/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgcc_s.1.dylib
__TEXT 0000000102c83000-0000000102cb8000 [ 212K] r-x/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libquadmath.0.dylib
__LINKEDIT 0000000102cb9000-0000000102cc6000 [ 52K] r--/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libquadmath.0.dylib
__TEXT 0000000102f83000-0000000102fe3000 [ 384K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libgmp.10.dylib
__LINKEDIT 0000000102fe7000-0000000102ff0000 [ 36K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libgmp.10.dylib
__TEXT 0000000104000000-0000000105add000 [ 26.9M] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenblas.dylib
__LINKEDIT 0000000105c0b000-0000000105e59000 [ 2360K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenblas.dylib
__TEXT 0000000105e59000-0000000105f6b000 [ 1096K] r-x/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgfortran.3.dylib
__LINKEDIT 0000000105f6d000-0000000105fcd000 [ 384K] r--/rwx
SM=COW /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgfortran.3.dylib
__TEXT 0000000108200000-000000010825d000 [ 372K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libpcre.1.dylib
__LINKEDIT 000000010825e000-0000000108261000 [ 12K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libpcre.1.dylib
__TEXT 00000001085a0000-00000001085bf000 [ 124K] r-x/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenlibm.dylib
__LINKEDIT 00000001085c0000-00000001085c4000 [ 16K] r--/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenlibm.dylib
__TEXT 00007fff84d31000-00007fff84d7e000 [ 308K] r-x/r-x
SM=COW /usr/lib/libauto.dylib
__TEXT 00007fff84dd0000-00007fff84e09000 [ 228K] r-x/r-x
SM=COW /usr/lib/libncurses.5.4.dylib
__TEXT 00007fff8579a000-00007fff8579c000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libsystem_sandbox.dylib
__TEXT 00007fff85abd000-00007fff85acb000 [ 56K] r-x/r-x
SM=COW /usr/lib/libbz2.1.0.dylib
__TEXT 00007fff86469000-00007fff86478000 [ 60K] r-x/r-x
SM=COW /usr/lib/system/libsystem_network.dylib
__TEXT 00007fff8649b000-00007fff864ca000 [ 188K] r-x/r-x
SM=COW /usr/lib/system/libsystem_m.dylib
__TEXT 00007fff86562000-00007fff8662f000 [ 820K] r-x/r-x
SM=COW /usr/lib/system/libsystem_c.dylib
__TEXT 00007fff86877000-00007fff86879000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libsystem_blocks.dylib
__TEXT 00007fff86879000-00007fff8688f000 [ 88K] r-x/r-x
SM=COW /usr/lib/system/libdispatch.dylib
__TEXT 00007fff86b16000-00007fff86b3c000 [ 152K] r-x/r-x
SM=COW /usr/lib/libc++abi.dylib
__TEXT 00007fff86be0000-00007fff86be8000 [ 32K] r-x/r-x
SM=COW /usr/lib/system/libcopyfile.dylib
__TEXT 00007fff88091000-00007fff880a0000 [ 60K] r-x/r-x
SM=COW /usr/lib/system/libkxld.dylib
__TEXT 00007fff884c3000-00007fff884d7000 [ 80K] r-x/r-x
SM=COW /usr/lib/libbsm.0.dylib
__TEXT 00007fff88a29000-00007fff88c2a000 [ 2052K] r-x/r-x
SM=COW /usr/lib/libicucore.A.dylib
__TEXT 00007fff88c2a000-00007fff88c56000 [ 176K] r-x/r-x
SM=COW /usr/lib/libxslt.1.dylib
__TEXT 00007fff89631000-00007fff8963d000 [ 48K] r-x/r-x
SM=COW /usr/lib/system/libsystem_notify.dylib
__TEXT 00007fff896b3000-00007fff896d6000 [ 140K] r-x/r-x
SM=COW /usr/lib/system/libxpc.dylib
__TEXT 00007fff8985a000-00007fff8985f000 [ 20K] r-x/r-x
SM=COW /usr/lib/libpam.2.dylib
__TEXT 00007fff89c97000-00007fff89ca6000 [ 60K] r-x/r-x
SM=COW /usr/lib/system/libcommonCrypto.dylib
__TEXT 00007fff8a2b2000-00007fff8a3b0000 [ 1016K] r-x/r-x
SM=COW /usr/lib/libsqlite3.dylib
__TEXT 00007fff8a4f3000-00007fff8a4f4000 [ 4K] r-x/r-x
SM=COW /usr/lib/system/libkeymgr.dylib
__TEXT 00007fff8a4f4000-00007fff8a510000 [ 112K] r-x/r-x
SM=COW /usr/lib/system/libsystem_kernel.dylib
__TEXT 00007fff8a510000-00007fff8a513000 [ 12K] r-x/r-x
SM=COW /usr/lib/system/libunc.dylib
__TEXT 00007fff8a517000-00007fff8a51b000 [ 16K] r-x/r-x
SM=COW /usr/lib/system/libdyld.dylib
__TEXT 00007fff8a597000-00007fff8a5b9000 [ 136K] r-x/r-x
SM=COW /usr/lib/libCRFSuite.dylib
__TEXT 00007fff8b843000-00007fff8b941000 [ 1016K] r-x/r-x
SM=COW /usr/lib/libxml2.2.dylib
__TEXT 00007fff8c087000-00007fff8c0d7000 [ 320K] r-x/r-x
SM=COW /usr/lib/system/libcorecrypto.dylib
__TEXT 00007fff8c1d5000-00007fff8c23f000 [ 424K] r-x/r-x
SM=COW /usr/lib/libstdc++.6.0.9.dylib
__TEXT 00007fff8c3e9000-00007fff8c420000 [ 220K] r-x/r-x
SM=COW /usr/lib/system/libsystem_info.dylib
__TEXT 00007fff8cc41000-00007fff8cc43000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libremovefile.dylib
__TEXT 00007fff8cc43000-00007fff8cc4c000 [ 36K] r-x/r-x
SM=COW /usr/lib/system/liblaunch.dylib
__TEXT 00007fff8cd1a000-00007fff8cd1c000 [ 8K] r-x/r-x
SM=COW /usr/lib/libDiagnosticMessagesClient.dylib
__TEXT 00007fff8d057000-00007fff8d059000 [ 8K] r-x/r-x
SM=COW /usr/lib/liblangid.dylib
__TEXT 00007fff8d363000-00007fff8d366000 [ 12K] r-x/r-x
SM=COW /usr/lib/system/libquarantine.dylib
__TEXT 00007fff8d9b2000-00007fff8d9c5000 [ 76K] r-x/r-x
SM=COW /usr/lib/libz.1.2.5.dylib
__TEXT 00007fff8e49e000-00007fff8e4a5000 [ 28K] r-x/r-x
SM=COW /usr/lib/system/libmacho.dylib
__TEXT 00007fff8f1c2000-00007fff8f1d2000 [ 64K] r-x/r-x
SM=COW /usr/lib/libxar.1.dylib
__TEXT 00007fff8f5c0000-00007fff8f5c1000 [ 4K] r-x/r-x
SM=COW /usr/lib/libOpenScriptingUtil.dylib
__TEXT 00007fff8f611000-00007fff8f613000 [ 8K] r-x/r-x
SM=COW /usr/lib/system/libdnsinfo.dylib
__TEXT 00007fff8fbc9000-00007fff8fbd2000 [ 36K] r-x/r-x
SM=COW /usr/lib/system/libsystem_dnssd.dylib
__TEXT 00007fff8fd09000-00007fff8fd0f000 [ 24K] r-x/r-x
SM=COW /usr/lib/system/libcache.dylib
__TEXT 00007fff8fd0f000-00007fff8fe28000 [ 1124K] r-x/r-x
SM=COW /usr/lib/libobjc.A.dylib
__TEXT 00007fff90852000-00007fff908bb000 [ 420K] r-x/r-x
SM=COW /usr/lib/libc++.1.dylib
__TEXT 00007fff90b33000-00007fff90b3a000 [ 28K] r-x/r-x
SM=COW /usr/lib/system/libunwind.dylib
__TEXT 00007fff9104a000-00007fff91050000 [ 24K] r-x/r-x
SM=COW /usr/lib/system/libcompiler_rt.dylib
__TEXT 00007fff91050000-00007fff91052000 [ 8K] r-x/r-x
SM=COW /usr/lib/libSystem.B.dylib
__LINKEDIT 00007fff915e7000-00007fff94a03000 [ 52.1M] r--/r--
SM=COW /usr/lib/libxslt.1.dylib
__DATA 0000000100bf5000-0000000100d3b000 [ 1304K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libjulia-debug.dylib
__DATA 00000001010ee000-00000001010f2000 [ 16K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/librandom.dylib
__DATA 00000001010fc000-00000001010fd000 [ 4K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libgrisu.dylib
__DATA 0000000102af5000-0000000102af6000 [ 4K] rw-/rwx
SM=PRV /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgcc_s.1.dylib
__DATA 0000000102cb8000-0000000102cb9000 [ 4K] rw-/rwx
SM=PRV /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libquadmath.0.dylib
__DATA 0000000102fe3000-0000000102fe7000 [ 16K] rw-/rwx
SM=COW /Users/fulford/julia/usr/lib/libgmp.10.dylib
__DATA 0000000105add000-0000000105af6000 [ 100K] rw-/rwx
SM=COW /Users/fulford/julia/usr/lib/libopenblas.dylib
__DATA 0000000105af6000-0000000105c0b000 [ 1108K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libopenblas.dylib
__DATA 0000000105f6b000-0000000105f6d000 [ 8K] rw-/rwx
SM=PRV /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/libgfortran.3.dylib
__DATA 000000010825d000-000000010825e000 [ 4K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libpcre.1.dylib
__DATA 00000001085bf000-00000001085c0000 [ 4K] rw-/rwx
SM=PRV /Users/fulford/julia/usr/lib/libopenlibm.dylib
__DATA 00007fff748b2000-00007fff748b4000 [ 8K] rw-/rwx
SM=COW /usr/lib/libauto.dylib
__DATA 00007fff748c4000-00007fff748c8000 [ 16K] rw-/rwx
SM=COW /usr/lib/libncurses.5.4.dylib
__DATA 00007fff74970000-00007fff74971000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_sandbox.dylib
__DATA 00007fff749e0000-00007fff749e1000 [ 4K] rw-/rwx
SM=COW /usr/lib/libbz2.1.0.dylib
__DATA 00007fff74aa1000-00007fff74aa3000 [ 8K] rw-/rwx
SM=COW /usr/lib/system/libsystem_network.dylib
__DATA 00007fff74aa9000-00007fff74aaa000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_m.dylib
__DATA 00007fff74ace000-00007fff74adf000 [ 68K] rw-/rwx
SM=COW /usr/lib/system/libsystem_c.dylib
__DATA 00007fff74b3c000-00007fff74b3d000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_blocks.dylib
__DATA 00007fff74b3d000-00007fff74b44000 [ 28K] rw-/rwx
SM=COW /usr/lib/system/libdispatch.dylib
__DATA 00007fff74b93000-00007fff74b9d000 [ 40K] rw-/rwx
SM=COW /usr/lib/libc++abi.dylib
__DATA 00007fff74bbe000-00007fff74bbf000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libcopyfile.dylib
__DATA 00007fff74e23000-00007fff74e24000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libkxld.dylib
__DATA 00007fff74e3a000-00007fff74e3c000 [ 8K] rw-/rw-
SM=COW /usr/lib/libbsm.0.dylib
__DATA 00007fff74ec2000-00007fff74ee0000 [ 120K] rw-/rw-
SM=COW /usr/lib/libicucore.A.dylib
__DATA 00007fff74ee0000-00007fff74ee1000 [ 4K] rw-/rw-
SM=COW /usr/lib/libxslt.1.dylib
__DATA 00007fff750b6000-00007fff750b7000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_notify.dylib
__DATA 00007fff750c9000-00007fff750ce000 [ 20K] rw-/rwx
SM=COW /usr/lib/system/libxpc.dylib
__DATA 00007fff7510d000-00007fff7510e000 [ 4K] rw-/rwx
SM=COW /usr/lib/libpam.2.dylib
__DATA 00007fff751d9000-00007fff751db000 [ 8K] rw-/rwx
SM=COW /usr/lib/system/libcommonCrypto.dylib
__DATA 00007fff7528a000-00007fff7528e000 [ 16K] rw-/rwx
SM=COW /usr/lib/libsqlite3.dylib
__DATA 00007fff752d2000-00007fff752d3000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libkeymgr.dylib
__DATA 00007fff752d3000-00007fff752d6000 [ 12K] rw-/rwx
SM=COW /usr/lib/system/libsystem_kernel.dylib
__DATA 00007fff752d6000-00007fff752d7000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libunc.dylib
__DATA 00007fff752d8000-00007fff752d9000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libdyld.dylib
__DATA 00007fff752e8000-00007fff752e9000 [ 4K] rw-/rwx
SM=COW /usr/lib/libCRFSuite.dylib
__DATA 00007fff753bf000-00007fff753c9000 [ 40K] rw-/rwx
SM=COW /usr/lib/libxml2.2.dylib
__DATA 00007fff754d4000-00007fff754d6000 [ 8K] rw-/rwx
SM=COW /usr/lib/system/libcorecrypto.dylib
__DATA 00007fff754e3000-00007fff754eb000 [ 32K] rw-/rwx
SM=COW /usr/lib/libstdc++.6.0.9.dylib
__DATA 00007fff75534000-00007fff75537000 [ 12K] rw-/rwx
SM=COW /usr/lib/system/libsystem_info.dylib
__DATA 00007fff755fe000-00007fff755ff000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libremovefile.dylib
__DATA 00007fff755ff000-00007fff75600000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/liblaunch.dylib
__DATA 00007fff7562c000-00007fff7562d000 [ 4K] rw-/rw-
SM=COW /usr/lib/libDiagnosticMessagesClient.dylib
__DATA 00007fff75690000-00007fff75691000 [ 4K] rw-/rw-
SM=COW /usr/lib/liblangid.dylib
__DATA 00007fff7572d000-00007fff7572e000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libquarantine.dylib
__DATA 00007fff75819000-00007fff7581a000 [ 4K] rw-/rw-
SM=COW /usr/lib/libz.1.2.5.dylib
__DATA 00007fff75b93000-00007fff75b94000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libmacho.dylib
__DATA 00007fff75dee000-00007fff75def000 [ 4K] rw-/rw-
SM=COW /usr/lib/libxar.1.dylib
__DATA 00007fff75e3c000-00007fff75e3d000 [ 4K] rw-/rwx
SM=COW /usr/lib/libOpenScriptingUtil.dylib
__DATA 00007fff75e49000-00007fff75e4a000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libdnsinfo.dylib
__DATA 00007fff75ecf000-00007fff75ed0000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libsystem_dnssd.dylib
__DATA 00007fff75f1d000-00007fff75f1e000 [ 4K] rw-/rwx
SM=COW /usr/lib/system/libcache.dylib
__DATA 00007fff75f1e000-00007fff75f26000 [ 32K] rw-/rwx
SM=COW /usr/lib/libobjc.A.dylib
__DATA 00007fff76192000-00007fff7619a000 [ 32K] rw-/rwx
SM=COW /usr/lib/libc++.1.dylib
__DATA 00007fff7624e000-00007fff7624f000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libunwind.dylib
__DATA 00007fff7628d000-00007fff7628e000 [ 4K] rw-/rw-
SM=COW /usr/lib/system/libcompiler_rt.dylib
__DATA 00007fff7628e000-00007fff7628f000 [ 4K] rw-/rw-
SM=COW /usr/lib/libSystem.B.dylib
IHBI-M-052237:~ fulford$

On Thu, Oct 10, 2013 at 10:57 AM, Glenn Fulford glenn.fulford@gmail.comwrote:

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 � 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 � 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin notifications@gh.neting.ccwrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity of the
problem.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26021557
.

@glennfulford
Copy link
Author

Elliott, I am not sure, but i think it does include Miles' fixes. How can I
tell?

On Thu, Oct 10, 2013 at 10:58 AM, Elliot Saba notifications@gh.neting.ccwrote:

Just to double check: this is performed on a Julie executable that does
not
use the fix Miles find for your issue? E.g. running the combinatorial lock
script on this Julia executable still crashes?
On Oct 9, 2013 5:57 PM, "glennfulford" notifications@github.com wrote:

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 … 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 … 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin notifications@gh.neting.ccwrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity of the
problem.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021557>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021701>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26021768
.

@glennfulford
Copy link
Author

The combination Lock example is now wooking. that is with the version of
Cbc built with lapack disabled.
./configure --prefix=$prefix --enable-debug --enable-shared --without-lapack

On Thu, Oct 10, 2013 at 11:03 AM, Glenn Fulford glenn.fulford@gmail.comwrote:

Elliott, I am not sure, but i think it does include Miles' fixes. How can
I tell?

On Thu, Oct 10, 2013 at 10:58 AM, Elliot Saba notifications@gh.neting.ccwrote:

Just to double check: this is performed on a Julie executable that does
not
use the fix Miles find for your issue? E.g. running the combinatorial
lock
script on this Julia executable still crashes?
On Oct 9, 2013 5:57 PM, "glennfulford" notifications@github.com wrote:

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 … 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 … 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin notifications@gh.neting.ccwrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity of
the
problem.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021557>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021701>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26021768
.

@staticfloat
Copy link
Contributor

Yes, we need you to test the lufact call on a "bad" version of Julia, one
for which the combination lock example crashes, to see if lufact crashes in
the same way
On Oct 9, 2013 6:07 PM, "glennfulford" notifications@github.com wrote:

The combination Lock example is now wooking. that is with the version of
Cbc built with lapack disabled.
./configure --prefix=$prefix --enable-debug --enable-shared
--without-lapack

On Thu, Oct 10, 2013 at 11:03 AM, Glenn Fulford glenn.fulford@gmail.comwrote:

Elliott, I am not sure, but i think it does include Miles' fixes. How
can
I tell?

On Thu, Oct 10, 2013 at 10:58 AM, Elliot Saba notifications@gh.neting.ccwrote:

Just to double check: this is performed on a Julie executable that does
not
use the fix Miles find for your issue? E.g. running the combinatorial
lock
script on this Julia executable still crashes?
On Oct 9, 2013 5:57 PM, "glennfulford" notifications@github.com
wrote:

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 … 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 … 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin <
notifications@github.com>wrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity of
the
problem.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021557>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021701>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021768>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26022121
.

@glennfulford
Copy link
Author

Elliott, do you mean the bad version of Cbc? My julia version should be
standard (make with debug).

Going back to the version of Cbc compiled without the --enable-lapack flag
I get that the combination lock example seg faults (and also mixint.jl in
.julia/MathProgBase/test also seg faults).
For this build of Cbc, I find that lufact(rand(5,5)) also runs ok.

Hope that makes sense.

On Thu, Oct 10, 2013 at 11:20 AM, Elliot Saba notifications@gh.neting.ccwrote:

Yes, we need you to test the lufact call on a "bad" version of Julia, one
for which the combination lock example crashes, to see if lufact crashes
in
the same way
On Oct 9, 2013 6:07 PM, "glennfulford" notifications@github.com wrote:

The combination Lock example is now wooking. that is with the version of
Cbc built with lapack disabled.
./configure --prefix=$prefix --enable-debug --enable-shared
--without-lapack

On Thu, Oct 10, 2013 at 11:03 AM, Glenn Fulford glenn.fulford@gmail.comwrote:

Elliott, I am not sure, but i think it does include Miles' fixes. How
can
I tell?

On Thu, Oct 10, 2013 at 10:58 AM, Elliot Saba <
notifications@github.com>wrote:

Just to double check: this is performed on a Julie executable that
does
not
use the fix Miles find for your issue? E.g. running the combinatorial
lock
script on this Julia executable still crashes?
On Oct 9, 2013 5:57 PM, "glennfulford" notifications@github.com
wrote:

It doesn't crash.

julia> lufact(rand(10,10))
LU{Float64}(10x10 Array{Float64,2}:
0.967823 0.604755 0.00347607 … 0.31709 0.416532 0.371362
0.00427834 0.909334 0.871651 0.532755 0.271404 0.471521
0.144238 0.894325 -0.700291 0.180953 0.583875 -0.270447
0.529786 0.470139 0.222939 -0.372252 -0.206023 -0.279943
0.845691 0.212723 0.0596402 0.601556 -0.173922 -0.0631176
0.130338 0.827367 -0.278439 … 0.37769 0.477858 0.064366
0.834362 -0.075263 -0.808805 0.602638 1.2259 0.146747
0.968703 0.289934 -0.833488 1.29384 1.10525 0.0392021
0.614831 0.134554 -0.145365 0.429212 0.63024 0.916437
0.499312 0.541046 0.091084 0.511775 -0.847149 0.440921
,[9,2,6,10,6,9,9,10,10,10],0)

On Thu, Oct 10, 2013 at 10:53 AM, Miles Lubin <
notifications@github.com>wrote:

Maybe a quick test Glenn could try is

julia> lufact(rand(10,10))

If this crashes then we've significantly reduced the complexity
of
the
problem.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021557>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021701>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26021768>
.


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26022121>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26022556
.

@mlubin
Copy link
Member

mlubin commented Oct 10, 2013

I'm working on generating an input file for cbc so we can try testing it stand-alone without julia.

@mlubin
Copy link
Member

mlubin commented Oct 10, 2013

Ok, try putting the following text in a file called test.mps:

NAME          BLANK   
ROWS
 N  OBJROW
 L  R0000000
COLUMNS
    C0000000  OBJROW     -5.           R0000000  2.          
    C0000001  OBJROW     -3.           R0000000  8.          
    C0000002  OBJROW     -2.           R0000000  4.          
    C0000003  OBJROW     -7.           R0000000  2.          
    C0000004  OBJROW     -4.           R0000000  5.          
RHS
    RHS       R0000000  10.         
RANGES
    RANGE     R0000000  9.223372e+18
BOUNDS
 BV BOUND     C0000000  1.          
 BV BOUND     C0000001  1.          
 BV BOUND     C0000002  1.          
 BV BOUND     C0000003  1.          
 BV BOUND     C0000004  1.          
ENDATA

With the cbc version compiled without the --without-lapack fix, run

$ ~/.julia/Cbc/deps/usr/bin/cbc test.mps

We'll see if this crashes or not.

@glennfulford
Copy link
Author

No crash for this case.

$ ~/.julia/Cbc/deps/usr/bin/cbc test.mps

(I made sure this was the one withOUT the --without-lapack fix (ie. it DID
seg fault on mixintprog.jl)

Result - Optimal solution found

Objective value: -16.00000000
Enumerated nodes: 0
Total iterations: 1
Time (CPU seconds): 0.01
Time (Wallclock seconds): 0.01

Total time (CPU seconds): 0.01 (Wallclock seconds): 0.05

On Thu, Oct 10, 2013 at 12:05 PM, Miles Lubin notifications@gh.neting.ccwrote:

Ok, try putting the following text in a file called test.mps:

NAME BLANK
ROWS
N OBJROW
L R0000000
COLUMNS
C0000000 OBJROW -5. R0000000 2.
C0000001 OBJROW -3. R0000000 8.
C0000002 OBJROW -2. R0000000 4.
C0000003 OBJROW -7. R0000000 2.
C0000004 OBJROW -4. R0000000 5.
RHS
RHS R0000000 10.
RANGES
RANGE R0000000 9.223372e+18
BOUNDS
BV BOUND C0000000 1.
BV BOUND C0000001 1.
BV BOUND C0000002 1.
BV BOUND C0000003 1.
BV BOUND C0000004 1.
ENDATA

With the cbc version compiled without the --without-lapack fix, run

$ ~/.julia/Cbc/deps/usr/bin/cbc test.mps

We'll see if this crashes or not.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26023997
.

@mlubin
Copy link
Member

mlubin commented Oct 10, 2013

Thanks for checking. It seems like we can only reproduce the crash with cbc through julia. I'm not sure how to test it any further without spending too much of your time chasing down possible causes. I'll try to reproduce the issue locally on a recent Macbook Pro. In the meantime feel free to actually use JuMP now with the --without-lapack fix :)

@mlubin
Copy link
Member

mlubin commented Oct 10, 2013

I've renamed the issue now that we've determined the culprit.

@mlubin
Copy link
Member

mlubin commented Oct 10, 2013

I was able to reproduce the issue on an Intel i5 macbook pro with a julia build from source. Thanks for sticking with this, @glennfulford. @staticfloat, @xianyi, how do we debug this from here? Can I build a debug version of openblas with julia?

@staticfloat
Copy link
Contributor

This is quite a lot for xianyi to wade through. I would suggest opening an
issue on xianyi/OpenBLAS and starting afresh.
On Oct 10, 2013 10:11 AM, "Miles Lubin" notifications@github.com wrote:

I was able to reproduce the issue on an Intel i5 macbook pro with a julia
build from source. Thanks for sticking with this, @glennfulfordhttps://github.com/glennfulford.
@staticfloat https://github.com/staticfloat, @xianyihttps://github.com/xianyi,
how do we debug this from here? Can I build a debug version of openblas
with julia?


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26072283
.

@mlubin
Copy link
Member

mlubin commented Oct 10, 2013

Good point. On the julia side though, how can I get more debug info from openblas?

@staticfloat
Copy link
Contributor

I'm pretty sure you can just add DEBUG=1 to OpenBLAS's make incantation.
You could add that to OPENBLAS_BUILD_OPTS on line 699 of deps/Makefile.

On Thu, Oct 10, 2013 at 10:57 AM, Miles Lubin notifications@gh.neting.ccwrote:

Good point. On the julia side though, how can I get more debug info from
openblas?


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26076066
.

@glennfulford
Copy link
Author

OK, good it just wasn't me doing something stupid. I am happy to test on my
computer at any stage you need.
Glenn

On Fri, Oct 11, 2013 at 4:00 AM, Elliot Saba notifications@gh.neting.ccwrote:

I'm pretty sure you can just add DEBUG=1 to OpenBLAS's make incantation.
You could add that to OPENBLAS_BUILD_OPTS on line 699 of deps/Makefile.

On Thu, Oct 10, 2013 at 10:57 AM, Miles Lubin notifications@gh.neting.ccwrote:

Good point. On the julia side though, how can I get more debug info from
openblas?


Reply to this email directly or view it on GitHub<
https://github.com/IainNZ/JuMP.jl/issues/50#issuecomment-26076066>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-26076362
.

@xianyi
Copy link

xianyi commented Oct 11, 2013

Hi Guys,

Could you try to build OpenBLAS with USE_OPENMP=1?

Xianyi

@ViralBShah
Copy link
Contributor

I get this segfault too on 10.9.

@ViralBShah
Copy link
Contributor

@mlubin Can we avoid this whole thing by distributing a bottle where Cbc is compiled without lapack support?

@mlubin
Copy link
Member

mlubin commented Nov 2, 2013

This has been disabled in the OS X binaries. @ViralBShah @glennfulford, could you test?

I'd suggest running rm -rf ~/.julia/Cbc, then

using Homebrew
Homebrew.update()
Homebrew.rm("coinmp")
Pkg.resolve()
Pkg.build("Cbc")

@staticfloat
Copy link
Contributor

Note that in a future Homebrew release, that sequence of commands should hopefully be shortened to just using Homebrew, Homebrew.update(). If we ever get JuliaLang/julia#4201 landed, that should shorten down to just Pkg.update() as well!

@glennfulford
Copy link
Author

Yes it worked. I also had to delete MathProgBase and reinstall it
(Pkg.status() showed it was "dirty")., but after that
the combination lock example in JuMP, that was seg faulting before, now
works.

thanks, Glenn.

On Sun, Nov 3, 2013 at 8:35 AM, Elliot Saba notifications@gh.neting.ccwrote:

Note that in a future Homebrew release, that sequence of commands should
hopefully be shortened to just using Homebrew, Homebrew.update(). If we
ever get JuliaLang/julia#4201https://github.com/JuliaLang/julia/issues/4201landed, that should shorten down to just
Pkg.update() as well!


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-27634261
.

@ViralBShah
Copy link
Contributor

I am in the process of migrating to a new mac - so its gonna take me a little bit to get everything up and running.

@mlubin
Copy link
Member

mlubin commented Nov 3, 2013

Thanks again @glennfulford! I consider this resolved now.

@mlubin mlubin closed this as completed Nov 3, 2013
blegat pushed a commit that referenced this issue Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants