Subject: bug#11141: 24.0.94; crash with `x-popup-dialog'

From: "Drew Adams" <[email-masked]>
Date: Sat, 31 Mar 2012 23:31:49 -0700

> No crash on latest trunk, x86_64-unknown-linux-gnu.  Maybe a Windows
> issue.  Any backtrace?

$ ./gdb -p 5128
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 5128
[New Thread 5128.0xfdc]
[New Thread 5128.0xc58]
[New Thread 5128.0x1584]
Reading symbols from C:\Emacs-24-2012-03-19\bin\emacs.exe...done.
[Switching to Thread 5128.0x1584]
Warning: c:\drews-lisp-20\bin/../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
terminal]
Environment variable "DISPLAY" not defined.
TERM = cygwin
.gdbinit:1328: Error in sourced command file:
No symbol "Vsystem_type" in current context.
(gdb) c
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 5128.0xfdc]
0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0  0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
#1  0x0114f2fe in w32_abort () at w32fns.c:7210
#2  0x010421b3 in die (
    msg=0x15d2e48 "assertion failed: CONSP (((0+(((((((((enum Lisp_Type)
((((options))) &
((((int) 1) << 3) - 1))) == Lisp_Cons)) || suppress_checking ? (void) 0 : die
((\"assertio
n failed: \" \"CONSP ((options))\"), \"w32me"..., file=0x15d26b7 "w32menu.c",
    line=1185) at alloc.c:6339
#3  0x012b59ab in is_simple_dialog (contents=75445966) at w32menu.c:1185
#4  0x012b3507 in Fx_popup_dialog (position=74376382, contents=75445966,
    header=54724634) at w32menu.c:195
#5  0x01034e58 in eval_sub (form=75445950) at eval.c:2356
#6  0x01031fed in Flet (args=75446038) at eval.c:1090
#7  0x01034965 in eval_sub (form=75445934) at eval.c:2298
#8  0x010301ee in Fprogn (args=75446094) at eval.c:364
#9  0x01037a0f in funcall_lambda (fun=75446182, nargs=1, arg_vector=0x83f944)
    at eval.c:3226
#10 0x010370ed in Ffuncall (nargs=2, args=0x83f940) at eval.c:3063
#11 0x010e354c in Fcall_interactively (function=76468802, record_flag=54724634,
    keys=54745861) at callint.c:852
#12 0x01036cf3 in Ffuncall (nargs=4, args=0x83fb70) at eval.c:3009
#13 0x0103620f in call3 (fn=54844778, arg1=76468802, arg2=54724634,
arg3=54724634)
    at eval.c:2802
#14 0x0101f9e2 in Fcommand_execute (cmd=76468802, record_flag=54724634,
keys=54724634,
    special=54724634) at keyboard.c:10328
#15 0x0100658f in command_loop_1 () at keyboard.c:1571
#16 0x01032beb in internal_condition_case (bfun=0x100569b <command_loop_1>,
    handlers=54782362, hfun=0x1004eba <cmd_error>) at eval.c:1515
#17 0x010052f7 in command_loop_2 (ignore=54724634) at keyboard.c:1159
#18 0x0103260e in internal_catch (tag=54780386, func=0x10052d3 <command_loop_2>,
    arg=54724634) at eval.c:1272
#19 0x010052b3 in command_loop () at keyboard.c:1138
#20 0x0100488f in recursive_edit_1 () at keyboard.c:758
#21 0x01004baa in Frecursive_edit () at keyboard.c:822
#22 0x010028b5 in main (argc=3, argv=0x33c68) at emacs.c:1715

Lisp Backtrace:
"x-popup-dialog" (0x83f574)
"let" (0x83f75c)
"titi" (0x83f944)
"call-interactively" (0x83fb74)
(gdb)