Well, it seems that the crash probably occurs while double clicking on a TCustomTreeView. In that situation comctl32.dll (which is probably responsible for the tree view) crashes while reading from "nil".

My best guess would be that the tree view (or the whole form) which is crashing was maybe already freed?