Subject: bug#11311: 24.1.50; Emacs crash on Windows

From: [email-masked]
Date: Mon, 23 Apr 2012 16:41:40 -0400

Eli Zaretskii <[email-masked]> writes:

>> From: [email-masked]
>> Date: Sun, 22 Apr 2012 18:51:12 -0400
>> 
>> After type 'M-x gnus', Emacs crashed and displayed an error box on
>> Windows:
>> 
>> Error signature
>> appName: emacs.exe  AppVer 24.1.50.0  ModName: ntdll.dll
>> ModVer: 5.1.2600.5755     Offset: 0000120e
>
> This information is insufficient to debug the problem.  Can you attach
> GDB to Emacs and post a backtrace from the crash?

GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\emacs-24.1.50\bin\emacs.exe...done.
Warning: C:\WINDOWS\Temp\gnu/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from termina
l]
Environment variable "DISPLAY" not defined.
Environment variable "TERM" not defined.

Breakpoint 1 at 0x114ef7f: file w32fns.c, line 7196.
Temporary breakpoint 2 at 0x114f5ce: file sysdep.c, line 859.
(gdb) r
Starting program: C:\emacs-24.1.50\bin\emacs.exe
[New Thread 4200.0x150]
[New Thread 4200.0xcd8]
[New Thread 4200.0x15d8]
[New Thread 4200.0x1690]
[New Thread 4200.0x4cc]
[New Thread 4200.0x166c]
[New Thread 4200.0x15cc]
[New Thread 4200.0x1758]
[New Thread 4200.0x1714]

gnutls.c:204: Emacs fatal error: assertion failed: STRINGP (Fget (Qgnutls_dll,
Cloaded_from))

Breakpoint 1, w32_abort () at w32fns.c:7196
7196    w32fns.c: No such file or directory.
(gdb) bt
(gdb) bt
#0  w32_abort () at w32fns.c:7196
#1  0x01041d97 in die (
    msg=0x15d8118 "assertion failed: STRINGP (Fget (Qgnutls_dll, QCloaded_from))
", file=0x15d810e "gnutls.c", line=204) at alloc.c:6378
#2  0x012c3062 in init_gnutls_functions (libraries=59701686) at gnutls.c:203
#3  0x012c3d0f in Fgnutls_available_p () at gnutls.c:655
#4  0x010367e6 in Ffuncall (nargs=1, args=0x82d400) at eval.c:2932
#5  0x010de846 in exec_byte_code (bytestr=68756641, vector=67050501,
    maxdepth=40, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#6  0x0103775a in funcall_lambda (fun=67079429, nargs=5, arg_vector=0x349a81a)
    at eval.c:3166
#7  0x01036c40 in Ffuncall (nargs=6, args=0x82d710) at eval.c:2984
#8  0x010de846 in exec_byte_code (bytestr=68801745, vector=63161349,
    maxdepth=52, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#9  0x0103775a in funcall_lambda (fun=67077701, nargs=14,
    arg_vector=0x349a81a) at eval.c:3166
#10 0x01036c40 in Ffuncall (nargs=15, args=0x82da30) at eval.c:2984
#11 0x010de846 in exec_byte_code (bytestr=68176401, vector=67586309,
    maxdepth=64, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#12 0x010ddde4 in Fbyte_code (bytestr=68176401, vector=67586309, maxdepth=64)
    at bytecode.c:423
#13 0x01034a7a in eval_sub (form=68781022) at eval.c:2289
#14 0x0103272b in internal_lisp_condition_case (var=55362706,
    bodyform=68781022, handlers=68779702) at eval.c:1402
#15 0x010df26b in exec_byte_code (bytestr=68176753, vector=68418565,
    maxdepth=32, args_template=55158810, nargs=0, args=0x0) at bytecode.c:981
#16 0x0103775a in funcall_lambda (fun=68420869, nargs=1, arg_vector=0x349a81a)
    at eval.c:3166
#17 0x01036c40 in Ffuncall (nargs=2, args=0x82e120) at eval.c:2984
#18 0x010de846 in exec_byte_code (bytestr=65454465, vector=67587205,
    maxdepth=16, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#19 0x0103775a in funcall_lambda (fun=68316005, nargs=2, arg_vector=0x349a81a)
    at eval.c:3166
#20 0x01036c40 in Ffuncall (nargs=3, args=0x82e410) at eval.c:2984
#21 0x010de846 in exec_byte_code (bytestr=64187345, vector=60542053,
    maxdepth=12, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#22 0x010ddde4 in Fbyte_code (bytestr=64187345, vector=60542053, maxdepth=12)
    at bytecode.c:423
#23 0x01034a7a in eval_sub (form=64770478) at eval.c:2289
#24 0x0103272b in internal_lisp_condition_case (var=55362706,
    bodyform=64770478, handlers=64770566) at eval.c:1402
#25 0x010df26b in exec_byte_code (bytestr=64216593, vector=64350469,
    maxdepth=28, args_template=55158810, nargs=0, args=0x0) at bytecode.c:981
#26 0x0103775a in funcall_lambda (fun=55740293, nargs=1, arg_vector=0x349a81a)
    at eval.c:3166
#27 0x01036c40 in Ffuncall (nargs=2, args=0x82ead0) at eval.c:2984
#28 0x010de846 in exec_byte_code (bytestr=58324657, vector=64351237,
    maxdepth=36, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#29 0x0103775a in funcall_lambda (fun=55742405, nargs=1, arg_vector=0x349a81a)
    at eval.c:3166
#30 0x01036c40 in Ffuncall (nargs=2, args=0x82ede0) at eval.c:2984
#31 0x010de846 in exec_byte_code (bytestr=64344913, vector=60269317,
    maxdepth=16, args_template=55158810, nargs=0, args=0x0) at bytecode.c:785
#32 0x0103775a in funcall_lambda (fun=58571397, nargs=3, arg_vector=0x349a81a)
    at eval.c:3166
#33 0x01036f76 in apply_lambda (fun=58571397, args=63719454) at eval.c:3043
#34 0x01034dd6 in eval_sub (form=63719462) at eval.c:2328
#35 0x010302a6 in Fprogn (args=63719430) at eval.c:364
#36 0x01031e09 in Flet (args=63719470) at eval.c:1053
#37 0x01034587 in eval_sub (form=63719518) at eval.c:2231
#38 0x010302a6 in Fprogn (args=63719366) at eval.c:364
#39 0x01037631 in funcall_lambda (fun=63719358, nargs=1, arg_vector=0x82f4f4)
    at eval.c:3159
#40 0x01036d0f in Ffuncall (nargs=2, args=0x82f4f0) at eval.c:2996
#41 0x010e3174 in Fcall_interactively (function=56444602,
    record_flag=55158834, keys=55180037) at callint.c:852
#42 0x01036915 in Ffuncall (nargs=4, args=0x82f720) at eval.c:2942
#43 0x01035e31 in call3 (fn=55278954, arg1=56444602, arg2=55158834,
    arg3=55158810) at eval.c:2735
#44 0x0101fa00 in Fcommand_execute (cmd=56444602, record_flag=55158834,
    keys=55158810, special=55158810) at keyboard.c:10330
#45 0x0101fcf8 in Fexecute_extended_command (prefixarg=55158810)
    at keyboard.c:10419
#46 0x01036842 in Ffuncall (nargs=2, args=0x82f940) at eval.c:2935
#47 0x010e3174 in Fcall_interactively (function=55214778,
    record_flag=55158810, keys=55180037) at callint.c:852
#48 0x01036915 in Ffuncall (nargs=4, args=0x82fb70) at eval.c:2942
#49 0x01035e31 in call3 (fn=55278954, arg1=55214778, arg2=55158810,
    arg3=55158810) at eval.c:2735
#50 0x0101fa00 in Fcommand_execute (cmd=55214778, record_flag=55158810,
    keys=55158810, special=55158810) at keyboard.c:10330
#51 0x0100659b in command_loop_1 () at keyboard.c:1572
#52 0x0103280d in internal_condition_case (bfun=0x10056a7 <command_loop_1>,
    handlers=55216562, hfun=0x1004ec6 <cmd_error>) at eval.c:1448
#53 0x01005303 in command_loop_2 (ignore=55158810) at keyboard.c:1160
#54 0x01032230 in internal_catch (tag=55214562,
    func=0x10052df <command_loop_2>, arg=55158810) at eval.c:1205
#55 0x010052bf in command_loop () at keyboard.c:1139
#56 0x0100489b in recursive_edit_1 () at keyboard.c:759
#57 0x01004bb6 in Frecursive_edit () at keyboard.c:823
#58 0x010028ba in main (argc=1, argv=0xa92490) at emacs.c:1711

Lisp Backtrace:
"gnutls-available-p" (0x82d404)
"network-stream-open-starttls" (0x82d714)
"open-protocol-stream" (0x82da34)
"byte-code" (0x82dcb4)
"nntp-open-connection" (0x82e124)
"nntp-open-server" (0x82e414)
"byte-code" (0x82e664)
"gnus-open-server" (0x82ead4)
"gnus-start-news-server" (0x82ede4)
"gnus-1" (0x82f030)
"let" (0x82f30c)
"gnus" (0x82f4f4)
"call-interactively" (0x82f724)
"execute-extended-command" (0x82f944)
"call-interactively" (0x82fb74)
(gdb)