Subject: bug#16672: 24.3.50; window error on desktop-read

From: martin rudalics <[email-masked]>
Date: Fri, 21 Feb 2014 14:07:08 +0100

> When restoring the session, I get this error:
 >
 >
 > Debugger entered--Lisp error: (error "#<window 5> is not a live window")
 >   signal(error ("#<window 5> is not a live window"))
 >   error("%s is not a live window" #<window 5>)
 >   window-normalize-window(#<window 5> t)
 >   window-state-put((((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 14) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 56) (min-pixel-width . 140) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 86) (min-pixel-height-safe . 14) (min-pixel-width-safe . 28)) hc (pixel-width . 1387) (pixel-height . 1008) (total-width . 198) (total-height . 72) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 694) (pixel-height . 1008) (total-width . 99) (total-height . 72) (normal-height . 1.0) (normal-width . 0.5) (buffer "visitor-profile.sql" (selected . t) (hscroll . 0) (fringes 7 7 nil) (margins nil) (scroll-bars 10 2 t nil) (vscroll . 0) (dedicated) (point . 6571) (start . 4566))) (leaf (last . t) (pixel-width . 693) (pixel-height . 1008) (total-width . 99) (total-height . 72) (normal-height . 1.0) (normal-width . 0.5) (buffer "grep-/Users/sds/src/magnetic/research/explore/" (selected) (hscroll . 
0) (fringes 7 7 nil) (margins nil) (scroll-bars 10 2 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1)))) #<window 5> safe)
 >   frameset--restore-frame(((font-backend mac-ct ns) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 7) (right-fringe . 7) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (alpha) (fullscreen . fullheight) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "Blue") (environment) (mouse-color . "Magenta") (frameset--id . "904D-DB3A-F703-8A36") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (display . "sds-MacBook-Pro.local") (explicit-name) (tool-bar-position . top) (maximized) (user-size . t) (visibility . t) (height . 73) (width . 194) (left . 1486) (to
p . 32)) (((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 14) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 56) (min-pixel-width . 140) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 86) (min-pixel-height-safe . 14) (min-pixel-width-safe . 28)) hc (pixel-width . 1387) (pixel-height . 1008) (total-width . 198) (total-height . 72) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 694) (pixel-height . 1008) (total-width . 99) (total-height . 72) (normal-height . 1.0) (normal-width . 0.5) (buffer "visitor-profile.sql" 
(selected . t) (hscroll . 0) (fringes 7 7 nil) (margins nil) (scroll-bars 10 2 t nil) (vscroll . 0) (dedicated) (point . 6571) (start . 4566))) (leaf (last . t) (pixel-width . 693) (pixel-height . 1008) (total-width . 99) (total-height . 72) (normal-height . 1.0) (normal-width . 0.5) (buffer "grep-/Users/sds/src/magnetic/research/explore/" (selected) (hscroll . 0) (fringes 7 7 nil) (margins nil) (scroll-bars 10 2 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1)))) ((background-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicate . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-param) (foreground-color . frameset-filter-sanitize-color) (fullscreen . frameset-filter-shelve-param) (GUI:font . frameset-filter-unshelve-param) (GUI:fullscreen . frameset-filter-unshelve-param) (GUI:height . frameset-filter-unshelve-param) (GUI:width . frameset-filter-unshelve-param) (height . frameset-filter-shelve-param) (outer-window-id . 
:never) (parent-id . :never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-to-GUI) (width . frameset-filter-shelve-param) (window-id . :never) (window-system . :never) (name . :never) (left . frameset-filter-iconified) (minibuffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) t)
 >   #[0 "\307\306\242\236A\211A@\205
 > \211\310\302!\203  funcall(#[0 "\307\306\242\236A\211A@\205
 > \211\310\302!\203  frameset-restore([frameset 1 (21235 54256 520522 0) (desktop . "206") "[email-masked]" nil nil ((((font-backend mac-ct ns) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 7) (right-fringe . 7) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (alpha) (fullscreen . fullheight) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "Blue") (environment) (mouse-color . "Magenta") (frameset--id . "904D-DB3A-F703-8A36") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (display . "sds-MacBook-Pro.local") (explicit-name) (tool-bar-posit
ion . top) (maximized) (user-size . t) (visibility . t) (height . 73) (width . 194) (left . 1486) (top . 32)) ((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 14) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 56) (min-pixel-width . 140) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 86) (min-pixel-height-safe . 14) (min-pixel-width-safe . 28)) hc (pixel-width . 1387) (pixel-height . 1008) (total-width . 198) (total-height . 72) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 694) (pixel-height . 1008) 
(total-width . 99) (total-height . 72) (normal-height . 1.0) (normal-width . 0.5) (buffer "visitor-profile.sql" (selected . t) (hscroll . 0) (fringes 7 7 nil) (margins nil) (scroll-bars 10 2 t nil) (vscroll . 0) (dedicated) (point . 6571) (start . 4566))) (leaf (last . t) (pixel-width . 693) (pixel-height . 1008) (total-width . 99) (total-height . 72) (normal-height . 1.0) (normal-width . 0.5) (buffer "grep-/Users/sds/src/magnetic/research/explore/" (selected) (hscroll . 0) (fringes 7 7 nil) (margins nil) (scroll-bars 10 2 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1)))))] :reuse-frames t :force-display nil :force-onscreen t)
 >   desktop-restore-frameset()
 >   desktop-read()
 >   #[0 "\303\211\235\203  run-hooks(after-init-hook)
 >   command-line()
 >   normal-top-level()

I suppose this has been fixed with revision 116477 on trunk.  Please try again.

Thanks, martin