Bug 174730

Summary: emacs-21.4-10 coredumps if you try to kill a modified buffer
Product: [Fedora] Fedora Reporter: Jonathan Kamens <h1k6zn2m>
Component: emacsAssignee: Jens Petersen <petersen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bkyoung, jakub, paul, sopwith
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 21.4-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 499035 (view as bug list) Environment:
Last Closed: 2006-03-28 03:57:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 499035    

Description Jonathan Kamens 2005-12-01 19:07:28 UTC
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.

Comment 1 Jonathan Kamens 2005-12-01 22:00:10 UTC
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.


Comment 2 Paul Dickson 2005-12-02 10:36:10 UTC
I hit this bug too.

Comment 3 Jens Petersen 2005-12-12 07:58:35 UTC
Is this still reproducible with current rawhide?

I don't see it with "emacs -nw" nor when running emacs-x over ssh currently.


Comment 4 Jens Petersen 2005-12-12 08:01:54 UTC
*** Bug 174899 has been marked as a duplicate of this bug. ***

Comment 5 Jonathan Kamens 2005-12-12 14:48:58 UTC
This problem persists for me in emacs-21.4-10.1 when running emacs -nw.


Comment 6 Paul Dickson 2005-12-12 19:22:17 UTC
I still have problem with emacs-21.4-10.1, with and without the -nw argument.

Comment 7 Jens Petersen 2005-12-13 04:23:30 UTC
rawhide-i386?  Sorry I only tested on x86_64...

Comment 8 Jonathan Kamens 2005-12-13 13:51:55 UTC
Yes, i386.


Comment 9 Jens Petersen 2005-12-14 02:38:21 UTC
Thanks.  Reproduced on x86_64 console with emacs.i386 too.

Comment 10 Jens Petersen 2005-12-14 08:05:29 UTC
[CCing Jakub and redhat-rpm-config owner]

Thanks, Jonathan, for the report and fix.
Should be in emacs-21.4-11.

Comment 11 Jens Petersen 2006-03-28 03:57:02 UTC
Fix should be in FC5.