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: Possible XInput2 cursor bug ? Date: Sun, 12 Dec 2021 17:08:13 +0200 Message-ID: <83czm1oo82.fsf@gnu.org> References: <87a6hbg6ps.fsf@yahoo.com> <20211212.104121.676618396851953065.enometh@meer.net> <83ilvup9lx.fsf@gnu.org> <20211212.202502.2129015728198180732.enometh@meer.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 16:08:59 2021 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 1mwQTC-0006i3-SX for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 16:08:59 +0100 Original-Received: from localhost ([::1]:39844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwQTA-0000mO-PH for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 10:08:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwQSb-00005o-Je for emacs-devel@gnu.org; Sun, 12 Dec 2021 10:08:21 -0500 Original-Received: from [2001:470:142:3::e] (port=33264 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwQSb-0006y0-4P; Sun, 12 Dec 2021 10:08:21 -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=+3atqlbHYDhayC1Gc9Hc6bCs1/TQF8fPrLU+oVQAZxw=; b=orkdnQCE1Cwg ck/41B8JgI1oR4vL5Lhken94AO65FYJ5NaMYpVWnjXdg4xJH+u4nV+SDywHPmH34aazPsSjhHtlJh 8YrJsV7p5BNj2lHkd0LXyxYPpeWxOjzYVeHxL5HjqH66LqXJLVQI3C4ky7oV8jyOP5cVKC7VBUPXR +Ed3lC3Q3ETOIIAaDPBA7RIMjJYN44FqQMchAqo2tHi0g0xCNGvEkulB+oPcQAoMhJ0C4kttCfPQ/ ly8r/42TjqqNC/H1PadjV8hYDrbimUPiGKEOlkA8nuXuTsBRyTIYNzB1OC/ymoNG7Dhb/LV8eSoMz pdd4zRoRlL2j+hALn7imAw==; Original-Received: from [87.69.77.57] (port=2163 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 1mwQSa-00008r-VP; Sun, 12 Dec 2021 10:08:21 -0500 In-Reply-To: <20211212.202502.2129015728198180732.enometh@meer.net> (message from Madhu on Sun, 12 Dec 2021 20:25:02 +0530 (IST)) 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" Xref: news.gmane.io gmane.emacs.devel:281800 Archived-At: > Date: Sun, 12 Dec 2021 20:25:02 +0530 (IST) > Cc: luangruo@yahoo.com, emacs-devel@gnu.org > From: Madhu > > > Maybe you should tell GDB not to read symbols automatically from the > > shared libraries loaded by Emacs: > > > > (gdb) set auto-solib-add off > > That helps a lot. (It brings down the RES reported in top to 2.5G in > jit builds, I may be misinterpreting what I'm seeing but a non-native > build shows only some 100M in use by gdb) On my system, debugging a natively-compiled Emacs takes GDB just a bit more that debugging non-native one: 120MB vs 100MB. The first number is similar to yours, so I wonder how come the second number is so much different on you're system. Is that with "emacs -Q" run under a debugger? In any case, a full Emacs version running for 10 days under GDB causes GDB to have just 200MB of memory here, which is a far cry from your 2.5GB. I wonder why such a large difference. > >> and a new fingerprint on every `make' makes jit infeasible during > >> "development". > > > > I don't understand this part. Can you elaborate? > > Like when I updated master to check the fix, the ELN files had to be > generated again because it's a new emacs. And master is going to be > shortlived and require a new fingerprint very shortly. Yes, but regenerating the *.eln files takes a few minutes, so why is that such a big problem? > But I hit another problem. When I edited xterm.c and hit `make' emacs > was built but is not able to run, I got a > > emacs: Trying to load incoherent dumped eln file /12/build/emacs/build-xt/native-lisp/29.0.50-473a9dd2/preloaded/subr-13adf6a6-a6425de0.eln Look closer at the build process, something probably failed there, so the build didn't complete successfully.