Bug 832802 - webkitgtk should not be overriding global C++ new/delete
Summary: webkitgtk should not be overriding global C++ new/delete
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: webkitgtk3
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-17 14:08 UTC by Dave Airlie
Modified: 2012-09-26 08:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-26 08:49:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.