GNU bug report logs - #16739
24.3.50; composition-get-gstring: wrong argument order causes crash

Previous Next

Package: emacs;

Reported by: Dmitry Antipov <dmantipov <at> yandex.ru>

Date: Thu, 13 Feb 2014 10:09:01 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16739 in the body.
You can then email your comments to 16739 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16739; Package emacs. (Thu, 13 Feb 2014 10:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitry Antipov <dmantipov <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 13 Feb 2014 10:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Antipov <dmantipov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; composition-get-gstring: wrong argument order causes crash
Date: Thu, 13 Feb 2014 14:08:14 +0400
1) emacs -Q

This is expected to be from 10 to 20, but...

2) (staying in *scratch*) M-x eval-expression (composition-get-gstring 20 10 nil nil) ==>

Program received signal SIGABRT, Aborted.
0x000000379220f62b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37	  return INLINE_SYSCALL (tgkill, 3, pid, THREAD_GETMEM (THREAD_SELF, tid),
(gdb) bt
#0  0x000000379220f62b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  0x000000000056533b in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at ../../trunk/src/emacs.c:378
#2  0x00000000005eb7e1 in die (msg=0x6f95fe "VECTORLIKEP (a)", file=0x6f95b8 "../../trunk/src/lisp.h", line=827)
    at ../../trunk/src/alloc.c:6761
#3  0x00000000005605ad in XVECTOR (a=...) at ../../trunk/src/lisp.h:827
#4  0x00000000005611ce in ASIZE (array=...) at ../../trunk/src/lisp.h:1326
#5  0x0000000000561208 in ASET (array=..., idx=0, val=...) at ../../trunk/src/lisp.h:1332
#6  0x0000000000684a6f in fill_gstring_body (gstring=...) at ../../trunk/src/composite.c:859
#7  0x0000000000688453 in Fcomposition_get_gstring (from=..., to=..., font_object=..., string=...)
    at ../../trunk/src/composite.c:1768

Dmitry




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16739; Package emacs. (Thu, 13 Feb 2014 12:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 16739 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Antipov <dmantipov <at> yandex.ru>
To: 16739 <at> debbugs.gnu.org
Subject: Re: bug#16739: 24.3.50; composition-get-gstring: wrong argument order
 causes crash
Date: Thu, 13 Feb 2014 16:19:26 +0400
On 02/13/2014 02:08 PM, Dmitry Antipov wrote:

> Program received signal SIGABRT, Aborted.
> 0x000000379220f62b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
> 37      return INLINE_SYSCALL (tgkill, 3, pid, THREAD_GETMEM (THREAD_SELF, tid),
> (gdb) bt
> #0  0x000000379220f62b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
> #1  0x000000000056533b in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at ../../trunk/src/emacs.c:378
> #2  0x00000000005eb7e1 in die (msg=0x6f95fe "VECTORLIKEP (a)", file=0x6f95b8 "../../trunk/src/lisp.h", line=827)
>      at ../../trunk/src/alloc.c:6761
> #3  0x00000000005605ad in XVECTOR (a=...) at ../../trunk/src/lisp.h:827
> #4  0x00000000005611ce in ASIZE (array=...) at ../../trunk/src/lisp.h:1326
> #5  0x0000000000561208 in ASET (array=..., idx=0, val=...) at ../../trunk/src/lisp.h:1332
> #6  0x0000000000684a6f in fill_gstring_body (gstring=...) at ../../trunk/src/composite.c:859
> #7  0x0000000000688453 in Fcomposition_get_gstring (from=..., to=..., font_object=..., string=...)
>      at ../../trunk/src/composite.c:1768

Should be fixed in r116430.

Dmitry





bug marked as fixed in version 24.4, send any further explanations to 16739 <at> debbugs.gnu.org and Dmitry Antipov <dmantipov <at> yandex.ru> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 13 Feb 2014 21:47:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Mar 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.