From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66416: GDB output from new crash Date: Sun, 15 Oct 2023 09:11:33 +0800 Message-ID: <87r0lw8zay.fsf@yahoo.com> References: <87il7cxoyc.fsf@lan> <87edi0xnqx.fsf@lan> <83wmvsta00.fsf@gnu.org> <87jzrs3x14.fsf@lan> <83r0m0t436.fsf@gnu.org> <878r88aqnj.fsf@yahoo.com> <875y3bhpfz.fsf@lan> <83wmvpqxhw.fsf@gnu.org> <87cyxha1i9.fsf@yahoo.com> <87sf6dl6lm.fsf@lan> <878r859xvq.fsf@yahoo.com> <87mswll1u7.fsf@lan> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34968"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 66416@debbugs.gnu.org To: Yuchen Guo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 15 03:12:58 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qrpgg-0008u1-Eh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Oct 2023 03:12:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrpgO-00072z-OM; Sat, 14 Oct 2023 21:12:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrpgN-00072T-4F for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 21:12:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrpgM-00068c-Sc for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 21:12:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrpgk-0004e5-9c for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66416 X-GNU-PR-Package: emacs Original-Received: via spool by 66416-submit@debbugs.gnu.org id=B66416.169733233817797 (code B ref 66416); Sun, 15 Oct 2023 01:13:02 +0000 Original-Received: (at 66416) by debbugs.gnu.org; 15 Oct 2023 01:12:18 +0000 Original-Received: from localhost ([127.0.0.1]:50995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrpg1-0004cz-Mm for submit@debbugs.gnu.org; Sat, 14 Oct 2023 21:12:18 -0400 Original-Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]:44461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrpfy-0004cl-0O for 66416@debbugs.gnu.org; Sat, 14 Oct 2023 21:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1697332304; bh=dP6JBTw1LvYx4oa/TLxLEehNfZol7QKoXvp1sG9oPsA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=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EVaTWbbNSYadeLA2Z2WU2gu.Fk0828U8usTZSsCA.r4Rz.sALf5D1Dr8WzJwk0J6PHaafkS U_V.4il1YMEE.faCoTWBaHeV4ql4VLixigY6lTmC6SAYinB_6yRk_bwk81d7EDi3LyJxMC4Qe59q wEuRydSJNcOW9tPDqOOlyM9XfK.N4hbP3GyaP.LcELgPTOwN7KYvyYD_pkBYEOKIlfotSabpkHNb 8lv4p9NcMcQQefmdK7VFoY44RCxMljSI9zLnQWCCK5QPdBLqtBbRXlpvIkFmT0hLhpr8vTZjQmyI K87xLP1elUfN.PGJOXzw0kpJ3cqvic4_D_i_GiYTeXgK1qpWQIuP1DTV7un1sO3LamHWDD79S.rQ DaYXpEsy9aSfxDl.NSSCN83K3NZBhfWQAhC2AlWvM5aBsCct_HZq0s_QGLzzlbgjqwaEKIi4sy01 jVMr2LTR3NcG0S1saVhSrpPpNqkVmD57xLb4eRJPFTTAZ8QYy4AApMBllqezCTYJRZ.ptjr7fob6 pYSs.Q5wIe27vQ2SfFLEqZTWJvqHjnbtngOTmkw94mwAGOEfvaHP1.Y83p2OxyssC_aKrtJ.T7z. yT9UnuONhZEmiFKqUGGiHfJ8w21yOmklzTpYXpPneG X-Sonic-MF: X-Sonic-ID: b2c0a276-6ca7-4424-b93e-6b77b849840b Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 15 Oct 2023 01:11:44 +0000 Original-Received: by hermes--production-sg3-57f7997989-fcsf4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 708db02049574acf70d44f6658ce07d0; Sun, 15 Oct 2023 01:11:38 +0000 (UTC) In-Reply-To: <87mswll1u7.fsf@lan> (Yuchen Guo's message of "Sat, 14 Oct 2023 14:23:44 +0000") X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272476 Archived-At: Yuchen Guo writes: > I'm currently starting Emacs server with systemd and hoping it would > crash sooner, but not when I'm writing assignments. ;-) > > Update: the rebuild failed with the following output: > > ELC textmodes/less-css-mode.elc > ELC textmodes/makeinfo.elc > ELC textmodes/mhtml-mode.elc > ELC textmodes/nroff-mode.elc > ELC textmodes/page-ext.elc > ELC textmodes/picture.elc > > ================================================================= > ==14797==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1528 byte(s) in 2 object(s) allocated from: > #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7) > #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365 > > Indirect leak of 1392 byte(s) in 8 object(s) allocated from: > #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff) > #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365 > > SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s). > make[3]: *** [Makefile:332: progmodes/typescript-ts-mode.elc] Error 1 > make[3]: *** Waiting for unfinished jobs.... > > ================================================================= > ==14881==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1528 byte(s) in 2 object(s) allocated from: > #0 0x7ffff79d7de7 in __interceptor_calloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbbde7) > #1 0x74ddda in lmalloc /build/source/src/alloc.c:1365 > > Indirect leak of 1392 byte(s) in 8 object(s) allocated from: > #0 0x7ffff79d83ff in __interceptor_malloc (/nix/store/xq05361kqwzcdamcsxr4gzg8ksxrb8sg-gcc-12.3.0-lib/lib/libasan.so.8+0xbc3ff) > #1 0x74de07 in lmalloc /build/source/src/alloc.c:1365 > > SUMMARY: AddressSanitizer: 2920 byte(s) leaked in 10 allocation(s). > make[3]: *** [Makefile:332: textmodes/mhtml-mode.elc] Error 1 > make[3]: Leaving directory '/build/source/lisp' > make[2]: *** [Makefile:366: compile-main] Error 2 What if you insert -fsanitize-recover=all in CFLAGS?