Le 15/01/2026 à 17:03, Koji Yokota a écrit :
2026/01/15 16:31、Jean-Marc Lasgouttes <[email protected]>のメール:

I think that I know what happens: the UndoGroupHelper is called after the 
destruction of the LyX singleton (which hold all global variables) and 
therefore it is the buffer list itself that does not exist anymore.

The attached patch tries to handle that. Can you give it a go?

Thanks, JMarc. I tested with the patch but unfortunately the problem still 
arises. I attach the log that macOS reports.

However, LyX correctly exits when I try to debug it step-by-step, so it seems 
something needs to be waited.

I am lost now. I re-read the thread, but I missed how we went from "this is signal-related" to "something is wrong with UndoGroupHelper".

Concerning signals, this is beyond my abilities. I guess the actions are held somewhere in an object that is released to early.

Here is a hint though:
https://github.com/jurplel/qView/issues/635
together with a fix:
https://github.com/jurplel/qView/commit/5044ead339ab4b90a3acededba2f57f582638bd4

Now the problem is to find out where we close the windows explicitly.

Does this ring a bell for someone?

JMarc
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to