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

New segfault, Linux on X11 #79

Closed
jwahlstrand opened this issue Dec 23, 2024 · 1 comment · Fixed by #80
Closed

New segfault, Linux on X11 #79

jwahlstrand opened this issue Dec 23, 2024 · 1 comment · Fixed by #80
Labels

Comments

@jwahlstrand
Copy link
Member

jwahlstrand commented Dec 23, 2024

When running tests locally,

(julia:9436): Gtk-WARNING **: 17:09:37.678: GtkLabel 0x192f0a70 (label) reported min height 433187 and natural height 14 in measure() with for_size=-1; natural size must be >= min size

(julia:9436): GLib-GObject-CRITICAL **: 17:09:37.688: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(julia:9436): GLib-GObject-CRITICAL **: 17:09:37.688: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(julia:9436): GLib-GObject-CRITICAL **: 17:09:37.688: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(julia:9436): GLib-GObject-CRITICAL **: 17:09:37.688: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(julia:9436): GLib-GObject-CRITICAL **: 17:09:37.688: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(julia:9436): GLib-GObject-CRITICAL **: 17:09:37.688: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

[9436] signal 11 (1): Segmentation fault
in expression starting at /var/home/wahlstrj/Sync/Gtk4.jl/test/gui/dialogs.jl:3
cairo_scaled_font_get_font_options at /workspace/srcdir/cairo/output/../src/cairo-scaled-font.c:3106
gsk_font_get_hint_style at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_glyph_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_transform_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_container_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_transform_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_container_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_rounded_clip_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_container_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_transform_node at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_add_node.part.21 at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_node_processor_process at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_frame_render at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_gpu_renderer_render at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gsk_renderer_render at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
gtk_widget_render at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
surface_render at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
_gdk_marshal_BOOLEAN__BOXEDv at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
_g_closure_invoke_va at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
signal_emit_valist_unlocked at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
g_signal_emit_valist at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
g_signal_emit at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
gdk_surface_paint_on_clock at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
_g_closure_invoke_va at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
signal_emit_valist_unlocked at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
g_signal_emit_valist at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
g_signal_emit at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libgobject-2.0.so.0 (unknown line)
gdk_frame_clock_paint_idle at /var/home/wahlstrj/.julia/artifacts/3ee0f31a7c7548d37e6bf688b682c088c50f506f/lib/libgtk-4.so (unknown line)
g_timeout_dispatch at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libglib-2.0.so.0 (unknown line)
g_main_dispatch at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libglib-2.0.so.0 (unknown line)
g_main_context_iterate_unlocked.isra.29 at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libglib-2.0.so.0 (unknown line)
g_main_context_iteration at /var/home/wahlstrj/.julia/artifacts/43964d8fde379b95f9b4bdc214b688bc394cd4ac/lib/libglib-2.0.so.0 (unknown line)
#237 at /var/home/wahlstrj/Sync/Gtk4.jl/src/GLib/loop.jl:83
unknown function (ip: 0x7f9de68b50df)
g_sigatom at /var/home/wahlstrj/Sync/Gtk4.jl/src/GLib/signals.jl:211
unknown function (ip: 0x7f9de68b4fb2)
glib_main at /var/home/wahlstrj/Sync/Gtk4.jl/src/GLib/loop.jl:80
unknown function (ip: 0x7f9de68b412f)
jl_apply at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/julia.h:2157 [inlined]
start_task at /cache/build/tester-amdci5-12/julialang/julia-release-1-dot-11/src/task.c:1202
Allocations: 32744612 (Pool: 32743243; Big: 1369); GC: 27
ERROR: Package Gtk4 errored during testing (received signal: 11)

I initially suspected a recent JLL update to be the culprit but have been unable to find a previous version of any JLL where this doesn't happen.

This plus #72 means this package is currently unusable on Linux.

@jwahlstrand
Copy link
Member Author

Aha, it's caused by the recent update to Pango_jll 1.55.5: JuliaPackaging/Yggdrasil#10037.

The changelog for this version is "Test release, no changes" so maybe it wasn't intended to be a real release.

The crash doesn't occur in CI, nor on a couple of other computers I tried.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant