Not able to add any package. Julia terminal crash after executing "add xxxx"

package

#1
  1. I deleted .julia/registries folder.
  2. I was trying to install tensorflow. But I got the error and Julia terminal just terminated by itself.
  3. It seems the General git repo cannot cloned. (although I tried manually add the General repo directly, still not help)

The log is as follows:

(v1.0) pkg> add Tensorflow
   Cloning default registries into C:\Users\c00478482\.julia\registries
   Cloning registry General from "https://github.com/JuliaRegistries/General.git
"

Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x751743f9 -- strlen at C:\Windows\sysw
ow64\msvcrt.dll (unknown line)
in expression starting at no file:0
strlen at C:\Windows\syswow64\msvcrt.dll (unknown line)
_gitno_extract_url_parts at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_winhttp_stream_connect at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_winhttp_stream_read at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__recv_cb at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_gitno_recv at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__store_refs at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__connect at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_remote_fetch at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_clone at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\LibGit2\src\error.jl:99 [inlined]
clone at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\sh
are\julia\stdlib\v1.0\LibGit2\src\repository.jl:459
macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\LibGit2\src\LibGit2.jl:580 [inlined]
macro expansion at .\gcutils.jl:87 [inlined]
#clone#131 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\u
sr\share\julia\stdlib\v1.0\LibGit2\src\LibGit2.jl:570
unknown function (ip: 14798099)
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:56

#clone at .\none:0 [inlined]
#clone#2 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr
\share\julia\stdlib\v1.0\Pkg\src\GitTools.jl:99
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:56

#51 at .\none:0
shred! at .\secretbuffer.jl:184
#registries#50 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bui
ld\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:931
_jfptr_#registries#50_10280.clone_1 at D:\Julia-1.0.2\lib\julia\sys.dll (unknown
 line)
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:42

registries at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\u
sr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:915 [inlined]
#find_registered!#59 at C:\cygwin\home\Administrator\buildbot\worker\package_win
32\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:997
_jfptr_#find_registered!#59_10191.clone_1 at D:\Julia-1.0.2\lib\julia\sys.dll (u
nknown line)
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:42

find_registered! at C:\cygwin\home\Administrator\buildbot\worker\package_win32\b
uild\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:966 [inlined]
registry_resolve! at C:\cygwin\home\Administrator\buildbot\worker\package_win32\
build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:837
#add_or_develop#13 at C:\cygwin\home\Administrator\buildbot\worker\package_win32
\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:57
#add_or_develop at .\none:0
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
do_add! at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\
share\julia\stdlib\v1.0\Pkg\src\REPLMode.jl:709
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_f__apply at /home/Administrator/buildbot/worker/package_win32/build/src\built
ins.c:556
jl_f__apply_latest at /home/Administrator/buildbot/worker/package_win32/build/sr
c\builtins.c:594
#invokelatest#1 at .\essentials.jl:697
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_f__apply at /home/Administrator/buildbot/worker/package_win32/build/src\built
ins.c:556
invokelatest at .\essentials.jl:696
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
do_cmd! at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\
share\julia\stdlib\v1.0\Pkg\src\REPLMode.jl:603
#do_cmd#33 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\u
sr\share\julia\stdlib\v1.0\Pkg\src\REPLMode.jl:577
_jfptr_#do_cmd#33_10019.clone_1 at D:\Julia-1.0.2\lib\julia\sys.dll (unknown lin
e)
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:42

do_cmd at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\s
hare\julia\stdlib\v1.0\Pkg\src\REPLMode.jl:573 [inlined]
#50 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\shar
e\julia\stdlib\v1.0\Pkg\src\REPLMode.jl:923
_jfptr_#50_9980.clone_1 at D:\Julia-1.0.2\lib\julia\sys.dll (unknown line)
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_f__apply at /home/Administrator/buildbot/worker/package_win32/build/src\built
ins.c:556
jl_f__apply_latest at /home/Administrator/buildbot/worker/package_win32/build/sr
c\builtins.c:594
#invokelatest#1 at .\essentials.jl:697 [inlined]
invokelatest at .\essentials.jl:696 [inlined]
run_interface at C:\cygwin\home\Administrator\buildbot\worker\package_win32\buil
d\usr\share\julia\stdlib\v1.0\REPL\src\LineEdit.jl:2268
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
run_frontend at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build
\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:1034
run_repl at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr
\share\julia\stdlib\v1.0\REPL\src\REPL.jl:191
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
macro expansion at .\logging.jl:309 [inlined]
#719 at .\client.jl:346
_jfptr_#719_6046.clone_1 at D:\Julia-1.0.2\lib\julia\sys.dll (unknown line)
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_f__apply at /home/Administrator/buildbot/worker/package_win32/build/src\built
ins.c:556
jl_f__apply_latest at /home/Administrator/buildbot/worker/package_win32/build/sr
c\builtins.c:594
#invokelatest#1 at .\essentials.jl:697 [inlined]
invokelatest at .\essentials.jl:696 [inlined]
macro expansion at .\logging.jl:306 [inlined]
run_main_repl at .\client.jl:334
exec_options at .\client.jl:246
_start at .\client.jl:425
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
true_main at /home/Administrator/buildbot/worker/package_win32/build/ui\repl.c:1
12
wmain at /home/Administrator/buildbot/worker/package_win32/build/ui\repl.c:233
__tmainCRTStartup at /usr/src/debug/mingw64-i686-runtime-5.0.3-1/crt\crtexe.c:32
9
BaseThreadInitThunk at C:\Windows\syswow64\kernel32.dll (unknown line)
RtlInitializeExceptionChain at C:\Windows\SysWOW64\ntdll.dll (unknown line)
RtlInitializeExceptionChain at C:\Windows\SysWOW64\ntdll.dll (unknown line)
Allocations: 4323161 (Pool: 4322845; Big: 316); GC: 21

#2

Its probably just a typo but just in case:
It’s TensorFlow, with a capital F.


#3

Tried. same problem.


#4

If you go to C:\Users\c00478482\.julia\registries and remove General (if it is there) and then try to clone it manually (you need to have git installed): git clone https://github.com/JuliaRegistries/General and then try use the package manager, what happens?


#5

Hi Kristoffer,

I tried. But everytime the terminal crashes during updating the registry.

`julia> using Pkg

julia> Pkg.add("TensorFlow")
  Updating registry at `C:\Users\cxxxxxxx\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General`

Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x751743f9 -- strlen at C:\Windows\sysw
ow64\msvcrt.dll (unknown line)
in expression starting at no file:0
strlen at C:\Windows\syswow64\msvcrt.dll (unknown line)
_gitno_extract_url_parts at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_winhttp_stream_connect at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_winhttp_stream_read at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__recv_cb at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_gitno_recv at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__store_refs at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__connect at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_remote_fetch at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
#fetch#62 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\us
r\share\julia\stdlib\v1.0\LibGit2\src\error.jl:99
unknown function (ip: 14C03BFE)
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:56

#fetch at .\none:0 [inlined]
#fetch#115 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\u
sr\share\julia\stdlib\v1.0\LibGit2\src\LibGit2.jl:290
unknown function (ip: 14C02962)
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:56

#fetch at .\none:0
#fetch#3 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr
\share\julia\stdlib\v1.0\Pkg\src\GitTools.jl:132
unknown function (ip: 14C01FB9)
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:56

#fetch at .\none:0 [inlined]
#fetch at .\none:0 [inlined]
update_registry at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:101
#handle_repos_add!#32 at C:\cygwin\home\Administrator\buildbot\worker\package_wi
n32\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:608
_jfptr_#handle_repos_add!#32_10225.clone_1 at D:\Julia-1.0.2\lib\julia\sys.dll (
unknown line)
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:42

#handle_repos_add! at .\none:0 [inlined]
#add_or_develop#13 at C:\cygwin\home\Administrator\buildbot\worker\package_win32
\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:54
#add_or_develop at .\none:0 [inlined]
#add_or_develop#12 at C:\cygwin\home\Administrator\buildbot\worker\package_win32
\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:29 [inlined]
#add_or_develop at .\none:0 [inlined]
#add_or_develop#11 at C:\cygwin\home\Administrator\buildbot\worker\package_win32
\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:28 [inlined]
#add_or_develop at .\none:0 [inlined]
#add_or_develop#10 at C:\cygwin\home\Administrator\buildbot\worker\package_win32
\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:27 [inlined]
#add_or_develop at .\none:0 [inlined]
#add#18 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\
share\julia\stdlib\v1.0\Pkg\src\API.jl:69 [inlined]
add at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\shar
e\julia\stdlib\v1.0\Pkg\src\API.jl:69
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
do_call at /home/Administrator/buildbot/worker/package_win32/build/src\interpret
er.c:324
eval_value at /home/Administrator/buildbot/worker/package_win32/build/src\interp
reter.c:430
eval_stmt_value at /home/Administrator/buildbot/worker/package_win32/build/src\i
nterpreter.c:363 [inlined]
eval_body at /home/Administrator/buildbot/worker/package_win32/build/src\interpr
eter.c:678
jl_interpret_toplevel_thunk_callback at /home/Administrator/buildbot/worker/pack
age_win32/build/src\interpreter.c:806
unknown function (ip: FFFFFFFE)
unknown function (ip: 0D21EF4F)
unknown function (ip: 00000000)
jl_interpret_toplevel_thunk at /home/Administrator/buildbot/worker/package_win32
/build/src\interpreter.c:815
jl_toplevel_eval_flex at /home/Administrator/buildbot/worker/package_win32/build
/src\toplevel.c:805
jl_toplevel_eval at /home/Administrator/buildbot/worker/package_win32/build/src\
toplevel.c:814
jl_toplevel_eval_in at /home/Administrator/buildbot/worker/package_win32/build/s
rc\builtins.c:622
eval at .\boot.jl:319
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
eval_user_input at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:85
macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:117 [inlined]
#28 at .\task.jl:259
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
start_task at /home/Administrator/buildbot/worker/package_win32/build/src\task.c
:268
wmain at /home/Administrator/buildbot/worker/package_win32/build/ui\repl.c:233
Allocations: 569296 (Pool: 569248; Big: 48); GC: 2`

#6

my PC is in company network and need proxy to access github.

I have set the proxy in the .gitconfig. Should I do anything in julia terminal?


#7

What if you start julia and do

import LibGit2
LibGit2.clone("https://github.com/JuliaRegistries/General", "General")

Does it crash then as well?


#8

Unfortunately yes:

julia> import LibGit2

julia> LibGit2.clone("https://github.com/JuliaRegistries/General", "General")

Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x751743f9 -- strlen at C:\Windows\sysw
ow64\msvcrt.dll (unknown line)
in expression starting at no file:0
strlen at C:\Windows\syswow64\msvcrt.dll (unknown line)
_gitno_extract_url_parts at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_winhttp_stream_connect at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_winhttp_stream_read at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__recv_cb at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_gitno_recv at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__store_refs at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_smart__connect at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_remote_fetch at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
_git_clone at D:\Julia-1.0.2\bin\libgit2.DLL (unknown line)
macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\LibGit2\src\error.jl:99 [inlined]
clone at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\sh
are\julia\stdlib\v1.0\LibGit2\src\repository.jl:459
macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\LibGit2\src\LibGit2.jl:580 [inlined]
macro expansion at .\gcutils.jl:87 [inlined]
#clone#131 at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\u
sr\share\julia\stdlib\v1.0\LibGit2\src\LibGit2.jl:570
unknown function (ip: 14B10912)
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c:56

clone at C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\sh
are\julia\stdlib\v1.0\LibGit2\src\LibGit2.jl:559
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win32/build/sr
c\gf.c:1831
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
do_call at /home/Administrator/buildbot/worker/package_win32/build/src\interpret
er.c:324
eval_value at /home/Administrator/buildbot/worker/package_win32/build/src\interp
reter.c:430
eval_stmt_value at /home/Administrator/buildbot/worker/package_win32/build/src\i
nterpreter.c:363 [inlined]
eval_body at /home/Administrator/buildbot/worker/package_win32/build/src\interpr
eter.c:678
jl_interpret_toplevel_thunk_callback at /home/Administrator/buildbot/worker/pack
age_win32/build/src\interpreter.c:806
unknown function (ip: FFFFFFFE)
unknown function (ip: 0CEBB96F)
unknown function (ip: 00000000)
jl_interpret_toplevel_thunk at /home/Administrator/buildbot/worker/package_win32
/build/src\interpreter.c:815
jl_toplevel_eval_flex at /home/Administrator/buildbot/worker/package_win32/build
/src\toplevel.c:805
jl_toplevel_eval at /home/Administrator/buildbot/worker/package_win32/build/src\
toplevel.c:814
jl_toplevel_eval_in at /home/Administrator/buildbot/worker/package_win32/build/s
rc\builtins.c:622
eval at .\boot.jl:319
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
eval_user_input at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:85
macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:117 [inlined]
#28 at .\task.jl:259
jl_fptr_args at /home/Administrator/buildbot/worker/package_win32/build/src\gf.c
:1841
jl_apply_generic at /home/Administrator/buildbot/worker/package_win32/build/src\
gf.c:2184
jl_apply at /home/Administrator/buildbot/worker/package_win32/build/src\julia.h:
1537 [inlined]
start_task at /home/Administrator/buildbot/worker/package_win32/build/src\task.c
:268
wmain at /home/Administrator/buildbot/worker/package_win32/build/ui\repl.c:233
Allocations: 266411 (Pool: 266377; Big: 34); GC: 0

#9

So either we are sending something bad to LibGit2 which causes this to crash or this is a LibGit2 bug. Tricky…

I guess the next step would be to try to use C to do the LibGit2 call and if it still crashes, file a LibGit2 bug.


#10

will it be my proxy password contain special character?


#11

It’s possible that a special character in the password is breaking libgit2. If it isn’t too much trouble to change the proxy password that’s worth a shot.


#12

Hi Omus,

how can I check which proxy is used by libgit2? or is it possible that I directly configure the proxy for libgit2?

Thanks


#13

I believe the underlying libgit2 library Julia uses just reads from your git configuration files for enabling proxy support. Can you tell us any additional information about the proxy you are using? There are a few proxy related issues with the library including using HTTPS proxies so any addition info could be useful.


#14

I do not know how the underlying proxy is configured. What I have is just a URL and my username password…sorry I cannot offer more details.

Any chance I can install the packages w/o update the registry? I can use git clone to get all the packages as a last resort…


#15

FIY, I configured the proxy for git in the .gitconfig. Everything works as expected no error occurred.