Failed to precompile HTTP on i686
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with the linked code in src/hpack.jl at line 747 and reproduce the failure by precompiling HTTP with Julia 1.13.3 on i686. Trace the UInt32 to Int32 conversion that raises InexactError and check nearby tests for HPACK behavior. The issue is resolved when HTTP precompiles successfully on that target and the relevant tests pass.
Written by the indexing model from the issue text.
Description
Test with julia +rc~x86 (v1.13.3)
https://github.com/JuliaWeb/HTTP.jl/blob/e52bb211245e4cee0f963a009a338d758942a12e/src/hpack.jl#L747
ERROR: LoadError: InexactError: convert(Int32, 0xffffffff)
Stacktrace:
[1] throw_inexacterror(func::Symbol, to::Type, val::UInt32)
@ Core .\boot.jl:868
[2] check_sign_bit
@ .\boot.jl:874 [inlined]
[3] toInt32
@ .\boot.jl:923 [inlined]
[4] Int32(x::UInt32)
@ Core .\boot.jl:1009
[5] top-level scope
@ C:\Users\inkyd\.julia\packages\HTTP\DDvUa\src\hpack.jl:747
[6] include(mapexpr::Function, mod::Module, _path::String)
@ Base .\Base.jl:310
[7] top-level scope
@ C:\Users\inkyd\.julia\packages\HTTP\DDvUa\src\HTTP.jl:42
[8] include(mod::Module, _path::String)
@ Base .\Base.jl:309
[9] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing, preresolved::Vector{Pair{Base.PkgId, String}})
@ Base .\loading.jl:3229
[10] top-level scope
@ stdin:5
[11] eval(m::Module, e::Any)
@ Core .\boot.jl:489
[12] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base .\loading.jl:3064
[13] include_string
@ .\loading.jl:3074 [inlined]
[14] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:342
[15] _start()
@ Base .\client.jl:577
in expression starting at C:\Users\inkyd\.julia\packages\HTTP\DDvUa\src\hpack.jl:747
in expression starting at C:\Users\inkyd\.julia\packages\HTTP\DDvUa\src\HTTP.jl:1
in expression starting at stdin:5
✗ HTTP
Precompiling HTTP finished.
- Dominant language
- Julia
- Stars
- 688
- Forks
- 196
- Avg merge
- 5h 59m
- Merged PRs (30d)
- 148
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaWeb/HTTP.jl
-
query handling with arrays has changed between 1.x and 2.xPossibly taken @rehmansaeed06-byte claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
JuliaWeb/HTTP.jl#1515 · 1 comment ·
Maintainers usually reply within 1 day
All issues in JuliaWeb/HTTP.jl
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
JuliaStats/LogExpFunctions.jl#134 · 2 comments ·
-
code bug PowerSystems 6.0
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Sienna-Platform/PowerSystems.jl#1849 ·
Maintainers usually reply within 7 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FluxML/Metalhead.jl#407 ·
Maintainers usually reply within 1 day