-
Notifications
You must be signed in to change notification settings - Fork 69
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
Segmentation violation detected #53
Comments
@Eidantz, sorry for the delay, only saw it today. I noticed the same when I upgraded my desktop from 14.04 to 16.04 yesterday. I am not yet sure what cause the crash, but it seems matlab 2016 does not seem to like the mex compiled on Ubuntu 16.04. I, however, found that matlab 2017a and 2018a work fine with mcxlab. Do you have those versions? if yes, do you see the same? |
I am using MATLAB R2017a (9.2.0.556344) 64-bit (glnxa64). I contact MATLAB company but they haven't responded yet.
|
the above log is the end of mcxlab's kernel command line messages - so it looks like the kernel was completed correctly. can you checkout the current dev branch "etherdome" and recompile on your system (git clone first, and then git checkout etherdome inside mcx folder), and see if this issue remains. If this does not help, to really figure out what happened, you should install valgrind on your system, and run the below command
then, the valgrind.log will contain the debug info for the crashes, if you can post it, I would be able to find out which line of the code failed in your simulation. |
let me know if you have tested the above command with the valgrind debug log. happy to look into the log file and find any clue. |
I tried the Etherdome version, but the mcx.mex I took from the old version and the problem is from the mcx.mex file, doesn't it? |
I assume you meant the mcx.mexa64 file? it is a binary recompiled in the nightly build. you can download the latest binary from http://mcx.space/nightly/linux64/ |
I used this version
and it works perfectly! |
thanks, I will close this issue for now. |
I ran this code on Ubuntu 16.04.2 LTS server with 4 TITAN X (Pascal)
and it worked.
a few days later I tried to run it again and the Matlab crashed with this error
I tried to reduce the number of photons but even 1e6 won't work. any suggestions?
The text was updated successfully, but these errors were encountered: