Skip to content

Crash on load with version 1.2.3 or 1.3.0 on Windows #683

@Vexatos

Description

@Vexatos

Since version 1.2.3, Gtk.jl crashes on load on Windows with the following error:

ERROR: LoadError: LoadError: InitError: IOError: could not spawn setenv(`'[redacted]\julia\artifacts\57bd9311faafa3d8e73dfb991c2cb420f2c65ab9\bin\gdk-pixbuf-query-loaders.exe'`,["GDK_PIXBUF_MODULEDIR=[redacted]\\julia\\artifacts\\57bd9311faafa3d8e73dfb991c2cb420f2c65ab9\\lib\\gdk-pixbuf-2.0\\2.10.0\\loaders", "GTK_THEME=Adwaita:dark", "JULIA_DEPOT_PATH=[redacted]\\julia", "XDG_DATA_DIRS=[redacted]\\julia\\artifacts\\65eca7c48dea1e32203b205613441ce9506045b4\\share;[redacted]\\julia\\artifacts\\eb6ac7b2d830e5142ad5e345e54fb33dc7aafd6c\\share;[redacted]\\julia\\artifacts\\da6c2aa0d20a483437256f245d3c35b25e667c62\\bin\\..\\share", "GTK_CSD=1", "GTK_AUTO_IDLE=false", "NUMBER_OF_PROCESSORS=8", "FONTCONFIG_FILE=[redacted]\\julia\\artifacts\\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\\etc\\fonts\\fonts.conf", "FONTCONFIG_PATH=[redacted]\\julia\\artifacts\\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\\etc\\fonts"]): invalid argument (EINVAL)
Stacktrace:
  [1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Any})
    @ Base .\process.jl:99
  [2] #637
    @ .\process.jl:112 [inlined]
  [3] setup_stdios(f::Base.var"#637#638"{Cmd}, stdios::Vector{Any})
    @ Base .\process.jl:196
  [4] _spawn
    @ .\process.jl:111 [inlined]
  [5] open(cmds::Cmd, stdio::Base.DevNull; write::Bool, read::Bool)
    @ Base .\process.jl:370
  [6] open
    @ .\process.jl:361 [inlined]
  [7] open(cmds::Cmd, mode::String, stdio::Base.DevNull)
    @ Base .\process.jl:341
  [8] read(cmd::Cmd)
    @ Base .\process.jl:410
  [9] read(cmd::Cmd, #unused#::Type{String})
    @ Base .\process.jl:421
 [10] readchomp
    @ .\io.jl:923 [inlined]
 [11] query_pixbuf_loaders
    @ [redacted]\julia\packages\Gtk\oo3cW\src\Gtk.jl:101 [inlined]
 [12] (::Gtk.var"#query_pixbuf_loaders#325"{Gtk.var"#query_pixbuf_loaders#320#326"})(dir::String)
    @ Gtk [redacted]\julia\packages\Gtk\oo3cW\src\Gtk.jl:100
 [13] (::Gtk.var"#321#327")(io::IOStream)
    @ Gtk [redacted]\julia\packages\Gtk\oo3cW\src\Gtk.jl:106
 [14] open(f::Gtk.var"#321#327", args::String; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:write,), Tuple{Bool}}})
    @ Base .\io.jl:330
 [15] __init__()
    @ Gtk [redacted]\julia\packages\Gtk\oo3cW\src\Gtk.jl:104
 [16] _include_from_serialized(path::String, depmods::Vector{Any})
    @ Base .\loading.jl:674
 [17] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base .\loading.jl:760
 [18] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:998
 [19] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:914
 [20] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:901
 [21] include
    @ .\Base.jl:386 [inlined]
 [22] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1050
 [23] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:914
 [24] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:901

The crash occurs upon executing the first file containing a using Gtk. We have confirmed that downgrading to Gtk.jl version 1.2.2 fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions