Subject: bug#7628: Segfaulting under w32

From: Lennart Borgman <[email-masked]>
Date: Mon, 13 Dec 2010 03:35:22 +0100

This is for my patched version:

  This Emacs was built from sources in bazaar identified as:

  Nick 'trunk' info:
  revision id: [email-masked]
        revno: 101998
         date: 2010-10-19 08:19:45 +0000

  Nick 'emacsw32' (from 'trunk') info:
  revision id: [email-masked]
        revno: 99341
         date: 2010-10-19 16:09:03 +0200

Program received signal SIGSEGV, Segmentation fault.
0x7c809eda in KERNEL32!IsBadReadPtr () from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0  0x7c809eda in KERNEL32!IsBadReadPtr ()
   from C:\WINDOWS\system32\kernel32.dll
#1  0x5f180000 in ?? ()
#2  0x03135cce in ?? ()
   from C:\Program Files\Tall Emu\Online Armor\oawatch.dll
#3  0x031233d7 in ?? ()
   from C:\Program Files\Tall Emu\Online Armor\oawatch.dll
#4  0x03138476 in ?? ()
   from C:\Program Files\Tall Emu\Online Armor\oawatch.dll
#5  0x0313949e in ?? ()
   from C:\Program Files\Tall Emu\Online Armor\oawatch.dll
#6  0x03123ea0 in ?? ()
   from C:\Program Files\Tall Emu\Online Armor\oawatch.dll
#7  0x031241d6 in ?? ()
   from C:\Program Files\Tall Emu\Online Armor\oawatch.dll
#8  0x7c90118a in ntdll!LdrSetAppCompatDllRedirectionCallback ()
   from C:\WINDOWS\system32\ntdll.dll
#9  0x03120000 in ?? ()
#10 0x7c923ada in ntdll!RtlDestroyQueryDebugBuffer ()
   from C:\WINDOWS\system32\ntdll.dll
#11 0x7c81caae in KERNEL32!IsValidLocale ()
   from C:\WINDOWS\system32\kernel32.dll
#12 0x7c81cb26 in KERNEL32!ExitProcess ()
   from C:\WINDOWS\system32\kernel32.dll
#13 0x77c39d45 in strerror () from C:\WINDOWS\system32\msvcrt.dll
#14 0x77c39e78 in msvcrt!_initterm () from C:\WINDOWS\system32\msvcrt.dll
#15 0x77c39e90 in msvcrt!exit () from C:\WINDOWS\system32\msvcrt.dll
#16 0x01002d2d in Fkill_emacs (arg=45488154) at emacs.c:2035
#17 0x010215af in Ffuncall (nargs=1, args=0x82f450) at eval.c:2990
#18 0x010ca635 in Fbyte_code (bytestr=19044929, vector=19044949, maxdepth=20)
    at bytecode.c:679
#19 0x01021d84 in funcall_lambda (fun=19044901, nargs=1, arg_vector=0x82f694)
    at eval.c:3174
#20 0x010217cc in Ffuncall (nargs=2, args=0x82f690) at eval.c:3036
#21 0x010ca635 in Fbyte_code (bytestr=19045161, vector=19045181, maxdepth=12)
    at bytecode.c:679
#22 0x01021d84 in funcall_lambda (fun=19045133, nargs=1, arg_vector=0x82f914)
    at eval.c:3174
#23 0x010217cc in Ffuncall (nargs=2, args=0x82f910) at eval.c:3036
#24 0x010c9b2f in Fcall_interactively (function=45833890,
    record_flag=45488154, keys=45509381) at callint.c:849
#25 0x01021603 in Ffuncall (nargs=4, args=0x82fb90) at eval.c:2996
#26 0x01021143 in call3 (fn=45656978, arg1=45833890, arg2=45488154,
    arg3=45488154) at eval.c:2820
#27 0x010129fc in Fcommand_execute (cmd=45833890, record_flag=45488154,
    keys=45488154, special=45488154) at keyboard.c:10326
#28 0x01004ea9 in command_loop_1 () at keyboard.c:1726
#29 0x0101edad in internal_condition_case (bfun=0x10047e9 <command_loop_1>,
    handlers=45541738, hfun=0x10041de <cmd_error>) at eval.c:1460
#30 0x0100454e in command_loop_2 (ignore=45488154) at keyboard.c:1327
#31 0x0101e89e in internal_catch (tag=45539858,
    func=0x100452b <command_loop_2>, arg=45488154) at eval.c:1204
#32 0x01004506 in command_loop () at keyboard.c:1306
#33 0x01003dfa in recursive_edit_1 () at keyboard.c:929
#34 0x01003f5e in Frecursive_edit () at keyboard.c:991
#35 0x0100266f in main (argc=1, argv=0xa928e8) at emacs.c:1721

Lisp Backtrace:
"kill-emacs" (0x82f454)
"save-buffers-kill-emacs" (0x82f694)
"save-buffers-kill-terminal" (0x82f914)
"call-interactively" (0x82fb94)
(gdb)