[Bug 290479] Re: emacs21-x crashed with SIGSEGV when killing mail compose window in gnus (intrepid regression)

2016-01-23 Thread dino99
This version has died long ago; no more supported

** Changed in: emacs21 (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/290479

Title:
  emacs21-x crashed with SIGSEGV when killing mail compose window in
  gnus (intrepid regression)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs21/+bug/290479/+subscriptions

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


[Bug 290479] Re: emacs21-x crashed with SIGSEGV when killing mail compose window in gnus (intrepid regression)

2009-01-23 Thread Marc Horowitz
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


[Bug 290479] Re: emacs21-x crashed with SIGSEGV when killing mail compose window in gnus (intrepid regression)

2008-10-28 Thread James Troup

** Attachment added: CoreDump.gz
   http://launchpadlibrarian.net/18971749/CoreDump.gz

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/18971750/Dependencies.txt

** Attachment added: ProcMaps.txt
   http://launchpadlibrarian.net/18971751/ProcMaps.txt

** Attachment added: ProcStatus.txt
   http://launchpadlibrarian.net/18971752/ProcStatus.txt

** Attachment added: Registers.txt
   http://launchpadlibrarian.net/18971753/Registers.txt

** Visibility changed to: Public

-- 
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


[Bug 290479] Re: emacs21-x crashed with SIGSEGV when killing mail compose window in gnus (intrepid regression)

2008-10-28 Thread Apport retracing service

StacktraceTop:?? ()

** Tags removed: need-i386-retrace

** Tags added: apport-failed-retrace

** Attachment added: Stacktrace.txt (retraced)
   http://launchpadlibrarian.net/18972515/Stacktrace.txt

-- 
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


[Bug 290479] Re: emacs21-x crashed with SIGSEGV when killing mail compose window in gnus (intrepid regression)

2008-10-28 Thread Kees Cook
#0  0xf7b93d41 in kill () from /lib/libc.so.6
#1  0x080e5543 in fatal_error_signal (sig=11)
at /build/buildd/emacs21-21.4a+1/src/emacs.c:368
#2  signal handler called
#3  0xf7bdbf0b in strlen () from /lib/libc.so.6
#4  0x0817f4c7 in doprnt1 (lispstrings=0, 
buffer=0xff8cc20c Buffer \b,�)\030,�)\030\234\225�8�r,[EMAIL 
PROTECTED],\030�y,(,�)[EMAIL PROTECTED],�)\030/, bufsize=92, 
format=0x819b850 Buffer %s modified; kill anyway? , 
format_end=0x819b871 , nargs=5, args=0xff8cc204)
at /build/buildd/emacs21-21.4a+1/src/doprnt.c:249
#5  0x0813c749 in format1 (
string1=0x819b850 Buffer %s modified; kill anyway? )
at /build/buildd/emacs21-21.4a+1/src/editfns.c:3566

-- 
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