Splash sample "About" dialog crashes in GStreamer code under Wayland (Issue #26358)

11 views
Skip to first unread message

VZ

unread,
Apr 7, 2026, 10:30:57 AM (3 days ago) Apr 7
to wx-...@googlegroups.com, Subscribed
vadz created an issue (wxWidgets/wxWidgets#26358)

I've noticed (while testing something else) that showing the "About" splash screen in the sample reliably (although not 100% reproducibly) crashes. The crash happens in a thread internally created by GStreamer:

... many other messages similar to the next one snipped ...

(splash:1758450): GStreamer-GL-CRITICAL **: 16:26:35.867: Failed to flush Wayland connection


(splash:1758450): GStreamer-CRITICAL **: 16:26:35.867: gst_memory_unmap: assertion 'info->memory == mem' failed
free(): invalid pointer

Thread 27 "gstglcontext" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb26776c0 (LWP 1758519)]
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
warning: 44     ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007ffff6aa09ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
#2  0x00007ffff6a4bcc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff6a344ac in __GI_abort () at ./stdlib/abort.c:77
#4  0x00007ffff6a35291 in __libc_message_impl (fmt=fmt@entry=0x7ffff6bb532d "%s\n") at ../sysdeps/posix/libc_fatal.c:134
#5  0x00007ffff6aaa465 in malloc_printerr (str=str@entry=0x7ffff6bb3100 "free(): invalid pointer") at ./malloc/malloc.c:5832
#6  0x00007ffff6aaf41c in _int_free_check (av=0x7ffff6bf1ac0 <main_arena>, p=0x7fffd4021f58, size=<optimized out>) at ./malloc/malloc.c:4560
#7  _int_free (av=0x7ffff6bf1ac0 <main_arena>, p=0x7fffd4021f58, have_lock=0) at ./malloc/malloc.c:4692
#8  __GI___libc_free (mem=0x7fffd4021f68) at ./malloc/malloc.c:3476
#9  0x00007fffe2c81298 in _unmap_data_gl (context=<optimized out>, transfer=0x7fffe17e6ed0) at ../gst-libs/gst/gl/gstglbasememory.c:353
#10 0x00007fffe2cb75e7 in _run_message_sync (message=0x7fffe17e6e40) at ../gst-libs/gst/gl/gstglwindow.c:638
#11 0x00007fffe2cb7516 in _run_message_async (message=0x7fffcc0d9fb0) at ../gst-libs/gst/gl/gstglwindow.c:705
#12 0x00007ffff6104385 in g_main_dispatch (context=context@entry=0x7fffcc054b00) at ../../../glib/gmain.c:3398
#13 0x00007ffff61065b7 in g_main_context_dispatch_unlocked (context=0x7fffcc054b00) at ../../../glib/gmain.c:4249
#14 g_main_context_iterate_unlocked (context=0x7fffcc054b00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4314
#15 0x00007ffff610701f in g_main_loop_run (loop=0x7fffcc049220) at ../../../glib/gmain.c:4516
#16 0x00007fffe2c92f1e in gst_gl_context_create_thread (context=0x7fffcc052c00 [GstGLContextEGL]) at ../gst-libs/gst/gl/gstglcontext.c:1401
#17 0x00007ffff6137883 in g_thread_proxy (data=0x7fffcc059710) at ../../../glib/gthread.c:893
#18 0x00007ffff6a9eb7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448
#19 0x00007ffff6b1c7f8 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

I didn't have time to debug this at all, just leaving it here in case anybody else runs into it and/or has time to look into it.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26358@github.com>

Reply all
Reply to author
Forward
0 new messages