Poor WTR is always crashing on termination. This is a regression since r71409. The killer is me. In r71409 I haved connected the QSharedMemory object's deleteLater slot to QCoreApplication::aboutToQuit to force deletion when the SharedMemory is leaking on termination. The unsafeness of this approach is appearing when the SharedMemory's dtor is called after aboutToQuit had been emitted. In that case we are trying to delete an already deleted object and ending up in a crash. This is the situation in WTR when the UI process is terminating. (Ok, it is not really a UI process).
Created attachment 73177 [details] Patch
No crashes in run-webkit-tests.
Comment on attachment 73177 [details] Patch Clearing flags on attachment: 73177 Committed r71471: <http://trac.webkit.org/changeset/71471>
All reviewed patches have been landed. Closing bug.
Thanks for the nightly review! :)
The ASSERT need to be moved in the if as well... Crashing in fast/frames/iframe-reparenting-new-page.html
Created attachment 73357 [details] Patch
Comment on attachment 73357 [details] Patch D'oh, r=me
Comment on attachment 73357 [details] Patch Clearing flags on attachment: 73357 Committed r71624: <http://trac.webkit.org/changeset/71624>