Skip to content
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

Internal error when running many HTTP.get asynchronously #568

Closed
backwardscoder opened this issue Aug 11, 2020 · 2 comments
Closed

Internal error when running many HTTP.get asynchronously #568

backwardscoder opened this issue Aug 11, 2020 · 2 comments

Comments

@backwardscoder
Copy link

backwardscoder commented Aug 11, 2020

When trying to scrape many (several thousands) pages I end up getting an internal error. The way I scrape is by using asyncmap (setting ntasks=50), which passes an url to a function which scrapes the page (using HTTP.get(), surrounded with a try-catch) and saves the data to a JSON file. This is what I end up getting:

Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_alloc_array_1d at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009560556)
unknown function (ip: 00000000095605AB)
unknown function (ip: 0000000009DA7FC9)
unknown function (ip: 0000000009DFA819)
unknown function (ip: 0000000009DFB8A0)
unknown function (ip: 0000000009DE48DA)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\StreamRequest.jl:85
request##kw at C:\Users\Me\.julia\packages\HTTP\atT5q\src\StreamRequest.jl:32
unknown function (ip: 0000000023508E3C)
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\ConnectionRequest.jl:89
unknown function (ip: 00000000234F1654)
request##kw at C:\Users\Me\.julia\packages\HTTP\atT5q\src\ConnectionRequest.jl:62
unknown function (ip: 00000000234EFE05)
jl_f_tuple at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\ExceptionRequest.jl:19
request##kw at C:\Users\Me\.julia\packages\HTTP\atT5q\src\ExceptionRequest.jl:19
unknown function (ip: 00000000234EF325)
jl_f_tuple at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
#56#57 at .\error.jl:288
56#58##kw at .\error.jl:284 [inlined]
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\RetryRequest.jl:44 [inlined]
request##kw at C:\Users\Me\.julia\packages\HTTP\atT5q\src\RetryRequest.jl:31 [inlined]
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\MessageRequest.jl:51
request##kw at C:\Users\Me\.julia\packages\HTTP\atT5q\src\MessageRequest.jl:28 [inlined]
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\BasicAuthRequest.jl:28
request##kw at C:\Users\Me\.julia\packages\HTTP\atT5q\src\BasicAuthRequest.jl:21
unknown function (ip: 00000000234EE15E)
#request#1 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\RedirectRequest.jl:24
request at C:\Users\Me\.julia\packages\HTTP\atT5q\src\RedirectRequest.jl:21
unknown function (ip: 00000000234E84DD)
#request#4 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\HTTP.jl:314
request at C:\Users\Me\.julia\packages\HTTP\atT5q\src\HTTP.jl:314 [inlined]
request at C:\Users\Me\.julia\packages\HTTP\atT5q\src\HTTP.jl:314 [inlined]
#get#12 at C:\Users\Me\.julia\packages\HTTP\atT5q\src\HTTP.jl:391 [inlined]
get at C:\Users\Me\.julia\packages\HTTP\atT5q\src\HTTP.jl:391 [inlined]
download_generic at C:\path\my_file.jl:12
download_game at C:\path\my_file.jl:81
#4 at C:\path\my_file.jl:123 [inlined]
#760 at .\asyncmap.jl:100
unknown function (ip: 000000002353DF5B)
jl_f_tuple at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
macro expansion at .\asyncmap.jl:235 [inlined]
#776 at .\task.jl:356
unknown function (ip: 000000002353D493)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
fatal: error thrown and no exception handler available.
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_pool_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 000000000971D96C)
uv__run_timers at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_run at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_task_get_next at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 000000000969E444)
unknown function (ip: 000000000990A44C)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_alloc_string at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_array_sizehint at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009E2D6A4)
unknown function (ip: 0000000009E2D779)
unknown function (ip: 0000000009E2FFD2)
unknown function (ip: 0000000009DF89D1)
unknown function (ip: 0000000009BF9811)
unknown function (ip: 0000000009BF1D4F)
unknown function (ip: 0000000009479A5B)
unknown function (ip: 0000000009D87C7F)
unknown function (ip: 0000000009DFA840)
unknown function (ip: 0000000009DFB8A0)
unknown function (ip: 0000000009DE48DA)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_alloc_array_1d at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009E2D601)
unknown function (ip: 0000000009C060B6)
unknown function (ip: 0000000009D921A9)
unknown function (ip: 0000000009DFA872)
unknown function (ip: 0000000009DFB8A0)
unknown function (ip: 0000000009DE48DA)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
error in running finalizer: ReadOnlyMemoryError()
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_pool_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009DE4486)
unknown function (ip: 0000000009E0A8B9)
unknown function (ip: 0000000009E05C10)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009E0A8B9)
unknown function (ip: 0000000009E05C10)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009E0A8B9)
unknown function (ip: 0000000009E05C10)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009E0A8B9)
unknown function (ip: 0000000009E05C10)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 000000000981DBE8)
unknown function (ip: 0000000009E26274)
unknown function (ip: 0000000009E058F9)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDFF94)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_pool_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009DE4486)
unknown function (ip: 000000000981DBE8)
unknown function (ip: 0000000009E26274)
unknown function (ip: 0000000009E058F9)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 000000000981DBE8)
unknown function (ip: 0000000009E26274)
unknown function (ip: 0000000009E058F9)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
macro expansion at .\task.jl:360 [inlined]
#17 at C:\Users\Me\.julia\packages\MbedTLS\VbsaQ\src\ssl.jl:21
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_pool_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009BFAD43)
unknown function (ip: 000000000A08382B)
unknown function (ip: 0000000009BF4B13)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_alloc_string at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_array_grow_end at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009E3B671)
unknown function (ip: 0000000009DFA7CF)
unknown function (ip: 0000000009DFB8A0)
unknown function (ip: 0000000009DE48DA)
unknown function (ip: 0000000009E0A8B9)
unknown function (ip: 0000000009E05C10)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_pool_alloc at D:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009E12483)
unknown function (ip: 0000000009E12914)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_pool_alloc at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009E2D6BE)
unknown function (ip: 0000000009E2D779)
unknown function (ip: 0000000009E2FFD2)
unknown function (ip: 0000000009DF89D1)
unknown function (ip: 0000000009BF9811)
unknown function (ip: 0000000009BF1D4F)
unknown function (ip: 0000000009479A5B)
unknown function (ip: 0000000009D87C7F)
unknown function (ip: 0000000009DFA840)
unknown function (ip: 0000000009DFB8A0)
unknown function (ip: 0000000009DE48DA)
unknown function (ip: 000000000981DBE8)
unknown function (ip: 0000000009E26274)
unknown function (ip: 0000000009E058F9)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 000000000981DBE8)
unknown function (ip: 0000000009E26274)
unknown function (ip: 0000000009E058F9)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
macro expansion at .\task.jl:360 [inlined]
#17 at C:\Users\Me\.julia\packages\MbedTLS\VbsaQ\src\ssl.jl:21
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
error in running finalizer: ReadOnlyMemoryError()
error in running finalizer: ReadOnlyMemoryError()
error in running finalizer: MethodError(f=typeof(Base.uvfinalize)(), args=(Base.IOStream(handle=0x0000000126e67110, ios=Array{UInt8, (152,)}[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], name="<file D:/algobet/JSON/2011/09/plats_2011-09-18_45_4.json>", mark=-1, lock=Base.ReentrantLock(locked_by=nothing, cond_wait=Base.GenericCondition{Base.Threads.SpinLock}(waitq=Base.InvasiveLinkedList{Task}(head=nothing, tail=nothing), lock=Base.Threads.SpinLock(handle=0)), reentrancy_cnt=0), _dolock=true),), world=0x0000000000006d00)
Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_alloc at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_alloc_array_1d at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
unknown function (ip: 0000000009DC968C)
unknown function (ip: 0000000009DA3902)
unknown function (ip: 0000000009DFA819)
unknown function (ip: 0000000009DFB8A0)
unknown function (ip: 0000000009DE48DA)
unknown function (ip: 0000000009E0A8B9)
unknown function (ip: 0000000009E05C10)
unknown function (ip: 0000000009E1BE6A)
unknown function (ip: 000000000980A0F2)
unknown function (ip: 0000000009809B40)
unknown function (ip: 0000000009E129C0)
unknown function (ip: 0000000009DDD6AC)
unknown function (ip: 0000000009DE28E5)
unknown function (ip: 0000000009DE3F9E)
unknown function (ip: 0000000009BF4B28)
unknown function (ip: 0000000009821125)
unknown function (ip: 00000000098212F8)
jl_type_infer at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_work_notifier at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_tty_endgame at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_process_async_wakeup_req at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_run at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
fatal: error thrown and no exception handler available.
ReadOnlyMemoryError()
jlbacktrace at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_gc_alloc at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_alloc_vec_any at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exprn at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_array_cconvert_cstring at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_array_cconvert_cstring at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_array_cconvert_cstring at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_uncompress_ir at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_generate_fptr_for_unspecialized at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_get_unspecialized at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_apply_generic at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_work_notifier at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_tty_endgame at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_process_async_wakeup_req at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
uv_run at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_atexit_hook at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_exit at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_no_exc_handler at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)
jl_finish_task at C:\Programs\Julia 1.5.0\bin\libjulia.dll (unknown line)

Julia 1.5.0
HTTP.jl 0.8.17
MbedTLS.jl <- I don't think I have this package (doesn't show up when running command Pkg.installed())

@c42f
Copy link
Contributor

c42f commented Jul 20, 2021

I've seen something similar to this. I suspect it's due to race conditions in the connection pool which is quite a subtle bit of code.

@quinnj
Copy link
Member

quinnj commented May 26, 2022

The core request internals and connection pool logic have been overhauled on HTTP#master and I've heard of these kinds of errors now being resolved.

@quinnj quinnj closed this as completed May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants