-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
EXCEPTION_ACCESS_VIOLATION in strlen when gc is run. #10249
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I can't reproduce on the latest.
|
Not seeing it here either Version 0.4.0-dev+3307 (2015-02-11 21:42 UTC)
Commit a387920* (7 days old master)
x86_64-apple-darwin14.1.0 64-bit OSX |
I can add that the problem does not seem to occur on the debug version of Julia. Debug
Release
Just tell me what I can do to help. |
Weird, If I go However, if I first go a |
What version of Windows is this? |
FWIW, I tried that exact build ( |
I also can't reproduce this on Win7 with x86_64 Julia. |
It seems to crash in julia-debug now as well (maybe better error message this time?) I am using Windows 7 by the way.:
|
What is windows version?
|
There is a non-negligible chance the new GC might not work on XP or something? I personally think we should stop trying to support XP (for 0.4), but no idea whether that's related here. |
I am using Windows 7. |
My Julia gc seems to be just strange in general. Getting this for some code now (creating a BallTree that works fine on 0.3). Since no one can reproduce I am guessing something is up with my installation or Windows. I will try to reinstall Julia etc and see if I can get something to work.
|
Try starting julia from the command prompt with an empty PATH variable.
|
No luck:
|
Other things to try, possibly would help to narrow this down:
|
More information. Sorry about the long error messages but I don't know what is important and what is not. Something that might be relevant. Recently Julia decided to move from using my D-drive for its .julia map to the network Z-drive. I don't remember having these problems before that but I am not sure.
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6c53966a -- jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unk
nown line)
gc_queue_root at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
gc_queue_root at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
gc_queue_root at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
gc_queue_root at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
gc_queue_root at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_setmark at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_collect at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_gc_collect at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
gc at base.jl:165
gc at base.jl:165
jlcall_gc_1489 at (unknown line)
jl_operator_precedence at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_trampoline at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_init_types at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_apply_generic at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_getFunctionInfo at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_interpret_toplevel_expr_in at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_eval_global_var at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_interpret_toplevel_expr at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_toplevel_eval_flex at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_toplevel_eval at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_toplevel_eval_in at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_f_top_eval at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
eval_user_input at REPL.jl:54
jlcall_eval_user_input_1329 at (unknown line)
jl_init_types at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_apply_generic at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
anonymous at task.jl:83
jl_operator_precedence at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_trampoline at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_exit_on_sigint at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
jl_exit_on_sigint at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia-debug.dll (unknown line)
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6bfb2382 -- jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (u
nknown line)
jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_profile_is_running at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_gc_collect at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
gc at base.jl:165
gc at base.jl:165
jlcall_gc_1298 at (unknown line)
jl_apply_generic at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_interpret_toplevel_expr at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_interpret_toplevel_thunk_with at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_eval_with_compiler_p at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
jl_toplevel_eval_in at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
eval_user_input at REPL.jl:54
jlcall_eval_user_input_1297 at (unknown line)
jl_apply_generic at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
anonymous at task.jl:83
jl_unprotect_stack at D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\libjulia.dll (unknown line)
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7feff885a01 -- strlen at C:\Windows\system32\msvcrt.dll (unknown line)`
Assertion failed!
Program:D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin\julia-debug.exe
File: ast.c, Line 743
Expression: jl_is_expr(ex)
|
You might want to try changing some combination of |
also try deleting |
I will try all of these when I get back to my laptop at work where I have the problem. |
I'm reproducing this trace trying to do package installation (and indeed, by calling |
It looks like buildbot builds do not include
|
The win32 build below is unaffected:
|
Good news everyone: I have a second machine where this does not occur.
Will get |
Here is my
|
Bad machine:
I am not seeing anything that differentiates this and @KristofferC's machine from my home machine here. This is a (likely incomplete) corporate annoyanceware list; see anything in common?
|
Yes, I have to use some of that crapware for work. Symantec Endpoint Protection - check |
I wonder if it's related to https://www.virtualbox.org/ticket/13187 (which also afflicts this machine...) @tkelman do we have Win64 builds archived from immediately before and after the GGC commit? |
Maybe I am missunderstanding but I am not running Windows through a VM. I have one installed though as can be seen from the |
No, what I mean is the DLL injection that Symantec is doing breaks more recent versions of VirtualBox--I'm wondering if the same DLL injection is also breaking something in Julia because of a recent Julia change. |
Do either of you have access to the endpoint risk log? That might give some Also, to verify this is the problem, can either of you create an endpoint On Mon, Mar 9, 2015 at 2:08 PM, pao notifications@github.com wrote:
|
I have access to some logs, but none of them seem relevant--they don't have entries corresponding to crash times. Good thought, though.
I lack the required authority (which is why I'm stuck on an old version of VirtualBox.) |
I don't think we keep nightlies around for that long. Browsing http://julianightlies.s3.amazonaws.com/ the furthest back I see for Win64 is February 11th. We could probably build a new one and post it somewhere for you though. |
If it were more than a hunch right now, I might ask, but for now let's hold off. Thanks! I'll try to play with some stuff. |
I suspect it's a pretty good hunch, this might also be related to #10390 in some way. |
Your call. |
Luckily the buildbots make it really easy - find commit sha, hit button, wait ~30 minutes, binary: http://julianightlies.s3.amazonaws.com/bin/winnt/x64/0.4/julia-0.4.0-b75638ce2b-win64.exe |
I do not have access to the symantec risk log. |
Yep, cannot reproduce with b75638c. ListDLLs gives me the same DLLs in process in both cases (up to the Julia installation directory), so nothing funky is happening where we are looking at linking a different DLL in one case vs. the other. Back in the crashy version, WinDbg (after a
For the heck of it, I turned on full page heap verification with |
Been meaning to check a newer version for a while in light of various GC related fixes. The following is from the previously-failing machine:
@KristofferC, able to confirm? |
I will check in a few days when I am back at work. |
Just downloaded new nightly. Unfortunately, my situation is not as good as yours, I can't even get to REPL right now: D:\Users\kricarl.NET\AppData\Local\Julia-0.4.0-dev\bin>julia
ERROR: stat: unknown error (UNKNOWN)
in stat at stat.jl:40
in try_include at client.jl:184
in load_juliarc at client.jl:340
in process_options at client.jl:262
in _start at client.jl:389 |
That's odd. Do you have something in your juliarc that's trying to access a network drive or something? Or is your home folder on an inaccessible network share? |
Oh sh*t. I realize my .julia folder got set to a network drive on my work network and I currently have my laptop on my home network. That's embarrasing. I will change the path and try again. |
However, the error message could be improved. |
Indeed it could. I'm guessing |
Evertyhing working good here now! Since neither me nor @pao has any problems, whatever the problem was, it seemed to be fixed. Closing this. |
May want to open a separate issue (or better, PR) for suggestions on that network-drive juliarc error message |
Oh, you already did. #10757 |
How to solve the below error , kindly help us to solve.
_ _ ()_ | Documentation: https://docs.julialang.org julia> using Pkg julia> Pkg.add("Pycall") Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. |
Necro-posting on an issue from 2015 is not a good way to seek help. |
Trying to generate a random matrix and getting EXCEPTION_ACCESS_VIOLATION with newest Julia nightly. The first command to rand works but it then crashes on the second (which I guess is when the gc is run). The problem seems to be in the
strlen
function inmsvcrt.dll
.Commands and error message:
The text was updated successfully, but these errors were encountered: