Closed AUK1939 closed 1 week ago
On further investigation seems like the program runs if I set JULIA_NUM_THREADS = 1. Note I don't expricitly use any threading features in my program.
You haven't provided a minimal reproducible example to reproduce your issue. Also, the error messages you posted are a bit confusing as they reference multiple things (there seems to be also one involving R?) and the error
Another ERROR
ERROR: AssertionError: bk == MSK_BK_UP
seems to be related to a package you're using MosekTools
. Please, provide more information about how this is a bug in Julia itself and not a third-party package (in which case you should report the bug there), otherwise this ticket will be closed at some point.
You're right - there's a lot going on here. I'll try and break this down the old fashioned way (logs, process of elimination) and try and create something reproducible. So far I've established that somethings up with the serialization call and threading.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x1c73c6f5345 -- setindex! at .\array.jl:1021 [inlined]
Given this line, julia --check-bounds=yes
would be a very good start. It's not unlikely that all these crashes are stemming from an OOB write, it's just that it sometimes ends up silently corrupting internal state instead of reaching outside the program segment and causing an immediate segfault.
Ah, but that actually means this is more likely to be an implementation/package problem than a Julia one. My comment was just a pointer on how you might start finding the root cause to build out that minimal working example — once you have more details you can reopen with those.
Thanks @mbauman, thanks for your help. I'm running the code with julia --check-bounds=yes
. Let me know if you have any other useful tips to help pin this down, and help create a MWE
Hi I have a program that takes a long time to run, around 6 hours. It's just a loop that runs for a while. It used to work fine but now crashes (I'm not really sure what I've updated to cause this). I was hoping to get some help in tracking this down.
Everytime the program seems to crash at different locations - which is very odd because it used to work just fine. I've pasted some of the errors below.
Sometimes I get EXCEPTION_ACCESS_VIOLATIONS, sometimes I get OutOfMemory exceptions (which is really weird since I have 80 gbs free memory in task manager). Is there any way to drill down and figure out what's causing this? It would be good to produce a MWE but right now I'm not even sure how to achieve that given the program seems to be crashing in different places.
Here's the output from versioninfo()