From xemacs-m  Fri Feb 21 03:36:20 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA28630
	for <xemacs-beta@xemacs.org>; Fri, 21 Feb 1997 03:36:19 -0600 (CST)
Received: from engine.ecf.teradyne.com (engine.ecf.teradyne.com [131.101.192.6]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id EAA28725; Fri, 21 Feb 1997 04:39:29 -0500 (EST)
Received: from midnight.eng.ecf.teradyne.com (midnight.ecf.teradyne.com [131.101.192.49]) by engine.ecf.teradyne.com (8.7.1/8.7.1) with SMTP id KAA09572; Fri, 21 Feb 1997 10:35:38 +0100 (MET)
Received: by midnight.eng.ecf.teradyne.com (SMI-8.6/SMI-SVR4)
	id KAA10255; Fri, 21 Feb 1997 10:35:39 +0100
To: Tore Olsen <toreo@colargol.idb.hist.no>
Cc: David Byers <davby@ida.liu.se>, xemacs-beta@xemacs.org
Subject: Re: Recipe for crash in regexp code
References: <199702171420.PAA09907@sen2.ida.liu.se> <yngiv3mpmfu.fsf@colargol.idb.hist.no>
X-Face: 4[iHdXiTu\V3u[~\I)<f9HC);%~nG8`oUqv#uzvs6=\V{AjN6Sn
 c/qi;YLwRmEbt8Y*=j5n(urqY@chPh@J'D"QlqD!C8>*}#kYF[-tYl3VZga/HSOP|K,{L
 Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9
 =w|R6U3_;SH&B<Mfy6Q%#
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Fri_Feb_21_10:35:35_1997-1"
Content-Transfer-Encoding: 7bit
From: Adrian Aichner <aichner@ecf.teradyne.com>
Date: 21 Feb 1997 10:35:36 +0100
In-Reply-To: Tore Olsen's message of 21 Feb 1997 09:56:05 +0100
Message-ID: <rxsohdefqmv.fsf@midnight.ecf.teradyne.com>
Lines: 172
X-Mailer: Gnus v5.4.13/XEmacs 20.1

--Multipart_Fri_Feb_21_10:35:35_1997-1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

>>>>> "Tore" =3D=3D Tore Olsen <toreo@colargol.idb.hist.no> writes:

    Tore> David Byers <davby@ida.liu.se> writes:
    >> in XEmacs 20.0 [Lucid] (sparc-sun-solaris2.5, Mule) of Mon Feb 10 19=
97
    >> on sen3.ida.liu.se:
    >> 
    >> I do
    >> 
    >> xemacs -q -l ./xemacs-regexp.el
    >> 
    >> where xemacs-regexp.el contains the following line
    >> 
    >> (string-match "\\(\\s-\\|$\\)" "=E5")
    >> 
    >> consistently generates a core dump. I haven't tried it in the 20.1

I reproduced this bug in
emacs-version
"20.1 XEmacs Lucid (beta1)"

whith the line:

xemacs -no-site-file -no-init-file -l ./xemacs-regexp.el

since I have a large site-start.el as well.

Below is the core file stack backtrace.

Hope this helps.

Adrian


--Multipart_Fri_Feb_21_10:35:35_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="xemacs-regexp.ci"
Content-Transfer-Encoding: 7bit


-------------------------------------------------------
Core Analysis generated by
/u/aichner/sh/core_info.sh
on Fri Feb 21 10:28:54 MET 1997.

Core File: core
Current Working Directory: /u/aichner
Program: /usr/local/xemacs-20.1-b1/src/xemacs
Host: midnight
Architecture: sun4m

Equivalent dbx command sequence:

(dbx /usr/local/xemacs-20.1-b1/src/xemacs core) 2>&1
<<here
where
dump
quit
here
-------------------------------------------------------

Reading symbolic information for xemacs
core file header read successfully
Reading symbolic information for rtld /usr/lib/ld.so.1
Reading symbolic information for libDtSvc.so.1
Reading symbolic information for libtt.so.2
Reading symbolic information for libce.so.0
Reading symbolic information for libXm.so.3
Reading symbolic information for libz.so
Reading symbolic information for libXmu.so.4
Reading symbolic information for libXt.so.4
Reading symbolic information for libXext.so.0
Reading symbolic information for libX11.so.4
Reading symbolic information for libsocket.so.1
Reading symbolic information for libnsl.so.1
Reading symbolic information for libkvm.so.1
Reading symbolic information for libelf.so.1
Reading symbolic information for libdl.so.1
Reading symbolic information for libkstat.so.1
Reading symbolic information for libc.so.1
Reading symbolic information for libintl.so.1
Reading symbolic information for libw.so.1
Reading symbolic information for libm.so.1
Reading symbolic information for libmp.so.1
program terminated by signal ABRT (Abort)
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/emacs.o"
dbx: warning: see `help pathmap'
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/mule-charset.o"
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/regex.o"
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/search.o"
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/eval.o"
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/lread.o"
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/bytecode.o"
dbx: warning: can't find file "/export/prod/local/xemacs-20.1-b1/src/cmdloop.o"
=>[1] kill(0x0, 0x6, 0x27e1, 0x27e0, 0x0, 0x0), at 0xef1f3e30
  [2] fatal_error_signal(0x2f18dc, 0x342400, 0x342400, 0xf026b494, 0x0, 0x0), at 0x7c004
  ---- called from signal handler with signal 6 (SIGABRT) ------
  [3] kill(), at 0xef1f3e30
  [4] abort(0x9d, 0x33b3dc, 0x1df, 0x33b40c, 0x0, 0x3), at 0xef1b95b4
  [5] assert_failed(0x33b3dc, 0x1df, 0x33b40c, 0xf026b494, 0x0, 0x0), at 0x7e178
  [6] error_check_charset(0x37e004, 0x39dc08, 0x39dc06, 0x204, 0x0, 0x0), at 0x185d78
  [7] non_ascii_charptr_emchar(0x1037e004, 0x0, 0xe5, 0x58893d, 0x0, 0x39dc06), at 0x1863cc
  [8] charptr_emchar(0x58893d, 0x39dc08, 0x18, 0x0, 0xefffc700, 0x0), at 0x10a78c
  [9] re_match_2_internal(0xefffc6d4, 0x2d9c28, 0x58893d, 0xefffc674, 0x5, 0x20), at 0x1168c0
  [10] re_search_2(0x2, 0x3458bc, 0x0, 0x2, 0x2, 0x58893c), at 0x11130c
  [11] re_search(0x34bbc4, 0x58893c, 0x2, 0x0, 0x2, 0x3458bc), at 0x110e18
  [12] string_match_1(0x34bbc4, 0x30479d08, 0x3458bc, 0x479d08, 0x34e400, 0x0), at 0x11a88c
  [13] Fstring_match(0x30479cfc, 0x30479d08, 0x1037e004, 0x1037e004, 0x29, 0x104b6a00), at 0x11a918
  [14] primitive_funcall(0x11a8f8, 0x4, 0xefffd060, 0x2, 0x34e670, 0x1037e004), at 0x83cc4
  [15] funcall_subr(0x2d9da8, 0xefffd060, 0x7, 0x4, 0x1037e004, 0xefffd070), at 0x83ea8
  [16] Feval(0x2d9da8, 0x34bf58, 0x34e670, 0x2, 0xefffd068, 0x4), at 0x82d74
  [17] readevalloop(0x34e400, 0x1c, 0x8268c, 0x0, 0x1, 0x4b6a00), at 0xdc664
  [18] Fload_internal(0x34e400, 0x4b5800, 0xefffd204, 0xefffd21f, 0x103957cc, 0x1037e004), at 0xdb53c
  [19] primitive_funcall(0xdae18, 0x6, 0xefffd530, 0xfffffff, 0x45c040, 0x0), at 0x83d08
  [20] funcall_subr(0x1f439c, 0xefffd530, 0x9, 0x1f439c, 0x1037e004, 0x6), at 0x83ea8
  [21] funcall_recording_as(0x34712c, 0x5, 0x1f0e10, 0xefffd83c, 0xefffd840, 0x101f439c), at 0x83284
  [22] Ffuncall(0x6, 0xefffd83c, 0x12a614, 0x3557d8, 0x12b400, 0x37e004), at 0x833f0
  [23] Fbyte_code(0x25, 0x1f477c, 0xefffd850, 0x287db0, 0xefffd624, 0xefffd83c), at 0x56b9c
  [24] funcall_lambda(0x287e94, 0x3, 0xefffdae8, 0x34e670, 0x356c00, 0x1), at 0x842e0
  [25] funcall_recording_as(0x34712c, 0x3, 0x1f0e10, 0xefffdae4, 0xefffdae8, 0x10287e94), at 0x832f4
  [26] Ffuncall(0x4, 0xefffdae4, 0x34d3c4, 0x3557d8, 0x12b400, 0x3feea0), at 0x833f0
  [27] Fbyte_code(0x23, 0x1f477c, 0xefffdaf0, 0x2740a0, 0xefffda7c, 0xefffdae4), at 0x56b9c
  [28] funcall_lambda(0x2740bc, 0x1, 0xefffe118, 0x34e670, 0x356c00, 0x1), at 0x842e0
  [29] funcall_recording_as(0x34712c, 0x1, 0x1f0e10, 0xefffe114, 0xefffe118, 0x102740bc), at 0x832f4
  [30] Ffuncall(0x2, 0xefffe114, 0x34e400, 0x3557d8, 0x12b400, 0x37e004), at 0x833f0
  [31] Fbyte_code(0x21, 0x1f477c, 0xefffe130, 0x2755f0, 0xefffdd1c, 0xefffe114), at 0x56b9c
  [32] funcall_lambda(0x2757e4, 0x0, 0xefffe500, 0x34e670, 0x2da580, 0x1), at 0x842e0
  [33] funcall_recording_as(0x34712c, 0x0, 0x1f0e10, 0xefffe4fc, 0xefffe500, 0x102757e4), at 0x832f4
  [34] Ffuncall(0x1, 0xefffe4fc, 0x1037e004, 0x103960ac, 0x10395fb4, 0x3), at 0x833f0
  [35] Fbyte_code(0x20, 0x1f477c, 0xefffe508, 0x274d18, 0xefffe35c, 0xefffe4fc), at 0x56b9c
  [36] funcall_lambda(0x274dd8, 0x0, 0xefffe840, 0x34e670, 0x2da580, 0x1), at 0x842e0
  [37] funcall_recording_as(0x34712c, 0x0, 0x1f0e10, 0xefffe83c, 0xefffe840, 0x10274dd8), at 0x832f4
  [38] Ffuncall(0x1, 0xefffe83c, 0x342400, 0x3557d8, 0x12b400, 0x1ee700), at 0x833f0
  [39] Fbyte_code(0x20, 0x1f477c, 0xefffe848, 0x274714, 0xefffe734, 0xefffe83c), at 0x56b9c
  [40] funcall_lambda(0x27485c, 0x0, 0xefffe97c, 0x34e670, 0xefffe984, 0x1), at 0x842e0
  [41] apply_lambda(0xefffe97c, 0x347000, 0x0, 0x0, 0x1027485c, 0x1045ecb4), at 0x83fb4
  [42] Feval(0x1f0e80, 0x34bf58, 0x34e670, 0x0, 0x1, 0x1f0e10), at 0x82de0
  [43] condition_case_1(0x1037e064, 0x8268c, 0x20489a34, 0x62774, 0x1037e004, 0x0), at 0x809f8
  [44] top_level_1(0x34e400, 0x627cc, 0xefffec88, 0xf025cd40, 0x0, 0xefffea00), at 0x627fc
  [45] internal_catch(0x10390fe4, 0x627cc, 0x1037e004, 0x0, 0x0, 0x0), at 0x80610
  [46] initial_command_loop(0x1037e004, 0x34e670, 0x34bc00, 0x103b3500, 0x1, 0x1), at 0x62900
  [47] main_1(0x1037e004, 0x377000, 0x34b400, 0x5, 0x377400, 0xefffeebc), at 0x7d330
  [48] main(0x5, 0xefffeebc, 0xefffeed4, 0x1ec400, 0x1, 0x0), at 0x7db70

--Multipart_Fri_Feb_21_10:35:35_1997-1
Content-Type: text/plain; charset=US-ASCII


    >> och 19.15 betas.

    Tore> This doesn't crash on 19.15b94 compiled without mule. 20.0 crashes alot
    Tore> on me, especially when doing M-q with auctex.

    Tore> -Toreo
    Tore> -- 
    Tore> Tore Olsen <toreo@colargol.idb.hist.no> drift@colargol, TIHLDE, IDB HiST

    Tore> Surprise, fear, and a ruthless dedication to the Gnu!



-- 
  Teradyne GmbH               Adrian Aichner Applications Engineer
  Semiconductor Test Group    Telephone      +49/89/418 61 (0)-208
  Dingolfinger Strasse 2      Fax            +49/89/418 61-217
  D-81673 M"UNCHEN            E-mail         aichner@ecf.teradyne.com

--Multipart_Fri_Feb_21_10:35:35_1997-1--

