Bug#856498: webkit2gtk: FTBFS on x32
Thorsten Glaser
t.glaser at tarent.de
Fri Mar 3 11:11:52 UTC 2017
On Fri, 3 Mar 2017, Alberto Garcia wrote:
> > >browser work? I don't have an x32 system available to test it. If
> > How do I do that? I only used it as Build-Depends for libproxy.
>
> You can launch /usr/lib/*/webkit2gtk-4.0/MiniBrowser and see if you
> can browse the web.
This works… up to a point.
│tglase at tglase:~ $ /usr/lib/*/webkit2gtk-4.0/MiniBrowser
│
│** (MiniBrowser:31730): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
│
│** (WebKitWebProcess:31740): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Now I can browse a bit, but any serious JavaScript makes it do this:
│(WebKitWebProcess:31740): GLib-ERROR **: /build/glib2.0-t3KKTh/glib2.0-2.50.3/./glib/gmem.c:352: overflow allocating 1835099507*4 bytes
│
│** (WebKitWebProcess:31776): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
│
│(WebKitWebProcess:31776): GLib-ERROR **: /build/glib2.0-t3KKTh/glib2.0-2.50.3/./glib/gmem.c:352: overflow allocating 1835099507*4 bytes
This is likely not Webkit’s fault, I’ve seen other stuff (KDE stuff,
maybe, even?) seen doing the same.
But hey, I got you a backtrace (after digging through that there are
three separate processes involved)!
#0 0xf36bb3f0 in g_log (log_domain=log_domain at entry=0xf36fc26e "GLib", log_level=log_level at entry=G_LOG_LEVEL_ERROR, format=format at entry=0xf3705c70 "%s: overflow allocating %u*%u bytes") at ././glib/gmessages.c:1355
#1 0xf36b9cf8 in g_malloc0_n (n_blocks=<optimized out>, n_block_bytes=<optimized out>)
at ././glib/gmem.c:351
#2 0xf153617b in () at /usr/lib/x86_64-linux-gnux32/libgstreamer-1.0.so.0
#3 0xf1538d90 in () at /usr/lib/x86_64-linux-gnux32/libgstreamer-1.0.so.0
#4 0xf1566f69 in () at /usr/lib/x86_64-linux-gnux32/libgstreamer-1.0.so.0
#5 0xf15357a4 in gst_update_registry () at /usr/lib/x86_64-linux-gnux32/libgstreamer-1.0.so.0
#6 0xf14d22ee in () at /usr/lib/x86_64-linux-gnux32/libgstreamer-1.0.so.0
#7 0xf36c0797 in g_option_context_parse (context=<optimized out>, argc=<optimized out>, argv=<optimized out>, error=<optimized out>) at ././glib/goption.c:2165
#8 0xf14d2cc6 in gst_init_check () at /usr/lib/x86_64-linux-gnux32/libgstreamer-1.0.so.0
#9 0xf6d8a433 in WebCore::initializeGStreamer() ()
at ./Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp:154
#10 0xf6d8d42b in WebCore::initializeGStreamerAndRegisterWebKitElements() ()
at ./Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:109
#11 0xf6d8d4e8 in WebCore::MediaPlayerPrivateGStreamer::isAvailable() ()
at ./Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:128
#12 0xf6d8d55c in WebCore::MediaPlayerPrivateGStreamer::registerMediaEngine(void (*)(std::function<std::unique_ptr<WebCore::MediaPlayerPrivateInterface, std::default_delete<WebCore::MediaPlayerPrivateInterface> > (WebCore::MediaPlayer*)>, void (*)(WTF::HashSet<WTF::String, WTF::ASCIICaseInsensitiveHash, WTF::HashTraits<WTF::String> >&), WebCore::MediaPlayer::SupportsType (*)(WebCore::MediaEngineSupportParameters const&), WTF::HashSet<WTF::RefPtr<WebCore::SecurityOrigin>, WebCore::SecurityOriginHash, WTF::HashTraits<WTF::RefPtr<WebCore::SecurityOrigin> > > (*)(WTF::String const&), void (*)(WTF::String const&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> > >), void (*)(WTF::String const&, WTF::HashSet<WTF::RefPtr<WebCore::SecurityOrigin>, WebCore::SecurityOriginHash, WTF::HashTraits<WTF::RefPtr<WebCore::SecurityOrigin> > > const&), bool (*)(WTF::String const&, WTF::String const&))) ()
at ./Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:102
#13 0xf68d3d7b in buildMediaEnginesVector () at ./Source/WebCore/platform/graphics/MediaPlayer.cpp:235
#14 0xf68d3d7b in installedMediaEngines() () at ./Source/WebCore/platform/graphics/MediaPlayer.cpp:246
#15 0xf68d5758 in WebCore::MediaPlayer::isAvailable() ()
at ./Source/WebCore/platform/graphics/MediaPlayer.cpp:911
#16 0xf714f85e in WebCore::JSDOMWindow::finishCreation(JSC::VM&, WebCore::JSDOMWindowShell*) ()
at ./obj-x86_64-linux-gnux32/DerivedSources/WebCore/JSDOMWindow.cpp:5892
#17 0xf61d482d in WebCore::JSDOMWindow::create(JSC::VM&, JSC::Structure*, WTF::Ref<WebCore::DOMWindow>&&, WebCore::JSDOMWindowShell*) () at ./obj-x86_64-linux-gnux32/DerivedSources/WebCore/JSDOMWindow.h:38
#18 0xf61d482d in WebCore::JSDOMWindowShell::setWindow(WTF::RefPtr<WebCore::DOMWindow>&&) ()
at ./Source/WebCore/bindings/js/JSDOMWindowShell.cpp:87
#19 0xf6217816 in WebCore::JSDOMWindowShell::create(JSC::VM&, WTF::RefPtr<WebCore::DOMWindow>&&, JSC::Structure*, WebCore::DOMWrapperWorld&) () at ./Source/WebCore/bindings/js/JSDOMWindowShell.h:56
#20 0xf6217816 in WebCore::ScriptController::createWindowShell(WebCore::DOMWrapperWorld&) ()
at ./Source/WebCore/bindings/js/ScriptController.cpp:132
#21 0xf6217ccd in WebCore::ScriptController::initScript(WebCore::DOMWrapperWorld&) ()
at ./Source/WebCore/bindings/js/ScriptController.cpp:254
#22 0xf62181db in WebCore::ScriptController::windowShell(WebCore::DOMWrapperWorld&) ()
at ./Source/WebCore/bindings/js/ScriptController.h:90
#23 0xf62181db in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&, WebCore::ExceptionDetails*) () at ./Source/WebCore/bindings/js/ScriptController.cpp:153
#24 0xf6218213 in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&, WebCore::ExceptionDetails*) () at ./Source/WebCore/bindings/js/ScriptController.cpp:179
#25 0xf63de91b in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) ()
at ./Source/WebCore/dom/ScriptElement.cpp:329
#26 0xf65ef9dc in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WTF::RefPtr<WebCore::PendingScript>) () at ./Source/WebCore/html/parser/HTMLScriptRunner.cpp:145
#27 0xf65f00cd in WebCore::HTMLScriptRunner::executeParsingBlockingScript() ()
at ./Source/WebCore/html/parser/HTMLScriptRunner.cpp:123
#28 0xf65f0478 in WebCore::HTMLScriptRunner::executeParsingBlockingScripts() ()
at ./Source/WebCore/html/parser/HTMLScriptRunner.cpp:194
#29 0xf65df08c in WebCore::HTMLDocumentParser::notifyFinished(WebCore::PendingScript&) ()
at ./Source/WebCore/html/parser/HTMLDocumentParser.cpp:538
#30 0xf63ca155 in WebCore::PendingScript::notifyClientFinished() ()
at ./Source/WebCore/dom/PendingScript.cpp:74
#31 0xf674e153 in WebCore::CachedResource::checkNotify() ()
at ./Source/WebCore/loader/cache/CachedResource.cpp:344
#32 0xf670df8a in WebCore::SubresourceLoader::didFinishLoading(double) ()
at ./Source/WebCore/loader/SubresourceLoader.cpp:484
#33 0xf5e622bd in WebKit::WebResourceLoader::didReceiveResource(WebKit::ShareableResource::Handle const&, double) () at ./Source/WebKit2/WebProcess/Network/WebResourceLoader.cpp:210
#34 0xf6012fe0 in IPC::callMemberFunctionImpl<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebKit::ShareableResource::Handle const&, double), std::tuple<WebKit::ShareableResource::Handle, double>, 0u, 1u>(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebKit::ShareableResource::Handle const&, double), std::tuple<WebKit::ShareableResource::Handle, double>&&, std::integer_sequence<unsigned int, 0u, 1u>) () at ./Source/WebKit2/Platform/IPC/HandleMessage.h:13
#35 0xf6012fe0 in IPC::callMemberFunction<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebKit::ShareableResource::Handle const&, double), std::tuple<WebKit::ShareableResource::Handle, double>, std::integer_sequence<unsigned int, 0u, 1u> >(std::tuple<WebKit::ShareableResource::Handle, double>&&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebKit::ShareableResource::Handle const&, double)) ()
at ./Source/WebKit2/Platform/IPC/HandleMessage.h:19
#36 0xf6012fe0 in IPC::handleMessage<Messages::WebResourceLoader::DidReceiveResource, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebKit::ShareableResource::Handle const&, double)>(IPC::Decoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebKit::ShareableResource::Handle const&, double)) () at ./Source/WebKit2/Platform/IPC/HandleMessage.h:99
#37 0xf6012fe0 in WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&, IPC::Decoder&) () at ./obj-x86_64-linux-gnux32/DerivedSources/WebKit2/WebResourceLoaderMessageReceiver.cpp:71
#38 0xf5cf9d61 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) () at ./Source/WebKit2/Platform/IPC/Connection.cpp:858
#39 0xf5cfaa33 in IPC::Connection::dispatchOneMessage() ()
at ./Source/WebKit2/Platform/IPC/Connection.cpp:889
#40 0xf331e586 in WTF::RunLoop::performWork() ()
at /usr/lib/x86_64-linux-gnux32/libjavascriptcoregtk-4.0.so.18
#41 0xf3344f88 in () at /usr/lib/x86_64-linux-gnux32/libjavascriptcoregtk-4.0.so.18
#42 0xf36b4412 in g_main_dispatch (context=0x56594df0) at ././glib/gmain.c:3203
#43 0xf36b4412 in g_main_context_dispatch (context=context at entry=0x56594df0) at ././glib/gmain.c:3856
#44 0xf36b4838 in g_main_context_iterate (context=<optimized out>, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#45 0xf36b4b52 in g_main_loop_run (loop=<optimized out>) at ././glib/gmain.c:4125
#46 0xf3345870 in WTF::RunLoop::run() () at /usr/lib/x86_64-linux-gnux32/libjavascriptcoregtk-4.0.so.18
#47 0xf5fbdf47 in WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain>(int, char**) ()
at ./Source/WebKit2/Shared/unix/ChildProcessMain.h:61
#48 0xf56ca5ad in __libc_start_main (main=<optimized out>, argc=2, argv=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0xffffd2d8) at ../csu/libc-start.c:291
#49 0x5655566b in _start ()
I have no idea why it would even use gstreamer, less so for JavaScript
(as opposed to, say, multimedia content), but hey. But at least we have
an idea where the bug could be now, and if there’s a command-line option
to disable this I didn’t find it…
> Right, I actually have an X32 VM, I was wondering if Debian has a
> machine available for testing, building webkit needs a lot of RAM.
Probably not. I just build stuff in cowbuilder on my desktop.
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
*************************************************
**Besuchen Sie uns auf der EuroShop 2017!**
**5****. ****–**** ****9****. März 2017, Messe ****Düsseldorf**
The World’s No.1 Retail Trade Fair
tarent präsentiert richtungsweisende und innovative Lösungen für den Handel.
Wir freuen uns auf Ihren Besuch (**Halle 6, Stand I52**) und empfehlen
unsere Vorträge:
**„Wettbewerbsanalyse im Handel: Preisvergleich online und offline“**
Dienstag, 7. März 2017, 16:30 Uhr im Omnichannel Forum (Halle 6 / Stand I09)
„**Smart Cart – Connected Shopping“**
Donnerstag, 9. März 2017, 11:00 Uhr im EuroCIS Forum (Halle 6 / Stand I75)
[www.tarent.de/euroshop](http://Www.tarent.de/euroshop)
**
**
**Besuchen Sie uns auf der Internet ****W****orld 2017**
**7. – 8. März 2017, Messe München**
Die E-Commerce Messe
tarent präsentiert Produkte und Dienstleistungen aus dem E-Commerce und Online
Marketing.
Wir freuen uns auf Ihren Besuch (**Halle A6, Stand C160**) und empfehlen
unsere Vortrag:
**„Wettbewerbsanalyse im Handel: Preisvergleich online und offline“**
Mittwoch, 8. März 2017, 10:20 Uhr, Halle A6, Infoarena II
[www.tarent.de/internetworld](http://www.tarent.de/internetworld)
*************************************************
**Visit us at EuroShop 2017!**
**March ****5****th –**** ****9****th, ****2017, Messe ****Dusseldorf**
The World’s No.1 Retail Trade Fair
tarent presents trendsetting and innovative solutions for retail stores.
We look forward to seeing you (**hall 6, booth I52**), and recommend our
presentations:
**„****Competitor analysis in retail: price comparison online and offline“**
Tuesday, March 7th, 2017, 4:30 pm at the Omnichannel Forum (hall 6 / booth
I09)
„**Smart Cart – Connected Shopping“**
Thursday, March 9th, 2017, at 11 am at the EuroCIS Forum (hall 6 / booth SI75)
w[ww.tarent.de/euroshop](http://Www.tarent.de/euroshop)
**Visit us at ****Internet World ****2017!**
**March 7th –**** 8****th, ****2017, Messe M****unich**
The E-Commerce fair
tarent presents products and services from e-commerce and online marketing.
We look forward to seeing you (**hall ****A****6, booth ****C160**), and
recommend our presentation:
**„****Competitor analysis in retail: price comparison online and offline“**
Wednesday, March 8th, 2017, 10:20 am (hall A6 / Infoarena II)
[www.tarent.de/internetworld](http://www.tarent.de/internetworld)
More information about the Pkg-webkit-maintainers
mailing list