Subject: Re: bug#22379: 25.1.50; Emacs 25.1.50 fails to start on Windows 98

From: Eli Zaretskii <[email-masked]>
Date: Sat, 16 Jan 2016 11:14:29 +0200

> From: Jussi Lahdenniemi <[email-masked]>
> Date: Fri, 15 Jan 2016 08:09:32 +0200
> 
> 
> On Windows 98, Emacs crashes right at the startup:
> ../../emacs/src/lisp.h:1110: Emacs fatal error: assertion failed: XTYPE (a) == type && XUNTAG (a, type) == ptr
> 
> This happens every time, with and without -nw.
> 
> 
> #0  0xbff768a1 in ?? () from C:\WINDOWS\SYSTEM\KERNEL32.DLL
> No symbol table info available.
> #1  0x01232d59 in emacs_abort () at ../../emacs/src/w32fns.c:10254
>         button = 6
> #2  0x01107bd5 in terminate_due_to_signal (sig=22, backtrace_limit=2147483647)
>     at ../../emacs/src/emacs.c:401
>         unblocked = 4194304
> #3  0x011871fa in die (
>     msg=0x14ea974 "XTYPE (a) == type && XUNTAG (a, type) == ptr",
>     file=0x14ea87c "../../emacs/src/lisp.h", line=1110)
>     at ../../emacs/src/alloc.c:7063
> No locals.
> #4  0x01103082 in make_lisp_ptr (ptr=0x2a220fc, type=Lisp_Vectorlike)
>     at ../../emacs/src/lisp.h:1110
>         a = 44179713
> #5  0x01130714 in Fget_buffer_create (buffer_or_name=19699052)
>     at ../../emacs/src/buffer.c:586
>         buffer = 0
>         name = 25264748
>         b = 0x2a220fc

Fixed with commit 15c23aa on the emacs-25 branch, using Jussi's patch
posted in
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00881.html.

Thanks.