From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#20191: 25.0.50; SIGABRT in re_match_2_internal Date: Fri, 27 Mar 2015 17:00:06 +0100 Message-ID: <87fv8qwhvd.fsf@yahoo.fr> References: <55119E21.6010109@cs.ucla.edu> <871tkdshgm.fsf@yahoo.fr> <551446A6.1080603@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1427472061 1561 80.91.229.3 (27 Mar 2015 16:01:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 16:01:01 +0000 (UTC) Cc: Nicolas Richard , 20191@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 27 17:00:52 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YbWgH-0000lV-Bh for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 17:00:21 +0100 Original-Received: from localhost ([::1]:50775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbWgG-0003nc-Jn for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 12:00:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbWg7-0003hU-Ak for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:00:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbWg2-0006Tx-79 for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:00:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbWg2-0006SU-2u for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:00:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YbWg1-0000ci-8x for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:00:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Mar 2015 16:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20191 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20191-submit@debbugs.gnu.org id=B20191.14274719612315 (code B ref 20191); Fri, 27 Mar 2015 16:00:04 +0000 Original-Received: (at 20191) by debbugs.gnu.org; 27 Mar 2015 15:59:21 +0000 Original-Received: from localhost ([127.0.0.1]:38280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YbWfH-0000bD-Ru for submit@debbugs.gnu.org; Fri, 27 Mar 2015 11:59:21 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:54724) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YbWfD-0000az-2C for 20191@debbugs.gnu.org; Fri, 27 Mar 2015 11:59:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AikFABh+FVWkD4Xx/2dsb2JhbABcDoNKWoJFTq8EAQEBAQEBBpJ6GQqFdQIcgWcBAQEBAQF9hBQBAQEDAQECFwQFBFIFCwgDGAkhAgICDQEEFDUtiAABDAgNsh2Ba5ImAYYaAQEBAQEBAQMBAQEBAQEBAQEVBIYPgjOCZoRdGweCaIFFBY5Jg3eCBoNbgiaBG4MxgiqEQoh5IoICHIETPj0xAYJCAQEB Original-Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 27 Mar 2015 16:59:01 +0100 In-Reply-To: <551446A6.1080603@cs.ucla.edu> (Paul Eggert's message of "Thu, 26 Mar 2015 10:49:26 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100974 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 26/03/2015 18:49, Paul Eggert a =C3=A9crit : > 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 a= s 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 =E2=80=98calloc=E2= =80=99 > extern void *calloc(int, int), *malloc (int), *realloc (void *, int); > ^ > ../src/chkmalloc.h:8:33: erreur: conflicting types for =E2=80=98malloc=E2= =80=99 > extern void *calloc(int, int), *malloc (int), *realloc (void *, int); > ^ > ../src/chkmalloc.h:8:48: erreur: conflicting types for =E2=80=98realloc= =E2=80=99 > 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 "Buff= er 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(# 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/t= est.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" "--ev= al" "(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=3D5) at lisp.h:900 900 { #0 XSYMBOL (a=3D5) at lisp.h:900 #1 0x081ecb9c in make_lisp_symbol (sym=3D0x8789d88) at lisp.h:1069 #2 0x081ecbe5 in builtin_lisp_symbol (index=3D0) at lisp.h:1076 #3 0x081edbf2 in CHAR_TABLE_REF_ASCII (ct=3D-6917529027498834576, idx=3D32= ) at lisp.h:1641 #4 0x081edc8e in CHAR_TABLE_REF (ct=3D-6917529027498834576, idx=3D32) at l= isp.h:1656 #5 0x081f35fe in syntax_property_entry (c=3D32, via_property=3Dtrue) at sy= ntax.h:96 #6 0x081f365d in syntax_property_with_flags (c=3D32, via_property=3Dtrue) = at syntax.h:111 #7 0x081f3729 in syntax_property (c=3D32, via_property=3Dtrue) at syntax.h= :123 #8 0x08294827 in re_match_2_internal (bufp=3D0x876f7d4, string1=3D0x8ff401= f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:G= EOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1= \n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., s= ize1=3D0,=20 string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 = (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IR= BI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: = PL\n:commentair"..., size2=3D234, pos=3D9, regs=3D0x876fe24, stop=3D234) at= regex.c:6161 #9 0x0828e505 in re_match_2 (bufp=3D0x876f7d4, string1=3D0x8ff401f "**** f= oo\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=3D0,= =20 string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 = (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IR= BI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: = PL\n:commentair"..., size2=3D234, pos=3D9, regs=3D0x876fe24, stop=3D234) at= regex.c:4917 #10 0x08278ec8 in looking_at_1 (string=3D-9223372036703832584, posix=3Dfals= e) at search.c:313 #11 0x08279084 in Flooking_at (regexp=3D-9223372036703832584) at search.c:3= 48 #12 0x082ceec9 in eval_sub (form=3D-4611686018278169024) at eval.c:2181 #13 0x08313d35 in readevalloop_eager_expand_eval (val=3D-461168601827816902= 4, macroexpand=3D44021) at lread.c:1756 #14 0x08313c6b in readevalloop_eager_expand_eval (val=3D4611686018427387914= , macroexpand=3D44021) at lread.c:1751 #15 0x083146d5 in readevalloop (readcharfun=3D-6917529027490052992, stream= =3D0x0, sourcename=3D-9223372036703832392, printflag=3Dfalse, unibyte=3D0, = readfun=3D0, start=3D0, end=3D0) at lread.c:1927 #16 0x08314baa in Feval_buffer (buffer=3D-6917529027490052992, printflag=3D= 0, filename=3D-9223372036703809768, unibyte=3D0, do_allow_print=3D4740) at = lread.c:1990 #17 0x082d1145 in Ffuncall (nargs=3D6, args=3D0xbfffbff8) at eval.c:2734 #18 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715856980, vector=3D= -6917529027502163012, maxdepth=3D4611686018427387910, args_template=3D0, na= rgs=3D0, args=3D0x0) at bytecode.c:919 #19 0x082d2502 in funcall_lambda (fun=3D-6917529027502163156, nargs=3D4, ar= g_vector=3D0xbfffc5b0) at eval.c:2951 #20 0x082d155f in Ffuncall (nargs=3D5, args=3D0xbfffc5a8) at eval.c:2767 #21 0x082d07d4 in call4 (fn=3D434936, arg1=3D-9223372036703809768, arg2=3D-= 9223372036703809768, arg3=3D0, arg4=3D0) at eval.c:2598 #22 0x08311ca3 in Fload (file=3D-9223372036703809752, noerror=3D0, nomessag= e=3D0, nosuffix=3D4740, must_suffix=3D0) at lread.c:1268 #23 0x082d1145 in Ffuncall (nargs=3D5, args=3D0xbfffc920) at eval.c:2734 #24 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715704012, vector=3D= -6917529027502010044, maxdepth=3D4611686018427387910, args_template=3D46116= 86018427388161, nargs=3D1, args=3D0xbfffd200) at bytecode.c:919 #25 0x082d1eba in funcall_lambda (fun=3D-6917529027502010116, nargs=3D1, ar= g_vector=3D0xbfffd1f8) at eval.c:2885 #26 0x082d155f in Ffuncall (nargs=3D2, args=3D0xbfffd1f0) at eval.c:2767 #27 0x082c2f32 in Ffuncall_interactively (nargs=3D2, args=3D0xbfffd1f0) at = callint.c:252 #28 0x082d0dc4 in Ffuncall (nargs=3D3, args=3D0xbfffd1e8) at eval.c:2698 #29 0x082cf939 in Fapply (nargs=3D3, args=3D0xbfffd1e8) at eval.c:2293 #30 0x082c370a in Fcall_interactively (function=3D421597, record_flag=3D577= 992, keys=3D-6917529027498806896) at callint.c:394 #31 0x082d0fe3 in Ffuncall (nargs=3D4, args=3D0xbfffd398) at eval.c:2725 #32 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715318828, vector=3D= -6917529027501624860, maxdepth=3D4611686018427387917, args_template=3D46116= 86018427388929, nargs=3D2, args=3D0xbfffd978) at bytecode.c:919 #33 0x082d1eba in funcall_lambda (fun=3D-6917529027501624924, nargs=3D2, ar= g_vector=3D0xbfffd968) at eval.c:2885 #34 0x082d155f in Ffuncall (nargs=3D3, args=3D0xbfffd960) at eval.c:2767 #35 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715319484, vector=3D= -6917529027501625516, maxdepth=3D4611686018427387919, args_template=3D46116= 86018427388673, nargs=3D3, args=3D0xbfffe078) at bytecode.c:919 #36 0x082d1eba in funcall_lambda (fun=3D-6917529027501625588, nargs=3D3, ar= g_vector=3D0xbfffe060) at eval.c:2885 #37 0x082d155f in Ffuncall (nargs=3D4, args=3D0xbfffe058) at eval.c:2767 #38 0x082c2f32 in Ffuncall_interactively (nargs=3D4, args=3D0xbfffe058) at = callint.c:252 #39 0x082d0dc4 in Ffuncall (nargs=3D5, args=3D0xbfffe050) at eval.c:2698 #40 0x082cfdb3 in Fapply (nargs=3D3, args=3D0xbfffe288) at eval.c:2337 #41 0x082c370a in Fcall_interactively (function=3D42875, record_flag=3D0, k= eys=3D-6917529027498806896) at callint.c:394 #42 0x082d0fe3 in Ffuncall (nargs=3D4, args=3D0xbfffe438) at eval.c:2725 #43 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715318828, vector=3D= -6917529027501624860, maxdepth=3D4611686018427387917, args_template=3D46116= 86018427388929, nargs=3D1, args=3D0xbfffe9e0) at bytecode.c:919 #44 0x082d1eba in funcall_lambda (fun=3D-6917529027501624924, nargs=3D1, ar= g_vector=3D0xbfffe9d8) at eval.c:2885 #45 0x082d155f in Ffuncall (nargs=3D2, args=3D0xbfffe9d0) at eval.c:2767 #46 0x082d0663 in call1 (fn=3D1600, arg1=3D42875) at eval.c:2573 #47 0x081fa00f in command_loop_1 () at keyboard.c:1521 #48 0x082cbc5c in internal_condition_case (bfun=3D0x81f946b , handlers=3D2060, hfun=3D0x81f86ac ) at eval.c:1348 #49 0x081f8f02 in command_loop_2 (ignore=3D0) at keyboard.c:1139 #50 0x082caca8 in internal_catch (tag=3D4885, func=3D0x81f8ec6 , arg=3D0) 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=3D7, argv=3D0xbfffee14) at emacs.c:1626 Run till exit from #0 XSYMBOL (a=3D5) 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=3D5) at lisp.h:900 900 { Run till exit from #0 XSYMBOL (a=3D5) at lisp.h:900 0x081ecb9c in make_lisp_symbol (sym=3D0x8789d88) at lisp.h:1069 1069 eassert (XSYMBOL (a) =3D=3D sym); Value returned is $1 =3D (struct Lisp_Symbol *) 0x8789d88 Run till exit from #0 0x081ecb9c in make_lisp_symbol (sym=3D0x8789d88) at = lisp.h:1069 builtin_lisp_symbol (index=3D0) at lisp.h:1077 1077 } Value returned is $2 =3D 0 Run till exit from #0 builtin_lisp_symbol (index=3D0) at lisp.h:1077 0x081edbf2 in CHAR_TABLE_REF_ASCII (ct=3D-6917529027498834576, idx=3D32) at= lisp.h:1641 1641 if (NILP (val)) Value returned is $3 =3D 0 Run till exit from #0 0x081edbf2 in CHAR_TABLE_REF_ASCII (ct=3D-6917529027= 498834576, idx=3D32) at lisp.h:1641 0x081edc8e in CHAR_TABLE_REF (ct=3D-6917529027498834576, idx=3D32) at lisp.= h:1656 1656 : char_table_ref (ct, idx)); Value returned is $4 =3D -4611686018285161472 Run till exit from #0 0x081edc8e in CHAR_TABLE_REF (ct=3D-6917529027498834= 576, idx=3D32) at lisp.h:1656 syntax_property_entry (c=3D32, via_property=3Dtrue) at syntax.h:94 94 return (gl_state.use_global Value returned is $5 =3D -4611686018285161472 Run till exit from #0 syntax_property_entry (c=3D32, via_property=3Dtrue) = at syntax.h:94 0x081f365d in syntax_property_with_flags (c=3D32, via_property=3Dtrue) at s= yntax.h:111 111 Lisp_Object ent =3D syntax_property_entry (c, via_property); Value returned is $6 =3D -4611686018285161472 Run till exit from #0 0x081f365d in syntax_property_with_flags (c=3D32, vi= a_property=3Dtrue) at syntax.h:111 0x081f3729 in syntax_property (c=3D32, via_property=3Dtrue) at syntax.h:123 123 return syntax_property_with_flags (c, via_property) & 0xff; Value returned is $7 =3D 0 Run till exit from #0 0x081f3729 in syntax_property (c=3D32, via_property= =3Dtrue) at syntax.h:123 0x08294827 in re_match_2_internal (bufp=3D0x876f7d4, string1=3D0x8ff401f "*= *** 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:P= HAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1= =3D0,=20 string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 = (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IR= BI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: = PL\n:commentair"..., size2=3D234, pos=3D9, regs=3D0x876fe24, stop=3D234) at= regex.c:6161 6161 if ((SYNTAX (c) !=3D (enum syntaxcode) mcnt) ^ not) Value returned is $8 =3D Swhitespace Run till exit from #0 0x08294827 in re_match_2_internal (bufp=3D0x876f7d4,= string1=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA= 2)\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"...,=20 size1=3D0, string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:C= HIM: 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=3D234, pos=3D9, regs=3D0x876fe24, sto= p=3D234) at regex.c:6161 Program received signal SIGTSTP, Stopped (user). 0x081ec3bc in XUNTAG (a=3D-6917529027492570744, type=3D5) at lisp.h:919 919 { #0 0x081ec3bc in XUNTAG (a=3D-6917529027492570744, type=3D5) at lisp.h:919 #1 0x081eee2c in PSEUDOVECTORP (a=3D-6917529027492570744, code=3D14) at li= sp.h:2553 #2 0x081eefdf in SUB_CHAR_TABLE_P (a=3D-6917529027492570744) at lisp.h:2612 #3 0x081edbad in CHAR_TABLE_REF_ASCII (ct=3D-6917529027493922824, idx=3D83= ) at lisp.h:1639 #4 0x081edc8e in CHAR_TABLE_REF (ct=3D-6917529027493922824, idx=3D83) at l= isp.h:1656 #5 0x081f091b in char_table_translate (obj=3D-6917529027493922824, ch=3D83= ) at character.h:680 #6 0x0828f88e in re_match_2_internal (bufp=3D0x876f7d4, string1=3D0x8ff401= f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 (BA2)\n:ECON: \n:G= EOG: \n:GEOL: \n:INFO: \n:INGE: \n:IRBI: \n:MATH: 1= \n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., s= ize1=3D0,=20 string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 = (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IR= BI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: = PL\n:commentair"..., size2=3D234, pos=3D9, regs=3D0x876fe24, stop=3D234) at= regex.c:5363 #7 0x0828e505 in re_match_2 (bufp=3D0x876f7d4, string1=3D0x8ff401f "**** f= oo\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=3D0,= =20 string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 = (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IR= BI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: = PL\n:commentair"..., size2=3D234, pos=3D9, regs=3D0x876fe24, stop=3D234) at= regex.c:4917 #8 0x08278ec8 in looking_at_1 (string=3D-9223372036703832584, posix=3Dfals= e) at search.c:313 #9 0x08279084 in Flooking_at (regexp=3D-9223372036703832584) at search.c:3= 48 #10 0x082ceec9 in eval_sub (form=3D-4611686018278169024) at eval.c:2181 #11 0x08313d35 in readevalloop_eager_expand_eval (val=3D-461168601827816902= 4, macroexpand=3D44021) at lread.c:1756 #12 0x08313c6b in readevalloop_eager_expand_eval (val=3D4611686018427387914= , macroexpand=3D44021) at lread.c:1751 #13 0x083146d5 in readevalloop (readcharfun=3D-6917529027490052992, stream= =3D0x0, sourcename=3D-9223372036703832392, printflag=3Dfalse, unibyte=3D0, = readfun=3D0, start=3D0, end=3D0) at lread.c:1927 #14 0x08314baa in Feval_buffer (buffer=3D-6917529027490052992, printflag=3D= 0, filename=3D-9223372036703809768, unibyte=3D0, do_allow_print=3D4740) at = lread.c:1990 #15 0x082d1145 in Ffuncall (nargs=3D6, args=3D0xbfffbff8) at eval.c:2734 #16 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715856980, vector=3D= -6917529027502163012, maxdepth=3D4611686018427387910, args_template=3D0, na= rgs=3D0, args=3D0x0) at bytecode.c:919 #17 0x082d2502 in funcall_lambda (fun=3D-6917529027502163156, nargs=3D4, ar= g_vector=3D0xbfffc5b0) at eval.c:2951 #18 0x082d155f in Ffuncall (nargs=3D5, args=3D0xbfffc5a8) at eval.c:2767 #19 0x082d07d4 in call4 (fn=3D434936, arg1=3D-9223372036703809768, arg2=3D-= 9223372036703809768, arg3=3D0, arg4=3D0) at eval.c:2598 #20 0x08311ca3 in Fload (file=3D-9223372036703809752, noerror=3D0, nomessag= e=3D0, nosuffix=3D4740, must_suffix=3D0) at lread.c:1268 #21 0x082d1145 in Ffuncall (nargs=3D5, args=3D0xbfffc920) at eval.c:2734 #22 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715704012, vector=3D= -6917529027502010044, maxdepth=3D4611686018427387910, args_template=3D46116= 86018427388161, nargs=3D1, args=3D0xbfffd200) at bytecode.c:919 #23 0x082d1eba in funcall_lambda (fun=3D-6917529027502010116, nargs=3D1, ar= g_vector=3D0xbfffd1f8) at eval.c:2885 #24 0x082d155f in Ffuncall (nargs=3D2, args=3D0xbfffd1f0) at eval.c:2767 #25 0x082c2f32 in Ffuncall_interactively (nargs=3D2, args=3D0xbfffd1f0) at = callint.c:252 #26 0x082d0dc4 in Ffuncall (nargs=3D3, args=3D0xbfffd1e8) at eval.c:2698 #27 0x082cf939 in Fapply (nargs=3D3, args=3D0xbfffd1e8) at eval.c:2293 #28 0x082c370a in Fcall_interactively (function=3D421597, record_flag=3D577= 992, keys=3D-6917529027498806896) at callint.c:394 #29 0x082d0fe3 in Ffuncall (nargs=3D4, args=3D0xbfffd398) at eval.c:2725 #30 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715318828, vector=3D= -6917529027501624860, maxdepth=3D4611686018427387917, args_template=3D46116= 86018427388929, nargs=3D2, args=3D0xbfffd978) at bytecode.c:919 #31 0x082d1eba in funcall_lambda (fun=3D-6917529027501624924, nargs=3D2, ar= g_vector=3D0xbfffd968) at eval.c:2885 #32 0x082d155f in Ffuncall (nargs=3D3, args=3D0xbfffd960) at eval.c:2767 #33 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715319484, vector=3D= -6917529027501625516, maxdepth=3D4611686018427387919, args_template=3D46116= 86018427388673, nargs=3D3, args=3D0xbfffe078) at bytecode.c:919 #34 0x082d1eba in funcall_lambda (fun=3D-6917529027501625588, nargs=3D3, ar= g_vector=3D0xbfffe060) at eval.c:2885 #35 0x082d155f in Ffuncall (nargs=3D4, args=3D0xbfffe058) at eval.c:2767 #36 0x082c2f32 in Ffuncall_interactively (nargs=3D4, args=3D0xbfffe058) at = callint.c:252 #37 0x082d0dc4 in Ffuncall (nargs=3D5, args=3D0xbfffe050) at eval.c:2698 #38 0x082cfdb3 in Fapply (nargs=3D3, args=3D0xbfffe288) at eval.c:2337 #39 0x082c370a in Fcall_interactively (function=3D42875, record_flag=3D0, k= eys=3D-6917529027498806896) at callint.c:394 #40 0x082d0fe3 in Ffuncall (nargs=3D4, args=3D0xbfffe438) at eval.c:2725 #41 0x083303d3 in exec_byte_code (bytestr=3D-9223372036715318828, vector=3D= -6917529027501624860, maxdepth=3D4611686018427387917, args_template=3D46116= 86018427388929, nargs=3D1, args=3D0xbfffe9e0) at bytecode.c:919 #42 0x082d1eba in funcall_lambda (fun=3D-6917529027501624924, nargs=3D1, ar= g_vector=3D0xbfffe9d8) at eval.c:2885 #43 0x082d155f in Ffuncall (nargs=3D2, args=3D0xbfffe9d0) at eval.c:2767 #44 0x082d0663 in call1 (fn=3D1600, arg1=3D42875) at eval.c:2573 #45 0x081fa00f in command_loop_1 () at keyboard.c:1521 #46 0x082cbc5c in internal_condition_case (bfun=3D0x81f946b , handlers=3D2060, hfun=3D0x81f86ac ) at eval.c:1348 #47 0x081f8f02 in command_loop_2 (ignore=3D0) at keyboard.c:1139 #48 0x082caca8 in internal_catch (tag=3D4885, func=3D0x81f8ec6 , arg=3D0) 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=3D7, argv=3D0xbfffee14) at emacs.c:1626 Run till exit from #0 0x081ec3bc in XUNTAG (a=3D-6917529027492570744, type= =3D5) 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=3D-6917529027492570744, type=3D5) at lisp.h:919 919 { Run till exit from #0 0x081ec3bc in XUNTAG (a=3D-6917529027492570744, type= =3D5) at lisp.h:919 0x081eee2c in PSEUDOVECTORP (a=3D-6917529027492570744, code=3D14) at lisp.h= :2553 2553 struct vectorlike_header *h =3D XUNTAG (a, Lisp_Vectorlike); Value returned is $9 =3D (void *) 0x8da1988 Run till exit from #0 0x081eee2c in PSEUDOVECTORP (a=3D-691752902749257074= 4, code=3D14) at lisp.h:2553 SUB_CHAR_TABLE_P (a=3D-6917529027492570744) at lisp.h:2613 2613 } Value returned is $10 =3D true Run till exit from #0 SUB_CHAR_TABLE_P (a=3D-6917529027492570744) at lisp.= h:2613 0x081edbad in CHAR_TABLE_REF_ASCII (ct=3D-6917529027493922824, idx=3D83) at= lisp.h:1639 1639 val =3D (! SUB_CHAR_TABLE_P (tbl->ascii) ? tbl->ascii Value returned is $11 =3D true Run till exit from #0 0x081edbad in CHAR_TABLE_REF_ASCII (ct=3D-6917529027= 493922824, idx=3D83) at lisp.h:1639 0x081edc8e in CHAR_TABLE_REF (ct=3D-6917529027493922824, idx=3D83) at lisp.= h:1656 1656 : char_table_ref (ct, idx)); Value returned is $12 =3D 4611686018427388019 Run till exit from #0 0x081edc8e in CHAR_TABLE_REF (ct=3D-6917529027493922= 824, idx=3D83) at lisp.h:1656 0x081f091b in char_table_translate (obj=3D-6917529027493922824, ch=3D83) at= character.h:680 680 obj =3D CHAR_TABLE_REF (obj, ch); Value returned is $13 =3D 4611686018427388019 Run till exit from #0 0x081f091b in char_table_translate (obj=3D-691752902= 7493922824, ch=3D83) at character.h:680 0x0828f88e in re_match_2_internal (bufp=3D0x876f7d4, string1=3D0x8ff401f "*= *** 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:P= HAR: \n:PHYS: \n:SCIE: 2\n:campus: PL\n:commentair"..., size1= =3D0,=20 string2=3D0x8ff401f "**** foo\n:PROPERTIES:\n:BIOL: \n:CHIM: 2 = (BA2)\n:ECON: \n:GEOG: \n:GEOL: \n:INFO: \n:INGE: \n:IR= BI: \n:MATH: 1\n:PHAR: \n:PHYS: \n:SCIE: 2\n:campus: = PL\n:commentair"..., size2=3D234, pos=3D9, regs=3D0x876fe24, stop=3D234) at= regex.c:5363 5363 if (TRANSLATE (buf_ch) !=3D pat_ch) Value returned is $14 =3D 115 5365 d =3D 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 =3D str; 6240 EXTRACT_NUMBER_AND_INCR (mcnt, pat); 6241 p =3D pat + mcnt; 6242 break; 6252 assert (p >=3D bufp->buffer && p <=3D pend); 6254 if (d >=3D string1 && d <=3D end1) 6259 } /* for (;;) */ 5134 DEBUG_PRINT ("\n%p: ", p); 5136 if (p =3D=3D pend) 5297 switch (*p++) 5313 mcnt =3D *p++; 5314 DEBUG_PRINT ("EXECUTING exactn %d.\n", mcnt); 5317 dfail =3D d; 5347 if (target_multibyte) 5353 PREFETCH (); 5354 if (multibyte) 5358 pat_ch =3D RE_CHAR_TO_MULTIBYTE (*p); 5359 pat_charlen =3D 1; 5361 buf_ch =3D STRING_CHAR_AND_LENGTH (d, buf_charlen); 5363 if (TRANSLATE (buf_ch) !=3D pat_ch) 5365 d =3D 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 =3D str; 6240 EXTRACT_NUMBER_AND_INCR (mcnt, pat); 6241 p =3D pat + mcnt; 6242 break; 6252 assert (p >=3D bufp->buffer && p <=3D pend); 6254 if (d >=3D string1 && d <=3D end1) 6259 } /* for (;;) */ 5134 DEBUG_PRINT ("\n%p: ", p); 5136 if (p =3D=3D pend) 5297 switch (*p++) 5313 mcnt =3D *p++; 5314 DEBUG_PRINT ("EXECUTING exactn %d.\n", mcnt); 5317 dfail =3D d; 5347 if (target_multibyte) 5353 PREFETCH (); 5354 if (multibyte) 5358 pat_ch =3D RE_CHAR_TO_MULTIBYTE (*p); 5359 pat_charlen =3D 1; 5361 buf_ch =3D STRING_CHAR_AND_LENGTH (d, buf_charlen); 5363 if (TRANSLATE (buf_ch) !=3D pat_ch) 5365 d =3D 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 =3D str; 6240 EXTRACT_NUMBER_AND_INCR (mcnt, pat); 6241 p =3D pat + mcnt; 6242 break; 6252 assert (p >=3D bufp->buffer && p <=3D pend); 6254 if (d >=3D string1 && d <=3D end1) 6259 } /* for (;;) */ 5134 DEBUG_PRINT ("\n%p: ", p); 5136 if (p =3D=3D 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 go= ing. */ 6259 } /* for (;;) */ 5134 DEBUG_PRINT ("\n%p: ", p); 5136 if (p =3D=3D pend) 5297 switch (*p++) 5443 boolean not =3D (re_opcode_t) *(p - 1) =3D=3D charset_not; 5455 int count =3D 0; 5458 boolean unibyte_char =3D false; 5460 DEBUG_PRINT ("EXECUTING charset%s.\n", not ? "_not" : ""); 5462 range_table_exists =3D CHARSET_RANGE_TABLE_EXISTS_P (&p[-1]); 5464 if (range_table_exists) 5471 c =3D RE_STRING_CHAR_AND_LENGTH (d, len, target_multibyte); 5472 if (target_multibyte) 5476 c =3D TRANSLATE (c); A debugging session is active. Inferior 1 [process 5863] will be killed. Quit anyway? (y or n) --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=test.gro Content-Transfer-Encoding: base64 KioqKiBmb28KOlBST1BFUlRJRVM6CjpCSU9MOiAgICAgCjpDSElNOiAgICAgMiAoQkEyKQo6RUNP TjogICAgIAo6R0VPRzogICAgIAo6R0VPTDogICAgIAo6SU5GTzogICAgIAo6SU5HRTogICAgIAo6 SVJCSTogICAgIAo6TUFUSDogICAgIDEKOlBIQVI6ICAgICAKOlBIWVM6ICAgICAKOlNDSUU6ICAg ICAyCjpjYW1wdXM6ICAgUEwKOmNvbW1lbnRhaXJlczogbGVzIENISU0gw6l0YWllbnQgQkEyLgoK OkVORDoK --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=test.el Content-Transfer-Encoding: quoted-printable (progn (goto-char 10) (looking-at "^[ ]*:PROPERTIES:[ ]* \\(?:[ ]*:\\S-+:\\(?: .*\\)?[ ]* \\)*[ ]*:END:[ ]*$")) --=-=-= Content-Type: text/plain Nicolas. --=-=-=--