GNU bug report logs -
#21380
25.0.50; GTK-induced segfault when scheduling timer from window-configuration-change-hook
Previous Next
Reported by: Pip Cet <pipcet <at> gmail.com>
Date: Sun, 30 Aug 2015 12:52:02 UTC
Severity: normal
Found in version 25.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Tue, Sep 1, 2015 at 3:03 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Tue, 1 Sep 2015 10:20:11 +0000
> > From: Pip Cet <pipcet <at> gmail.com>
> > Cc: 21380 <at> debbugs.gnu.org
> >
> > Can you show a patch that fixes the original segfault in your use
> > case?
> >
> > Attached.
>
> Hmm... isn't that a kludge?
>
It is. It replaces segfaults by incorrect results.
Or am I missing something? I thought you
> intended to recalculate the length on each iteration?
>
If you can think of a good way of doing that, I'd be grateful. I can't,
because Flength calls QUIT, too, so there's no guarantee its results are
still valid when it's done.
All we could do, as far as I can see, is add an extra call to Flength()
which will slow things down and sometimes but not always make the risky
thing the user is attempting work. Other than that, a non-segfault with an
incorrect result is all we can give the user, I fear.
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 75 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.