I've got the same problem.  I have a simpler recipe to reproduce, not
involving gnus:

touch /tmp/somefile
emacs21 -nw -q /tmp/somefile
x C-x k RET

Basically, any attempt to kill a modified buffer crashes emacs.

I looked at the code, and it looks like format1() is making some non-
portable assumptions about the way the stack is laid out by the compiler
(editfns.c, around line 3547, with ifdef'd code removed):

Lisp_Object
format1 (string1)
     char *string1;
{
  char buf[100];
  doprnt (buf, sizeof buf, string1, (char *)0, 5, &string1 + 1);
  return build_string (buf);
}

My suspicion is that this has changed recently, and emacs is crashing as
a result.

Doing arithmetic on the address of a stack argument is just bad juju.

-- 
emacs21-x crashed with SIGSEGV when killing mail compose window in gnus 
(intrepid regression)
https://bugs.launchpad.net/bugs/290479
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to