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

Test Failure #429

Closed
baumgold opened this issue Apr 14, 2023 · 0 comments · Fixed by #430
Closed

Test Failure #429

baumgold opened this issue Apr 14, 2023 · 0 comments · Fixed by #430

Comments

@baumgold
Copy link
Member

julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.5.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
  Got exception outside of a @test
  TaskFailedException
  
      nested task error: ArgumentError: unsafe_wrap: pointer 0x1364b7938 is not properly aligned to 16 bytes
      Stacktrace:
        [1] #unsafe_wrap#102
          @ ./pointer.jl:89 [inlined]
        [2] unsafe_wrap
          @ ./pointer.jl:87 [inlined]
        [3] reinterp(#unused#::Type{Arrow.Decimal{2, 2, Int128}}, batch::Arrow.Batch, buf::Arrow.Flatbuf.Buffer, compression::Arrow.Flatbuf.BodyCompression)
          @ Arrow ~/Downloads/arrow-julia/src/table.jl:559
        [4] build(f::Arrow.Flatbuf.Field, #unused#::Arrow.Flatbuf.Decimal, batch::Arrow.Batch, rb::Arrow.Flatbuf.RecordBatch, de::Dict{Int64, Arrow.DictEncoding}, nodeidx::Int64, bufferidx::Int64, convert::Bool)
          @ Arrow ~/Downloads/arrow-julia/src/table.jl:687
        [5] build(field::Arrow.Flatbuf.Field, batch::Arrow.Batch, rb::Arrow.Flatbuf.RecordBatch, de::Dict{Int64, Arrow.DictEncoding}, nodeidx::Int64, bufferidx::Int64, convert::Bool)
          @ Arrow ~/Downloads/arrow-julia/src/table.jl:500
        [6] iterate(x::Arrow.VectorIterator, ::Tuple{Int64, Int64, Int64})
          @ Arrow ~/Downloads/arrow-julia/src/table.jl:476
        [7] iterate
          @ ~/Downloads/arrow-julia/src/table.jl:473 [inlined]
        [8] copyto!(dest::Vector{Any}, src::Arrow.VectorIterator)
          @ Base ./abstractarray.jl:901
        [9] _collect
          @ ./array.jl:718 [inlined]
       [10] collect
          @ ./array.jl:712 [inlined]
       [11] macro expansion
          @ ~/Downloads/arrow-julia/src/table.jl:378 [inlined]
       [12] (::Arrow.var"#108#114"{Bool, Channel{Any}, WorkerUtilities.OrderedSynchronizer, Dict{Int64, Arrow.DictEncoding}, Arrow.Batch, Int64})()
          @ Arrow ./threadingconstructs.jl:258
  Stacktrace:
    [1] sync_end(c::Channel{Any})
      @ Base ./task.jl:436
    [2] macro expansion
      @ ./task.jl:455 [inlined]
    [3] Arrow.Table(blobs::Vector{Arrow.ArrowBlob}; convert::Bool)
      @ Arrow ~/Downloads/arrow-julia/src/table.jl:323
    [4] Arrow.Table(input::IOBuffer, pos::Int64, len::Nothing; kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:convert,), Tuple{Bool}}})
      @ Arrow ~/Downloads/arrow-julia/src/table.jl:292
    [5] testtable(nm::String, t::NamedTuple{(:col14, :col15, :col16, :col17, :col18, :col19, :col20), Tuple{Vector{Union{Missing, Arrow.Decimal{2, 2, Int128}}}, Vector{Union{Missing, Arrow.Date{Arrow.Flatbuf.DateUnits.DAY, Int32}}}, Vector{Union{Missing, Arrow.Time{Arrow.Flatbuf.TimeUnits.SECOND, Int32}}}, Vector{Union{Missing, Arrow.Timestamp{Arrow.Flatbuf.TimeUnits.SECOND, nothing}}}, Vector{Union{Missing, Arrow.Interval{Arrow.Flatbuf.IntervalUnits.YEAR_MONTH, Int32}}}, Vector{Union{Missing, Arrow.Duration{Arrow.Flatbuf.TimeUnits.SECOND}}}, Vector{Union{Missing, Arrow.Date{Arrow.Flatbuf.DateUnits.MILLISECOND, Int64}}}}}, writekw::NamedTuple{(), Tuple{}}, readkw::NamedTuple{(:convert,), Tuple{Bool}}, extratests::Nothing)
      @ Main ~/Downloads/arrow-julia/test/testtables.jl:236
    [6] macro expansion
      @ ~/Downloads/arrow-julia/test/runtests.jl:51 [inlined]
    [7] macro expansion
      @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Test/src/Test.jl:1363 [inlined]
    [8] macro expansion
      @ ~/Downloads/arrow-julia/test/runtests.jl:50 [inlined]
    [9] macro expansion
      @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Test/src/Test.jl:1363 [inlined]
   [10] top-level scope
      @ ~/Downloads/arrow-julia/test/runtests.jl:48
   [11] include(fname::String)
      @ Base.MainInclude ./client.jl:476
   [12] top-level scope
      @ none:6
   [13] eval
      @ ./boot.jl:368 [inlined]
   [14] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:276
   [15] _start()
      @ Base ./client.jl:522
baumgold added a commit to baumgold/arrow-julia that referenced this issue Apr 14, 2023
quinnj pushed a commit that referenced this issue Apr 15, 2023
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

Successfully merging a pull request may close this issue.

1 participant