Bug 174730 - emacs-21.4-10 coredumps if you try to kill a modified buffer
Summary: emacs-21.4-10 coredumps if you try to kill a modified buffer
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact:
URL:
Whiteboard:
: 174899 (view as bug list)
Depends On:
Blocks: 499035
TreeView+ depends on / blocked
 
Reported: 2005-12-01 19:07 UTC by Jonathan Kamens
Modified: 2009-05-04 21:14 UTC (History)
4 users (show)

Fixed In Version: 21.4-14
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 499035 (view as bug list)
Environment:
Last Closed: 2006-03-28 03:57:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.