-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
ida examples segfault on OSX #14
Comments
Seems to work fine for me on Win32, Win64, RHEL64. Was this on a Mac? Clang problem? |
Yep, this is on my Mac. |
What version of OS X? Do the C examples work? I wouldn't be surprised if there's something in Sundials that Clang doesn't like, so this might be motivation to go the Homebrew binary route on Mac. There we should be able to specify we want gcc, if that turns out to be necessary. |
I am on OSX 10.8.5. Can I build the examples separately? I can also try to build the library using gcc ... |
I built the library and examples using MacPorts gcc (4.8.2) and it is still the same. The C example (idaRoberts_dns) works, but the Julia example segfaults ... |
Can you track it down to which ccall causes trouble? I'm at a bit of a loss then, not sure what else would be different on Mac. |
Seems to crash in
but that could also be due to something going wrong in the initialization. It is also strange that this affects only IDA? |
I meant inside |
|
Oh, hah, my bad. Can you try to replicate the input data in C? If that doesn't work, maybe build a debug version of the IDA lib and run Julia through gdb/lldb? I think I made a debug version by running |
I didn't have time to check the debug version. Just wanted to say that my colleague tried it on his Mac and it also fails for him ... So it seems to be Mac specific (I have changed the title of the issue). |
Was he also on 10.8? |
I think he is on 10.7 but I will have to check that. |
Just came across the same trouble with today's julia-HEAD installation. Downgrading to 0.2.1 fixed that. |
Can reproduce on 10.9.4 with julia-0.4-dev.
|
Seems we found the reason in #25 and Tony has a patch in #30. As a quick On Wednesday, August 27, 2014, Jiahao Chen notifications@github.com wrote:
|
Yes, changed deps.jl in way that you suggest and that worked for me, thanks! |
Can this be closed? |
Yes, should be fixed by #30. On Thursday, October 9, 2014, Viral B. Shah notifications@github.com
|
Running the examples
ida_Roberts_dns.jl
orida_Roberts_simplified.jl
leads to a segmentation fault on my machine. Not sure if this is connected to #13? cc: @tkelmanThe text was updated successfully, but these errors were encountered: