Hi,
I have already filed a bug report. It is in the meantime more than 5 years old, I believe.😟
The issue with the workaround you mentioned is that it triggers another bug😠 (I already had the same idea). Therefore, I was looking for a second workaround. Unfortunately, I cannot provide a simple example but the bug is similar to that:
Assign the outline view to a scroll view (setDocumentView:) . Do not add any columns but remove it again and assign an new outline view. Change the size of the window containing the scroll view leads to a crash where the outline view is interpreted as a class for glyphs.
The reason seems to be that the outline view is not correctly (immediately) released when assigning a new document view to the scroll view (retain count is increased by two when assigning the outline view but is only decreased by one when another document view is assigned). Under certain conditions this will crash.