It appears to me that ~LyxView() is called before ~Buffer() so when the closing() signal is emitted (line 229, buffer.C), and triggers a LyXView::setBuffer, there is no instance of LyXView. This is the also the case for msvc, but lyx/win does not report any error.
Peter, does this have anything to do with your lyx/quit cleanup? Bo