From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6919: Random crashes during garbage collection Date: Thu, 26 Aug 2010 14:56:48 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1282829089 2054 80.91.229.12 (26 Aug 2010 13:24:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Aug 2010 13:24:49 +0000 (UTC) To: 6919@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 26 15:24:47 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OocRi-0007eT-M7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Aug 2010 15:24:47 +0200 Original-Received: from localhost ([127.0.0.1]:36917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OocRh-0006My-S2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Aug 2010 09:24:45 -0400 Original-Received: from [140.186.70.92] (port=50087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OocRT-0005VE-RJ for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2010 09:24:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OocCw-0008LK-E3 for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2010 09:09:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60803) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OocCw-0008LG-Ce for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2010 09:09:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ooc0s-0001nh-Mh; Thu, 26 Aug 2010 08:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Aug 2010 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6919 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.12828273716909 (code B ref -1); Thu, 26 Aug 2010 12:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Aug 2010 12:56:11 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ooc02-0001nO-Dy for submit@debbugs.gnu.org; Thu, 26 Aug 2010 08:56:10 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oobzz-0001nI-Bw for submit@debbugs.gnu.org; Thu, 26 Aug 2010 08:56:08 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:43265) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ooc1M-0002do-FF for submit@debbugs.gnu.org; Thu, 26 Aug 2010 08:57:32 -0400 Original-Received: from [140.186.70.92] (port=43952 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ooc1L-0007W1-1C for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2010 08:57:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ooc1J-0006BZ-Ns for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2010 08:57:30 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:34222) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ooc1J-0006BS-Ka for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2010 08:57:29 -0400 Original-Received: by gxk9 with SMTP id 9so851272gxk.0 for ; Thu, 26 Aug 2010 05:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=da2M/szqLcLwAsHSES846XuFyLCZ7KJamBvEDVmVAgI=; b=Lwn0K0UAetvVfiXdmKj4gvXQP6ezERdcxSNRsfTaPVN2DEzaTfH84l2PU/+id2n9vW kScgYpRPkJrwchFdiXjQt7DYewMfvaX0Xn7llbJaJFp62uJlbi4MFvJyi9uaMPbt5dxF QXBg3TKZumgZAUhIBtFsVRvJfOg9Fi3NA/k00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=xAl3NQ1CKkTn227OELizr/uVTtCthOhq5uN+lx7/T+y6wLy3NR+cnpPmF5Wi9ixIJs 9cBkFQoZ+mFfD1fV12m9ArqkTbysan3n7iyUd0KrJA0xVy8TkuzpxZN4j9AzJ0kyNWlR Un/IqVqRoHTsQwvy7YDikUseDCqZjgBJSgosM= Original-Received: by 10.150.143.7 with SMTP id q7mr35758ybd.241.1282827448386; Thu, 26 Aug 2010 05:57:28 -0700 (PDT) Original-Received: by 10.231.151.132 with HTTP; Thu, 26 Aug 2010 05:56:48 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 26 Aug 2010 08:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39759 Archived-At: Version: 24.0.50 Package: emacs,w32 This is a compilation of the trunk, configured with --no-opt, on Windows, built with the Twilight Dragon Media release of MinGW: C:\...\src> gcc.exe --version gcc.exe (TDM-2 mingw32) 4.4.1-dw2 I update from the trunk, recompile with cd lisp make update-subdirs make cvs-update make install and I get random crashes during garbage collection (two examples follow). It has not happened so far with an optimized build from the same sources. I cannot repeat the crash at will, so this is just for informational purpos= es. =C2=A0 =C2=A0 Juanma Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 2140.0xc7c] 0x762322a2 in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.d= ll (gdb) bt #0 0x762322a2 in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.dll #1 0x0131eae3 in w32_abort () at w32fns.c:7237 #2 0x012cad19 in relinquish () at ralloc.c:343 #3 0x012cb8c9 in r_alloc_sbrk (size=3D-372736) at ralloc.c:885 #4 0x011035b3 in _free_internal_nolock (ptr=3D0x34e2000) at gmalloc.c:1261 #5 0x0110393d in _free_internal (ptr=3D0x34e2000) at gmalloc.c:1354 #6 0x0110396b in e_free (ptr=3D0x34e2000) at gmalloc.c:1369 #7 0x01041c2f in emacs_blocked_free (ptr=3D0x34e2000, ptr2=3D0x33edd00) at alloc.c:1178 #8 0x0110395e in e_free (ptr=3D0x34e2000) at gmalloc.c:1367 #9 0x0104162c in lisp_free (block=3D0x34e2000) at alloc.c:865 #10 0x0104285c in compact_small_strings () at alloc.c:2218 #11 0x01042677 in sweep_strings () at alloc.c:2098 #12 0x01049594 in gc_sweep () at alloc.c:5703 #13 0x01047885 in Fgarbage_collect () at alloc.c:5060 [...etc...] Lisp Backtrace: "require" (0x88a654) "read-kbd-macro" (0x88add4) 0x1344f5d PVEC_COMPILED 0x133848d PVEC_SUBR "macroexpand" (0x88b4c8) "byte-optimize-form-code-walker" (0x88b784) "byte-optimize-form" (0x88ba4c) "mapcar" (0x88bbe4) "byte-optimize-form-code-walker" (0x88bea4) "byte-optimize-form" (0x88c164) "byte-optimize-body" (0x88c424) "byte-optimize-form-code-walker" (0x88c6e4) "byte-optimize-form" (0x88c9ac) "byte-optimize-form-code-walker" (0x88cc64) "byte-optimize-form" (0x88cf24) "byte-optimize-form-code-walker" (0x88d1e4) "byte-optimize-form" (0x88d4a4) "byte-compile-top-level" (0x88d764) "byte-compile-lambda" (0x88da24) "byte-compile-file-form-defmumble" (0x88dce4) "byte-compile-file-form-defun" (0x88df94) "byte-compile-file-form" (0x88e244) 0x2f3b705 PVEC_COMPILED "funcall" (0x88e500) "byte-compile-from-buffer" (0x88e994) "byte-compile-file" (0x88ebb0) "batch-byte-compile-file" (0x88f094) "batch-byte-compile" (0x88f354) "command-line-1" (0x88f624) "command-line" (0x88f8e4) "normal-top-level" (0x88fb00) (gdb) Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 2852.0x428] 0x762322a2 in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.d= ll (gdb) bt #0 0x762322a2 in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.dll #1 0x0131eae3 in w32_abort () at w32fns.c:7237 #2 0x012cad19 in relinquish () at ralloc.c:343 #3 0x012cb8c9 in r_alloc_sbrk (size=3D-450560) at ralloc.c:885 #4 0x011035b3 in _free_internal_nolock (ptr=3D0x348e000) at gmalloc.c:1261 #5 0x0110393d in _free_internal (ptr=3D0x348e000) at gmalloc.c:1354 #6 0x0110396b in e_free (ptr=3D0x348e000) at gmalloc.c:1369 #7 0x01041c2f in emacs_blocked_free (ptr=3D0x348e000, ptr2=3D0x2edcc08) at alloc.c:1178 #8 0x0110395e in e_free (ptr=3D0x348e000) at gmalloc.c:1367 #9 0x0104162c in lisp_free (block=3D0x348e000) at alloc.c:865 #10 0x01049f84 in gc_sweep () at alloc.c:6042 #11 0x01047885 in Fgarbage_collect () at alloc.c:5060 [...etc...] Lisp Backtrace: "eval-buffer" (0x88e104) "load-with-code-conversion" (0x88e3d0) "load" (0x88ea14) "byte-code" (0x88ec24) "load" (0x88f354) "command-line-1" (0x88f624) "command-line" (0x88f8e4) "normal-top-level" (0x88fb00) (gdb)