* reproducable hang with non-ascii characters in Wanderlust draft
@ 2010-02-06 11:47 Dirk-Jan C. Binnema
2010-02-08 1:26 ` bug#5534: " Stefan Monnier
2010-02-14 5:04 ` Chong Yidong
0 siblings, 2 replies; 7+ messages in thread
From: Dirk-Jan C. Binnema @ 2010-02-06 11:47 UTC (permalink / raw)
To: wl-en; +Cc: bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]
Hi,
I've been mentioning this bug before, but finally I have some easy steps to
reproduce, plus a backtrace. I've seen this problem with the Ubuntu-packaged
versions of wl-beta and emacs23, and now reproduced this with a recent bzr
built of emacs and the wl packages as built from Dave Abrahams' git repo.
The procedure to reproduce (in my case) are quite easy: type some non-ascii
characters in a draft message in Wanderlust, something like
äëïöÿüäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöü
Try to save the draft (C-x s). This works. Now, copy the line about 50 times,
so you have a whole block of these characters. If I now try to save, emacs
gets very busy (CPU goes to the max), and it never seems to recover (waited
for at least 15 minutes), and I have to kill emacs. See the attached backtrace
- it was from an -O2 build, but I hope it contains enough info for those in
the know.
Note, I get this this same behavior in perfectly normal e-mails with only a
few of these non-ascii characters.
Before, someone suggested using
(mel-use-module 'mel-q '("quoted-printable" "Q"))
however, that gives me an error instead:
insert: Args out of range: "0123456789ABCDEF", 262140
and refuses to save.
I suspect something changed in Emacs 23 and Wanderlust (or flim, semi, apel)
do not play nice with that.
Any kind of solution would be much appreciated.
Best wishes,
Dirk.
[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 32133 bytes --]
#0 ccl_driver (ccl=0xbffea1f4, source=0xbffe95d0, destination=0xbfffa2a0,
src_size=372, dst_size=0, charset_list=138328562) at ccl.c:1785
reg = 0xbffea208
ic = <value optimized out>
code = -289781
field1 = <value optimized out>
field2 = <value optimized out>
ccl_prog = 0x9714650
src = <value optimized out>
src_end = 0xbffe9ba0
dst = 0xbfffa2a0
dst_end = 0xbfffa2a0
jump_address = -1132
i = <value optimized out>
j = <value optimized out>
op = <value optimized out>
stack_idx = <value optimized out>
this_ic = <value optimized out>
charset = <value optimized out>
eof_ic = 4065
#1 0x080be678 in decode_coding_ccl (coding=0xbfffa44c) at coding.c:5254
p = 0x95829df ""
source = 0xbffe95d0
i = <value optimized out>
src = <value optimized out>
src_end = <value optimized out>
charbuf = <value optimized out>
charbuf_end = 0xbfffa2a0
consumed_chars = 5120
ccl = {idx = 18, size = 4626, prog = 0x9714650, ic = 1137,
eof_ic = 4065, reg = {195, 0, 0, 1, 0, 0, 18, 1}, private_state = 0,
last_block = 1, status = 2, buf_magnification = 4, stack_idx = 0,
src_multibyte = 441967360, dst_multibyte = 91, cr_consumed = 39,
consumed = 0, produced = 0, suppress_error = 0,
eight_bit_control = 0, quit_silently = 0}
source_charbuf = {195, 182, 195, 188, 195, 164, 195, 171, 195, 175,
195, 182, 195, 188, 10, 195, 164, 195, 171, 195, 175, 195, 182, 195,
188, 195, 164, 195, 171, 195, 175, 195, 182, 195, 188, 195, 164,
195, 171, 195, 175, 195, 182, 195, 188, 195, 164, 195, 171, 195,
175, 195, 182, 195, 188, 195, 164, 195, 171, 195, 175, 195, 182,
195, 188, 195, 164, 195, 171, 195, 175, 195, 182, 195, 188, 195,
164, 195, 171, 195, 175, 195, 182, 195, 188, 195, 164, 195, 171,
195, 175, 195, 182, 195, 188, 195, 164, 195, 171, 195, 175, 195,
182, 195, 188, 195, 164, 195, 171, 195, 175, 195, 182, 195, 188,
195, 164, 195, 171, 195, 175, 195, 182, 195, 188, 195, 164, 195,
171, 195, 175, 195, 182, 195, 188, 195, 164, 195, 171, 195, 175,
195, 182, 195, 188, 195, 164, 195, 171, 195, 175, 195, 182, 195,
188, 195, 164, 195, 171, 195, 175, 195, 182, 195, 188, 10, 195, 164,
195, 171, 195, 175, 195, 182, 195, 188, 195, 164, 195, 171, 195,
175, 195, 182, 195, 188, 195, 164, 195, 171, 195, 175, 195, 182,
195, 188, 195, 164, 195, 171...}
source_byteidx = {1, 753, 141854912, 7963836, 18027664, 25, 13287412,
-1073839428, 17891640, 4097, 32792, 118, 32768, 18027480, 33554432,
32776, 2, 18027424, 18027472, 0, 18022388, 18027424, 64,
-1073839496, 17164440, -1073839320, 13214329, 9473303, 141077232,
9478425, 7962612, 32768, 64, -1073839464, 7483640, 32768, 0,
9478425, 154646552, 15966196, 158103272, -1073839432, 15956845,
32768, 17150486, -1073839384, 7625941, 15956825, 8622068,
-1073839384, 8579639, 158103272, 32768, 13289476, 13289476,
141399952, 141399896, 393, 13287412, 8622068, 17150486, 9529, 24,
18027424, 18022388, 18027424, -1073839132, -1073839336, 17164237,
-1073839320, 8712180, 7962612, 157492120, -1073839304, 7483798,
157492120, 156572837, 81, 56, 15966196, 158103480, -1073839272,
15951517, 157492120, 17164237, -1210793872, 8712180, 15951497,
8622068, -1073839240, 8579299, 158103272, 157492120, 152871192,
8481671, 15966196, 8622068, -1073839208, 8480164, 158103272,
157492120, -1208129712, 8622068, 15951497, 8622068, -1073839176,
8579263, 158103272, 157492120, 32767, -1, 8622068, 8622068,
-1073838952, 8530986, 158103272, 0, -1073839128, 8540034, 158103272,
15951296, -1073768852, 15951488, -1073838988, 15966196, 152871192,
140959264, -1073838760, 76809342, 526770432, 0 <repeats 16 times>,
8480193, 0 <repeats 16 times>, -1073838936, 17164440, 73, 8622068,
158103272, 8622068, -1073838888, 8531543, 158103272, 15951488, 0,
-1, 7962612, 147981400, 15951488, 0, 142208224, 147048360, 15955279,
15966196, 142208224, 153271664, -1073838760, 15957466, -1073838792,
-1073838796, 0, -1073838820, 16, 15956816, 15951488, 135747050,
138366258, 0, 251, 16, 138002720, 145934336, -1073838728, 0,
142208224, 16, 15, 6, 138436338, 0, 0, 153271664, 15...}
charset_list = 138328562
#2 0x080bce42 in decode_coding (coding=0xbfffa44c) at coding.c:7159
pos = <value optimized out>
undo_list = 138328610
translation_table = 138328562
carryover = 0
i = <value optimized out>
#3 0x080c0276 in decode_coding_object (coding=0xbfffa44c,
src_object=156014225, from=0, from_byte=0, to=5739, to_byte=5739,
dst_object=138328610) at coding.c:7838
destination = <value optimized out>
dst_bytes = -1073765368
chars = 5739
bytes = 5739
attrs = 1137
saved_pt = -1
saved_pt_byte = 134954999
need_marker_adjustment = 0
old_deactivate_mark = 138328610
#4 0x080c09f8 in code_convert_string (string=156014225,
coding_system=<value optimized out>, dst_object=138328610, encodep=0,
nocopy=0, norecord=0) at coding.c:9132
coding = {id = 914, common_flags = 7680, mode = 2, spec = {iso_2022 = {
flags = 18027424, current_invocation = {279, 24076},
current_designation = {1120, 17154990, 156565221, 156014241},
single_shifting = 1120, bol = -1073765240,
ctext_extended_segment_len = 136161784, embedded_utf_8 = 0,
cmp_status = {state = 18028264, method = 100,
old_form = 136163053, length = 1120, nchars = 17891640,
ncomps = 720, carryover = {5776, 102, 5752, 18027480,
156767072, 5760, 156767072, 18027424, 18027472, 156767072,
18022388, 18027424, 0, -1073765128, 17164440, -1073765120,
0, 155880474, 138581746, 17891361, 18027468, 5752, 18027468,
18027424, 135754059, 5752, 18027472, 18022388, 100000000, 2,
-1073765080, 17146891, 156014224, 0, 5744, -1073765016,
135756165, -4, 100000000, 17154990, 135812740, 280,
156767080, 0, 11719, 1, 18028264, 100, 156014224, 5739,
156014240, -1073764968, 135759460, 156014224, 17150486,
5739, 157692752, 11448, 157972376, 18027424, 11439, 5739,
156014240, -1073764936, 135759636, 5739, 5739,
-1073764808}}}, ccl = 0x11313a0, utf_16 = {bom = 18027424,
endian = 279, surrogate = 24076}, utf_8_bom = 18027424,
emacs_mule = {full_support = 18027424, cmp_status = {state = 279,
method = 24076, old_form = 1120, length = 17154990,
nchars = 156565221, ncomps = 156014241, carryover = {1120,
-1073765240, 136161784, 0, 18028264, 100, 136163053, 1120,
17891640, 720, 5776, 102, 5752, 18027480, 156767072, 5760,
156767072, 18027424, 18027472, 156767072, 18022388,
18027424, 0, -1073765128, 17164440, -1073765120, 0,
155880474, 138581746, 17891361, 18027468, 5752, 18027468,
18027424, 135754059, 5752, 18027472, 18022388, 100000000, 2,
-1073765080, 17146891, 156014224, 0, 5744, -1073765016,
135756165, -4, 100000000, 17154990, 135812740, 280,
156767080, 0, 11719, 1, 18028264, 100, 156014224, 5739,
156014240, -1073764968, 135759460, 156014224, 17150486,
5739, 157692752, 11448}}}}, max_charset_id = 0,
safe_charsets = 0x966c484 "\377", src_multibyte = 0,
dst_multibyte = 1, head_ascii = 0, produced = 0, produced_char = 0,
consumed = 0, consumed_char = 0, errors = 0,
error_positions = 0xbfffa5e8, result = CODING_RESULT_SUCCESS,
src_pos = 0, src_pos_byte = 0, src_chars = 5739, src_bytes = 5739,
src_object = 156014225,
source = 0x9581374 "\n\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\n\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\244\303\253\303\257\303\266\303\274\303\2
44\303\253\303\257\303\266"..., dst_pos = 1, dst_pos_byte = 1,
dst_bytes = 11439, dst_object = 138799117,
destination = 0x8450001 "\377D\b18#\b\n\272>\b\n\272>\b\362\271>\b\240\aE\b\020", chars_at_source = 0, charbuf = 0xbffea2a0, charbuf_size = 16384,
charbuf_used = 0, annotated = 0,
carryover = "\250\246\377\277\b\363\071\b\250\354\071\b\362\271>\b\270\246\377\277k\366\030\b\362\271>\b\362\271>\b\310\246\377\277\247\370\030\b\241]\n\t\205\340\364\b\002\000\000\000 \000\000\000@\353\071\b\b\363\071\b",
carryover_bytes = 0, default_char = 32,
detector = 0x80ad700 <detect_coding_ccl>,
decoder = 0x80be4d0 <decode_coding_ccl>,
encoder = 0x80be1e0 <encode_coding_ccl>}
chars = 1137
bytes = -1073831436
#5 0x080c0b82 in Fdecode_coding_string (string=156014225,
coding_system=157596850, nocopy=138328562, buffer=138328562)
at coding.c:9174
No locals.
#6 0x0818f876 in Feval (form=157989478) at eval.c:2356
numargs = <value optimized out>
args_left = 138328562
i = 4
argvals = {156014225, 157596850, 138328562, 138328562, 1073758208,
150953902, -1073764456, 135854362}
fun = <value optimized out>
val = <value optimized out>
original_fun = 138424434
original_args = 157989526
funcar = <value optimized out>
backtrace = {next = 0xbfffa7d0, function = 0xbfffa728,
args = 0xbfffa6f0, nargs = 2, evalargs = 1 '\001',
debug_on_exit = 0 '\000'}
#7 0x0818fad0 in Fprog1 (args=157989558) at eval.c:446
val = 138328562
args_left = 157989558
#8 0x0818f91a in Feval (form=157989470) at eval.c:2293
numargs = -1073831436
args_left = 157989558
i = <value optimized out>
argvals = {138328562, 2, -1073764344, 280, 47, 157596586, -1073764344,
11719}
fun = <value optimized out>
val = <value optimized out>
original_fun = 138437002
original_args = 157989558
funcar = <value optimized out>
backtrace = {next = 0xbfffa880, function = 0xbfffa7e8,
args = 0xbfffa7e4, nargs = -1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
#9 0x0818f789 in Feval (form=157989462) at eval.c:2311
numargs = <value optimized out>
args_left = 157989598
i = <value optimized out>
argvals = {1120, 138476762, 156565216, 150879078, 0, 280, -1073764216,
280}
fun = <value optimized out>
val = <value optimized out>
original_fun = 138460258
original_args = 157989598
funcar = <value optimized out>
backtrace = {next = 0xbfffa950, function = 0xbfffa898,
args = 0xbfffa894, nargs = -1, evalargs = 1 '\001',
debug_on_exit = 0 '\000'}
#10 0x0818fb3d in Fprogn (args=157989454) at eval.c:415
val = <value optimized out>
#11 0x08187436 in Fsave_excursion (args=157989454) at editfns.c:1012
val = <value optimized out>
#12 0x0818f91a in Feval (form=157989430) at eval.c:2293
numargs = -1073831436
args_left = 157989454
i = <value optimized out>
argvals = {45, 157596586, -1073763976, 136165243, 152402080,
152401360, 6, 150907966}
fun = <value optimized out>
val = <value optimized out>
original_fun = 138448714
original_args = 157989454
funcar = <value optimized out>
backtrace = {next = 0xbfffaa48, function = 0xbfffa968,
args = 0xbfffa964, nargs = -1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
#13 0x0818fb3d in Fprogn (args=157989398) at eval.c:415
val = <value optimized out>
#14 0x0818fdb9 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3204
val = <value optimized out>
syms_left = 138328562
next = 138581746
i = 2
optional = 0
rest = 0
#15 0x0818dc5b in Ffuncall (nargs=3, args=0xbfffaaa0) at eval.c:3081
fun = -1073831436
original_fun = 157596586
funcar = <value optimized out>
numargs = 2
val = <value optimized out>
backtrace = {next = 0xbfffaaf0, function = 0xbfffaaa0,
args = 0xbfffaaa4, nargs = 2, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#16 0x0818f7b6 in Feval (form=151009694) at eval.c:2319
numargs = <value optimized out>
args_left = 138328562
i = <value optimized out>
argvals = {2889, -1, 11719, 156731062, 138265400, 0, 156718191, 11439}
fun = <value optimized out>
val = <value optimized out>
original_fun = 138437506
original_args = 151009742
funcar = <value optimized out>
backtrace = {next = 0xbfffabe8, function = 0xbfffab08,
args = 0xbfffaaa0, nargs = 3, evalargs = 1 '\001',
debug_on_exit = 0 '\000'}
#17 0x0818fb3d in Fprogn (args=151009558) at eval.c:415
val = <value optimized out>
#18 0x0818fdb9 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3204
val = <value optimized out>
syms_left = 138328562
next = 138599562
i = 3
optional = 0
rest = 0
#19 0x0818dc5b in Ffuncall (nargs=4, args=0xbfffac30) at eval.c:3081
fun = -1073831436
original_fun = 151831282
funcar = <value optimized out>
numargs = 3
val = <value optimized out>
backtrace = {next = 0xbfffad68, function = 0xbfffac30,
args = 0xbfffac34, nargs = 3, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#20 0x081c67e1 in Fbyte_code (bytestr=151376481, vector=141997629, maxdepth=20)
at bytecode.c:679
op = <value optimized out>
stack = {
pc = 0x94ad8f0 "\210\362\f!\210*\322 b\210\202\335\001\f\204\335\001\363\034\346 \036\064\322 \035\361\016\064\r\f#\210\362\f!\210+\326y\210,\202\022", top = 0xbfffac3c, bottom = 0xbfffac30, byte_string = 151376481,
byte_string_start = 0x94ad73c "eb\210\306\b!\204\017",
constants = 141997629, next = 0xbfffae00}
top = 0xbfffac30
result = <value optimized out>
#21 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 0
optional = -1073763000
rest = 158121704
#22 0x0818dc5b in Ffuncall (nargs=1, args=0xbfffadb0) at eval.c:3081
fun = -1073831436
original_fun = 154788770
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {next = 0xbfffaed8, function = 0xbfffadb0,
args = 0xbfffadb4, nargs = 0, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#23 0x081c67e1 in Fbyte_code (bytestr=151832697, vector=141866317, maxdepth=16)
at bytecode.c:679
op = <value optimized out>
stack = {pc = 0x950405c "\210eb\210\312\016\026\307\313#\203+",
top = 0xbfffadb0, bottom = 0xbfffadb0, byte_string = 151832697,
byte_string_start = 0x9504044 "\b\204\a", constants = 141866317,
next = 0xbfffaf80}
top = 0xbfffadb0
result = <value optimized out>
#24 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 3
optional = 1
rest = 0
#25 0x0818dc5b in Ffuncall (nargs=4, args=0xbfffaf20) at eval.c:3081
fun = -1073831436
original_fun = 154788362
funcar = <value optimized out>
numargs = 3
val = <value optimized out>
backtrace = {next = 0xbfffb058, function = 0xbfffaf20,
args = 0xbfffaf24, nargs = 3, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#26 0x081c67e1 in Fbyte_code (bytestr=151613801, vector=155395765, maxdepth=28)
at bytecode.c:679
op = <value optimized out>
stack = {
pc = 0x9503e85 "\020+\325ed\"\210\b@\bA@\036\037\036 \016!\203p",
top = 0xbfffaf2c, bottom = 0xbfffaf20, byte_string = 151613801,
byte_string_start = 0x9503e34 "\212\306 \307\310\030\031\032\311\312\313\n\t#!\203\030", constants = 155395765, next = 0xbfffb1e0}
top = 0xbfffaf20
result = <value optimized out>
#27 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 0
optional = -1073762184
rest = 135854261
#28 0x0818dc5b in Ffuncall (nargs=1, args=0xbfffb0dc) at eval.c:3081
fun = -1073831436
original_fun = 154787954
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {next = 0xbfffb148, function = 0xbfffb0dc,
args = 0xbfffb0e0, nargs = 0, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#29 0x0818ef61 in run_hook_with_args (nargs=<value optimized out>,
args=0xbfffb0dc, cond=to_completion) at eval.c:2683
globals = -1073761900
sym = 154787906
val = <value optimized out>
ret = 1137
#30 0x0818f110 in Frun_hooks (nargs=1, args=0xbfffb194) at eval.c:2537
hook = {154787954}
i = 1
#31 0x0818deda in Ffuncall (nargs=2, args=0xbfffb190) at eval.c:3005
fun = <value optimized out>
original_fun = 138436858
funcar = <value optimized out>
numargs = 1
val = <value optimized out>
backtrace = {next = 0xbfffb270, function = 0xbfffb190,
args = 0xbfffb194, nargs = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#32 0x081c67e1 in Fbyte_code (bytestr=147383993, vector=141709485, maxdepth=8)
at bytecode.c:679
op = <value optimized out>
stack = {pc = 0x9502eb0 ")\207", top = 0xbfffb194,
bottom = 0xbfffb190, byte_string = 147383993,
byte_string_start = 0x9502eac "\212\300\301!)\207",
constants = 141709485, next = 0xbfffb400}
top = 0xbfffb190
result = <value optimized out>
#33 0x0818f892 in Feval (form=156683526) at eval.c:2352
numargs = <value optimized out>
args_left = 138328562
i = 3
argvals = {147383993, 141709485, 8, 0, 156767326, 1406688, 138223392,
139195053}
fun = <value optimized out>
val = <value optimized out>
original_fun = 138448570
original_args = 156683534
funcar = <value optimized out>
backtrace = {next = 0xbfffb4d8, function = 0xbfffb288,
args = 0xbfffb250, nargs = 3, evalargs = 1 '\001',
debug_on_exit = 0 '\000'}
#34 0x0818d271 in internal_catch (tag=154788026, func=0x818f3a0 <Feval>,
arg=156683526) at eval.c:1226
c = {tag = 154788026, val = 138328562, next = 0xbfffbd74, gcpro = 0x0,
jmp = {{__jmpbuf = {-1073761360, 155750696, 18, -1073761384,
116958334, -935764207}, __mask_was_saved = 0, __saved_mask = {
__val = {156767080, 3221205808, 138268192, 0, 156769080,
34798763, 1, 3221205940, 2, 3221205912, 135847531, 5986, 0,
247, 26, 0, 5987, 247, 247, 17, 138328562, 138371424,
136382664, 3221205940, 0, 138476240, 135685399, 156565216,
247, 3221206232, 3221205936, 3221205940}}}},
backlist = 0xbfffb4d8, handlerlist = 0xbfffbe3c,
lisp_eval_depth = 6, pdlcount = 18, poll_suppress_count = 1,
interrupt_input_blocked = 0, byte_stack = 0xbfffb400}
#35 0x081c7158 in Fbyte_code (bytestr=147373625, vector=155750701, maxdepth=8)
at bytecode.c:854
v1 = <value optimized out>
op = 0
stack = {pc = 0x9502e86 "\205\017", top = 0xbfffb3b4,
bottom = 0xbfffb3b0, byte_string = 147373625,
byte_string_start = 0x9502e80 "\300 \210\301\302\215\205\017",
constants = 155750701, next = 0xbfffb580}
top = 0xbfffb3b0
result = <value optimized out>
#36 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 0
optional = -1073761016
rest = 441967360
#37 0x0818dc5b in Ffuncall (nargs=1, args=0xbfffb520) at eval.c:3081
fun = -1073831436
original_fun = 155445690
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {next = 0xbfffb658, function = 0xbfffb520,
args = 0xbfffb524, nargs = 0, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#38 0x081c67e1 in Fbyte_code (bytestr=150441465, vector=155025813, maxdepth=20)
at bytecode.c:679
op = <value optimized out>
stack = {
pc = 0x9436892 "\210)\341\327!\210\342\314 !\020\343\314 !\210+\317\314 !\210\344\314 !\210\b\022\345\346\347\016-\b#\327\"\210\350 \026.\351\312!\210\315\n\352\"\210\307\353!*\207\307\354!\207", top = 0xbfffb520,
bottom = 0xbfffb520, byte_string = 150441465,
byte_string_start = 0x9436818 "\306 \203\263",
constants = 155025813, next = 0xbfffb7c0}
top = 0xbfffb520
result = <value optimized out>
#39 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 0
optional = 137389198
rest = 9809753
#40 0x0818dc5b in Ffuncall (nargs=1, args=0xbfffb764) at eval.c:3081
fun = -1073831436
original_fun = 152314282
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {next = 0xbfffb718, function = 0xbfffb764,
args = 0xbfffb768, nargs = 0, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#41 0x0818ef61 in run_hook_with_args (nargs=<value optimized out>,
args=0xbfffb764, cond=until_success) at eval.c:2683
globals = 2
sym = 138604914
val = <value optimized out>
ret = 1137
#42 0x0818deda in Ffuncall (nargs=2, args=0xbfffb760) at eval.c:3005
fun = <value optimized out>
original_fun = 138437554
funcar = <value optimized out>
numargs = 1
val = <value optimized out>
backtrace = {next = 0xbfffb898, function = 0xbfffb760,
args = 0xbfffb764, nargs = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#43 0x081c67e1 in Fbyte_code (bytestr=136578953, vector=136578973, maxdepth=20)
at bytecode.c:679
op = <value optimized out>
stack = {pc = 0x838493d "\204\350", top = 0xbfffb764,
bottom = 0xbfffb760, byte_string = 136578953,
byte_string_start = 0x8384861 "r\306 \203\n", constants = 136578973,
next = 0xbfffb930}
top = 0xbfffb760
result = <value optimized out>
#44 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 0
optional = -1073760184
rest = 135829634
#45 0x0818dc5b in Ffuncall (nargs=1, args=0xbfffb8e0) at eval.c:3081
fun = -1073831436
original_fun = 139189418
funcar = <value optimized out>
numargs = 0
val = <value optimized out>
backtrace = {next = 0xbfffba08, function = 0xbfffb8e0,
args = 0xbfffb8e4, nargs = 0, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#46 0x081c67e1 in Fbyte_code (bytestr=136578441, vector=136578461, maxdepth=16)
at bytecode.c:679
op = <value optimized out>
stack = {pc = 0x8384abd "\210\n\205=", top = 0xbfffb8e0,
bottom = 0xbfffb8e0, byte_string = 136578441,
byte_string_start = 0x8384a8e "\304 \b\203\r",
constants = 136578461, next = 0x0}
top = 0xbfffb8e0
result = <value optimized out>
#47 0x0818fcc4 in funcall_lambda (fun=<value optimized out>,
nargs=<value optimized out>, arg_vector=0x0) at eval.c:3211
val = <value optimized out>
syms_left = 138328562
next = <value optimized out>
i = 1
optional = 1
rest = 0
#48 0x0818dc5b in Ffuncall (nargs=2, args=0xbfffbaa0) at eval.c:3081
fun = -1073831436
original_fun = 138668578
funcar = <value optimized out>
numargs = 1
val = <value optimized out>
backtrace = {next = 0xbfffbc38, function = 0xbfffbaa0,
args = 0xbfffbaa4, nargs = 1, evalargs = 0 '\000',
debug_on_exit = 0 '\000'}
internal_args = <value optimized out>
i = <value optimized out>
#49 0x0818b860 in Fcall_interactively (function=138668578,
record_flag=138328562, keys=138362669) at callint.c:869
val = <value optimized out>
specs = 4
filter_specs = <value optimized out>
teml = <value optimized out>
up_event = 138328562
enable = 0
next_event = <value optimized out>
prefix_arg = <value optimized out>
string = 0x1 <Address 0x1 out of bounds>
tem = 0x1 <Address 0x1 out of bounds>
i = -1073759648
j = 1
foo = 0
prompt1 = '\000' <repeats 99 times>
arg_from_tty = 0
key_count = <value optimized out>
record_then_fail = <value optimized out>
save_this_command = 138668578
save_last_command = 138699610
save_this_original_command = 138668578
save_real_this_command = 138668578
#50 0x0818de3b in Ffuncall (nargs=4, args=0xbfffbc90) at eval.c:3030
fun = <value optimized out>
original_fun = <value optimized out>
funcar = <value optimized out>
numargs = 3
val = <value optimized out>
backtrace = {next = 0x0, function = 0xbfffbc90, args = 0xbfffbc94,
nargs = 3, evalargs = 0 '\000', debug_on_exit = 0 '\000'}
internal_args = 0xbfffbc94
i = 1137
#51 0x0818e019 in call3 (fn=138448762, arg1=138668578, arg2=138328562,
arg3=138328562) at eval.c:2854
ret_ungc_val = -1073831436
#52 0x0812f5c2 in command_loop_1 () at keyboard.c:1904
cmd = <value optimized out>
lose = <value optimized out>
keybuf = {96, 76, 134547619, 0, 135394112, 0, -1208118752,
-1073807358, 8253952, 134545790, -1208093420, 8310772, 16718208, 33,
0, -1073758952, -1073759136, 0, 0, 138328562, 139191226, 441967360,
8295720, -1073758916, 23, 139100720, 139100720, 139100736,
-1073758888, 135414051}
i = <value optimized out>
prev_modiff = 111
prev_buffer = 0x873f818
already_adjusted = 0
#53 0x0818d191 in internal_condition_case (bfun=0x812f210 <command_loop_1>,
handlers=138366378, hfun=0x8127680 <cmd_error>) at eval.c:1490
val = -1073831436
c = {tag = 138328562, val = 138328562, next = 0xbfffbe98, gcpro = 0x0,
jmp = {{__jmpbuf = {139100720, 139100720, 139100736, -1073758632,
115803262, -935368943}, __mask_was_saved = 0, __saved_mask = {
__val = {17, 17, 0, 0, 0, 18022388, 17164145, 8312432, 0,
3221208656, 3221208584, 3221208596, 0, 225011984, 134546520,
8231552, 16783238, 134547619, 140010040, 15720436, 0,
3086848544, 3221159938, 8253952, 134545790, 3086873876,
16739812, 3086873960, 3221208624, 4294967295, 8310772,
134546520}}}}, backlist = 0x0, handlerlist = 0x0,
lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1,
interrupt_input_blocked = 0, byte_stack = 0x0}
h = {handler = 138366378, var = 138328562, chosen_clause = 134532760,
tag = 0xbfffbd74, next = 0x0}
#54 0x08126b55 in command_loop_2 () at keyboard.c:1360
val = -1073831436
#55 0x0818d271 in internal_catch (tag=138363450,
func=0x8126b30 <command_loop_2>, arg=138328562) at eval.c:1226
c = {tag = 138363450, val = 138328562, next = 0x0, gcpro = 0x0, jmp = {
{__jmpbuf = {139100720, 139100720, 139100736, -1073758360,
115393662, -935764207}, __mask_was_saved = 0, __saved_mask = {
__val = {3221208916, 3221209064, 135424194, 3221208928, 0, 0,
0, 0, 0, 0, 138354272, 138328562, 138495712, 3221208904,
135786308, 138495714, 138493691, 138328562, 138354272, 0, 0,
17154990, 0, 0, 0, 0, 138328586, 0, 14, 3221209020,
138495714, 138328562}}}}, backlist = 0x0, handlerlist = 0x0,
lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1,
interrupt_input_blocked = 0, byte_stack = 0x0}
#56 0x081274cf in command_loop () at keyboard.c:1339
No locals.
#57 0x0812787a in recursive_edit_1 () at keyboard.c:954
val = <value optimized out>
#58 0x081279a2 in Frecursive_edit () at keyboard.c:1016
buffer = 138328562
#59 0x0811dcf8 in main (argc=<value optimized out>, argv=<value optimized out>)
at emacs.c:1833
dummy = -1073757448
stack_bottom_variable = 8 '\b'
do_initial_setlocale = 139100720
skip_args = 0
rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
A debugging session is active.
Inferior 1 [process 7243] will be killed.
Quit anyway? (y or n)
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
2010-02-06 11:47 reproducable hang with non-ascii characters in Wanderlust draft Dirk-Jan C. Binnema
@ 2010-02-08 1:26 ` Stefan Monnier
[not found] ` <87iqa8i66m.wl%djcb@djcbsoftware.nl>
2010-02-14 5:04 ` Chong Yidong
1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2010-02-08 1:26 UTC (permalink / raw)
To: djcb; +Cc: 5534, wl-en
> I've been mentioning this bug before, but finally I have some easy steps to
> reproduce, plus a backtrace. I've seen this problem with the Ubuntu-packaged
> versions of wl-beta and emacs23, and now reproduced this with a recent bzr
> built of emacs and the wl packages as built from Dave Abrahams' git repo.
> The procedure to reproduce (in my case) are quite easy: type some non-ascii
> characters in a draft message in Wanderlust, something like
> äëïöÿüäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöüÿäëïöü
> Try to save the draft (C-x s). This works. Now, copy the line about 50 times,
> so you have a whole block of these characters. If I now try to save, emacs
> gets very busy (CPU goes to the max), and it never seems to recover (waited
> for at least 15 minutes), and I have to kill emacs.
What happens if you set debug-on-quit (via Options => Enter debugger on Quit)
and then hit C-g when Emacs seems to hang?
> See the attached backtrace
> - it was from an -O2 build, but I hope it contains enough info for those in
> the know.
It lacks the crucial info, which is the Lisp backtrace. If you start
Emacs from the .../emacs/src directory or if you explicitly
"source .../emacs/src/.gdbinit" then you can get the Lisp backtrace with
"xbacktrace".
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
[not found] ` <87iqa8i66m.wl%djcb@djcbsoftware.nl>
@ 2010-02-10 21:48 ` Dirk-Jan C. Binnema
0 siblings, 0 replies; 7+ messages in thread
From: Dirk-Jan C. Binnema @ 2010-02-10 21:48 UTC (permalink / raw)
To: djcb; +Cc: 5534
Hi,
Sorry for the previous mail (I think it hit you multiple times); however,
there seems to be a solution for Emacs 23.1 at least, as discussed in this
thread:
http://lists.airs.net/wl-en/archive/201002/msg00033.html
(and below).
Best wishes,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
2010-02-06 11:47 reproducable hang with non-ascii characters in Wanderlust draft Dirk-Jan C. Binnema
2010-02-08 1:26 ` bug#5534: " Stefan Monnier
@ 2010-02-14 5:04 ` Chong Yidong
2010-02-15 12:14 ` Kenichi Handa
1 sibling, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2010-02-14 5:04 UTC (permalink / raw)
To: Kenichi Handa; +Cc: djcb, 5534
> Sorry for the previous mail (I think it hit you multiple times); however,
> there seems to be a solution for Emacs 23.1 at least, as discussed in this
> thread:
>
> http://lists.airs.net/wl-en/archive/201002/msg00033.html
Hi Handa-san,
According to the above link, there is a bug in the ccl decoder for
outputs larger than 16kB. There is a patch also. Could you take a
look? Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
2010-02-14 5:04 ` Chong Yidong
@ 2010-02-15 12:14 ` Kenichi Handa
2010-02-17 6:53 ` Kenichi Handa
0 siblings, 1 reply; 7+ messages in thread
From: Kenichi Handa @ 2010-02-15 12:14 UTC (permalink / raw)
To: Chong Yidong; +Cc: djcb, 5534
In article <87r5oowgpt.fsf@stupidchicken.com>, Chong Yidong <cyd@stupidchicken.com> writes:
> > Sorry for the previous mail (I think it hit you multiple times); however,
> > there seems to be a solution for Emacs 23.1 at least, as discussed in this
> > thread:
> >
> > http://lists.airs.net/wl-en/archive/201002/msg00033.html
> Hi Handa-san,
> According to the above link, there is a bug in the ccl decoder for
> outputs larger than 16kB. There is a patch also. Could you take a
> look? Thanks!
Ok, I'll work on it.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
2010-02-15 12:14 ` Kenichi Handa
@ 2010-02-17 6:53 ` Kenichi Handa
2010-06-14 17:33 ` Glenn Morris
0 siblings, 1 reply; 7+ messages in thread
From: Kenichi Handa @ 2010-02-17 6:53 UTC (permalink / raw)
To: Kenichi Handa; +Cc: cyd, djcb, 5534
In article <tl7635ysnk4.fsf@m17n.org>, Kenichi Handa <handa@m17n.org> writes:
> In article <87r5oowgpt.fsf@stupidchicken.com>, Chong Yidong <cyd@stupidchicken.com> writes:
> > > Sorry for the previous mail (I think it hit you multiple times); however,
> > > there seems to be a solution for Emacs 23.1 at least, as discussed in this
> > > thread:
> > >
> > > http://lists.airs.net/wl-en/archive/201002/msg00033.html
> > Hi Handa-san,
> > According to the above link, there is a bug in the ccl decoder for
> > outputs larger than 16kB. There is a patch also. Could you take a
> > look? Thanks!
> Ok, I'll work on it.
I've just installed a fix in, I think, a better way. Please
try with the latest code.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5534: reproducable hang with non-ascii characters in Wanderlust draft
2010-02-17 6:53 ` Kenichi Handa
@ 2010-06-14 17:33 ` Glenn Morris
0 siblings, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2010-06-14 17:33 UTC (permalink / raw)
To: 5534-done
In the absence of any response I am closing this under the assumption
that the installed change fixed the issue.
You can still reply any time in the next 28 days (or indeed after that
if you follow the instructions about unarchiving bugs.)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-06-14 17:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06 11:47 reproducable hang with non-ascii characters in Wanderlust draft Dirk-Jan C. Binnema
2010-02-08 1:26 ` bug#5534: " Stefan Monnier
[not found] ` <87iqa8i66m.wl%djcb@djcbsoftware.nl>
2010-02-10 21:48 ` Dirk-Jan C. Binnema
2010-02-14 5:04 ` Chong Yidong
2010-02-15 12:14 ` Kenichi Handa
2010-02-17 6:53 ` Kenichi Handa
2010-06-14 17:33 ` Glenn Morris
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.