2015-03-22 23:37 GMT+01:00 Fabrice Popineau <fabrice.popineau@gmail.com>:


2015-03-22 21:22 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Sun, 22 Mar 2015 19:59:41 +0000 (UTC)
>
> There is lots of bytecode which is executed during the backtrace.
> I don't know much about exploring those frames.

Ca you reproduce the problem by first starting "emacs -Q" and then
manually invoking 'desktop-read' to restore session from the offending
file?

I have not yet been able to do that.

 The reason I couldn't do it yet is the following : 
- I run "emacs -Q" (under gdb)
- I load a couple of libraries among which "desktop.el"
- I try to evaluate (desktop-create-buffer ...)
but it fails with "void variable desktop-buffer-ok-count"

Even if I evaluate the form:
(defvar desktop-buffer-ok-count) from the desktop.el file,
the variable is still unknown.

What could cause that ?

Fabrice