unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: 16739@debbugs.gnu.org
Subject: bug#16739: 24.3.50; composition-get-gstring: wrong argument order causes crash
Date: Thu, 13 Feb 2014 14:08:14 +0400	[thread overview]
Message-ID: <52FC998E.4050104@yandex.ru> (raw)

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





             reply	other threads:[~2014-02-13 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13 10:08 Dmitry Antipov [this message]
2014-02-13 12:19 ` bug#16739: 24.3.50; composition-get-gstring: wrong argument order causes crash Dmitry Antipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52FC998E.4050104@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=16739@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).