GNU bug report logs - #50339
master creashed in compact_small_strings

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Thu, 2 Sep 2021 16:05:02 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50339 <at> debbugs.gnu.org
Subject: bug#50339: master creashed in compact_small_strings
Date: Sat, 04 Sep 2021 13:18:28 -0400
[[[ 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)






This bug report was last modified 3 years and 322 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.