bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24358: 25.1.50; re-search-forward errors with "Variable binding dept


From: Sam Halliday
Subject: bug#24358: 25.1.50; re-search-forward errors with "Variable binding depth exceeds max-specpdl-size"
Date: Sun, 23 Oct 2016 16:42:20 +0100

On 23 October 2016 at 15:07, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Sam Halliday <sam.halliday@gmail.com>
>>
>> ralloc.c is in "src".
>
> What about ralloc.o?

yes ralloc.o is there, and of course this is what I should have looked
for before because ralloc.c is clearly version controlled, sorry! :-)

>> Running the failing command, the breakpoint didn't take... must be
>> something else.
>
> Probably some code calls 'signal' or 'error' directly.  A breakpoint
> in Fsignal should catch that.  Unfortunately, it could trigger many
> times before, so if that happens, let me know if you need help in
> making the breakpoint more selective.
>
>> Processing OKURI-NASI entries ...
>> processed 10% ...
>> processed 20% ...
>> processed 30% ...
>> processed 40% ...
>> Args out of range: #("七宝焼/" 0 4 (charset japanese-jisx0208)), -5, nil
>
> Note that the error is slightly different now (a different string and
> the argument is -5 instead of -6), and also in a slightly different
> place of the build (after 40% instead of 20%).

breaking on Fsignal is hitting the problem... not sure what to do
here. I can type "bt" but that's where my gdb skillz end... do you
want me to do anything else or is this enough? I'd imagine seeing the
contents of error_symbol and data would be pretty useful. I'm not sure
the etc/DEBUG .gdbinit file is being loaded properly when invoked from
the leim directory.

EMACSLOADPATH= gdb ../src/emacs
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../src/emacs...done.
(gdb) break Fsignal
Breakpoint 1 at 0x634e00: file eval.c, line 1476.
(gdb) run -batch --no-site-file --no-site-lisp -batch -l ja-dic-cnv -f
batch-skkdic-convert -dir "./../lisp/leim/ja-dic"
"SKK-DIC/SKK-JISYO.L"
Starting program: /home/fommil/build/emacs-git/emacs/src/emacs -batch
--no-site-file --no-site-lisp -batch -l ja-dic-cnv -f
batch-skkdic-convert -dir "./../lisp/leim/ja-dic"
"SKK-DIC/SKK-JISYO.L"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe72e5700 (LWP 21567)]
Reading file "/home/fommil/build/emacs-git/emacs/leim/SKK-DIC/SKK-JISYO.L" ...
Processing OKURI-ARI entries ...
Processing POSTFIX entries ...
Processing PREFIX entries ...
Collecting OKURI-NASI entries ...
collected 26% ...
collected 30% ...
collected 40% ...
collected 50% ...
collected 60% ...
collected 70% ...
collected 80% ...
collected 90% ...
Processing OKURI-NASI entries ...
processed 10% ...
processed 20% ...
processed 30% ...
processed 40% ...

Thread 1 "emacs" hit Breakpoint 1, Fsignal (error_symbol=...,
data=...) at eval.c:1476
1476    = (NILP (error_symbol) ? Fcar (data) : error_symbol);
(gdb) bt
#0  0x0000000000634e00 in Fsignal (error_symbol=..., data=...) at eval.c:1476
#1  0x00000000006351d9 in xsignal (error_symbol=..., data=...) at eval.c:1582
#2  0x00000000006352ae in xsignal3 (error_symbol=..., arg1=...,
arg2=..., arg3=...) at eval.c:1609
#3  0x0000000000614d16 in args_out_of_range_3 (a1=..., a2=..., a3=...)
at data.c:169
#4  0x000000000063f687 in validate_subarray (array=..., from=...,
to=..., size=4, ifrom=0x7fffffff6e18, ito=0x7fffffff6e10) at
fns.c:1210
#5  0x000000000063f70c in Fsubstring (string=..., from=..., to=...) at
fns.c:1235
#6  0x0000000000636da4 in eval_sub (form=...) at eval.c:2177
#7  0x0000000000636c98 in eval_sub (form=...) at eval.c:2159
#8  0x0000000000631bb4 in Fif (args=...) at eval.c:385
#9  0x00000000006369df in eval_sub (form=...) at eval.c:2124
#10 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#11 0x0000000000633be9 in Fwhile (args=...) at eval.c:970
#12 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#13 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#14 0x0000000000633fb0 in internal_catch (tag=..., func=0x631e2e
<Fprogn>, arg=...) at eval.c:1079
#15 0x0000000000633f64 in Fcatch (args=...) at eval.c:1056
#16 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#17 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#18 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#19 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#20 0x0000000000631afc in Fand (args=...) at eval.c:366
#21 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#22 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#23 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#24 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#25 0x0000000000631afc in Fand (args=...) at eval.c:366
#26 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#27 0x0000000000631a31 in For (args=...) at eval.c:346
#28 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#29 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#30 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#31 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#32 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#33 0x0000000000639184 in funcall_lambda (fun=..., nargs=5,
arg_vector=0x0) at eval.c:2921
#34 0x00000000006389cd in apply_lambda (fun=..., args=..., count=77)
at eval.c:2799
#35 0x0000000000637145 in eval_sub (form=...) at eval.c:2246
#36 0x0000000000631a31 in For (args=...) at eval.c:346
#37 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#38 0x0000000000631afc in Fand (args=...) at eval.c:366
#39 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#40 0x0000000000631a31 in For (args=...) at eval.c:346
#41 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#42 0x0000000000631bb4 in Fif (args=...) at eval.c:385
#43 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#44 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#45 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#46 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#47 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#48 0x0000000000633be9 in Fwhile (args=...) at eval.c:970
#49 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#50 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#51 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#52 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#53 0x0000000000631afc in Fand (args=...) at eval.c:366
#54 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#55 0x0000000000631a31 in For (args=...) at eval.c:346
#56 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#57 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#58 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#59 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#60 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#61 0x0000000000639184 in funcall_lambda (fun=..., nargs=6,
arg_vector=0x0) at eval.c:2921
#62 0x00000000006389cd in apply_lambda (fun=..., args=..., count=55)
at eval.c:2799
#63 0x0000000000637145 in eval_sub (form=...) at eval.c:2246
#64 0x0000000000636c98 in eval_sub (form=...) at eval.c:2159
#65 0x0000000000631afc in Fand (args=...) at eval.c:366
#66 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#67 0x0000000000631a31 in For (args=...) at eval.c:346
#68 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#69 0x0000000000631bb4 in Fif (args=...) at eval.c:385
#70 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#71 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#72 0x0000000000633be9 in Fwhile (args=...) at eval.c:970
#73 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#74 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#75 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#76 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#77 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#78 0x0000000000639184 in funcall_lambda (fun=..., nargs=3,
arg_vector=0x0) at eval.c:2921
#79 0x00000000006389cd in apply_lambda (fun=..., args=..., count=43)
at eval.c:2799
#80 0x0000000000637145 in eval_sub (form=...) at eval.c:2246
#81 0x0000000000632122 in Fsetq (args=...) at eval.c:502
#82 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#83 0x0000000000631bb4 in Fif (args=...) at eval.c:385
#84 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#85 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#86 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#87 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#88 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#89 0x0000000000633be9 in Fwhile (args=...) at eval.c:970
#90 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#91 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#92 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#93 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#94 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#95 0x0000000000622ec9 in Fsave_current_buffer (args=...) at editfns.c:1027
#96 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#97 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#98 0x0000000000639184 in funcall_lambda (fun=..., nargs=2,
arg_vector=0x0) at eval.c:2921
#99 0x00000000006389cd in apply_lambda (fun=..., args=..., count=27)
at eval.c:2799
#100 0x0000000000637145 in eval_sub (form=...) at eval.c:2246
#101 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#102 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#103 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#104 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#105 0x0000000000622ec9 in Fsave_current_buffer (args=...) at editfns.c:1027
#106 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#107 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#108 0x0000000000633566 in FletX (args=...) at eval.c:887
#109 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#110 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#111 0x0000000000639184 in funcall_lambda (fun=..., nargs=2,
arg_vector=0x0) at eval.c:2921
#112 0x00000000006389cd in apply_lambda (fun=..., args=..., count=15)
at eval.c:2799
#113 0x0000000000637145 in eval_sub (form=...) at eval.c:2246
#114 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#115 0x0000000000633ad3 in Flet (args=...) at eval.c:951
#116 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#117 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#118 0x0000000000631cbc in Fif (args=...) at eval.c:389
#119 0x00000000006369df in eval_sub (form=...) at eval.c:2124
#120 0x0000000000631e85 in Fprogn (body=...) at eval.c:431
#121 0x0000000000639184 in funcall_lambda (fun=..., nargs=0,
arg_vector=0x0) at eval.c:2921
#122 0x000000000063875e in Ffuncall (nargs=1, args=0x7fffffffc6e0) at
eval.c:2759
#123 0x0000000000683e8a in exec_byte_code (bytestr=..., vector=...,
maxdepth=..., args_template=..., nargs=1, args=0x7fffffffcf88) at
bytecode.c:880
#124 0x0000000000638d80 in funcall_lambda (fun=..., nargs=1,
arg_vector=0x7fffffffcf80) at eval.c:2862
#125 0x0000000000638659 in Ffuncall (nargs=2, args=0x7fffffffcf78) at
eval.c:2747
#126 0x0000000000683e8a in exec_byte_code (bytestr=..., vector=...,
maxdepth=..., args_template=..., nargs=0, args=0x7fffffffd878) at
bytecode.c:880
#127 0x0000000000638d80 in funcall_lambda (fun=..., nargs=0,
arg_vector=0x7fffffffd878) at eval.c:2862
#128 0x0000000000638659 in Ffuncall (nargs=1, args=0x7fffffffd870) at
eval.c:2747
#129 0x0000000000683e8a in exec_byte_code (bytestr=..., vector=...,
maxdepth=..., args_template=..., nargs=0, args=0x7fffffffe040) at
bytecode.c:880
#130 0x0000000000638d80 in funcall_lambda (fun=..., nargs=0,
arg_vector=0x7fffffffe040) at eval.c:2862
#131 0x00000000006389cd in apply_lambda (fun=..., args=..., count=4)
at eval.c:2799
#132 0x0000000000636f3e in eval_sub (form=...) at eval.c:2216
#133 0x00000000006363f8 in Feval (form=..., lexical=...) at eval.c:1993
#134 0x0000000000587ce2 in top_level_2 () at keyboard.c:1121
#135 0x00000000006349f6 in internal_condition_case (bfun=0x587cc5
<top_level_2>, handlers=..., hfun=0x5876f3 <cmd_error>) at eval.c:1314
#136 0x0000000000587d23 in top_level_1 (ignore=...) at keyboard.c:1129
#137 0x0000000000633fb0 in internal_catch (tag=..., func=0x587ce4
<top_level_1>, arg=...) at eval.c:1079
#138 0x0000000000587c1d in command_loop () at keyboard.c:1090
#139 0x00000000005871f5 in recursive_edit_1 () at keyboard.c:697
#140 0x00000000005873ec in Frecursive_edit () at keyboard.c:768
#141 0x0000000000585152 in main (argc=11, argv=0x7fffffffe5d8) at emacs.c:1626





reply via email to

[Prev in Thread] Current Thread [Next in Thread]