Hi! > Right, on a hunch that it's something to do with Emacs receiving and > processing signals or input of some sort during or immediately after > minimization, I tried wrapping > > [[view window] miniaturize: NSApp]; > > in x_iconify_frame with block_input and unblock_input: > > block_input(); > [[view window] miniaturize: NSApp]; > unblock_input(); > > which seems to have solved the crash. > This seems like a much cleaner solution than the earlier. It looks very similar to the startup crash I tracked down a fixed about a year ago, when input events started to arrive before emacs had finished its initialization. -- Anders