Comment 8 for bug 1566050

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : Re: soffice.bin crashed with SIGSEGV in MenuItemData::~MenuItemData()

This appears to be a regression from https://github.com/LibreOffice/core/commit/2660d24a07866e083c5135ea263030f3e3a2e729 (havent verified that yet):

1/ Since that change mxAccessible in ScCsvGrid holds a rtl::Reference on a ScAccessibleCsvGrid
2/ Which in turn holds a VclPtr<> (aka a rtl::Reference with lipstick) on the ScCsvControl

These are a circular references, making both of them live forever and leak past the point where on LibreOffice close all of Vcl is long gone, when these are dtored. Trying to kill Vcl stuff at that point then blows up (because the stuff to kill is long dead).