Giter VIP home page Giter VIP logo

Comments (4)

PallHaraldsson avatar PallHaraldsson commented on May 27, 2024

I tried to debug. The package is pure Julia, and the problem not strictly there, but seemingly in this less pure dependency (or at least it triggering a bug in Julia?):

https://github.com/search?q=repo%3Aeschnett%2FSIMD.jl+llvmcall&type=code

Maybe until fixed you can use some workaround (older Julia or) e.g. non-pure code package:
JuliaIO/ImageMagick.jl#99

There's even very old pure Julia code (not registered, as not a package even):
https://github.com/rephorm/TIFF.jl

from julia.

vtjnash avatar vtjnash commented on May 27, 2024

Likely one of several known regressions tracked here #53498

from julia.

chrstphrbrns avatar chrstphrbrns commented on May 27, 2024

Another error with the same symptom (fails on the first attempt when multi-threading is enabled; succeeds on subsequent attempts)

recode is a generated function that also uses SIMD

   nested task error: LoadError: UndefRefError: access to undefined reference
    Stacktrace:
      [1] getindex
        @ ./essentials.jl:375 [inlined]
      [2] ht_keyindex
        @ ./dict.jl:248 [inlined]
      [3] haskey
        @ ./dict.jl:548 [inlined]
      [4] in(x::Symbol, s::Set{Symbol})
        @ Base ./set.jl:92
      [5] log_record_id(_module::Any, level::Any, message::Any, log_kws::Any)
        @ Base.CoreLogging ./logging.jl:302
      [6] process_logmsg_exs(::Any, ::Any, ::Any, ::Any, ::Any)
        @ Base.CoreLogging ./logging.jl:461
      [7] logmsg_code(::Any, ::Any, ::Any, ::Any, ::Any)
        @ Base.CoreLogging ./logging.jl:348
      [8] var"@debug"(__source__::LineNumberNode, __module__::Module, exs::Vararg{Any})
        @ Base.CoreLogging ./logging.jl:520
      [9] recode(v::AbstractVector, r::Any, c::Any, n::Val{N}) where N
        @ TiffImages ~/.julia/dev/TiffImages/src/ifds.jl:560

from julia.

vtjnash avatar vtjnash commented on May 27, 2024

Using logging is not permitted currently when threads are enabled due to data races in the current implementation

from julia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.