Bug 133533

Summary: [GTK] libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark when running perf test CSS/QuerySelector.html and Parser/xml-parser.html
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cgarcia, commit-queue, glenn, kling, mrobinson, pnormand, rego, rniwa, svillar, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Carlos Alberto Lopez Perez 2014-06-04 19:30:39 PDT
This two tests are failing on the new GTK perf bot, because of undefined symbols. Check the complete log here: http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Perf%29/builds/6/steps/perf-test/logs/stdio

I'm able to reproduce the failure on my laptop, so I guess this is some global error and not something specific of the bot.


$ Tools/Scripts/run-perf-tests --platform gtk --release -2 CSS/QuerySelector.html Parser/xml-parser.html
Running 2 tests
Running CSS/QuerySelector.html (1 of 2)
error: CSS/QuerySelector.html

(gst-plugin-scanner:19006): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstmultifile.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19006): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstrsvg.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19006): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgsttcp.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19006): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstrtsp.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19006): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstgio.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

FAILED
Finished: 5.030039 s

Running Parser/xml-parser.html (2 of 2)
error: Parser/xml-parser.html

(gst-plugin-scanner:19209): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstmultifile.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19209): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstrsvg.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19209): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgsttcp.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19209): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstrtsp.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

(gst-plugin-scanner:19209): GStreamer-WARNING **: Failed to load plugin '/stuff/webkit/webkit/WebKitBuild/Dependencies/Root/lib64/gstreamer-1.0/libgstgio.so': /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_variant_parse_error_quark

FAILED
Finished: 7.889875 s
Comment 1 Carlos Garcia Campos 2014-06-05 02:19:26 PDT
Does run-perf-tests run the tests inside the jhbuild shell?
Comment 2 Zan Dobersek 2014-06-05 02:42:15 PDT
No.
Comment 3 Carlos Alberto Lopez Perez 2014-06-05 02:50:11 PDT
(In reply to comment #1)
> Does run-perf-tests run the tests inside the jhbuild shell?

Good appreciation. 

It seems is not doing that, because running the tests with LD_LIBRARY_PATH=$(WKDIR)/WebKitBuild/Dependencies/Root/lib64 fixes the issue.


I will try to cook a patch.
Comment 4 Carlos Alberto Lopez Perez 2014-06-05 06:07:41 PDT
Created attachment 232542 [details]
Patch
Comment 5 Carlos Garcia Campos 2014-06-05 06:14:27 PDT
Comment on attachment 232542 [details]
Patch

Looks sane, thanks!
Comment 6 WebKit Commit Bot 2014-06-05 06:45:48 PDT
Comment on attachment 232542 [details]
Patch

Clearing flags on attachment: 232542

Committed r169614: <http://trac.webkit.org/changeset/169614>
Comment 7 WebKit Commit Bot 2014-06-05 06:45:52 PDT
All reviewed patches have been landed.  Closing bug.