GNU bug report logs -
#24764
25.1.50; Another crash in automatic gc
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Sat, 22 Oct 2016 09:40:02 UTC
Severity: normal
Found in version 25.1.50
Done: Michael Heerdegen <michael_heerdegen <at> web.de>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 24764 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 22 Oct 2016 15:01:25 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: michael_heerdegen <at> web.de, 24764 <at> debbugs.gnu.org
>
> > Finding the place where a member of a struct buffer is overwritten
> > can be done with a watchpoint.
>
> Yes. But IME just a watchpoint with no conditions gets triggered too
> frequently to be useful
For example, in this case, we are talking about the buffer->markers
member, which is changed (a.k.a. "overwritten") each time a new marker
is added to the buffer, because a new marker 'm' is added to its
buffer 'b' as follows:
m->next = BUF_MARKERS (b);
BUF_MARKERS (b) = m;
So setting a watchpoint on b->markers needs to know (1) the buffer in
which this happens, (2) the value or range of values that the
'markers' pointer is overwritten with, in order to make the watchpoint
conditional.
This bug report was last modified 8 years and 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.