Glad to help, Eli! (gdb) p it->stop_charpos $18 = 4 (gdb) p it->end_charpos $19 = 4 (gdb) p it->stack[1].string $20 = Python Exception 'NoneType' object has no attribute 'value': (gdb) xstring $21 = (struct Lisp_String *) 0x10da1edd0 " " (gdb) p it->stack[1].current $22 = { pos = { charpos = 4138, bytepos = 4138 }, overlay_string_index = 0, string_pos = { charpos = 1, bytepos = 1 }, dpvec_index = -1 } (gdb) p it->stack[1].stop_charpos $23 = 1 (gdb) p it->stack[1].end_charpos $24 = 1 (gdb) p it->stack[1].method $25 = GET_FROM_STRING 2017-08-03 19:18 GMT+03:00 Eli Zaretskii : > > Date: Thu, 03 Aug 2017 17:36:49 +0900 > > From: YAMAMOTO Mitsuharu > > Cc: 27761@debbugs.gnu.org, "Charles A. Roelli" > > > > Finally, I could reproduce the crash by this example with my own > > installation of Coq, Proof General, and Company-Coq on macOS 10.12. > > Great, thanks for trying. > > > The recent post on gdb session implies it has something to do with the > > string " 163" and overlays. The key point to reproduce it was to turn > > on linum-mode. Without linum-mode, the above procedure did not crash. > > Yes, I guess 163 is the line number? > > The problem has to do with something that prevents the display engine > to pop the iterator state from the stack when it reaches the end of a > Lisp string (" 163") which it needs to display. I'm trying to > understand why this happens, my guess is that some condition somewhere > is not working as expected, perhaps because the display of the string > specifies padding with blanks (or so it seems). >