From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#50339: master creashed in compact_small_strings Date: Sat, 04 Sep 2021 13:18:28 -0400 Message-ID: References: <83k0jzyn1j.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25429"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50339@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 04 19:19:12 2021 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 1mMZJw-0006Rq-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Sep 2021 19:19:12 +0200 Original-Received: from localhost ([::1]:40144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMZJu-0006HN-QS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Sep 2021 13:19:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMZJm-0006Gy-KN for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2021 13:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMZJm-00028s-CT for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2021 13:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMZJm-0002Cj-8i for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2021 13:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Sep 2021 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50339 X-GNU-PR-Package: emacs Original-Received: via spool by 50339-submit@debbugs.gnu.org id=B50339.16307759168435 (code B ref 50339); Sat, 04 Sep 2021 17:19:02 +0000 Original-Received: (at 50339) by debbugs.gnu.org; 4 Sep 2021 17:18:36 +0000 Original-Received: from localhost ([127.0.0.1]:48513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMZJM-0002Bz-6E for submit@debbugs.gnu.org; Sat, 04 Sep 2021 13:18:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMZJK-0002Bl-1C for 50339@debbugs.gnu.org; Sat, 04 Sep 2021 13:18:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38870) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMZJE-0001iH-OY for 50339@debbugs.gnu.org; Sat, 04 Sep 2021 13:18:28 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mMZJE-0007Db-Jf; Sat, 04 Sep 2021 13:18:28 -0400 In-Reply-To: <83k0jzyn1j.fsf@gnu.org> (message from Eli Zaretskii on Thu, 02 Sep 2021 19:12:08 +0300) 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" Xref: news.gmane.io gmane.emacs.bugs:213424 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Can you tell why it crashed? Which of the arguments to memmove were > bogus? s is nonzero. It is 0x555556fb4bc0. from is 0x5555570edcc0 Is s supposed to be > from? from->string is 0. Strange. size is 0x511be45adaa18398 nbytes is 0x511be45adaa1838d That value of size was used to calculate from_end and to_end. I am guessing how to find out in GDB what the data at s says nbytes ought to be. But s->u.s.size is 6. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)