From unknown Sat Aug 16 21:22:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Feb 2013 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13759@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136129085426231 (code B ref -1); Tue, 19 Feb 2013 16:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2013 16:20:54 +0000 Received: from localhost ([127.0.0.1]:37081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7pw1-0006oz-Ru for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:20:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58334) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7pvv-0006on-Ly for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:20:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7puo-0004Vn-Sy for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:19:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7puo-0004Vc-Mx for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:19:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pul-0004rP-E0 for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 11:19:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7puc-0004Ow-7I for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 11:19:31 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:60715 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7ajN-0007mK-54 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 19:06:45 -0500 Received: from localhost ([127.0.0.1]:36679) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1U7ajK-001xUp-Pw; Mon, 18 Feb 2013 18:06:43 -0600 Date: Tue, 19 Feb 2013 09:06:37 +0900 Message-ID: From: Katsumi Yamaoka Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:68qsax+S2wH0w63yNnqOrf7ICz4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: yamaoka X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) of 2013-02-15 on localhost (Bzr revision: 111784 jan.h.d@swipnet.se-20130214190112-35htkvic2zp1bwr2) Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 Configured using: `configure --verbose --with-x-toolkit=lucid --without-imagemagick --without-dbus --without-gconf --without-gsettings' Can't build Emacs trunk on Cygwin (daily updated) on Windows 7: [...] Static heap usage: 9541024 of 13631488 bytes 43466 pure bytes used cd ../lisp; make -w compile-first EMACS=/Work/emacs/src/bootstrap-emacs.exe make[3]: Entering directory `/Work/emacs/lisp' Compiling /Work/emacs/lisp/emacs-lisp/macroexp.el Fatal error 11: Segmentation faultMakefile:243:\ recipe for target `/Work/emacs/lisp/emacs-lisp/macroexp.elc' failed Here's a backtrace: % gdb src/bootstrap-emacs.exe GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special) [...] Reading symbols from /Work/emacs/src/bootstrap-emacs.exe...done. (gdb) r Starting program: /Work/emacs/src/bootstrap-emacs.exe [New Thread 9364.0x1a3c] [New Thread 9364.0x1d18] Program received signal SIGSEGV, Segmentation fault. mmap_alloc (var=0xf26d18, nbytes=15273) at buffer.c:4906 4906 r->next->prev = r; (gdb) bt #0 mmap_alloc (var=0xf26d18, nbytes=15273) at buffer.c:4906 #1 0x004d07b9 in mmap_realloc (nbytes=15273, var=0xf26d18) at buffer.c:4945 #2 enlarge_buffer_text (b=0xf26c00, delta=0) at buffer.c:5053 #3 0x004d1e16 in init_buffer () at buffer.c:5301 #4 0x004af6dd in main (argc=1, argv=0x22ac40) at emacs.c:1305 (gdb) Is any other information required? Thanks. From unknown Sat Aug 16 21:22:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults Resent-From: Daniel Colascione Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Feb 2013 05:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Katsumi Yamaoka Cc: 13759@debbugs.gnu.org Received: via spool by 13759-submit@debbugs.gnu.org id=B13759.136133724012197 (code B ref 13759); Wed, 20 Feb 2013 05:14:02 +0000 Received: (at 13759) by debbugs.gnu.org; 20 Feb 2013 05:14:00 +0000 Received: from localhost ([127.0.0.1]:38267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U820F-0003Af-RC for submit@debbugs.gnu.org; Wed, 20 Feb 2013 00:14:00 -0500 Received: from dancol.org ([96.126.100.184]:45825) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U820C-0003AW-UM for 13759@debbugs.gnu.org; Wed, 20 Feb 2013 00:13:58 -0500 Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1U81z4-0003vm-NI; Tue, 19 Feb 2013 21:12:46 -0800 Message-ID: <51245B4B.6000803@dancol.org> Date: Tue, 19 Feb 2013 21:12:43 -0800 From: Daniel Colascione User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 References: In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2TVXLGLINAFNUMLUWQTPL" X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2TVXLGLINAFNUMLUWQTPL Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2/18/2013 4:06 PM, Katsumi Yamaoka wrote: > Program received signal SIGSEGV, Segmentation fault. > mmap_alloc (var=3D0xf26d18, nbytes=3D15273) at buffer.c:4906 > 4906 r->next->prev =3D r; > (gdb) bt > #0 mmap_alloc (var=3D0xf26d18, nbytes=3D15273) at buffer.c:4906 > #1 0x004d07b9 in mmap_realloc (nbytes=3D15273, var=3D0xf26d18) at buff= er.c:4945 > #2 enlarge_buffer_text (b=3D0xf26c00, delta=3D0) at buffer.c:5053 > #3 0x004d1e16 in init_buffer () at buffer.c:5301 > #4 0x004af6dd in main (argc=3D1, argv=3D0x22ac40) at emacs.c:1305 > (gdb)=20 >=20 > Is any other information required? Thanks. The problem is that mmap_regions, the head of a linked list of memory allocations we've made for buffers, is non-NULL in the dumped Emacs, but obviously points to garbage that was valid only before Emacs was dumped. = The call to mmap_set_vars in Fdump_emacs is supposed to zero these variables = before we dump Emacs, but mmap_regions becomes non-NULL inside Fdump_emacs: gdb) where #0 mmap_alloc (var=3D0x7ca918, nbytes=3D6389) at buffer.c:4909 #1 0x004b0039 in mmap_realloc (nbytes=3D6389, var=3D0x7ca918) at buffer.= c:4945 #2 enlarge_buffer_text (b=3D0x7ca800, delta=3D0) at buffer.c:5053 #3 0x004b0148 in set_buffer_internal_1 (b=3D0x7ca800) at buffer.c:2104 #4 0x004b068b in set_buffer_internal (b=3D) at buffer.h:1= 090 #5 Fset_buffer (buffer_or_name=3D8169477) at buffer.c:2195 #6 0x0041e47c in message_dolog (m=3D0x287110 "Static heap usage: 1107212= 8 of 13631488 bytes\rC", nbytes=3D45, nlflag=3Dtrue, multibyte=3Dfalse) at xdisp.c:9389 #7 0x00430d50 in message3 (m=3D17698433) at xdisp.c:9598 #8 0x0054da7e in report_sheap_usage (die_if_pure_storage_exceeded=3D1) a= t sheap.c:94 #9 0x0052ec2a in unexec (outfile=3D0x121f934 "/users/dancol/edev/cyg/src= /emacs", infile=3D0x121f968 "/users/dancol/edev/cyg/src/temacs") at unexcw.c:287 #10 0x0048de13 in Fdump_emacs (filename=3D17698561, symfile=3D17698449) a= t emacs.c:2056 #11 0x004fb913 in eval_sub (form=3D11000526) at eval.c:2043 #12 0x004fbc8e in Fprogn (args=3D11000262) at eval.c:359 #13 0x004fba80 in eval_sub (form=3D10618670) at eval.c:1988 #14 0x004fba80 in eval_sub (form=3D10273462) at eval.c:1988 #15 0x0051cbd6 in readevalloop (readcharfun=3D10344786, stream=3D0x7ca60c= , sourcename=3D10459185, printflag=3Dfalse, unibyte=3D10283034, readfun=3D10283034, start=3D10283034, end=3D10283034) at lread.c:1855= #16 0x0051d8c4 in Fload (file=3D10400673, noerror=3D10283034, nomessage=3D= 10283034, nosuffix=3D10283034, must_suffix=3D10283034) at lread.c:1326 #17 0x004fb8b9 in eval_sub (form=3D10268918) at eval.c:2054 #18 0x004fd8b2 in Feval (form=3D10268918, lexical=3D10283034) at eval.c:1= 902 #19 0x0049240c in top_level_2 () at keyboard.c:1182 #20 0x004faac4 in internal_condition_case (bfun=3D0x4923f0 ,= handlers=3D10325114, hfun=3D0x493c90 ) at eval.c:1193 #21 0x00492c30 in top_level_1 (ignore=3D10283034) at keyboard.c:1190 #22 0x004fa9ea in internal_catch (tag=3D10314994, func=3D0x492bd0 , arg=3D10283034) at eval.c:964 #23 0x004937a8 in command_loop () at keyboard.c:1151 #24 recursive_edit_1 () at keyboard.c:785 #25 0x00493ab1 in Frecursive_edit () at keyboard.c:849 #26 0x0048f662 in main (argc=3D, argv=3D0x28ac20) at emacs= =2Ec:1556 I don't know why we suddenly started seeing this behavior. ------enig2TVXLGLINAFNUMLUWQTPL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Cygwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEkW00ACgkQ17c2LVA10VuiZQCgzNnquKyRWf0ZfgM7r/C8ehmu /WAAn1FKPqkXX9T5v1NjQ83AS3ozHPOX =Z0SK -----END PGP SIGNATURE----- ------enig2TVXLGLINAFNUMLUWQTPL-- From unknown Sat Aug 16 21:22:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults Resent-From: Daniel Colascione Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Feb 2013 05:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Katsumi Yamaoka Cc: 13759@debbugs.gnu.org Received: via spool by 13759-submit@debbugs.gnu.org id=B13759.136133990916065 (code B ref 13759); Wed, 20 Feb 2013 05:59:02 +0000 Received: (at 13759) by debbugs.gnu.org; 20 Feb 2013 05:58:29 +0000 Received: from localhost ([127.0.0.1]:38293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U82hI-0004B3-DO for submit@debbugs.gnu.org; Wed, 20 Feb 2013 00:58:28 -0500 Received: from dancol.org ([96.126.100.184]:45945) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U82hD-0004Ar-Mw for 13759@debbugs.gnu.org; Wed, 20 Feb 2013 00:58:24 -0500 Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1U82g5-00042H-Ig; Tue, 19 Feb 2013 21:57:13 -0800 Message-ID: <512465B5.5030207@dancol.org> Date: Tue, 19 Feb 2013 21:57:09 -0800 From: Daniel Colascione User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 References: <51245B4B.6000803@dancol.org> In-Reply-To: <51245B4B.6000803@dancol.org> X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2FBFVLPRBETMNPXDNXFHW" X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FBFVLPRBETMNPXDNXFHW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2/19/2013 9:12 PM, Daniel Colascione wrote: > I don't know why we suddenly started seeing this behavior. Revision 111820, "Prefer `message1' over `message'.", caused us to start = calling message1 instead of message in sheap.c. message1 ends up calling message_= dolog, which tries to allocate a *Messages* buffer. Maybe Fdump_emacs should bin= d Vmessage_max_log? Anyway, I've installed the following patch to trunk, which fixes the prob= lem. If we want to go back to using message1, let's somehow make sure it doesn't = log. revno: 111830 committer: Daniel Colascione branch nick: cyg timestamp: Tue 2013-02-19 21:43:53 -0800 message: 2013-02-19 Daniel Colascione * sheap.c (report_sheap_usage): Use message, not message1, so that we don't try to create a buffer while we're in the middle of dumping Emacs. Explain why. diff: =3D=3D=3D modified file 'src/ChangeLog' --- src/ChangeLog 2013-02-19 03:29:28 +0000 +++ src/ChangeLog 2013-02-20 05:43:53 +0000 @@ -1,3 +1,9 @@ +2013-02-19 Daniel Colascione + + * sheap.c (report_sheap_usage): Use message, not message1, so + that we don't try to create a buffer while we're in the middle + of dumping Emacs. Explain why. + 2013-02-19 Eli Zaretskii * w32proc.c (new_child): Avoid leaking handles if the subprocess =3D=3D=3D modified file 'src/sheap.c' --- src/sheap.c 2013-02-17 16:49:27 +0000 +++ src/sheap.c 2013-02-20 05:43:53 +0000 @@ -91,5 +91,8 @@ char buf[200]; sprintf (buf, "Static heap usage: %d of %d bytes", bss_sbrk_ptr - bss_sbrk_buffer, STATIC_HEAP_SIZE); - message1 (buf); + /* Don't change this call to message1! message1 can log + messages, and at this point, we're not allowed to create + buffers. */ + message ("%s", buf); } ------enig2FBFVLPRBETMNPXDNXFHW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Cygwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEkZbcACgkQ17c2LVA10VvYNQCgw3AhxMyG+qv4OFtODanxQ8aR etcAoLops4AiqDBWF5fE0/m1IGF3JMN/ =98Df -----END PGP SIGNATURE----- ------enig2FBFVLPRBETMNPXDNXFHW-- From unknown Sat Aug 16 21:22:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Katsumi Yamaoka Subject: bug#13759: closed (Re: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults) Message-ID: References: X-Gnu-PR-Message: they-closed 13759 X-Gnu-PR-Package: emacs Reply-To: 13759@debbugs.gnu.org Date: Wed, 20 Feb 2013 10:21:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1361355662-7219-1" This is a multi-part message in MIME format... ------------=_1361355662-7219-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 13759@debbugs.gnu.org. --=20 13759: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13759 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1361355662-7219-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 13759-done) by debbugs.gnu.org; 20 Feb 2013 10:20:34 +0000 Received: from localhost ([127.0.0.1]:38697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U86mr-0001ri-Bf for submit@debbugs.gnu.org; Wed, 20 Feb 2013 05:20:33 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:56946 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U86mk-0001rX-Se for 13759-done@debbugs.gnu.org; Wed, 20 Feb 2013 05:20:27 -0500 Received: from localhost.localdomain ([127.0.0.1]:36257 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1U86la-003MlV-BQ; Wed, 20 Feb 2013 04:19:10 -0600 Date: Wed, 20 Feb 2013 19:19:09 +0900 Message-ID: From: Katsumi Yamaoka To: Daniel Colascione Subject: Re: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults References: <51245B4B.6000803@dancol.org> <512465B5.5030207@dancol.org> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:Fi1jfkIt/WFmUTByweMF5DnQ3/I= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13759-done Cc: 13759-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Daniel Colascione wrote: [...] > Anyway, I've installed the following patch to trunk, which > fixes the problem. If we want to go back to using message1, > let's somehow make sure it doesn't log. Thanks a lot! It enables me to play with ELisp again. ------------=_1361355662-7219-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Feb 2013 16:20:54 +0000 Received: from localhost ([127.0.0.1]:37081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7pw1-0006oz-Ru for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:20:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58334) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7pvv-0006on-Ly for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:20:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7puo-0004Vn-Sy for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:19:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7puo-0004Vc-Mx for submit@debbugs.gnu.org; Tue, 19 Feb 2013 11:19:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7pul-0004rP-E0 for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 11:19:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7puc-0004Ow-7I for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2013 11:19:31 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:60715 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7ajN-0007mK-54 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 19:06:45 -0500 Received: from localhost ([127.0.0.1]:36679) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1U7ajK-001xUp-Pw; Mon, 18 Feb 2013 18:06:43 -0600 Date: Tue, 19 Feb 2013 09:06:37 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 24.3.50; bootstrap failed; bootstrap-emacs segfaults Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:68qsax+S2wH0w63yNnqOrf7ICz4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: yamaoka X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) In GNU Emacs 24.3.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars) of 2013-02-15 on localhost (Bzr revision: 111784 jan.h.d@swipnet.se-20130214190112-35htkvic2zp1bwr2) Windowing system distributor `The Cygwin/X Project', version 11.0.11302000 Configured using: `configure --verbose --with-x-toolkit=lucid --without-imagemagick --without-dbus --without-gconf --without-gsettings' Can't build Emacs trunk on Cygwin (daily updated) on Windows 7: [...] Static heap usage: 9541024 of 13631488 bytes 43466 pure bytes used cd ../lisp; make -w compile-first EMACS=/Work/emacs/src/bootstrap-emacs.exe make[3]: Entering directory `/Work/emacs/lisp' Compiling /Work/emacs/lisp/emacs-lisp/macroexp.el Fatal error 11: Segmentation faultMakefile:243:\ recipe for target `/Work/emacs/lisp/emacs-lisp/macroexp.elc' failed Here's a backtrace: % gdb src/bootstrap-emacs.exe GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special) [...] Reading symbols from /Work/emacs/src/bootstrap-emacs.exe...done. (gdb) r Starting program: /Work/emacs/src/bootstrap-emacs.exe [New Thread 9364.0x1a3c] [New Thread 9364.0x1d18] Program received signal SIGSEGV, Segmentation fault. mmap_alloc (var=0xf26d18, nbytes=15273) at buffer.c:4906 4906 r->next->prev = r; (gdb) bt #0 mmap_alloc (var=0xf26d18, nbytes=15273) at buffer.c:4906 #1 0x004d07b9 in mmap_realloc (nbytes=15273, var=0xf26d18) at buffer.c:4945 #2 enlarge_buffer_text (b=0xf26c00, delta=0) at buffer.c:5053 #3 0x004d1e16 in init_buffer () at buffer.c:5301 #4 0x004af6dd in main (argc=1, argv=0x22ac40) at emacs.c:1305 (gdb) Is any other information required? Thanks. ------------=_1361355662-7219-1-- From unknown Sat Aug 16 21:22:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Feb 2013 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: dancol@dancol.org, 13759@debbugs.gnu.org Received: via spool by 13759-submit@debbugs.gnu.org id=B13759.136140351519483 (code B ref 13759); Wed, 20 Feb 2013 23:39:02 +0000 Received: (at 13759) by debbugs.gnu.org; 20 Feb 2013 23:38:35 +0000 Received: from localhost ([127.0.0.1]:40757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8JFC-00054B-FR for submit@debbugs.gnu.org; Wed, 20 Feb 2013 18:38:35 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:56850 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8JFA-000543-HL for 13759@debbugs.gnu.org; Wed, 20 Feb 2013 18:38:33 -0500 Received: from localhost.localdomain ([127.0.0.1]:60155 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1U8JDw-0017Ci-IB; Wed, 20 Feb 2013 17:37:16 -0600 Date: Thu, 21 Feb 2013 08:37:12 +0900 Message-ID: From: Katsumi Yamaoka References: <51245B4B.6000803@dancol.org> <512465B5.5030207@dancol.org> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:BMLthp4nMxhJ5K3Ud6xr9/Or3dg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Katsumi Yamaoka wrote: > Daniel Colascione wrote: > [...] >> Anyway, I've installed the following patch to trunk, which >> fixes the problem. If we want to go back to using message1, >> let's somehow make sure it doesn't log. > Thanks a lot! It enables me to play with ELisp again. Stefan Monnier wrote: > + * sheap.c (report_sheap_usage): Prefer message1_nolog. Bootstrap fails again on Cygwin/Windows7: [...] gcc -std=gnu99 -c -Demacs -I. -I/Work/emacs/src -I../lib\ -I/Work/emacs/src/../lib -I/usr/include/freetype2 -D_REENTRANT\ -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0\ -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0\ -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1\ -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2\ -MMD -MF deps/sheap.d -MP -I/usr/include/p11-kit-1 -g3 -O2 sheap.c sheap.c: In function 'report_sheap_usage': sheap.c:96:3: error: too many arguments to function 'message1_nolog' What additional info should I provide? Thanks. From unknown Sat Aug 16 21:22:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Feb 2013 02:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Katsumi Yamaoka Cc: Stefan Monnier , 13759@debbugs.gnu.org Received: via spool by 13759-submit@debbugs.gnu.org id=B13759.13614144222814 (code B ref 13759); Thu, 21 Feb 2013 02:41:01 +0000 Received: (at 13759) by debbugs.gnu.org; 21 Feb 2013 02:40:22 +0000 Received: from localhost ([127.0.0.1]:40962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8M56-0000jK-NC for submit@debbugs.gnu.org; Wed, 20 Feb 2013 21:40:21 -0500 Received: from limestone8.mail.cornell.edu ([128.253.83.168]:36932) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8M54-0000jC-9b for 13759@debbugs.gnu.org; Wed, 20 Feb 2013 21:40:19 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limestone8.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id r1L2d3H4002378; Wed, 20 Feb 2013 21:39:03 -0500 (EST) Received: from [192.168.1.9] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r1L2d2rv006269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 20 Feb 2013 21:39:02 -0500 Message-ID: <512588CB.9010100@cornell.edu> Date: Wed, 20 Feb 2013 21:39:07 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 References: <51245B4B.6000803@dancol.org> <512465B5.5030207@dancol.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) On 2/20/2013 6:37 PM, Katsumi Yamaoka wrote: > Stefan Monnier wrote: >> + * sheap.c (report_sheap_usage): Prefer message1_nolog. > > Bootstrap fails again on Cygwin/Windows7: > > [...] > gcc -std=gnu99 -c -Demacs -I. -I/Work/emacs/src -I../lib\ > -I/Work/emacs/src/../lib -I/usr/include/freetype2 -D_REENTRANT\ > -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0\ > -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0\ > -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1\ > -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2\ > -MMD -MF deps/sheap.d -MP -I/usr/include/p11-kit-1 -g3 -O2 sheap.c > sheap.c: In function 'report_sheap_usage': > sheap.c:96:3: error: too many arguments to function 'message1_nolog' I've fixed this in bzr revision 111839. Ken From unknown Sat Aug 16 21:22:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13759: 24.3.50; bootstrap failed; bootstrap-emacs segfaults In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Feb 2013 05:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: kbrown@cornell.edu Cc: monnier@iro.umontreal.ca, 13759@debbugs.gnu.org Received: via spool by 13759-submit@debbugs.gnu.org id=B13759.136142297515387 (code B ref 13759); Thu, 21 Feb 2013 05:03:01 +0000 Received: (at 13759) by debbugs.gnu.org; 21 Feb 2013 05:02:55 +0000 Received: from localhost ([127.0.0.1]:41099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8OJ4-000408-Nq for submit@debbugs.gnu.org; Thu, 21 Feb 2013 00:02:54 -0500 Received: from mail-hampton.hostforweb.net ([216.246.13.138]:48139 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8OJ2-000400-SS for 13759@debbugs.gnu.org; Thu, 21 Feb 2013 00:02:54 -0500 Received: from localhost.localdomain ([127.0.0.1]:39946 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1U8OHn-002e1f-Ru; Wed, 20 Feb 2013 23:01:36 -0600 Date: Thu, 21 Feb 2013 14:01:32 +0900 Message-ID: From: Katsumi Yamaoka References: <51245B4B.6000803@dancol.org> <512465B5.5030207@dancol.org> <512588CB.9010100@cornell.edu> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:ndvLhRJZcKTR2A1RNo6BmC2sEeA= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Ken Brown wrote: > On 2/20/2013 6:37 PM, Katsumi Yamaoka wrote: >> Stefan Monnier wrote: >>> + * sheap.c (report_sheap_usage): Prefer message1_nolog. >> >> Bootstrap fails again on Cygwin/Windows7: >> >> [...] >> gcc -std=gnu99 -c -Demacs -I. -I/Work/emacs/src -I../lib\ >> -I/Work/emacs/src/../lib -I/usr/include/freetype2 -D_REENTRANT\ >> -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0\ >> -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0\ >> -I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1\ >> -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2\ >> -MMD -MF deps/sheap.d -MP -I/usr/include/p11-kit-1 -g3 -O2 sheap.c >> sheap.c: In function 'report_sheap_usage': >> sheap.c:96:3: error: too many arguments to function 'message1_nolog' > I've fixed this in bzr revision 111839. Confirmed. Thank you so much.