Bug 832802

Summary: webkitgtk should not be overriding global C++ new/delete
Product: [Fedora] Fedora Reporter: Dave Airlie <airlied>
Component: webkitgtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: fche, fedora, kalevlember, mclasen, phatina
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-26 08:49:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Airlie 2012-06-17 14:08:42 UTC
Description of problem:

When gnome-control-center loads webkitgtk via one plugin and dri drivers via another plugin, some llvm code seems to allocate a string via webkit allocator and frees it via the default allocator. This is something that I'm not sure isn't a gcc/libstdc++ bug but from reading on webkit, its recommended on some platform to not override the default malloc. It also appears that webkitqt doesn't do this.

So we should patch webkitgtk3 to not enable its global memory allocator override.

Comment 1 Frank Ch. Eigler 2012-06-17 15:39:32 UTC
Or at least it should hide its definition of these symbols from the dynamic symbol table via  __attribute__ ((visibility ("hidden"))) -- see also http://gcc.gnu.org/wiki/Visibility

Comment 2 Kalev Lember 2012-07-20 22:01:00 UTC
Looks like http://trac.webkit.org/changeset/122011/releases/WebKitGTK/webkit-1.8 is supposed to fix this on upstream 1.8 branch.

Comment 3 Fedora Update System 2012-08-30 18:25:03 UTC
webkitgtk3-1.8.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/webkitgtk3-1.8.3-1.fc17

Comment 4 Fedora Update System 2012-08-31 00:59:36 UTC
Package webkitgtk3-1.8.3-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing webkitgtk3-1.8.3-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13029/webkitgtk3-1.8.3-1.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-09-26 08:49:12 UTC
webkitgtk3-1.8.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.