Skip to content

QML errors on Ubuntu aarch64 #202

Closed
Closed
@JanisErdmanis

Description

@JanisErdmanis

I have Ubuntu aarch64 installed through Parallels Desktop and noticed an error when launching a simple QML application on this platform:

julia> include("main.jl")
ERROR: LoadError: InitError: type RefArray has no field cpp_object
Stacktrace:
  [1] getproperty
    @ ./Base.jl:49 [inlined]
  [2] unsafe_convert(to_type::Type{CxxWrap.CxxWrapCore.CxxPtr{…}}, x::Base.RefArray{Ptr{…}, Vector{…}, Vector{…}})
    @ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/eWADG/src/CxxWrap.jl:294
  [3] getargv(a::QML.ArgcArgv)
    @ QML ~/.julia/packages/QML/SeDxf/src/QML.jl:158
  [4] __init__()
    @ QML ~/.julia/packages/QML/SeDxf/src/QML.jl:181
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1262
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1250
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{…}, ignore_native::Nothing)
    @ Base ./loading.jl:1195
  [8] _include_from_serialized
    @ ./loading.jl:1152 [inlined]
  [9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{…}, DEPOT_PATH::Vector{…})
    @ Base ./loading.jl:1914
 [10] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2346
 [11] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2216
 [12] #invoke_in_world#3
    @ ./essentials.jl:1077 [inlined]
 [13] invoke_in_world
    @ ./essentials.jl:1074 [inlined]
 [14] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2207
 [15] macro expansion
    @ ./loading.jl:2146 [inlined]
 [16] macro expansion
    @ ./lock.jl:273 [inlined]
 [17] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2103
 [18] #invoke_in_world#3
    @ ./essentials.jl:1077 [inlined]
 [19] invoke_in_world
    @ ./essentials.jl:1074 [inlined]
 [20] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2096
 [21] include(fname::String)
    @ Main ./sysimg.jl:38
 [22] top-level scope
    @ REPL[1]:1
during initialization of module QML
in expression starting at /media/psf/Home/Desktop/JuliaCon2024-AppBundler-Demo/QMLApp/main.jl:1
Some type information was truncated. Use `show(err)` to see complete types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARMon ARM cpusbugneeds more infoClarification or reproducable example needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions