On 08/13/2012 11:24 PM, Eli Zaretskii wrote: > Perhaps related, the current trunk (revision 109586) segfaults on > startup ("emacs -Q") on GNU/Linux, with the following backtrace: Eli, please review a fix. This looks simple: it's wrong to look at with f->output_data.XXX without checking f->output_method first, so, FRAME_X_OUTPUT (f) may be non-zero for TTY frames, and segfault comes when xg_mark_data looks at initial ("F1") frame with non-zero f->output_data.tty member. Dmitry