HTTPClient.jl icon indicating copy to clipboard operation
HTTPClient.jl copied to clipboard

Support for precompilation with version check

Open mdpradeep opened this issue 10 years ago • 10 comments

mdpradeep avatar Dec 20 '15 13:12 mdpradeep

@ViralBShah

mdpradeep avatar Dec 24 '15 09:12 mdpradeep

Why is this failing? Does this have to do with precompilation? Doesn't appear so.

https://travis-ci.org/JuliaWeb/HTTPClient.jl/jobs/97959624

@tkelman Any ideas what's going on here?

ViralBShah avatar Dec 24 '15 10:12 ViralBShah

Nope. Harsha checked it and it fails even without precompile stuff.

Regards, Pradeep

On 24-Dec-2015, at 3:33 PM, Viral B. Shah [email protected] wrote:

Why is this failing? Does this have to do with precompilation? Doesn't appear so.

https://travis-ci.org/JuliaWeb/HTTPClient.jl/jobs/97959624 https://travis-ci.org/JuliaWeb/HTTPClient.jl/jobs/97959624 @tkelman https://github.com/tkelman Any ideas what's going on here?

— Reply to this email directly or view it on GitHub https://github.com/JuliaWeb/HTTPClient.jl/pull/26#issuecomment-167080751.

mdpradeep avatar Dec 24 '15 10:12 mdpradeep

What exactly is the failure locally with precompilation off? I frequently see an http code mismatch intermittent failure where a return code is 503 instead of 200, but these failures are different. I lean towards saying this package is not precompile safe.

tkelman avatar Dec 24 '15 11:12 tkelman

@bmharsha - Can you provide the exact error in both cases ?

mdpradeep avatar Dec 24 '15 12:12 mdpradeep

Exact error message when precompilation is off , can be found in this gist

https://gist.github.com/bmharsha/ee7cc04d38c12ebeaa59#file-precompilation_off_metadata-md

Error message when precompilation is on can be found here

https://gist.github.com/bmharsha/ee7cc04d38c12ebeaa59#file-precompilation_on-md

bmharsha avatar Dec 24 '15 12:12 bmharsha

That ReadOnlyMemoryError looks entirely separate and likely unrelated to precompilation.

tkelman avatar Dec 24 '15 13:12 tkelman

Bump @amitmurthy

ViralBShah avatar Jan 07 '16 05:01 ViralBShah

Given the "Error executing request : Failed writing received data to disk/application" and the segfaults, I suspect this package isn't precompile-safe as currently written.

tkelman avatar Jan 07 '16 05:01 tkelman

See https://travis-ci.org/JuliaWeb/HTTPClient.jl/builds/88606158, I just restarted that. Master passes, or at least passes some of the time (there's an intermittent http code mismatch failure, but I don't usually see segfaults) with precompilation off. I'll restart the PR build too, see how consistent the new failure/segfault is.

tkelman avatar Jan 07 '16 05:01 tkelman