From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jca@wxcvbn.org (=?UTF-8?Q?J=C3=A9r=C3=A9mie_?= =?UTF-8?Q?Courr=C3=A8ges-Anglas?=) Newsgroups: gmane.emacs.bugs Subject: bug#12242: Emacs 24.2 RC1 build fails on OpenBSD Date: Tue, 21 Aug 2012 21:23:38 +0200 Message-ID: <87wr0sqcat.fsf@moo.wxcvbn.org> References: <877gstuyqb.fsf@moo.wxcvbn.org> <83txvxaquu.fsf@gnu.org> <83obm4b367.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1345577099 15379 80.91.229.3 (21 Aug 2012 19:24:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2012 19:24:59 +0000 (UTC) Cc: 12242@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 21 21:24:56 2012 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 1T3u4L-0007eo-4N for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 21:24:53 +0200 Original-Received: from localhost ([::1]:47014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3u4J-0005gZ-Ld for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 15:24:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3u4H-0005gU-2n for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:24:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3u4A-0004jd-20 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:24:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3u49-0004jZ-VL for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:24:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3u4U-0003ds-7n for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jca@wxcvbn.org (=?UTF-8?Q?J=C3=A9r=C3=A9mie_?= =?UTF-8?Q?Courr=C3=A8ges-Anglas?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Aug 2012 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12242 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12242-submit@debbugs.gnu.org id=B12242.134557704813938 (code B ref 12242); Tue, 21 Aug 2012 19:25:02 +0000 Original-Received: (at 12242) by debbugs.gnu.org; 21 Aug 2012 19:24:08 +0000 Original-Received: from localhost ([127.0.0.1]:41935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3u3b-0003ck-D7 for submit@debbugs.gnu.org; Tue, 21 Aug 2012 15:24:08 -0400 Original-Received: from chomsky.autogeree.net ([91.216.110.36]:40983) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3u3X-0003cb-Ns for 12242@debbugs.gnu.org; Tue, 21 Aug 2012 15:24:05 -0400 In-Reply-To: <83obm4b367.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 21 Aug 2012 19:49:52 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63352 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> Date: Tue, 21 Aug 2012 06:03:37 +0300 >> From: Eli Zaretskii >> Cc: 12242@debbugs.gnu.org >>=20 >> I think I see the problem and will fix it later today. > > Actually, no, I don't think I see the problem. What does the > following GDB command print in frame #0? > > (gdb) p *heap > > Also, could you please run Emacs under GDB, and when it crashes, type > the following commands, which define a new command "heaps", and then > run it? Like this: > > (gdb) define heaps > Type commands for definition of "heaps". > End with a line saying just "end". > >set $a =3D first_heap > >while $a > >p *$a > >set $a =3D $a->next > >end > >end > (gdb) heaps > > Please post here everything that GDB prints as result. if [ x`(cd /home/emacs24/src/emacs-24.2/leim && /bin/pwd)` =3D x`(/bin/pwd)= ` ] ; then \ env EMACSLOADPATH=3D/home/emacs24/src/emacs-24.2/leim/../lisp LC_ALL=3DC = gdb --args ../src/emacs --batch --no-site-file --no-site-lisp -l /home/emac= s24/src/emacs-24.2/leim/ ../lisp/international/quail \ --eval "(update-leim-list-file \".\")" ; \ else \ env EMACSLOADPATH=3D/home/emacs24/src/emacs-24.2/leim/../lisp LC_ALL=3DC = gdb --args ../src/emacs --batch --no-site-file --no-site-lisp -l /home/emac= s24/src/emacs-24.2/leim/ ../lisp/international/quail \ --eval "(update-leim-list-file \".\" \"/home/emacs24/src/emacs-24.2/lei= m\")" ; \ fi GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-openbsd5.2"... (gdb) run=20=20=20=20=20=20=20=20=20=20=20=20=20 Starting program: /home/emacs24/src/emacs-24.2/src/emacs --batch --no-site-= file --no-site-lisp -l /home/emacs24/src/emacs-24.2/leim/../lisp/internatio= nal/quail --eval \(u pdate-leim-list-file\ \".\"\) Updating /home/emacs24/src/emacs-24.2/leim/leim-list.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/PY.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/quick-cns.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/tsang-cns.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/ZIRANMA.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/CTLau-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/CTLau.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/quick-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/tsang-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/ZOZY.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/TONEPY.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/SW.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/QJ.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/QJ-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/Punct.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/Punct-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/PY-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/ETZY.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/ECDICT.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/CCDOSPY.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/ARRAY30.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/4Corner.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/indian.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/ipa.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/latin-post.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/czech.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/japanese.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/thai.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/arabic.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/hanja3.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/latin-ltx.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/hanja-jis.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/hebrew.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/symbol-ksc.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/hangul.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/lao.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/georgian.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/croatian.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/persian.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/hanja.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/slovak.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/lrt.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/tibetan.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/pypunct-b5.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/sgml-input.el ... Checking /home/emacs24/src/emacs-24.2/leim/quail/cyril-jis.el ... Program received signal SIGSEGV, Segmentation fault. free_bloc (bloc=3D0x85eb8a0) at ralloc.c:719 719 if (heap->first_bloc =3D=3D bloc) (gdb) p heap $1 =3D 0x8f12000 (gdb) p *heap Cannot access memory at address 0x8f12000 (gdb) define heaps Type commands for definition of "heaps". End with a line saying just "end". >set $a =3D first_heap >while $a >p *$a >set $a =3D $a->next >end >end (gdb) heaps $2 =3D {next =3D 0x0, prev =3D 0x0, start =3D 0x8edf000, end =3D 0x8f02000,= bloc_start =3D 0x8eec000, free =3D 0x8ef2a58, first_bloc =3D 0x85eb8a0, la= st_bloc =3D 0x85eb8a0} (gdb) Again, please don't hesitate if you need further input. =2D-=20 J=C3=A9r=C3=A9mie Courr=C3=A8ges-Anglas Empreinte GPG : 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (OpenBSD) iQIcBAEBCgAGBQJQM+A7AAoJEGGRj78GoRSU0KQP/3UCNkulAIDO75eMRDn/26pY 3KbfogASS19DauzAjigCaTU+CY4CBU3KCDeZldhsxTlqXScoWwpEL//iWHakmlJk o5nJBbIlXfj3CelxZWP4uqRVQERPufWk+kGSP2DUnxDXaU+USG4gU+uwwNJQZuiR ZkFlLUq8L6WF82vZvqAvuNYePJ2sDfn2LpmDaTQm8nEknQuVwZLcPrr3coHRg7JU cvVW4/M+2BUVFOevXH2rollibJtCZtXzFwYE7O2hEHIJbxPA+5i6RPy94oVqi+Wz 9LDeVDuln4IB8JCCg52FMKmCDg78+eRkHHeOleGQaA3+pyHPzTrJnWppWdcvdvpJ ftHz4L92faUW6I2XKNIoKcJoMxm30zrXHIZ/mJIXvrLAL2bN/GysQ7GmkoTdnOGd w1j9v1IqhGVIywyCFsLoBGFgYNe863t2Vdsz82NtbYDFwdRWawSXW3IT2a6C7RQ2 w3fHj/8SbSZ4MBsoMWFVk/n6Uwpb9XGFYyD2OgWnncwk8ve4LJKkrWcEC8FITGZn TITuccskt9YmCuoV1b4D19Gn+t5ai4KkRsBokGim8adeB0e9GhcwYjPAjljl62az JBc5bh9m57Y9tZ82n70Q+m4a2mUEmYcJRjEiFcQshTa/XKBUCtc2hrzo3KMrMe51 1ERKet59QEdCRCqW2prZ =EO/3 -----END PGP SIGNATURE----- --=-=-=--