Open joepie91 opened 1 year ago
Running the GTK4 custom widget demo from the node-gtk repository results in an immediate segfault, before anything appears on the screen.
node-gtk
Command & output:
/home/sven/projects/_3rdparty/node-gtk〉nix-shell --run 'node examples/gtk-4-custom-widget.js' ~/projects/gtkpanel/shell.nix 02/05/2023 02:35:20 AM (node:747985): Gtk-WARNING **: 02:35:30.694: Unknown key gtk-button-images in /home/sven/.config/gtk-4.0/settings.ini (node:747985): Gtk-WARNING **: 02:35:30.694: Unknown key gtk-menu-images in /home/sven/.config/gtk-4.0/settings.ini (node:747985): Gtk-WARNING **: 02:35:30.694: Unknown key gtk-toolbar-style in /home/sven/.config/gtk-4.0/settings.ini /tmp/nix-shell-744841-0/rc: line 3: 747985 Segmentation fault (core dumped) node examples/gtk-4-custom-widget.js
Environment (as a shell.nix):
shell.nix
{ pkgs ? import <nixpkgs> {} }: with pkgs; stdenv.mkDerivation rec { name = "development-environment"; buildInputs = [ gobject-introspection glib cairo gtk3 gtk4 webkitgtk # for browser support glib-networking # for browser support gtksourceview # for code editor support gst_all_1.gstreamer # for gstreamer support ]; LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; GIO_MODULE_DIR = "${glib-networking}/lib/gio/modules"; # FIXME: Auto-generate like LD_LIBRARY_PATH? }
Coredump:
PID: 747985 (node) UID: 1000 (sven) GID: 100 (users) Signal: 11 (SEGV) Timestamp: Sun 2023-02-05 02:35:30 CET (4min 46s ago) Command Line: node examples/gtk-4-custom-widget.js Executable: /nix/store/l8zhib1jl9gy5jhyzrxynpgljmc08aaw-nodejs-16.18.1/bin/node Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-yakuake@autostart.service Unit: user@1000.service User Unit: app-yakuake@autostart.service Slice: user-1000.slice Owner UID: 1000 (sven) Boot ID: 4af6b63c864e4e47a461ad99586fac55 Machine ID: 971ecd159ab34baf85eea76d9bda063f Hostname: desktop-home Storage: /var/lib/systemd/coredump/core.node.1000.4af6b63c864e4e47a461ad99586fac55.747985.1675560930000000.zst (present) Disk Size: 11.3M Message: Process 747985 (node) of user 1000 dumped core. Module /home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node with build-id b4d8e2eab6ad53056a345d881ef0235671011ecc Module linux-vdso.so.1 with build-id 3fb1514e67da6ac651b3fafbcac07d8b3d16d09a Module libpciaccess.so.0 without build-id. Module libdrm_intel.so.1 without build-id. Module libdrm_nouveau.so.2 without build-id. Module libdrm_amdgpu.so.1 without build-id. Module libelf.so.0 without build-id. Module libdrm_radeon.so.1 without build-id. Module radeonsi_dri.so with build-id 5e3673576f735a71d2ddf26bde3fbd8c4875bfce Module libXxf86vm.so.1 without build-id. Module libxcb-glx.so.0 without build-id. Module libGLX_mesa.so.0 without build-id. Module libncursesw.so.6 without build-id. Module libLLVM-14.so with build-id 5a101ccc4de811185ea8f66ac612786ad7578319 Module libxshmfence.so.1 without build-id. Module libxcb-sync.so.1 without build-id. Module libxcb-present.so.0 without build-id. Module libxcb-dri3.so.0 without build-id. Module libwayland-server.so.0 with build-id 7a3f583948a6bf67f277e3c61c23bc17eabf4a67 Module libdrm.so.2 without build-id. Module libxcb-xfixes.so.0 without build-id. Module libxcb-dri2.so.0 without build-id. Module libX11-xcb.so.1 without build-id. Module libglapi.so.0 without build-id. Module libgbm.so.1 without build-id. Module libEGL_mesa.so.0 without build-id. Module libdeflate.so.0 without build-id. Module liblzma.so.5 without build-id. Module libsqlite3.so.0 with build-id 174a69054606e27a1c555838b07035346e83bfb0 Module libxml2.so.2 without build-id. Module libjson-glib-1.0.so.0 without build-id. Module libcairo-script-interpreter.so.2 with build-id cceca392975306aefcafe35268644fa1438ce29f Module libXinerama.so.1 without build-id. Module libXrandr.so.2 without build-id. Module libXfixes.so.3 without build-id. Module libXdamage.so.1 without build-id. Module libXcursor.so.1 without build-id. Module libwayland-egl.so.1 with build-id aaac2d32772512ccfd61a1a065ee887723c4deeb Module libwayland-client.so.0 with build-id b5937976bbf2f8b2463c95a741c5979fe31ed167 Module libxkbcommon.so.0 without build-id. Module libtiff.so.5 without build-id. Module libtracker-sparql-3.0.so.0 without build-id. Module libpangoft2-1.0.so.0 without build-id. Module libXi.so.6 without build-id. Module libepoxy.so.0 without build-id. Module libpangocairo-1.0.so.0 without build-id. Module libgtk-4.so.1 with build-id 21c8acdde78b56e2602a07b8a030eb9e27b5e219 Module libgraphene-1.0.so.0 without build-id. Module libjpeg.so.62 without build-id. Module libgdk_pixbuf-2.0.so.0 with build-id 1a44e1852ad1fb378fe98faed15082602d55feef Module libdatrie.so.1 without build-id. Module libthai.so.0 without build-id. Module libfribidi.so.0 without build-id. Module libpango-1.0.so.0 without build-id. Module libgraphite2.so.3 without build-id. Module libharfbuzz.so.0 without build-id. Module libharfbuzz-gobject.so.0 without build-id. Module libcairo-gobject.so.2 with build-id 7410df81f17d01441f484c9eaa5d04fb16b8cc4f Module libpcre.so.1 without build-id. Module libblkid.so.1 with build-id 28442e555a6c54d265cffac974e79a5bc6db3d24 Module libGLX.so.0 without build-id. Module libXdmcp.so.6 without build-id. Module libXau.so.6 without build-id. Module libGLdispatch.so.0 without build-id. Module libexpat.so.1 without build-id. Module libbz2.so.1 without build-id. Module libselinux.so.1 without build-id. Module libmount.so.1 with build-id 564b1cda0a3df3cdbebed36c64a5d9b777b3b3e7 Module librt.so.1 with build-id 704dc642317eaae908d64fd755285392a8825146 Module libGL.so.1 without build-id. Module libXext.so.6 without build-id. Module libX11.so.6 without build-id. Module libXrender.so.1 without build-id. Module libxcb-render.so.0 without build-id. Module libxcb.so.1 without build-id. Module libxcb-shm.so.0 without build-id. Module libpng16.so.16 without build-id. Module libEGL.so.1 without build-id. Module libfreetype.so.6 without build-id. Module libfontconfig.so.1 without build-id. Module libpixman-1.so.0 with build-id d2f9c6437c37c4dd95fbf2c21ea6db0a03fd0ce2 Module libpcre2-8.so.0 without build-id. Module libffi.so.8 without build-id. Module libgio-2.0.so.0 with build-id 13ea429f558858ac72a132b8ecf3fee69ef81cdf Module libgmodule-2.0.so.0 with build-id c5c2ed104afa583e2d06fdd7d9f2b17cd6bd0677 Module libcairo.so.2 with build-id 5efb8a512041f027b409c7c1a759b7a4ffb07566 Module libglib-2.0.so.0 with build-id e3f9ab3ad59614ddc5a437e203bd434e833a02de Module libgobject-2.0.so.0 with build-id c4ea078671642c60e81ac69b664e48c2cb3275f8 Module libgirepository-1.0.so.1 without build-id. Module ld-linux-x86-64.so.2 with build-id 3be2bc3749163683f612e0fb8169ce51f75742fe Module libc.so.6 with build-id 3d6884d200ead572b7b89a4133f645c7a3c039ed Module libpthread.so.0 with build-id 0f7050f6ef81222c7290351dfa67e5e062c797bf Module libgcc_s.so.1 without build-id. Module libm.so.6 with build-id 5cc630080219b350d8f9e4573c65d2dd931ea978 Module libstdc++.so.6 without build-id. Module libdl.so.2 with build-id 2e86539e324ffb14e185718fd284d3f3f2568f06 Module libicudata.so.72 without build-id. Module libicuuc.so.72 without build-id. Module libicui18n.so.72 without build-id. Module libssl.so.3 with build-id 015b7e3101e5221d96d08a09bd4015fbe982b501 Module libcrypto.so.3 with build-id 010c1cafe13e4e27fe57f200091cc589909ae1e9 Module libuv.so.1 without build-id. Module libz.so.1 without build-id. Module node without build-id. Stack trace of thread 747985: #0 0x00007fd4b8237f7a n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x37f7a) #1 0x00007fd4b8228317 n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x28317) #2 0x00007fd4b822858d n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2858d) #3 0x00007fd4b86e258c ffi_closure_unix64_inner (libffi.so.8 + 0x758c) #4 0x00007fd4b86e2a40 ffi_closure_unix64 (libffi.so.8 + 0x7a40) #5 0x00007fd4a9dde08d gtk_widget_query_size_for_orientation (libgtk-4.so.1 + 0x24f08d) #6 0x00007fd4a9c95842 gtk_box_layout_measure (libgtk-4.so.1 + 0x106842) #7 0x00007fd4a9d51f63 gtk_layout_manager_measure (libgtk-4.so.1 + 0x1c2f63) #8 0x00007fd4a9dde0cf gtk_widget_query_size_for_orientation (libgtk-4.so.1 + 0x24f0cf) #9 0x00007fd4a9e90031 gtk_window_measure (libgtk-4.so.1 + 0x301031) #10 0x00007fd4a9c6e487 gtk_application_window_measure (libgtk-4.so.1 + 0xdf487) #11 0x00007fd4a9dde08d gtk_widget_query_size_for_orientation (libgtk-4.so.1 + 0x24f08d) #12 0x00007fd4a9e90a16 toplevel_compute_size (libgtk-4.so.1 + 0x301a16) #13 0x00007fd4b87065af g_closure_invoke (libgobject-2.0.so.0 + 0x175af) #14 0x00007fd4b8719917 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x2a917) #15 0x00007fd4b87206ba g_signal_emit_valist (libgobject-2.0.so.0 + 0x316ba) #16 0x00007fd4b872094f g_signal_emit (libgobject-2.0.so.0 + 0x3194f) #17 0x00007fd4a9fa3966 gdk_toplevel_notify_compute_size (libgtk-4.so.1 + 0x414966) #18 0x00007fd4a9fdeead compute_toplevel_size (libgtk-4.so.1 + 0x44fead) #19 0x00007fd4a9fe217f gdk_x11_toplevel_present (libgtk-4.so.1 + 0x45317f) #20 0x00007fd4a9e911e1 gtk_window_present_toplevel (libgtk-4.so.1 + 0x3021e1) #21 0x00007fd4a9e97e7d gtk_window_show (libgtk-4.so.1 + 0x308e7d) #22 0x00007fd4b87067d9 _g_closure_invoke_va (libgobject-2.0.so.0 + 0x177d9) #23 0x00007fd4b872064d g_signal_emit_valist (libgobject-2.0.so.0 + 0x3164d) #24 0x00007fd4b872094f g_signal_emit (libgobject-2.0.so.0 + 0x3194f) #25 0x00007fd4a9e7bd51 gtk_widget_show (libgtk-4.so.1 + 0x2ecd51) #26 0x00007fd4a9e95b4c gtk_window_present_with_time (libgtk-4.so.1 + 0x306b4c) #27 0x00007fd4b86e28aa ffi_call_unix64 (libffi.so.8 + 0x78aa) #28 0x00007fd4b86e18bb ffi_call_int (libffi.so.8 + 0x68bb) #29 0x00007fd4b86e233e ffi_call (libffi.so.8 + 0x733e) #30 0x00007fd4b822c83d n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2c83d) #31 0x00007fd4b822ce34 n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2ce34) #32 0x00007fd4b822b00f n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2b00f) #33 0x0000000000cb04be _ZN2v88internal25FunctionCallbackArguments4CallENS0_15CallHandlerInfoE (node + 0x8b04be) #34 0x0000000000cb0e1f _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEESA_NS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EENS0_16BuiltinArgumentsE (node + 0x8b0e1f) #35 0x0000000000cb131f _ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE (node + 0x8b131f) #36 0x00000000015731f9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit (node + 0x11731f9) #37 0x0000000001505bca Builtins_InterpreterEntryTrampoline (node + 0x1105bca) #38 0x0000000001503dd8 Builtins_JSEntryTrampoline (node + 0x1103dd8) #39 0x0000000001503b63 Builtins_JSEntry (node + 0x1103b63) #40 0x0000000000d84811 _ZN2v88internal12_GLOBAL__N_16InvokeEPNS0_7IsolateERKNS1_12InvokeParamsE (node + 0x984811) #41 0x0000000000d855ad _ZN2v88internal9Execution4CallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6_ (node + 0x9855ad) #42 0x0000000000c73ad1 _ZN2v88Function4CallENS_5LocalINS_7ContextEEENS1_INS_5ValueEEEiPS5_ (node + 0x873ad1) #43 0x00007fd4b8228aff n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x28aff) #44 0x00007fd4b8228d80 n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x28d80) #45 0x00007fd4b87065af g_closure_invoke (libgobject-2.0.so.0 + 0x175af) #46 0x00007fd4b8719917 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x2a917) #47 0x00007fd4b87206ba g_signal_emit_valist (libgobject-2.0.so.0 + 0x316ba) #48 0x00007fd4b872094f g_signal_emit (libgobject-2.0.so.0 + 0x3194f) #49 0x00007fd4ab5bffb8 g_application_real_local_command_line (libgio-2.0.so.0 + 0xe4fb8) #50 0x00007fd4ab5c012e g_application_run (libgio-2.0.so.0 + 0xe512e) #51 0x00007fd4b86e28aa ffi_call_unix64 (libffi.so.8 + 0x78aa) #52 0x00007fd4b86e18bb ffi_call_int (libffi.so.8 + 0x68bb) #53 0x00007fd4b86e233e ffi_call (libffi.so.8 + 0x733e) #54 0x00007fd4b822c83d n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2c83d) #55 0x00007fd4b822ce34 n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2ce34) #56 0x00007fd4b822b00f n/a (/home/sven/projects/_3rdparty/node-gtk/lib/binding/node-v93-linux-x64/node_gtk.node + 0x2b00f) #57 0x0000000000cb04be _ZN2v88internal25FunctionCallbackArguments4CallENS0_15CallHandlerInfoE (node + 0x8b04be) #58 0x0000000000cb0e1f _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEESA_NS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EENS0_16BuiltinArgumentsE (node + 0x8b0e1f) #59 0x0000000000cb131f _ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE (node + 0x8b131f) #60 0x00000000015731f9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit (node + 0x11731f9) #61 0x0000000001505bca Builtins_InterpreterEntryTrampoline (node + 0x1105bca) #62 0x0000000001505bca Builtins_InterpreterEntryTrampoline (node + 0x1105bca) #63 0x0000000001505bca Builtins_InterpreterEntryTrampoline (node + 0x1105bca) Stack trace of thread 747991: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba83bf28 __new_sem_wait_slow64.constprop.0 (libc.so.6 + 0x90f28) #2 0x00007fd4bd530392 uv_sem_wait (libuv.so.1 + 0x1e392) #3 0x0000000000b72511 _ZN4node9inspector12_GLOBAL__N_117StartIoThreadMainEPv (node + 0x772511) #4 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #5 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747989: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4bd530309 uv_cond_wait (libuv.so.1 + 0x1e309) #3 0x0000000000add383 _ZN4node12_GLOBAL__N_1L20PlatformWorkerThreadEPv (node + 0x6dd383) #4 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #5 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747986: #0 0x00007fd4ba8ba347 epoll_wait (libc.so.6 + 0x10f347) #1 0x00007fd4bd5364c7 uv__io_poll (libuv.so.1 + 0x244c7) #2 0x00007fd4bd5229bc uv_run (libuv.so.1 + 0x109bc) #3 0x0000000000ae1fd9 _ZZN4node23WorkerThreadsTaskRunner20DelayedTaskScheduler5StartEvENUlPvE_4_FUNES2_ (node + 0x6e1fd9) #4 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #5 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748001: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747992: #0 0x00007fd4ba8ad709 __poll (libc.so.6 + 0x102709) #1 0x00007fd4b811ac26 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x58c26) #2 0x00007fd4b811ad3f g_main_context_iteration (libglib-2.0.so.0 + 0x58d3f) #3 0x00007fd4b811ad91 glib_worker_main (libglib-2.0.so.0 + 0x58d91) #4 0x00007fd4b81458cd g_thread_proxy (libglib-2.0.so.0 + 0x838cd) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748004: #0 0x00007fd4ba8b2d7d syscall (libc.so.6 + 0x107d7d) #1 0x00007fd4b81700c2 g_cond_wait_until (libglib-2.0.so.0 + 0xae0c2) #2 0x00007fd4b80e8a91 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x26a91) #3 0x00007fd4b814630a g_thread_pool_thread_proxy (libglib-2.0.so.0 + 0x8430a) #4 0x00007fd4b81458cd g_thread_proxy (libglib-2.0.so.0 + 0x838cd) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747990: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4bd530309 uv_cond_wait (libuv.so.1 + 0x1e309) #3 0x0000000000add383 _ZN4node12_GLOBAL__N_1L20PlatformWorkerThreadEPv (node + 0x6dd383) #4 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #5 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748005: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748002: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748003: #0 0x00007fd4ba8ad709 __poll (libc.so.6 + 0x102709) #1 0x00007fd4b811ac26 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0x58c26) #2 0x00007fd4b811af73 g_main_loop_run (libglib-2.0.so.0 + 0x58f73) #3 0x00007fd4ab5fb436 gdbus_shared_thread_func (libgio-2.0.so.0 + 0x120436) #4 0x00007fd4b81458cd g_thread_proxy (libglib-2.0.so.0 + 0x838cd) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747988: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4bd530309 uv_cond_wait (libuv.so.1 + 0x1e309) #3 0x0000000000add383 _ZN4node12_GLOBAL__N_1L20PlatformWorkerThreadEPv (node + 0x6dd383) #4 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #5 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748007: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747999: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748008: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748012: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748009: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748010: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747998: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 747987: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4bd530309 uv_cond_wait (libuv.so.1 + 0x1e309) #3 0x0000000000add383 _ZN4node12_GLOBAL__N_1L20PlatformWorkerThreadEPv (node + 0x6dd383) #4 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #5 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748000: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748011: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) Stack trace of thread 748006: #0 0x00007fd4ba8307d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5) #1 0x00007fd4ba833202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202) #2 0x00007fd4852f4189 cnd_wait (radeonsi_dri.so + 0x102189) #3 0x00007fd4852a8fdb util_queue_thread_func (radeonsi_dri.so + 0xb6fdb) #4 0x00007fd4852f40c7 impl_thrd_routine (radeonsi_dri.so + 0x1020c7) #5 0x00007fd4ba833e86 start_thread (libc.so.6 + 0x88e86) #6 0x00007fd4ba8bad70 __clone3 (libc.so.6 + 0x10fd70) ELF object binary architecture: AMD x86-64
Running the GTK4 custom widget demo from the
node-gtk
repository results in an immediate segfault, before anything appears on the screen.Command & output:
Environment (as a
shell.nix
):Coredump: