I encountered an error while testing the official case using Gtk.jl
The code is as follows
using Gtk
win = GtkWindow("A new window")
g = GtkGrid()
a = GtkEntry() # a widget for entering text
set_gtk_property!(a, :text, "This is Gtk!")
b = GtkCheckButton("Check me!")
c = GtkScale(false, 0:10) # a slider
# Now let's place these graphical elements into the Grid:
g[1,1] = a # Cartesian coordinates, g[x,y]
g[2,1] = b
g[1:2,2] = c # spans both columns
set_gtk_property!(g, :column_homogeneous, true)
set_gtk_property!(g, :column_spacing, 15) # introduce a 15-pixel gap between columns
push!(win, g)
showall(win)
The report
┌ Warning: Executing #241:
└ @ Gtk.GLib ~/.julia/packages/Gtk/oo3cW/src/GLib/signals.jl:106
ERROR: sigatomic_end called in non-sigatomic region
Stacktrace:
[1] sigatomic_end
@ ./c.jl:452 [inlined]
[2] g_siginterruptible(f::Gtk.GLib.var"#90#92"{Ptr{Gtk.GLib.GValue}, UInt32, Ptr{Gtk.GLib.GValue}, Vector{Any}, Bool, Gtk.var"#241#243", Ptr{Any}}, cb::Any)
@ Gtk.GLib ~/.julia/packages/Gtk/oo3cW/src/GLib/signals.jl:214
[3] GClosureMarshal(closuref::Ptr{Nothing}, return_value::Ptr{Gtk.GLib.GValue}, n_param_values::UInt32, param_values::Ptr{Gtk.GLib.GValue}, invocation_hint::Ptr{Nothing}, marshal_data::Ptr{Nothing})
@ Gtk.GLib ~/.julia/packages/Gtk/oo3cW/src/GLib/signals.jl:58
[4] var"##compiled_ccall#305"(arg1::Ptr{GObject}, arg2::GtkWindowLeaf)
@ VSCodeDebugger.JuliaInterpreter.CompiledCalls ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/optimize.jl:346
[5] invoke_in_world(::UInt64, ::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./essentials.jl:850
[6] invoke_in_world(::UInt64, ::Any, ::Any, ::Vararg{Any})
@ Base ./essentials.jl:847
[7] bypass_builtins(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, call_expr::Expr, pc::Int64)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:195
[8] evaluate_call_recurse!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, call_expr::Expr; enter_generated::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:222
[9] evaluate_call_recurse!
@ ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:220 [inlined]
[10] eval_rhs(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Expr)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:393
[11] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Any, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:546
[12] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:596
[13] finish!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:14
[14] finish_and_return!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:30
[15] evaluate_call_recurse!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, call_expr::Expr; enter_generated::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:260
[16] evaluate_call_recurse!
@ ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:220 [inlined]
[17] eval_rhs(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Expr)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:393
[18] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Any, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:467
[19] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:596
[20] finish!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:14
[21] finish_and_return!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:30
[22] evaluate_call_recurse!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, call_expr::Expr; enter_generated::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:260
[23] evaluate_call_recurse!
@ ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:220 [inlined]
[24] eval_rhs(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Expr)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:393
[25] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Any, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:546
--- the last 7 lines are repeated 4 more times ---
[54] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:596
[55] finish!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:14
[56] finish_and_return!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:30
[57] evaluate_call_recurse!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, call_expr::Expr; enter_generated::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:260
[58] evaluate_call_recurse!
@ ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:220 [inlined]
[59] eval_rhs(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Expr)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:393
[60] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, node::Any, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:541
[61] step_expr!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/interpret.jl:596
[62] finish!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:14
[63] finish_and_return!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, istoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:30
[64] finish_stack!(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, rootistoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:60
[65] debug_command(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, cmd::Symbol, rootistoplevel::Bool; line::Nothing)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:516
[66] debug_command(recurse::Any, frame::VSCodeDebugger.JuliaInterpreter.Frame, cmd::Symbol, rootistoplevel::Bool)
@ VSCodeDebugger.JuliaInterpreter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/JuliaInterpreter/src/commands.jl:448
[67] #invokelatest#2
@ ./essentials.jl:816 [inlined]
[68] invokelatest
@ ./essentials.jl:813 [inlined]
[69] our_debug_command(cmd::Symbol, state::VSCodeDebugger.DebugAdapter.DebuggerState)
@ VSCodeDebugger.DebugAdapter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/DebugAdapter/src/debugger_core.jl:67
[70] startdebug(socket::Base.PipeEndpoint, error_handler::VSCodeDebugger.var"#3#4"{Tuple{String, String}})
@ VSCodeDebugger.DebugAdapter ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/DebugAdapter/src/packagedef.jl:106
[71] startdebugger()
@ VSCodeDebugger ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/packages/VSCodeDebugger/src/VSCodeDebugger.jl:43
[72] top-level scope
@ ~/.vscode/extensions/julialang.language-julia-1.47.2/scripts/debugger/run_debugger.jl:10
[73] include(mod::Module, _path::String)
@ Base ./Base.jl:457
[74] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:307
I saw the program window I built appear, but it quickly disappeared
- Apple silicon M2
- macOS ventura
- Julia v1.9.1
- Gtk.jl stabe