-
Notifications
You must be signed in to change notification settings - Fork 83
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
Matlab is crashing (segmentation violation detected) #49
Comments
Maybe there is a problem with opening |
Ok, so |
Good to know it's working. When we ran MATLAB in Jobe the command we used was /usr/local/bin/matlab_exec_cli -nodisplay -nojvm -nosplash -r exit AFAIK the jvm is relevant only to graphical output. Anyway, it never caused us any problems. Is it possible you were getting a memory error before? Setting the memory limit to 0 turns off memory limits which is often a good first debugging step. Another common problem is with the number of processes, which is controlled by the numprocs sandbox parameter. The JVM is very greedy with both those resources. Would you mind posting questions of this sort to one of the forums on coderunner.org.nz in future please? That's where most such questions are answered. |
Hello,
I'm trying to run questions for Matlab. The question type is
python3
and template is as follows:But Matlab is crashing when running the question with the following error (I added strace for debugging):
I'm guessing, that there is some problem with the sandboxing, because I can run the
subprocess.check_output(["matlab", "-batch", "student_code"], universal_newlines=True)
command interactively as normal user without any problems.Do you have some idea how to solve this?
Thank you
The text was updated successfully, but these errors were encountered: