GNU bug report logs -
#63711
30.0.50; Crash in xdisp.c when it->string is 0x0
Previous Next
Reported by: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Date: Thu, 25 May 2023 06:28:01 UTC
Severity: normal
Found in version 30.0.50
Done: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
> Date: Thu, 25 May 2023 02:27:19 -0400
>
> I have been having long-running Emacs sessions crash, rarely, and I
> finally caught one case in GDB. Full backtraces attached. I don't know
> how it->string becomes 0x0, but it looks like SCHARS (it->string) then
> attempts to dereference the null pointer. I'll keep the session running
> in case there is anything else someone wants me to check.
Thanks, but with an optimized build and without a recipe to reproduce
this, it will be hard to debug this. Still, I ask you below to
produce some values from GDB in the hope that this would give some
ideas.
(gdb) p pos->overlay_string_index
(gdb) p it->current.overlay_string_index
(gdb) p it->sp
(gdb) p it->method
(gdb) p it->string
(gdb) xtype
If GDB says that the last command "xtype" is not known, type:
(gdb) source /path/to/emacs/src/.gdbinit
(gdb) p it->string
(gdb) xtype
This bug report was last modified 1 year and 347 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.