From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Help with new Windows 98 crash Date: Mon, 05 Dec 2022 16:52:28 +0200 Message-ID: <83ilip9a37.fsf@gnu.org> References: <87o7sindcl.fsf.ref@yahoo.com> <87o7sindcl.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 05 15:54:08 2022 Return-path: Envelope-to: ged-emacs-devel@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 1p2Cr9-00088k-8O for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Dec 2022 15:54:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2Cq5-0001pP-K5; Mon, 05 Dec 2022 09:53:01 -0500 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 1p2Cpq-0001mH-OK for emacs-devel@gnu.org; Mon, 05 Dec 2022 09:52:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2Cpq-0002f1-88; Mon, 05 Dec 2022 09:52:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pZelrWP+rzb3E7j7PdW04T6dZCdV6UzfKgIazBCRJTA=; b=meTSnv9EGdkO nHL5R9eWYUyd4j+pOrAtPGw7yMyU+mj/zRVzsf7PHoBgFb3hsckzMj4VSh3XYrpGy0sjrv7XbcMsP 01zRBCzQtEbFLlU5IrVu26dyBoAe3Wc0KjpTIHPKVqfXiyEZf4vp5G2uilDmNTTR7OiHF1Gx7VyhE 1GbP3tBt0WdSevcuxhAItpn0h/RjUt0GWbJuYcRQ/kO849AnPtLFjKGuPoeBJWWo4BfW2O6LThBuQ 4tRo5Mu7+LDmCLz2pOyxhwTs1swp6s/WNjIbUZHNkY1ff1vcF065zK1Lbj7rENZnM5Zpt18CDi2ER 4KSvwxm+EsehZTIOAf/54A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2Cpo-0007Du-D6; Mon, 05 Dec 2022 09:52:45 -0500 In-Reply-To: <87o7sindcl.fsf@yahoo.com> (message from Po Lu on Mon, 05 Dec 2022 22:18:18 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300929 Archived-At: > From: Po Lu > Date: Mon, 05 Dec 2022 22:18:18 +0800 > > Emacs 30 (with unexec) is crashing on Windows 98 again, this time during > GC. I tried to build it on X, but the build fails: xfns.c:46:10: fatal error: xcb/xcb_aux.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. can you please fix that? Then I could see if the problem is not only Windows specific. > I cannot find a version of GDB that reads DWARF generated by GCC 9, > but here is the backtrace from GDB 5, which cannot read the debug > information in emacs.exe: > > #0 0x011e5491 > #1 0x00a44b68 > #2 0x00160070 > #3 0x00343030 > > the backtrace stops here, after which GDB complains it cannot access > memory at address 0x30303030. > > addr2line says the first address belongs to line 606 of w32heap.c. The > rest are garbage. Could it be that something is trying to free dumped > memory? Could be, I have no idea yet. But then FREEABLE_P doesn't do its job, right? > (and if anyone can find a copy of GDB that works on Windows 98 and can > read the debuginfo, that would be best. Thanks in advance.) Did you try building with -gstabs+ instead? P.S. And maybe we should try fixing the problem that requires to use unexec on Windows 9X to begin with.