[Webkit-unassigned] [Bug 16944] New: Use of GST_PLUGIN_DEFINE_STATIC results in a module constructor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 19 20:05:06 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16944
Summary: Use of GST_PLUGIN_DEFINE_STATIC results in a module
constructor
Product: WebKit
Version: 525+ (Nightly build)
Platform: PC
URL: http://bugzilla.gnome.org/show_bug.cgi?id=510547
OS/Version: Linux
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mrowe at apple.com
CC: alp at atoker.com
As mentioned at <http://bugzilla.gnome.org/show_bug.cgi?id=510547>,
VideoSinkGStreamer.cpp's use of GST_PLUGIN_DEFINE_STATIC results in a global
constructor being created that calls g_thread_init() before Epiphany's main()
is entered. This results in a nasty diagnostic being emitted when Epiphany
goes on to call g_thread_init() itself.
In general we need to avoid these sorts of constructors as they add to startup
time of applications linking against WebKit, and introduce memory footprint
which may not be used until much later. In this instance the side-effect is
more severe, but we should keep an eye out for other subtler instances of this
problem.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list