unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16739: 24.3.50; composition-get-gstring: wrong argument order causes crash
@ 2014-02-13 10:08 Dmitry Antipov
  2014-02-13 12:19 ` Dmitry Antipov
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Antipov @ 2014-02-13 10:08 UTC (permalink / raw)
  To: 16739

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#16739: 24.3.50; composition-get-gstring: wrong argument order causes crash
  2014-02-13 10:08 bug#16739: 24.3.50; composition-get-gstring: wrong argument order causes crash Dmitry Antipov
@ 2014-02-13 12:19 ` Dmitry Antipov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Antipov @ 2014-02-13 12:19 UTC (permalink / raw)
  To: 16739

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-13 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 10:08 bug#16739: 24.3.50; composition-get-gstring: wrong argument order causes crash Dmitry Antipov
2014-02-13 12:19 ` Dmitry Antipov

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