NEW284710
REGRESSION(287517@main): [GTK] Missing WebExtension symbols in UIProcess
https://bugs.webkit.org/show_bug.cgi?id=284710
Summary REGRESSION(287517@main): [GTK] Missing WebExtension symbols in UIProcess
Philippe Normand
Reported 2024-12-15 03:32:23 PST
WebKitBuild/GTK/Release/bin/MiniBrowser: symbol lookup error: /var/home/phil/WebKit/WebKitBuild/GTK/Release/lib/libwebkit2gtk-4.1.so.0: undefined symbol: _ZN6WebKit19WebExtensionContext18actionGetBadgeTextESt8optionalIN3WTF23ObjectIdentifierGenericINS_32WebExtensionWindowIdentifierTypeENS2_38ObjectIdentifierMainThreadAccessTraitsImEmEEES1_INS3_INS_29WebExtensionTabIdentifierTypeES6_mEEEONS2_17CompletionHandlerIFvONSt12experimental15fundamentals_v38expectedINS2_6StringESG_EEEEE
Attachments
Philippe Normand
Comment 1 2024-12-16 11:52:50 PST
btw i noticed this on a build enabling ASan. I'm not sure if the issue is exposed otherwise...
Jamie Murphy
Comment 2 2024-12-16 20:35:11 PST
The only thing I can think of that would cause this issue would be the serializers, as that function (actionGetBadgeText) is only ever used in Cocoa functions, outside of a serializer.in file in Shared/Extensions. If that's the problem, it should be able to get removed on non-Cocoa builds for now.
Philippe Normand
Comment 3 2024-12-17 12:39:11 PST
iiuc that's the issue, those methods are not ifdeffed in the header and are implemented only for the Cocoa platforms. There might be more, actionGetBadgeText is the first undefined symbol. now why is that showing up only for ASan builds is out of my understanding.
Note You need to log in before you can comment on or make changes to this bug.