Subject: bug#16457: 24.3.50; crash rendering Arabic Uthmani script

From: Dmitry Antipov <[email-masked]>
Date: Wed, 15 Jan 2014 21:24:54 +0400

Run 'emacs -Q', then visit attached file and eval '(move-to-column 10)' ==>

#0  0x00000034d9e0f62b in raise (sig=11) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  0x00000000005644fb in terminate_due_to_signal (sig=11, backtrace_limit=40) at ../../trunk/src/emacs.c:378
#2  0x000000000058e5c8 in handle_fatal_signal (sig=11) at ../../trunk/src/sysdep.c:1628
#3  0x000000000058e59d in deliver_thread_signal (sig=11, handler=0x58e5ae <handle_fatal_signal>) at ../../trunk/src/sysdep.c:1602
#4  0x000000000058e5fe in deliver_fatal_thread_signal (sig=11) at ../../trunk/src/sysdep.c:1640
#5  <signal handler called>
#6  0x000000000056134d in PSEUDOVECTOR_TYPEP (a=0x400000000d000040, code=14) at ../../trunk/src/lisp.h:2377
#7  0x00000000005613bd in PSEUDOVECTORP (a=..., code=14) at ../../trunk/src/lisp.h:2391
#8  0x00000000005614d4 in SUB_CHAR_TABLE_P (a=...) at ../../trunk/src/lisp.h:2449
#9  0x00000000004fb65a in char_table_ref (table=..., c=4195104) at ../../trunk/src/chartab.c:251
#10 0x00000000005605f8 in CHAR_TABLE_REF (ct=..., idx=4195104) at ../../trunk/src/lisp.h:1466
#11 0x00000000006846d3 in composition_compute_stop_pos (cmp_it=0x7fffa4063870, charpos=14, bytepos=26, endpos=101, string=...)
     at ../../trunk/src/composite.c:1039
#12 0x00000000005c14ad in scan_for_column (endpos=0x7fffa4063988, goalcol=0x7fffa4063978, prevcol=0x7fffa4063980)
     at ../../trunk/src/indent.c:601
#13 0x00000000005c26a7 in Fmove_to_column (column=..., force=...) at ../../trunk/src/indent.c:989
#14 0x000000000060a88c in eval_sub (form=...) at ../../trunk/src/eval.c:2179
#15 0x0000000000609f7e in Feval (form=..., lexical=...) at ../../trunk/src/eval.c:1994
#16 0x000000000060bfe0 in Ffuncall (nargs=3, args=0x7fffa4063cc8) at ../../trunk/src/eval.c:2809
#17 0x0000000000655807 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=2, args=0x7fffa4064528)
     at ../../trunk/src/bytecode.c:919
#18 0x000000000060c7fe in funcall_lambda (fun=..., nargs=2, arg_vector=0x7fffa4064518) at ../../trunk/src/eval.c:2974
#19 0x000000000060c196 in Ffuncall (nargs=3, args=0x7fffa4064510) at ../../trunk/src/eval.c:2855
#20 0x000000000060b1e8 in Fapply (nargs=2, args=0x7fffa4064620) at ../../trunk/src/eval.c:2345
#21 0x000000000060b881 in apply1 (fn=..., arg=...) at ../../trunk/src/eval.c:2579
#22 0x0000000000602e28 in Fcall_interactively (function=..., record_flag=..., keys=...) at ../../trunk/src/callint.c:378
#23 0x000000000060c00c in Ffuncall (nargs=4, args=0x7fffa4064a98) at ../../trunk/src/eval.c:2813
#24 0x0000000000655807 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x7fffa4065340)
     at ../../trunk/src/bytecode.c:919
#25 0x000000000060c7fe in funcall_lambda (fun=..., nargs=1, arg_vector=0x7fffa4065338) at ../../trunk/src/eval.c:2974
#26 0x000000000060c196 in Ffuncall (nargs=2, args=0x7fffa4065330) at ../../trunk/src/eval.c:2855
#27 0x000000000060b8eb in call1 (fn=..., arg1=...) at ../../trunk/src/eval.c:2605
#28 0x0000000000569169 in command_loop_1 () at ../../trunk/src/keyboard.c:1552
#29 0x0000000000608523 in internal_condition_case (bfun=0x568a4f <command_loop_1>, handlers=..., hfun=0x568225 <cmd_error>)
     at ../../trunk/src/eval.c:1345
#30 0x00000000005686ed in command_loop_2 (ignore=...) at ../../trunk/src/keyboard.c:1170
#31 0x00000000006079a6 in internal_catch (tag=..., func=0x5686ca <command_loop_2>, arg=...) at ../../trunk/src/eval.c:1109
#32 0x00000000005686a1 in command_loop () at ../../trunk/src/keyboard.c:1149
#33 0x0000000000567d51 in recursive_edit_1 () at ../../trunk/src/keyboard.c:777
#34 0x0000000000567f21 in Frecursive_edit () at ../../trunk/src/keyboard.c:841
#35 0x0000000000565e85 in main (argc=2, argv=0x7fffa4065838) at ../../trunk/src/emacs.c:1637

In GNU Emacs 24.3.50.25 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.6)
  of 2014-01-15 on localhost.localdomain
Repository revision: 116032 [email-masked]
Windowing system distributor `Fedora Project', version 11.0.11404000
System Description:	Fedora release 20 (Heisenbug)

Configured using:
  `configure --prefix=/not/exists --enable-gcc-warnings
  --enable-check-lisp-object-type --enable-checking 'CFLAGS=-O0 -g3''

Dmitry