Comment #38 on issue 28749 by craig.schlen...@chromium.org: gcc  
4.4-specific renderer crash in malloc, memory corruption while loading  
plugins (?)
http://code.google.com/p/chromium/issues/detail?id=28749

How about something that tries to use the returned Type* from placement new  
rather
than casting buf? e.g.

http://codereview.chromium.org/519045/show

That's a bigger change than I was hoping for ... maybe there is an  
easier/cleaner way
but it does actually remove the aliasing issue. I did add a MemoryBarrier in
EnsureInstance which needs some more thought btw.

In the alternative small but somewhat inexplicable change camp, just moving  
instance
to be a member of lazy instance rather than a local variable also fixes  
things (in
the sense of the object code works but technically still has aliasing  
error) but that
sort of voodoo seems undesirable.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to