[Webkit-unassigned] [Bug 48520] [Qt][WK2] SharedMemory should be released by the receiving process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 1 14:28:51 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48520


Balazs Kelemen <kbalazs at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #5 from Balazs Kelemen <kbalazs at webkit.org>  2010-11-01 14:28:50 PST ---
My assumtion was wrong. m_data is used after we have passed the handle at least there:
VisitedLinkProvider.cpp:122
-------
RefPtr<SharedMemory> currentTableMemory = m_table.sharedMemory();
...
const LinkHash* currentLinkHashes = static_cast<const LinkHash*>(currentTableMemory->data());
for (unsigned i = 0; i < currentTableSize; ++i) {
    LinkHash linkHash = currentLinkHashes[i];
-------

This caused crashes on our wk2 bot: http://webkit.sed.hu/buildbot/waterfall?show=x86-32%20Linux%20Qt%20Release%20WebKit2
To correctly fix it we need am additional member in SharedMemory (a bool for example).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list