[Bug 284378] www/webkit2-gtk: interactions with C++ dependencies built with clang/libc++ causes WebProcess crash

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Jan 2025 22:23:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284378

Charlie Li <vishwin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|www/webkit2-gtk: WebProcess |www/webkit2-gtk:
                   |CRASHED                     |interactions with C++
                   |                            |dependencies built with
                   |                            |clang/libc++ causes
                   |                            |WebProcess crash
             Status|New                         |Open
                 CC|                            |vishwin@freebsd.org
              Flags|maintainer-feedback?(gnome@ |maintainer-feedback+
                   |FreeBSD.org)                |

--- Comment #2 from Charlie Li <vishwin@freebsd.org> ---
(In reply to Nuno Teixeira from comment #1)
This has nothing to do with GLES/compositing.

The backtrace shows ICU, which is built with clang/libc++, clashing with
libstdc++ that JavaScriptCore is built with. In fact, any execution path from
any part of webkitgtk that uses the dynamic link to a C++ dependency built with
clang/libc++ will exhibit the same type of crash. Mangling libc++ and libstdc++
doesn't really work by design unfortunately.

-- 
You are receiving this mail because:
You are the assignee for the bug.