From: Po Lu <luangruo@yahoo.com>
To: emacs-devel@gnu.org
Subject: Bidi crash?
Date: Fri, 10 Feb 2023 11:31:42 +0800 [thread overview]
Message-ID: <87sffe2o2p.fsf@yahoo.com> (raw)
In-Reply-To: 87sffe2o2p.fsf.ref@yahoo.com
Last night I got the following crash trying to view etc/HELLO on the
Android port.
But I am not sure whether or not it is a problem in redisplay, or if it
is a problem with the font driver used on Android.
Here is the backtrace:
#0 0x0000007619995954 in emacs_abort () at /src/android.c:4649
#1 0x00000076197ad6f0 in bidi_cache_iterator_state (bidi_it=0x76192caaf0, resolved=true, update_only=false)
at /src/bidi.c:801
#2 0x00000076197ad25c in bidi_move_to_visually_next (bidi_it=0x76192cd6c0)
at /src/bidi.c:3480
#3 0x00000076196cd140 in set_iterator_to_next (it=0x76192ccc88, reseat_p=true)
at /src/xdisp.c:8427
#4 0x00000076196ee7f4 in display_line (it=0x76192ccc88, cursor_vpos=4)
at /src/xdisp.c:25216
#5 0x00000076196ebac4 in try_window (window=0x7617c98c35, pos=..., flags=1)
at /src/xdisp.c:20584
#6 0x0000007619723cc4 in redisplay_window (window=0x7617c98c35, just_this_one_p=false)
at /src/xdisp.c:19968
#7 0x0000007619721c5c in redisplay_window_0 (window=0x7617c98c35)
at /src/xdisp.c:17454
#8 0x00000076198a9c80 in internal_condition_case_1 (bfun=0x7619721c18 <redisplay_window_0>, arg=0x7617c98c35,
handlers=0x761b638033, hfun=0x7619720bf8 <redisplay_window_error>)
at /src/eval.c:1498
#9 0x0000007619720b1c in redisplay_windows (window=0x7617c98c35)
at /src/xdisp.c:17424
#10 0x00000076196e3364 in redisplay_internal () at /src/xdisp.c:16874
#11 0x00000076196e0920 in echo_area_display (update_frame_p=true)
at /src/xdisp.c:13045
#12 0x00000076196e0318 in message3_nolog (m=0x7613b38364)
at /src/xdisp.c:11963
#13 0x00000076196dfffc in message3 (m=0x7613b38364) at /src/xdisp.c:11893
#14 0x000000761989ad10 in Fmessage (nargs=2, args=0x7618c001d0)
at /src/editfns.c:3169
#15 0x00000076198adac8 in funcall_subr (subr=0x7619ac9008 <Smessage>, numargs=2, args=0x7618c001d0)
at /src/eval.c:3061
#16 0x0000007619903304 in exec_byte_code (fun=0x76182fbcdd, args_template=513, nargs=1, args=0x7618c00298)
at /src/bytecode.c:809
#17 0x00000076198b116c in fetch_and_exec_byte_code (fun=0x7617a1eeed, args_template=257, nargs=1,
args=0x7618c000e8) at /src/eval.c:3083
#18 0x00000076198adcb0 in funcall_lambda (fun=0x7617a1eeed, nargs=1, arg_vector=0x7618c000e8)
at /src/eval.c:3155
#19 0x00000076198ad630 in funcall_general (fun=0x7617a1eeed, numargs=1, args=0x7618c000e8)
at /src/eval.c:2947
#20 0x000000761990331c in exec_byte_code (fun=0x761836fd55, args_template=0, nargs=0, args=0x76192d5628)
at /src/bytecode.c:811
#21 0x00000076198b116c in fetch_and_exec_byte_code (fun=0x761836fd55, args_template=0, nargs=0,
args=0x76192d5628) at /src/eval.c:3083
#22 0x00000076198adcb0 in funcall_lambda (fun=0x761836fd55, nargs=0, arg_vector=0x76192d5628)
at /src/eval.c:3155
#23 0x00000076198ad630 in funcall_general (fun=0x761836fd55, numargs=0, args=0x76192d5628)
at /src/eval.c:2947
#24 0x00000076198a8bd8 in Ffuncall (nargs=1, args=0x76192d5620)
at /src/eval.c:2997
Here is the bidi_it:
$14 = {
bytepos = 529,
charpos = 467,
ch = 1501,
nchars = 1,
ch_len = 2,
type = STRONG_R,
type_after_wn = STRONG_R,
orig_type = STRONG_R,
resolved_level = 1 '\001',
isolate_level = 0 '\000',
invalid_levels = 0,
invalid_isolates = 0,
prev = {
charpos = 466,
type = STRONG_R,
orig_type = WEAK_NSM
},
last_strong = {
charpos = 466,
type = STRONG_R,
orig_type = WEAK_NSM
},
next_for_neutral = {
charpos = -1,
type = UNKNOWN_BT,
orig_type = UNKNOWN_BT
},
prev_for_neutral = {
charpos = 466,
type = STRONG_R,
orig_type = WEAK_NSM
},
next_for_ws = {
charpos = 461,
type = STRONG_R,
orig_type = UNKNOWN_BT
},
bracket_pairing_pos = -1,
bracket_enclosed_type = UNKNOWN_BT,
next_en_pos = 0,
next_en_type = UNKNOWN_BT,
sos = L2R,
scan_dir = -1,
disp_pos = 502,
disp_prop = 0,
stack_idx = 0,
level_stack = {{
next_for_neutral_pos = 0,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228498950,
next_for_neutral_type = 6,
last_strong_type = 1,
prev_for_neutral_type = 1,
level = 132 '\204',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507133583872,
next_for_neutral_type = 3,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 221 '\335',
flags = 5 '\005'
}, {
next_for_neutral_pos = 507228499048,
next_for_neutral_type = 2,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 422493952927598000,
next_for_neutral_type = 6,
last_strong_type = 1,
prev_for_neutral_type = 1,
level = 132 '\204',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507133583872,
next_for_neutral_type = 5,
last_strong_type = 3,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228499024,
next_for_neutral_type = 4,
last_strong_type = 0,
prev_for_neutral_type = 5,
level = 153 '\231',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507113955173,
next_for_neutral_type = 4,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507133583872,
next_for_neutral_type = 5,
last_strong_type = 3,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228499136,
next_for_neutral_type = 4,
last_strong_type = 3,
prev_for_neutral_type = 2,
level = 155 '\233',
flags = 25 '\031'
}, {
next_for_neutral_pos = 13192023844,
next_for_neutral_type = 2,
last_strong_type = 2,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 82,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 5,
level = 140 '\214',
flags = 25 '\031'
}, {
next_for_neutral_pos = 6446745912797,
next_for_neutral_type = 5,
last_strong_type = 3,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507241512184,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507241559456,
next_for_neutral_type = 5,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507113983024,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 1,
level = 141 '\215',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507228499184,
next_for_neutral_type = 0,
last_strong_type = 7,
prev_for_neutral_type = 5,
level = 155 '\233',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507228499184,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507113983024,
next_for_neutral_type = 5,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507228499264,
next_for_neutral_type = 4,
last_strong_type = 5,
prev_for_neutral_type = 0,
level = 141 '\215',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507111734885,
next_for_neutral_type = 5,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 51 '3',
flags = 18 '\022'
}, {
next_for_neutral_pos = 4622888722500472013,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 6447053753397,
next_for_neutral_type = 5,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507205221472,
next_for_neutral_type = 5,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 52 '4',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507228499840,
next_for_neutral_type = 4,
last_strong_type = 3,
prev_for_neutral_type = 7,
level = 149 '\225',
flags = 25 '\031'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 1,
last_strong_type = 7,
prev_for_neutral_type = 1,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 896,
next_for_neutral_type = 1,
last_strong_type = 7,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 1208,
next_for_neutral_type = 1,
last_strong_type = 0,
prev_for_neutral_type = 5,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 940,
next_for_neutral_type = 1,
last_strong_type = 6,
prev_for_neutral_type = 5,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 55834574849,
next_for_neutral_type = 5,
last_strong_type = 7,
prev_for_neutral_type = 6,
level = 248 '\370',
flags = 17 '\021'
}, {
next_for_neutral_pos = 1477,
next_for_neutral_type = 5,
last_strong_type = 7,
prev_for_neutral_type = 6,
level = 248 '\370',
flags = 17 '\021'
}, {
next_for_neutral_pos = 507136225616,
next_for_neutral_type = 0,
last_strong_type = 7,
prev_for_neutral_type = 6,
level = 248 '\370',
flags = 17 '\021'
}, {
next_for_neutral_pos = 72057649872502785,
next_for_neutral_type = 5,
last_strong_type = 7,
prev_for_neutral_type = 6,
level = 248 '\370',
flags = 17 '\021'
}, {
next_for_neutral_pos = 507136225616,
next_for_neutral_type = 0,
last_strong_type = 2,
prev_for_neutral_type = 5,
level = 172 '\254',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507228499552,
next_for_neutral_type = 0,
last_strong_type = 4,
prev_for_neutral_type = 4,
level = 147 '\223',
flags = 25 '\031'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 4,
last_strong_type = 1,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507113955173,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 1,
level = 114 'r',
flags = 43 '+'
}, {
next_for_neutral_pos = 507205221472,
next_for_neutral_type = 5,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507535094848,
next_for_neutral_type = 0,
last_strong_type = 4,
prev_for_neutral_type = 1,
level = 201 '\311',
flags = 23 '\027'
}, {
next_for_neutral_pos = 507113955173,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507111595989,
next_for_neutral_type = 3,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507136593920,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507111493589,
next_for_neutral_type = 2,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 6447168269984,
next_for_neutral_type = 5,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 212 '\324',
flags = 23 '\027'
}, {
next_for_neutral_pos = 507205221472,
next_for_neutral_type = 1,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 467,
next_for_neutral_type = 3,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 1,
next_for_neutral_type = 3,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228500104,
next_for_neutral_type = 0,
last_strong_type = 7,
prev_for_neutral_type = 6,
level = 248 '\370',
flags = 17 '\021'
}, {
next_for_neutral_pos = 507124868627,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 162 '\242',
flags = 254 '\376'
}, {
next_for_neutral_pos = 507228499696,
next_for_neutral_type = 4,
last_strong_type = 3,
prev_for_neutral_type = 3,
level = 136 '\210',
flags = 25 '\031'
}, {
next_for_neutral_pos = 15264,
next_for_neutral_type = 3,
last_strong_type = 2,
prev_for_neutral_type = 0,
level = 255 '\377',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507113983029,
next_for_neutral_type = 5,
last_strong_type = 4,
prev_for_neutral_type = 5,
level = 88 'X',
flags = 18 '\022'
}, {
next_for_neutral_pos = 320,
next_for_neutral_type = 5,
last_strong_type = 4,
prev_for_neutral_type = 6,
level = 105 'i',
flags = 27 '\033'
}, {
next_for_neutral_pos = 5,
next_for_neutral_type = 5,
last_strong_type = 4,
prev_for_neutral_type = 6,
level = 105 'i',
flags = 27 '\033'
}, {
next_for_neutral_pos = 507228499776,
next_for_neutral_type = 0,
last_strong_type = 3,
prev_for_neutral_type = 3,
level = 140 '\214',
flags = 25 '\031'
}, {
next_for_neutral_pos = 5024431776,
next_for_neutral_type = 5,
last_strong_type = 4,
prev_for_neutral_type = 6,
level = 105 'i',
flags = 27 '\033'
}, {
next_for_neutral_pos = 507241878376,
next_for_neutral_type = 5,
last_strong_type = 4,
prev_for_neutral_type = 6,
level = 105 'i',
flags = 27 '\033'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 5,
last_strong_type = 4,
prev_for_neutral_type = 6,
level = 105 'i',
flags = 27 '\033'
}, {
next_for_neutral_pos = 507228500048,
next_for_neutral_type = 2,
last_strong_type = 0,
prev_for_neutral_type = 5,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228499952,
next_for_neutral_type = 0,
last_strong_type = 2,
prev_for_neutral_type = 0,
level = 51 '3',
flags = 186 '\272'
}, {
next_for_neutral_pos = 4717326624,
next_for_neutral_type = 5,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 52 '4',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507228500256,
next_for_neutral_type = 0,
last_strong_type = 4,
prev_for_neutral_type = 5,
level = 149 '\225',
flags = 25 '\031'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 3,
last_strong_type = 0,
prev_for_neutral_type = 3,
level = 21 '\025',
flags = 98 'b'
}, {
next_for_neutral_pos = 507535605408,
next_for_neutral_type = 0,
last_strong_type = 1,
prev_for_neutral_type = 6,
level = 45 '-',
flags = 25 '\031'
}, {
next_for_neutral_pos = 12,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 114 'r',
flags = 1 '\001'
}, {
next_for_neutral_pos = 1,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 122 'z',
flags = 43 '+'
}, {
next_for_neutral_pos = 507734153760,
next_for_neutral_type = 0,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 45 '-',
flags = 25 '\031'
}, {
next_for_neutral_pos = 296,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 3,
level = 151 '\227',
flags = 19 '\023'
}, {
next_for_neutral_pos = 48,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 3,
level = 151 '\227',
flags = 19 '\023'
}, {
next_for_neutral_pos = 6446748839992,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 3,
level = 151 '\227',
flags = 19 '\023'
}, {
next_for_neutral_pos = 4294967298,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 80 'P',
flags = 18 '\022'
}, {
next_for_neutral_pos = 120259084288,
next_for_neutral_type = 2,
last_strong_type = 5,
prev_for_neutral_type = 3,
level = 79 'O',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507134839488,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 4 '\004',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507228500160,
next_for_neutral_type = 4,
last_strong_type = 3,
prev_for_neutral_type = 1,
level = 124 '|',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507108855853,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507133583948,
next_for_neutral_type = 6,
last_strong_type = 0,
prev_for_neutral_type = 4,
level = 44 ',',
flags = 25 '\031'
}, {
next_for_neutral_pos = 296,
next_for_neutral_type = 2,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 3,
next_for_neutral_type = 3,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507133583948,
next_for_neutral_type = 0,
last_strong_type = 1,
prev_for_neutral_type = 1,
level = 132 '\204',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507235711008,
next_for_neutral_type = 2,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 4,
next_for_neutral_type = 0,
last_strong_type = 1,
prev_for_neutral_type = 1,
level = 132 '\204',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507228500230,
next_for_neutral_type = 6,
last_strong_type = 1,
prev_for_neutral_type = 1,
level = 132 '\204',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507133583872,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 6,
level = 129 '\201',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507135072000,
next_for_neutral_type = 0,
last_strong_type = 4,
prev_for_neutral_type = 7,
level = 191 '\277',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507133761664,
next_for_neutral_type = 0,
last_strong_type = 7,
prev_for_neutral_type = 5,
level = 44 ',',
flags = 25 '\031'
}, {
next_for_neutral_pos = 86226788864,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228500384,
next_for_neutral_type = 0,
last_strong_type = 3,
prev_for_neutral_type = 2,
level = 155 '\233',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507228500496,
next_for_neutral_type = 4,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507133583872,
next_for_neutral_type = 5,
last_strong_type = 3,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228500416,
next_for_neutral_type = 4,
last_strong_type = 3,
prev_for_neutral_type = 2,
level = 155 '\233',
flags = 25 '\031'
}, {
next_for_neutral_pos = -38996832,
next_for_neutral_type = 0,
last_strong_type = 5,
prev_for_neutral_type = 5,
level = 248 '\370',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507241508008,
next_for_neutral_type = 0,
last_strong_type = 4,
prev_for_neutral_type = 6,
level = 249 '\371',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507228500414,
next_for_neutral_type = 5,
last_strong_type = 3,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507113983024,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228500464,
next_for_neutral_type = 4,
last_strong_type = 3,
prev_for_neutral_type = 4,
level = 155 '\233',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507113983024,
next_for_neutral_type = 6,
last_strong_type = 2,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228500464,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507241507864,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228501200,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 89 'Y',
flags = 18 '\022'
}, {
next_for_neutral_pos = 507228500512,
next_for_neutral_type = 4,
last_strong_type = 7,
prev_for_neutral_type = 5,
level = 111 'o',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507241507864,
next_for_neutral_type = 0,
last_strong_type = 2,
prev_for_neutral_type = 3,
level = 44 ',',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507108972176,
next_for_neutral_type = 0,
last_strong_type = 1,
prev_for_neutral_type = 2,
level = 44 ',',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507228501216,
next_for_neutral_type = 4,
last_strong_type = 6,
prev_for_neutral_type = 6,
level = 111 'o',
flags = 25 '\031'
}, {
next_for_neutral_pos = 467,
next_for_neutral_type = 5,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 81604378629,
next_for_neutral_type = 0,
last_strong_type = 4,
prev_for_neutral_type = 1,
level = 201 '\311',
flags = 23 '\027'
}, {
next_for_neutral_pos = 507228501216,
next_for_neutral_type = 4,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 108 'l',
flags = 25 '\031'
}, {
next_for_neutral_pos = 497,
next_for_neutral_type = 0,
last_strong_type = 7,
prev_for_neutral_type = 6,
level = 248 '\370',
flags = 17 '\021'
}, {
next_for_neutral_pos = 507228500624,
next_for_neutral_type = 4,
last_strong_type = 1,
prev_for_neutral_type = 6,
level = 148 '\224',
flags = 25 '\031'
}, {
next_for_neutral_pos = 32,
next_for_neutral_type = 1,
last_strong_type = 6,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 43372032704,
next_for_neutral_type = 3,
last_strong_type = 2,
prev_for_neutral_type = 7,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 467,
next_for_neutral_type = 0,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 4717327368,
next_for_neutral_type = 7,
last_strong_type = 5,
prev_for_neutral_type = 7,
level = 173 '\255',
flags = 19 '\023'
}, {
next_for_neutral_pos = 507228501024,
next_for_neutral_type = 4,
last_strong_type = 6,
prev_for_neutral_type = 3,
level = 148 '\224',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507228500880,
next_for_neutral_type = 4,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 111 'o',
flags = 25 '\031'
}, {
next_for_neutral_pos = 1122,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 1,
next_for_neutral_type = 5,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 48,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 5,
last_strong_type = 6,
prev_for_neutral_type = 0,
level = 175 '\257',
flags = 19 '\023'
}, {
next_for_neutral_pos = 0,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 48,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507228507272,
next_for_neutral_type = 0,
last_strong_type = 5,
prev_for_neutral_type = 5,
level = 248 '\370',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507242063000,
next_for_neutral_type = 0,
last_strong_type = 1,
prev_for_neutral_type = 0,
level = 44 ',',
flags = 25 '\031'
}, {
next_for_neutral_pos = 507241878376,
next_for_neutral_type = 7,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 462,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507204538229,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 558,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
}, {
next_for_neutral_pos = 507136283119,
next_for_neutral_type = 4,
last_strong_type = 4,
prev_for_neutral_type = 7,
level = 147 '\223',
flags = 25 '\031'
}},
string = {
lstring = 0x0,
s = 0x1f411f88bbd <error: Cannot access memory at address 0x1f411f88bbd>,
schars = 0,
bufpos = 6447144995893,
from_disp_str = true,
unibyte = true
},
w = 0x6e6,
paragraph_dir = (unknown: 0x2b72f440),
separator_limit = 0,
first_elt = false,
new_paragraph = false,
frame_window_p = false
}
Here is the struct it:
$4 = {
window = 0x7617c98c35,
w = 0x7617c98c30,
f = 0x7617c97c60,
method = GET_FROM_BUFFER,
stop_charpos = 554,
prev_stop = 454,
base_level_stop = 454,
end_charpos = 4787,
narrowed_begv = 0,
narrowed_zv = 0,
locked_narrowing_begv = 0,
locked_narrowing_zv = 0,
s = 0x0,
string_nchars = 0,
multibyte_p = true,
tab_line_p = false,
header_line_p = false,
string_from_display_prop_p = false,
string_from_prefix_prop_p = false,
from_disp_prop_p = false,
ellipsis_p = false,
avoid_cursor_p = false,
dp = 0x7617a44c78,
dpvec = 0x0,
dpend = 0x0,
dpvec_char_len = 0,
dpvec_face_id = 0,
saved_face_id = 0,
ctl_chars = {0x0 <repeats 16 times>},
start = {
pos = {
charpos = 441,
bytepos = 497
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
},
current = {
pos = {
charpos = 467,
bytepos = 529
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
},
n_overlay_strings = 0,
overlay_strings_charpos = 454,
overlay_strings = {0x0 <repeats 16 times>},
--Type <RET> for more, q to quit, c to continue without paging--c
string_overlays = {0x0 <repeats 16 times>},
string = 0x0,
from_overlay = 0x0,
stack = {{
string = 0x0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
prev_stop = 0,
base_level_stop = 0,
cmp_it = {
stop_pos = 0,
id = 0,
ch = 0,
rule_idx = 0,
lookback = 0,
nglyphs = 0,
reversed_p = false,
parent_it = 0x0,
charpos = 0,
nchars = 0,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
face_id = 0,
u = {
image = {
object = 0x0,
slice = {
x = 0x0,
y = 0x0,
width = 0x0,
height = 0x0
},
image_id = 0
},
stretch = {
object = 0x0
},
xwidget = {
object = 0x0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 0x0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
paragraph_embedding = NEUTRAL_DIR,
multibyte_p = false,
string_from_display_prop_p = false,
string_from_prefix_prop_p = false,
display_ellipsis_p = false,
avoid_cursor_p = false,
bidi_p = false,
from_disp_prop_p = false,
line_wrap = TRUNCATE,
voffset = 0,
space_width = 0x0,
font_height = 0x0
}, {
string = 0x0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
prev_stop = 0,
base_level_stop = 0,
cmp_it = {
stop_pos = 0,
id = 0,
ch = 0,
rule_idx = 0,
lookback = 0,
nglyphs = 0,
reversed_p = false,
parent_it = 0x0,
charpos = 0,
nchars = 0,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
face_id = 0,
u = {
image = {
object = 0x0,
slice = {
x = 0x0,
y = 0x0,
width = 0x0,
height = 0x0
},
image_id = 0
},
stretch = {
object = 0x0
},
xwidget = {
object = 0x0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 0x0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
paragraph_embedding = NEUTRAL_DIR,
multibyte_p = false,
string_from_display_prop_p = false,
string_from_prefix_prop_p = false,
display_ellipsis_p = false,
avoid_cursor_p = false,
bidi_p = false,
from_disp_prop_p = false,
line_wrap = TRUNCATE,
voffset = 0,
space_width = 0x0,
font_height = 0x0
}, {
string = 0x0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
prev_stop = 0,
base_level_stop = 0,
cmp_it = {
stop_pos = 0,
id = 0,
ch = 0,
rule_idx = 0,
lookback = 0,
nglyphs = 0,
reversed_p = false,
parent_it = 0x0,
charpos = 0,
nchars = 0,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
face_id = 0,
u = {
image = {
object = 0x0,
slice = {
x = 0x0,
y = 0x0,
width = 0x0,
height = 0x0
},
image_id = 0
},
stretch = {
object = 0x0
},
xwidget = {
object = 0x0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 0x0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
paragraph_embedding = NEUTRAL_DIR,
multibyte_p = false,
string_from_display_prop_p = false,
string_from_prefix_prop_p = false,
display_ellipsis_p = false,
avoid_cursor_p = false,
bidi_p = false,
from_disp_prop_p = false,
line_wrap = TRUNCATE,
voffset = 0,
space_width = 0x0,
font_height = 0x0
}, {
string = 0x0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
prev_stop = 0,
base_level_stop = 0,
cmp_it = {
stop_pos = 0,
id = 0,
ch = 0,
rule_idx = 0,
lookback = 0,
nglyphs = 0,
reversed_p = false,
parent_it = 0x0,
charpos = 0,
nchars = 0,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
face_id = 0,
u = {
image = {
object = 0x0,
slice = {
x = 0x0,
y = 0x0,
width = 0x0,
height = 0x0
},
image_id = 0
},
stretch = {
object = 0x0
},
xwidget = {
object = 0x0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 0x0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
paragraph_embedding = NEUTRAL_DIR,
multibyte_p = false,
string_from_display_prop_p = false,
string_from_prefix_prop_p = false,
display_ellipsis_p = false,
avoid_cursor_p = false,
bidi_p = false,
from_disp_prop_p = false,
line_wrap = TRUNCATE,
voffset = 0,
space_width = 0x0,
font_height = 0x0
}, {
string = 0x0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
prev_stop = 0,
base_level_stop = 0,
cmp_it = {
stop_pos = 0,
id = 0,
ch = 0,
rule_idx = 0,
lookback = 0,
nglyphs = 0,
reversed_p = false,
parent_it = 0x0,
charpos = 0,
nchars = 0,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
face_id = 0,
u = {
image = {
object = 0x0,
slice = {
x = 0x0,
y = 0x0,
width = 0x0,
height = 0x0
},
image_id = 0
},
stretch = {
object = 0x0
},
xwidget = {
object = 0x0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 0x0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
paragraph_embedding = NEUTRAL_DIR,
multibyte_p = false,
string_from_display_prop_p = false,
string_from_prefix_prop_p = false,
display_ellipsis_p = false,
avoid_cursor_p = false,
bidi_p = false,
from_disp_prop_p = false,
line_wrap = TRUNCATE,
voffset = 0,
space_width = 0x0,
font_height = 0x0
}},
sp = 0,
selective = 0,
what = IT_CHARACTER,
face_id = 28,
selective_display_ellipsis_p = true,
ctl_arrow_p = true,
face_box_p = false,
start_of_box_run_p = false,
end_of_box_run_p = false,
overlay_strings_at_end_processed_p = false,
ignore_overlay_strings_at_pos_p = false,
glyph_not_available_p = true,
starts_in_middle_of_char_p = false,
face_before_selective_p = false,
constrain_row_ascent_descent_p = false,
line_number_produced_p = false,
line_wrap = WINDOW_WRAP,
base_face_id = 0,
c = 1501,
len = 2,
cmp_it = {
stop_pos = 466,
id = -1,
ch = 1465,
rule_idx = 2,
lookback = 1,
nglyphs = 0,
reversed_p = false,
parent_it = 0x76192ccc88,
charpos = 0,
nchars = 2,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
char_to_display = 1501,
glyphless_method = GLYPHLESS_DISPLAY_HEX_CODE,
image_id = 0,
xwidget = 0x0,
slice = {
x = 0x0,
y = 0x0,
width = 0x0,
height = 0x0
},
space_width = 0x0,
voffset = 0,
tab_width = 42,
font_height = 0x0,
object = 0x7611f88bbd,
position = {
charpos = 467,
bytepos = 529
},
truncation_pixel_width = 0,
continuation_pixel_width = 13,
first_visible_x = 0,
last_visible_x = 704,
last_visible_y = 1242,
extra_line_spacing = 0,
max_extra_line_spacing = 0,
override_ascent = -1,
override_descent = 0,
override_boff = 0,
glyph_row = 0x7611e8f780,
area = TEXT_AREA,
nglyphs = 1,
pixel_width = 10,
ascent = 18,
descent = 3,
max_ascent = 19,
max_descent = 5,
phys_ascent = 18,
phys_descent = 3,
max_phys_ascent = 19,
max_phys_descent = 5,
current_x = 549,
continuation_lines_width = 0,
eol_pos = {
charpos = 0,
bytepos = 0
},
current_y = 384,
first_vpos = 0,
vpos = 16,
hpos = 36,
lnum = 0,
lnum_bytepos = 0,
lnum_width = 0,
lnum_pixel_width = 0,
pt_lnum = 0,
stretch_adjust = 0,
left_user_fringe_bitmap = 0,
right_user_fringe_bitmap = 0,
left_user_fringe_face_id = 0,
right_user_fringe_face_id = 0,
bidi_p = true,
bidi_it = {
bytepos = 529,
charpos = 467,
ch = 1501,
nchars = 1,
ch_len = 2,
type = STRONG_R,
type_after_wn = STRONG_R,
orig_type = STRONG_R,
resolved_level = 1 '\001',
isolate_level = 0 '\000',
invalid_levels = 0,
invalid_isolates = 0,
prev = {
charpos = 466,
type = STRONG_R,
orig_type = WEAK_NSM
},
last_strong = {
charpos = 466,
type = STRONG_R,
orig_type = WEAK_NSM
},
next_for_neutral = {
charpos = -1,
type = UNKNOWN_BT,
orig_type = UNKNOWN_BT
},
prev_for_neutral = {
charpos = 466,
type = STRONG_R,
orig_type = WEAK_NSM
},
next_for_ws = {
charpos = 461,
type = STRONG_R,
orig_type = UNKNOWN_BT
},
bracket_pairing_pos = -1,
bracket_enclosed_type = UNKNOWN_BT,
next_en_pos = 0,
next_en_type = UNKNOWN_BT,
sos = L2R,
scan_dir = -1,
disp_pos = 502,
disp_prop = 0,
stack_idx = 0,
level_stack = {{
next_for_neutral_pos = 0,
next_for_neutral_type = 0,
last_strong_type = 0,
prev_for_neutral_type = 0,
level = 0 '\000',
flags = 0 '\000'
} <repeats 128 times>},
string = {
lstring = 0x0,
s = 0x0,
schars = 0,
bufpos = 0,
from_disp_str = false,
unibyte = false
},
w = 0x7617c98c30,
paragraph_dir = L2R,
separator_limit = -1,
first_elt = false,
new_paragraph = false,
frame_window_p = true
},
paragraph_embedding = NEUTRAL_DIR,
min_width_property = 0x0,
min_width_start = 0
}
and here is the face and font:
$8 = {
lface = {0x60f0, 0x761208ede4, 0x7619acfd9c <pure+76>, 0xb5b0, 0x1de, 0x17213b0, 0xb5b0, 0x0, 0x0,
0x76120bb264, 0x76120bb284, 0x0, 0x0, 0x0, 0x0, 0x7617c9dc35, 0x0, 0x761208ee84, 0xfcc0, 0x0},
id = 28,
gc = 0x0,
stipple = 0,
foreground = 0,
background = 16777215,
underline_color = 0,
overline_color = 0,
strike_through_color = 0,
box_color = 0,
font = 0x7612594c30,
fontset = 2,
box_vertical_line_width = 0,
box_horizontal_line_width = 0,
underline_pixels_above_descent_line = 0,
box = FACE_NO_BOX,
underline = FACE_NO_UNDERLINE,
use_box_color_for_shadows_p = false,
overline_p = false,
strike_through_p = false,
foreground_defaulted_p = false,
background_defaulted_p = false,
underline_defaulted_p = false,
overline_color_defaulted_p = false,
strike_through_color_defaulted_p = false,
box_color_defaulted_p = false,
underline_at_descent_line_p = false,
tty_bold_p = false,
tty_italic_p = false,
tty_underline_p = false,
tty_reverse_p = false,
tty_strike_through_p = false,
colors_copied_bitwise_p = true,
overstrike = false,
hash = 5241578,
next = 0x0,
prev = 0x761250b000,
ascii_face = 0x762b72f440
}
$11 = {
font = {
header = {
size = 0
},
props = {0x0 <repeats 17 times>},
min_width = 0,
max_width = 0,
pixel_size = 0,
height = 0,
space_width = 0,
average_width = 0,
ascent = 0,
descent = 0,
underline_thickness = 0,
underline_position = 0,
vertical_centering = false,
baseline_offset = 0,
relative_compose = 0,
default_ascent = 0,
encoding_charset = 0,
repertory_charset = 0,
driver = 0x0
},
cmap = 0x0,
hhea = 0x0,
maxp = 0x0,
head = 0x0,
hmtx = 0x0,
glyf = 0x0,
loca_short = 0x0,
loca_long = 0x0,
prep = 0x0,
fpgm = 0x0,
cvt = 0x0,
cmap_data = 0x0,
cmap_subtable = {
platform_id = 0,
platform_specific_id = 0,
offset = 0
},
outline_cache = {
next = 0x0,
last = 0x0,
outline = 0x0,
glyph = 0
},
outline_cache_size = 0,
raster_cache = {
next = 0x0,
last = 0x0,
raster = 0x0,
glyph = 0
},
raster_cache_size = 0,
interpreter = 0x0,
state = {
round = 0x0,
project = 0x0,
dual_project = 0x0,
move = 0x0,
vector_dot_product = 0,
auto_flip = false,
cvt_cut_in = 0,
delta_base = 0,
delta_shift = 0,
dual_projection_vector = {
x = 0,
y = 0
},
freedom_vector = {
x = 0,
y = 0
},
instruct_control = 0 '\000',
loop = 0,
minimum_distance = 0,
projection_vector = {
x = 0,
y = 0
},
round_state = 0,
rp0 = 0,
rp1 = 0,
rp2 = 0,
scan_control = 0,
sw_cut_in = 0,
single_width_value = 0,
zp0 = 0,
zp1 = 0,
zp2 = 0
}
}
Thanks.
next parent reply other threads:[~2023-02-10 3:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87sffe2o2p.fsf.ref@yahoo.com>
2023-02-10 3:31 ` Po Lu [this message]
2023-02-10 5:48 ` Bidi crash? Po Lu
2023-02-10 7:28 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sffe2o2p.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.