With emacs-21.4-10, load a file into emacs with C-x C-f, type a few characters, then type C-x k RET, and emacs will coredump. It's coredumping at doprint.c:249. The cause of the coredump is, I believe the gcc problem documented in bug 174728.
The problem is the -fstack-protector that's being passed to the emacs build, presumably from RPM. If you filter that option from CFLAGS and rebuild emacs, it doesn't crash anymore when the above scenario is executed.
I hit this bug too.
Is this still reproducible with current rawhide? I don't see it with "emacs -nw" nor when running emacs-x over ssh currently.
*** Bug 174899 has been marked as a duplicate of this bug. ***
This problem persists for me in emacs-21.4-10.1 when running emacs -nw.
I still have problem with emacs-21.4-10.1, with and without the -nw argument.
rawhide-i386? Sorry I only tested on x86_64...
Yes, i386.
Thanks. Reproduced on x86_64 console with emacs.i386 too.
[CCing Jakub and redhat-rpm-config owner] Thanks, Jonathan, for the report and fix. Should be in emacs-21.4-11.
Fix should be in FC5.