From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>, 20191@debbugs.gnu.org
Subject: bug#20191: 25.0.50; SIGABRT in re_match_2_internal
Date: Fri, 27 Mar 2015 17:00:06 +0100 [thread overview]
Message-ID: <87fv8qwhvd.fsf@yahoo.fr> (raw)
In-Reply-To: <551446A6.1080603@cs.ucla.edu> (Paul Eggert's message of "Thu, 26 Mar 2015 10:49:26 -0700")
[-- Attachment #1: Type: text/plain, Size: 26139 bytes --]
Le 26/03/2015 18:49, Paul Eggert a écrit :
> On 03/24/2015 11:45 PM, Nicolas Richard wrote:
>> It runs fast and I can't trigger the bug.
> Hmm, well, that's not good. How about if you recompile with -DDEBUG,
> run Emacs under a debugger and set the static variable 'debug' in
> regex.c to a positive value, and see what Emacs outputs to stderr?
Adding -DDEBUG makes an error. I had to download a file not part of emacs as suggested here:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-04/msg01236.html
But even then, I get other errors and a failure :
> In file included from etags.c:180:0:
> ../src/chkmalloc.h:8:14: erreur: conflicting types for ‘calloc’
> extern void *calloc(int, int), *malloc (int), *realloc (void *, int);
> ^
> ../src/chkmalloc.h:8:33: erreur: conflicting types for ‘malloc’
> extern void *calloc(int, int), *malloc (int), *realloc (void *, int);
> ^
> ../src/chkmalloc.h:8:48: erreur: conflicting types for ‘realloc’
> extern void *calloc(int, int), *malloc (int), *realloc (void *, int);
> ^
> CCLD ctags
> Makefile:364: recipe for target 'etags' failed
Should I report either of these as a bug ?
Anyway, I changed "#if DEBUG" to "#if 0" in etags.c to avoiding loading
chkmalloc.h at all, and I can now compile but that option outputs a lot
of things to stderr (especially since my file is rather big).
But the good news is that it was so hard to get right that I ended up
looking for an actual reproducible recipe, and succeeded :
1. I have the attached files test.gro and test.el in a directory
2. I run emacs as follows from that directory :
/path/to/emacs -q -f toggle-debug-on-quit ./test.gro --eval '(message "Buffer loaded")' -l ./test.el
3. When the message "Buffer loaded" is on the screen, I hit C-g
4. I get a backtrace:
Debugger entered--Lisp error: (quit)
looking-at("^[ ]*:PROPERTIES:[ ]*\n\\(?:[ ]*:\\S-+:\\(?: .*\\)?[ ]*\n\\)*[ ]*:END:[ ]*$")
eval-buffer(#<buffer *load*> nil "/home/youngfrog/tmp/org-mode/repro-re-match-2-internal/test.el" nil t) ; Reading at buffer position 125
load-with-code-conversion("/home/youngfrog/tmp/org-mode/repro-re-match-2-internal/test.el" "/home/youngfrog/tmp/org-mode/repro-re-match-2-internal/test.el" nil t)
load("/home/youngfrog/tmp/org-mode/repro-re-match-2-internal/test.el" nil t)
command-line-1(("-f" "toggle-debug-on-quit" "-l" "org" "./test.gro" "--eval" "(message \"Buffer loaded\")" "-l" "./test.el"))
command-line()
normal-top-level()
5. hit c in the backtrace window
I then get a core dump.
Please note that if, instead, I don't mention "-l ./test.el" on the
command line but use M-x load-file RET test.el RET after emacs is
loaded (and proceed) the result is not a core dump but an infloop.
Here's a debugging session of that infloop. Since it's the gdb log and
that apparently doesn't record my commands, here's what I did :
- hit C-z in gdb
- ask for a backtrace
- say "finish" until it doesn't return (happens in re_match_2_internal)
- hit C-z again
- another backtrace
- finish until I get back to re_match_2_internal
- say 'next' repeatedly until boredom
I hope this is useful.
Program received signal SIGTSTP, Stopped (user).
XSYMBOL (a=5) at lisp.h:900
900 {
#0 XSYMBOL (a=5) at lisp.h:900
#1 0x081ecb9c in make_lisp_symbol (sym=0x8789d88) at lisp.h:1069
#2 0x081ecbe5 in builtin_lisp_symbol (index=0) at lisp.h:1076
#3 0x081edbf2 in CHAR_TABLE_REF_ASCII (ct=-6917529027498834576, idx=32) at lisp.h:1641
#4 0x081edc8e in CHAR_TABLE_REF (ct=-6917529027498834576, idx=32) at lisp.h:1656
#5 0x081f35fe in syntax_property_entry (c=32, via_property=true) at syntax.h:96
#6 0x081f365d in syntax_property_with_flags (c=32, via_property=true) at syntax.h:111
#7 0x081f3729 in syntax_property (c=32, via_property=true) at syntax.h:123
#8 0x08294827 in re_match_2_internal (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1=0,
string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:6161
#9 0x0828e505 in re_match_2 (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1=0,
string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:4917
#10 0x08278ec8 in looking_at_1 (string=-9223372036703832584, posix=false) at search.c:313
#11 0x08279084 in Flooking_at (regexp=-9223372036703832584) at search.c:348
#12 0x082ceec9 in eval_sub (form=-4611686018278169024) at eval.c:2181
#13 0x08313d35 in readevalloop_eager_expand_eval (val=-4611686018278169024, macroexpand=44021) at lread.c:1756
#14 0x08313c6b in readevalloop_eager_expand_eval (val=4611686018427387914, macroexpand=44021) at lread.c:1751
#15 0x083146d5 in readevalloop (readcharfun=-6917529027490052992, stream=0x0, sourcename=-9223372036703832392, printflag=false, unibyte=0, readfun=0, start=0, end=0) at lread.c:1927
#16 0x08314baa in Feval_buffer (buffer=-6917529027490052992, printflag=0, filename=-9223372036703809768, unibyte=0, do_allow_print=4740) at lread.c:1990
#17 0x082d1145 in Ffuncall (nargs=6, args=0xbfffbff8) at eval.c:2734
#18 0x083303d3 in exec_byte_code (bytestr=-9223372036715856980, vector=-6917529027502163012, maxdepth=4611686018427387910, args_template=0, nargs=0, args=0x0) at bytecode.c:919
#19 0x082d2502 in funcall_lambda (fun=-6917529027502163156, nargs=4, arg_vector=0xbfffc5b0) at eval.c:2951
#20 0x082d155f in Ffuncall (nargs=5, args=0xbfffc5a8) at eval.c:2767
#21 0x082d07d4 in call4 (fn=434936, arg1=-9223372036703809768, arg2=-9223372036703809768, arg3=0, arg4=0) at eval.c:2598
#22 0x08311ca3 in Fload (file=-9223372036703809752, noerror=0, nomessage=0, nosuffix=4740, must_suffix=0) at lread.c:1268
#23 0x082d1145 in Ffuncall (nargs=5, args=0xbfffc920) at eval.c:2734
#24 0x083303d3 in exec_byte_code (bytestr=-9223372036715704012, vector=-6917529027502010044, maxdepth=4611686018427387910, args_template=4611686018427388161, nargs=1, args=0xbfffd200) at bytecode.c:919
#25 0x082d1eba in funcall_lambda (fun=-6917529027502010116, nargs=1, arg_vector=0xbfffd1f8) at eval.c:2885
#26 0x082d155f in Ffuncall (nargs=2, args=0xbfffd1f0) at eval.c:2767
#27 0x082c2f32 in Ffuncall_interactively (nargs=2, args=0xbfffd1f0) at callint.c:252
#28 0x082d0dc4 in Ffuncall (nargs=3, args=0xbfffd1e8) at eval.c:2698
#29 0x082cf939 in Fapply (nargs=3, args=0xbfffd1e8) at eval.c:2293
#30 0x082c370a in Fcall_interactively (function=421597, record_flag=577992, keys=-6917529027498806896) at callint.c:394
#31 0x082d0fe3 in Ffuncall (nargs=4, args=0xbfffd398) at eval.c:2725
#32 0x083303d3 in exec_byte_code (bytestr=-9223372036715318828, vector=-6917529027501624860, maxdepth=4611686018427387917, args_template=4611686018427388929, nargs=2, args=0xbfffd978) at bytecode.c:919
#33 0x082d1eba in funcall_lambda (fun=-6917529027501624924, nargs=2, arg_vector=0xbfffd968) at eval.c:2885
#34 0x082d155f in Ffuncall (nargs=3, args=0xbfffd960) at eval.c:2767
#35 0x083303d3 in exec_byte_code (bytestr=-9223372036715319484, vector=-6917529027501625516, maxdepth=4611686018427387919, args_template=4611686018427388673, nargs=3, args=0xbfffe078) at bytecode.c:919
#36 0x082d1eba in funcall_lambda (fun=-6917529027501625588, nargs=3, arg_vector=0xbfffe060) at eval.c:2885
#37 0x082d155f in Ffuncall (nargs=4, args=0xbfffe058) at eval.c:2767
#38 0x082c2f32 in Ffuncall_interactively (nargs=4, args=0xbfffe058) at callint.c:252
#39 0x082d0dc4 in Ffuncall (nargs=5, args=0xbfffe050) at eval.c:2698
#40 0x082cfdb3 in Fapply (nargs=3, args=0xbfffe288) at eval.c:2337
#41 0x082c370a in Fcall_interactively (function=42875, record_flag=0, keys=-6917529027498806896) at callint.c:394
#42 0x082d0fe3 in Ffuncall (nargs=4, args=0xbfffe438) at eval.c:2725
#43 0x083303d3 in exec_byte_code (bytestr=-9223372036715318828, vector=-6917529027501624860, maxdepth=4611686018427387917, args_template=4611686018427388929, nargs=1, args=0xbfffe9e0) at bytecode.c:919
#44 0x082d1eba in funcall_lambda (fun=-6917529027501624924, nargs=1, arg_vector=0xbfffe9d8) at eval.c:2885
#45 0x082d155f in Ffuncall (nargs=2, args=0xbfffe9d0) at eval.c:2767
#46 0x082d0663 in call1 (fn=1600, arg1=42875) at eval.c:2573
#47 0x081fa00f in command_loop_1 () at keyboard.c:1521
#48 0x082cbc5c in internal_condition_case (bfun=0x81f946b <command_loop_1>, handlers=2060, hfun=0x81f86ac <cmd_error>) at eval.c:1348
#49 0x081f8f02 in command_loop_2 (ignore=0) at keyboard.c:1139
#50 0x082caca8 in internal_catch (tag=4885, func=0x81f8ec6 <command_loop_2>, arg=0) at eval.c:1108
#51 0x081f8e80 in command_loop () at keyboard.c:1118
#52 0x081f80bf in recursive_edit_1 () at keyboard.c:728
#53 0x081f8380 in Frecursive_edit () at keyboard.c:799
#54 0x081f597d in main (argc=7, argv=0xbfffee14) at emacs.c:1626
Run till exit from #0 XSYMBOL (a=5) at lisp.h:900
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb4effb40 (LWP 5871)]
0xffffe424 in __kernel_vsyscall ()
Run till exit from #0 0xffffe424 in __kernel_vsyscall ()
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb587db40 (LWP 5869)]
0xffffe424 in __kernel_vsyscall ()
Run till exit from #0 0xffffe424 in __kernel_vsyscall ()
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb6330b40 (LWP 5867)]
0xffffe424 in __kernel_vsyscall ()
Run till exit from #0 0xffffe424 in __kernel_vsyscall ()
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb66de880 (LWP 5863)]
XSYMBOL (a=5) at lisp.h:900
900 {
Run till exit from #0 XSYMBOL (a=5) at lisp.h:900
0x081ecb9c in make_lisp_symbol (sym=0x8789d88) at lisp.h:1069
1069 eassert (XSYMBOL (a) == sym);
Value returned is $1 = (struct Lisp_Symbol *) 0x8789d88
Run till exit from #0 0x081ecb9c in make_lisp_symbol (sym=0x8789d88) at lisp.h:1069
builtin_lisp_symbol (index=0) at lisp.h:1077
1077 }
Value returned is $2 = 0
Run till exit from #0 builtin_lisp_symbol (index=0) at lisp.h:1077
0x081edbf2 in CHAR_TABLE_REF_ASCII (ct=-6917529027498834576, idx=32) at lisp.h:1641
1641 if (NILP (val))
Value returned is $3 = 0
Run till exit from #0 0x081edbf2 in CHAR_TABLE_REF_ASCII (ct=-6917529027498834576, idx=32) at lisp.h:1641
0x081edc8e in CHAR_TABLE_REF (ct=-6917529027498834576, idx=32) at lisp.h:1656
1656 : char_table_ref (ct, idx));
Value returned is $4 = -4611686018285161472
Run till exit from #0 0x081edc8e in CHAR_TABLE_REF (ct=-6917529027498834576, idx=32) at lisp.h:1656
syntax_property_entry (c=32, via_property=true) at syntax.h:94
94 return (gl_state.use_global
Value returned is $5 = -4611686018285161472
Run till exit from #0 syntax_property_entry (c=32, via_property=true) at syntax.h:94
0x081f365d in syntax_property_with_flags (c=32, via_property=true) at syntax.h:111
111 Lisp_Object ent = syntax_property_entry (c, via_property);
Value returned is $6 = -4611686018285161472
Run till exit from #0 0x081f365d in syntax_property_with_flags (c=32, via_property=true) at syntax.h:111
0x081f3729 in syntax_property (c=32, via_property=true) at syntax.h:123
123 return syntax_property_with_flags (c, via_property) & 0xff;
Value returned is $7 = 0
Run till exit from #0 0x081f3729 in syntax_property (c=32, via_property=true) at syntax.h:123
0x08294827 in re_match_2_internal (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1=0,
string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:6161
6161 if ((SYNTAX (c) != (enum syntaxcode) mcnt) ^ not)
Value returned is $8 = Swhitespace
Run till exit from #0 0x08294827 in re_match_2_internal (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"...,
size1=0, string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:6161
Program received signal SIGTSTP, Stopped (user).
0x081ec3bc in XUNTAG (a=-6917529027492570744, type=5) at lisp.h:919
919 {
#0 0x081ec3bc in XUNTAG (a=-6917529027492570744, type=5) at lisp.h:919
#1 0x081eee2c in PSEUDOVECTORP (a=-6917529027492570744, code=14) at lisp.h:2553
#2 0x081eefdf in SUB_CHAR_TABLE_P (a=-6917529027492570744) at lisp.h:2612
#3 0x081edbad in CHAR_TABLE_REF_ASCII (ct=-6917529027493922824, idx=83) at lisp.h:1639
#4 0x081edc8e in CHAR_TABLE_REF (ct=-6917529027493922824, idx=83) at lisp.h:1656
#5 0x081f091b in char_table_translate (obj=-6917529027493922824, ch=83) at character.h:680
#6 0x0828f88e in re_match_2_internal (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1=0,
string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:5363
#7 0x0828e505 in re_match_2 (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1=0,
string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:4917
#8 0x08278ec8 in looking_at_1 (string=-9223372036703832584, posix=false) at search.c:313
#9 0x08279084 in Flooking_at (regexp=-9223372036703832584) at search.c:348
#10 0x082ceec9 in eval_sub (form=-4611686018278169024) at eval.c:2181
#11 0x08313d35 in readevalloop_eager_expand_eval (val=-4611686018278169024, macroexpand=44021) at lread.c:1756
#12 0x08313c6b in readevalloop_eager_expand_eval (val=4611686018427387914, macroexpand=44021) at lread.c:1751
#13 0x083146d5 in readevalloop (readcharfun=-6917529027490052992, stream=0x0, sourcename=-9223372036703832392, printflag=false, unibyte=0, readfun=0, start=0, end=0) at lread.c:1927
#14 0x08314baa in Feval_buffer (buffer=-6917529027490052992, printflag=0, filename=-9223372036703809768, unibyte=0, do_allow_print=4740) at lread.c:1990
#15 0x082d1145 in Ffuncall (nargs=6, args=0xbfffbff8) at eval.c:2734
#16 0x083303d3 in exec_byte_code (bytestr=-9223372036715856980, vector=-6917529027502163012, maxdepth=4611686018427387910, args_template=0, nargs=0, args=0x0) at bytecode.c:919
#17 0x082d2502 in funcall_lambda (fun=-6917529027502163156, nargs=4, arg_vector=0xbfffc5b0) at eval.c:2951
#18 0x082d155f in Ffuncall (nargs=5, args=0xbfffc5a8) at eval.c:2767
#19 0x082d07d4 in call4 (fn=434936, arg1=-9223372036703809768, arg2=-9223372036703809768, arg3=0, arg4=0) at eval.c:2598
#20 0x08311ca3 in Fload (file=-9223372036703809752, noerror=0, nomessage=0, nosuffix=4740, must_suffix=0) at lread.c:1268
#21 0x082d1145 in Ffuncall (nargs=5, args=0xbfffc920) at eval.c:2734
#22 0x083303d3 in exec_byte_code (bytestr=-9223372036715704012, vector=-6917529027502010044, maxdepth=4611686018427387910, args_template=4611686018427388161, nargs=1, args=0xbfffd200) at bytecode.c:919
#23 0x082d1eba in funcall_lambda (fun=-6917529027502010116, nargs=1, arg_vector=0xbfffd1f8) at eval.c:2885
#24 0x082d155f in Ffuncall (nargs=2, args=0xbfffd1f0) at eval.c:2767
#25 0x082c2f32 in Ffuncall_interactively (nargs=2, args=0xbfffd1f0) at callint.c:252
#26 0x082d0dc4 in Ffuncall (nargs=3, args=0xbfffd1e8) at eval.c:2698
#27 0x082cf939 in Fapply (nargs=3, args=0xbfffd1e8) at eval.c:2293
#28 0x082c370a in Fcall_interactively (function=421597, record_flag=577992, keys=-6917529027498806896) at callint.c:394
#29 0x082d0fe3 in Ffuncall (nargs=4, args=0xbfffd398) at eval.c:2725
#30 0x083303d3 in exec_byte_code (bytestr=-9223372036715318828, vector=-6917529027501624860, maxdepth=4611686018427387917, args_template=4611686018427388929, nargs=2, args=0xbfffd978) at bytecode.c:919
#31 0x082d1eba in funcall_lambda (fun=-6917529027501624924, nargs=2, arg_vector=0xbfffd968) at eval.c:2885
#32 0x082d155f in Ffuncall (nargs=3, args=0xbfffd960) at eval.c:2767
#33 0x083303d3 in exec_byte_code (bytestr=-9223372036715319484, vector=-6917529027501625516, maxdepth=4611686018427387919, args_template=4611686018427388673, nargs=3, args=0xbfffe078) at bytecode.c:919
#34 0x082d1eba in funcall_lambda (fun=-6917529027501625588, nargs=3, arg_vector=0xbfffe060) at eval.c:2885
#35 0x082d155f in Ffuncall (nargs=4, args=0xbfffe058) at eval.c:2767
#36 0x082c2f32 in Ffuncall_interactively (nargs=4, args=0xbfffe058) at callint.c:252
#37 0x082d0dc4 in Ffuncall (nargs=5, args=0xbfffe050) at eval.c:2698
#38 0x082cfdb3 in Fapply (nargs=3, args=0xbfffe288) at eval.c:2337
#39 0x082c370a in Fcall_interactively (function=42875, record_flag=0, keys=-6917529027498806896) at callint.c:394
#40 0x082d0fe3 in Ffuncall (nargs=4, args=0xbfffe438) at eval.c:2725
#41 0x083303d3 in exec_byte_code (bytestr=-9223372036715318828, vector=-6917529027501624860, maxdepth=4611686018427387917, args_template=4611686018427388929, nargs=1, args=0xbfffe9e0) at bytecode.c:919
#42 0x082d1eba in funcall_lambda (fun=-6917529027501624924, nargs=1, arg_vector=0xbfffe9d8) at eval.c:2885
#43 0x082d155f in Ffuncall (nargs=2, args=0xbfffe9d0) at eval.c:2767
#44 0x082d0663 in call1 (fn=1600, arg1=42875) at eval.c:2573
#45 0x081fa00f in command_loop_1 () at keyboard.c:1521
#46 0x082cbc5c in internal_condition_case (bfun=0x81f946b <command_loop_1>, handlers=2060, hfun=0x81f86ac <cmd_error>) at eval.c:1348
#47 0x081f8f02 in command_loop_2 (ignore=0) at keyboard.c:1139
#48 0x082caca8 in internal_catch (tag=4885, func=0x81f8ec6 <command_loop_2>, arg=0) at eval.c:1108
#49 0x081f8e80 in command_loop () at keyboard.c:1118
#50 0x081f80bf in recursive_edit_1 () at keyboard.c:728
#51 0x081f8380 in Frecursive_edit () at keyboard.c:799
#52 0x081f597d in main (argc=7, argv=0xbfffee14) at emacs.c:1626
Run till exit from #0 0x081ec3bc in XUNTAG (a=-6917529027492570744, type=5) at lisp.h:919
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb4effb40 (LWP 5871)]
0xffffe424 in __kernel_vsyscall ()
Run till exit from #0 0xffffe424 in __kernel_vsyscall ()
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb587db40 (LWP 5869)]
0xffffe424 in __kernel_vsyscall ()
Run till exit from #0 0xffffe424 in __kernel_vsyscall ()
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb6330b40 (LWP 5867)]
0xffffe424 in __kernel_vsyscall ()
Run till exit from #0 0xffffe424 in __kernel_vsyscall ()
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 0xb66de880 (LWP 5863)]
0x081ec3bc in XUNTAG (a=-6917529027492570744, type=5) at lisp.h:919
919 {
Run till exit from #0 0x081ec3bc in XUNTAG (a=-6917529027492570744, type=5) at lisp.h:919
0x081eee2c in PSEUDOVECTORP (a=-6917529027492570744, code=14) at lisp.h:2553
2553 struct vectorlike_header *h = XUNTAG (a, Lisp_Vectorlike);
Value returned is $9 = (void *) 0x8da1988
Run till exit from #0 0x081eee2c in PSEUDOVECTORP (a=-6917529027492570744, code=14) at lisp.h:2553
SUB_CHAR_TABLE_P (a=-6917529027492570744) at lisp.h:2613
2613 }
Value returned is $10 = true
Run till exit from #0 SUB_CHAR_TABLE_P (a=-6917529027492570744) at lisp.h:2613
0x081edbad in CHAR_TABLE_REF_ASCII (ct=-6917529027493922824, idx=83) at lisp.h:1639
1639 val = (! SUB_CHAR_TABLE_P (tbl->ascii) ? tbl->ascii
Value returned is $11 = true
Run till exit from #0 0x081edbad in CHAR_TABLE_REF_ASCII (ct=-6917529027493922824, idx=83) at lisp.h:1639
0x081edc8e in CHAR_TABLE_REF (ct=-6917529027493922824, idx=83) at lisp.h:1656
1656 : char_table_ref (ct, idx));
Value returned is $12 = 4611686018427388019
Run till exit from #0 0x081edc8e in CHAR_TABLE_REF (ct=-6917529027493922824, idx=83) at lisp.h:1656
0x081f091b in char_table_translate (obj=-6917529027493922824, ch=83) at character.h:680
680 obj = CHAR_TABLE_REF (obj, ch);
Value returned is $13 = 4611686018427388019
Run till exit from #0 0x081f091b in char_table_translate (obj=-6917529027493922824, ch=83) at character.h:680
0x0828f88e in re_match_2_internal (bufp=0x876f7d4, string1=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1=0,
string2=0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size2=234, pos=9, regs=0x876fe24, stop=234) at regex.c:5363
5363 if (TRANSLATE (buf_ch) != pat_ch)
Value returned is $14 = 115
5365 d = dfail;
5366 goto fail;
6217 IMMEDIATE_QUIT_CHECK;
6218 if (!FAIL_STACK_EMPTY ())
6222 DEBUG_PRINT ("\nFAIL:\n");
6223 POP_FAILURE_POINT (str, pat);
6224 switch (*pat++)
6238 d = str;
6240 EXTRACT_NUMBER_AND_INCR (mcnt, pat);
6241 p = pat + mcnt;
6242 break;
6252 assert (p >= bufp->buffer && p <= pend);
6254 if (d >= string1 && d <= end1)
6259 } /* for (;;) */
5134 DEBUG_PRINT ("\n%p: ", p);
5136 if (p == pend)
5297 switch (*p++)
5313 mcnt = *p++;
5314 DEBUG_PRINT ("EXECUTING exactn %d.\n", mcnt);
5317 dfail = d;
5347 if (target_multibyte)
5353 PREFETCH ();
5354 if (multibyte)
5358 pat_ch = RE_CHAR_TO_MULTIBYTE (*p);
5359 pat_charlen = 1;
5361 buf_ch = STRING_CHAR_AND_LENGTH (d, buf_charlen);
5363 if (TRANSLATE (buf_ch) != pat_ch)
5365 d = dfail;
5366 goto fail;
6217 IMMEDIATE_QUIT_CHECK;
6218 if (!FAIL_STACK_EMPTY ())
6222 DEBUG_PRINT ("\nFAIL:\n");
6223 POP_FAILURE_POINT (str, pat);
6224 switch (*pat++)
6238 d = str;
6240 EXTRACT_NUMBER_AND_INCR (mcnt, pat);
6241 p = pat + mcnt;
6242 break;
6252 assert (p >= bufp->buffer && p <= pend);
6254 if (d >= string1 && d <= end1)
6259 } /* for (;;) */
5134 DEBUG_PRINT ("\n%p: ", p);
5136 if (p == pend)
5297 switch (*p++)
5313 mcnt = *p++;
5314 DEBUG_PRINT ("EXECUTING exactn %d.\n", mcnt);
5317 dfail = d;
5347 if (target_multibyte)
5353 PREFETCH ();
5354 if (multibyte)
5358 pat_ch = RE_CHAR_TO_MULTIBYTE (*p);
5359 pat_charlen = 1;
5361 buf_ch = STRING_CHAR_AND_LENGTH (d, buf_charlen);
5363 if (TRANSLATE (buf_ch) != pat_ch)
5365 d = dfail;
5366 goto fail;
6217 IMMEDIATE_QUIT_CHECK;
6218 if (!FAIL_STACK_EMPTY ())
6222 DEBUG_PRINT ("\nFAIL:\n");
6223 POP_FAILURE_POINT (str, pat);
6224 switch (*pat++)
6238 d = str;
6240 EXTRACT_NUMBER_AND_INCR (mcnt, pat);
6241 p = pat + mcnt;
6242 break;
6252 assert (p >= bufp->buffer && p <= pend);
6254 if (d >= string1 && d <= end1)
6259 } /* for (;;) */
5134 DEBUG_PRINT ("\n%p: ", p);
5136 if (p == pend)
5297 switch (*p++)
5728 EXTRACT_NUMBER_AND_INCR (mcnt, p);
5729 DEBUG_PRINT ("EXECUTING on_failure_keep_string_jump %d (to %p):\n",
5732 PUSH_FAILURE_POINT (p - 3, NULL);
5733 break;
6212 continue; /* Successfully executed one pattern command; keep going. */
6259 } /* for (;;) */
5134 DEBUG_PRINT ("\n%p: ", p);
5136 if (p == pend)
5297 switch (*p++)
5443 boolean not = (re_opcode_t) *(p - 1) == charset_not;
5455 int count = 0;
5458 boolean unibyte_char = false;
5460 DEBUG_PRINT ("EXECUTING charset%s.\n", not ? "_not" : "");
5462 range_table_exists = CHARSET_RANGE_TABLE_EXISTS_P (&p[-1]);
5464 if (range_table_exists)
5471 c = RE_STRING_CHAR_AND_LENGTH (d, len, target_multibyte);
5472 if (target_multibyte)
5476 c = TRANSLATE (c);
A debugging session is active.
Inferior 1 [process 5863] will be killed.
Quit anyway? (y or n)
[-- Attachment #2: test.gro --]
[-- Type: application/octet-stream, Size: 234 bytes --]
**** foo
:PROPERTIES:
:BIOL:
:CHIM: 2 (BA2)
:ECON:
:GEOG:
:GEOL:
:INFO:
:INGE:
:IRBI:
:MATH: 1
:PHAR:
:PHYS:
:SCIE: 2
:campus: PL
:commentaires: les CHIM étaient BA2.
:END:
[-- Attachment #3: test.el --]
[-- Type: application/emacs-lisp, Size: 129 bytes --]
[-- Attachment #4: Type: text/plain, Size: 10 bytes --]
Nicolas.
next prev parent reply other threads:[~2015-03-27 16:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 15:14 bug#20191: 25.0.50; SIGABRT in re_match_2_internal Nicolas Richard
[not found] ` <handler.20191.B.142721003329390.ack@debbugs.gnu.org>
2015-03-24 16:22 ` bug#20191: Acknowledgement (25.0.50; SIGABRT in re_match_2_internal) Nicolas Richard
2015-03-24 17:25 ` bug#20191: 25.0.50; SIGABRT in re_match_2_internal Paul Eggert
2015-03-25 6:45 ` Nicolas Richard
2015-03-26 17:49 ` Paul Eggert
2015-03-27 16:00 ` Nicolas Richard [this message]
2015-03-27 19:37 ` Paul Eggert
2015-03-28 8:38 ` Nicolas Richard
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=87fv8qwhvd.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=20191@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/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.