GNU bug report logs -
#35273
"Marker does not point anywhere" when reading next article
Previous Next
Reported by: Leah Neukirchen <leah <at> vuxu.org>
Date: Sun, 14 Apr 2019 15:59:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 5.13
Fixed in version 26.3
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 35273 <at> debbugs.gnu.org (full text, mbox):
Leah Neukirchen <leah <at> vuxu.org> writes:
>> If you can reproduce it reliably, setting (setq debug-on-signal t) just
>> before might help get a backtrace.
>>
>> If that also doesn't work you could record the backtrace from a
>> signal-hook-function:
>>
>> (defvar bug-35273-last-backtrace nil)
>> (defun bug-35273-record-backtrace (err data)[...]
>> (setq signal-hook-function #'bug-35273-record-backtrace)
>
> These do not work for some reason...
debug-on-signal doesn't work because the debugger is suppressed during
redisplay (to avoid recursion). I think the signal-hook-function might
have worked (though I forgot to tell you to check the value of
bug-35273-last-backtrace afterwards) but it would only have a single
frame of "redisplay" so it would be useless.
>> Or if you can run under gdb, just set a breakpoint in the C code where
>> that error is raised.
>
> On 27.0.50 (05d53d888):
>
> Breakpoint 1, marker_position (marker=0x555557d6feb5) at marker.c:680
> 680 error ("Marker does not point anywhere");
> (gdb) bt
> #0 marker_position (marker=0x555557d6feb5) at marker.c:680
> #1 0x000055555567935e in mouse_face_overlay_overlaps (overlay=0x555557d6ff15)
> at lisp.h:2624
> #2 0x00005555555d395f in note_mouse_highlight (f=f <at> entry=0x555556001d70,
> x=<optimized out>, y=<optimized out>) at xdisp.c:31836
The xdisp.c:31836 at revision 05d53d888 has
help_echo_pos = charpos;
And neither note_mouse_highlight nor mouse_face_overlay_overlaps call
marker_position, so I'm confused how we got there. note_mouse_highlight
does call Fmarker_position, but that one doesn't signal an error.
Maybe the debug info is messed up by optimization. Could you try
recompiling with CFLAGS='-O0 -g3'?
This bug report was last modified 6 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.