2015-03-27 10:52 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Wed, 25 Mar 2015 23:16:45 +0100
>
> 2015-03-25 21:38 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
>
>     Try the patch below. It solves the crash with the file you sent, but
>     the question is: does it also solve your real-life use case?
>
>
> Great! If you have an explanation about what is happening there, it would be
> great too.
> About my real life case : that was the actual file preventing emacs to run
> because of the crash.
> In all the undo-tree history files, only this one had a dumped syntax table.
> I have no idea why undo-tree wants to do that.
> But in any case, emacs shouldn't crash when reading data that it has printed
> itself.

Did you try the patch?  Can I commit it?


Yes. You should commit it in my opinion. I don't know if something else needs to be patched, but reviving the same
state that was crashing, emacs could start and I was able to undo stuff from the undo-tree-history.

Thanks a lot for the patch.

Fabrice