================================================================
Dear Bug Team!
I am the current maintainer of VM.
The following is a debugger trace of an attempt by VM to run w3m on a piece
of html text. Everything looks normal here, but the output inserted into
the buffer is:
1 [sig] sh 5280 exception::handle: Exception: STATUS_ACCESS_VIOLATION
224 [sig] sh 5280 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
Exactly the same call works fine in Gnu Emacs under the same environment.
Should I do something differently for XEmacs?
Cheers,
Uday
------
Debugger entered--returning value: 35584
call-process-internal("C:/Cygwin/bin/sh.exe" (#<buffer "test-mime
Presentation"> 5791 18830) t nil "-c" "w3m -dump -T text/html -I
utf-8 -O utf-8")
* apply(call-process-internal "C:/Cygwin/bin/sh.exe" (#<buffer
"test-mime Presentation"> 5791 18830) t nil ("-c" "w3m -dump
-T text/html -I utf-8 -O utf-8"))
* call-process("C:/Cygwin/bin/sh.exe" (#<buffer "test-mime
Presentation"> 5791 18830) t nil "-c" "w3m -dump -T text/html -I
utf-8 -O utf-8")
* apply(call-process "C:/Cygwin/bin/sh.exe" (#<buffer "test-mime
Presentation"> 5791 18830) t nil ("-c" "w3m -dump -T text/html -I
utf-8 -O utf-8"))
* byte-code("..." [end start p deletep s e copy-marker t apply call-process
<= retval program buffer displayp args] 10)
* call-process-region(5791 18830 "C:/Cygwin/bin/sh.exe" t t nil "-c"
"w3m -dump -T text/html -I utf-8 -O utf-8")
(let ((swap ...)) (goto-char start) (and replace (push-mark)) (call-process-region start
end shell-file-name t t nil shell-command-switch command) (let (...) (and shell-buffer ...
...)) (and replace swap (exchange-point-and-mark t)))
(if (or replace (and output-buffer ...)) (let (...) (goto-char start) (and replace ...)
(call-process-region start end shell-file-name t t nil shell-command-switch command) (let
... ...) (and replace swap ...)) (let (... ... ... ...) (unwind-protect ... ...)))
* shell-command-on-region(5791 18830 "w3m -dump -T text/html -I utf-8 -O utf-8"
nil t)
(let ((charset ...)) (shell-command-on-region start (1- end) (format "w3m -dump -T
text/html -I %s -O %s" charset charset) nil t))
* vm-mime-display-internal-w3m-text/html(5791 #<marker at 18989 in test-mime
Presentation 0x2f82ad4> [("text/html" "charset=utf-8")
("text/html" "charset=utf-8") "8bit" nil nil nil nil
#<marker at 118668 in test-mime 0x32f2e74> #<marker at 118739 in test-mime
0x32f2e8c> #<marker at 118740 in test-mime 0x32f2ea4> #<marker at 131779 in
test-mime 0x32f2ebc> nil <<c>> <<m>> nil nil nil])
funcall(vm-mime-display-internal-w3m-text/html 5791 #<marker at 18989 in test-mime
Presentation 0x2f82ad4> [("text/html" "charset=utf-8")
("text/html" "charset=utf-8") "8bit" nil nil nil nil
#<marker at 118668 in test-mime 0x32f2e74> #<marker at 118739 in test-mime
0x32f2e8c> #<marker at 118740 in test-mime 0x32f2ea4> #<marker at 131779 in
test-mime 0x32f2ebc> nil <<c>> <<m>> nil nil nil])
------
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT
XEmacs 21.5-b29 "garbanzo" configured for `i586-pc-win32'.
Building XEmacs using "NMAKE".
Building XEmacs using make flags " ".
Building XEmacs in source tree "D:\\gnu\\xemacs-21.5.29".
For src, using compiler "cl -nologo -W3 -DSTRICT -Zi -Od -MDd -c -TP
-ID:\gnu\xemacs-21.5.29\nt\inc -ID:\gnu\xemacs-21.5.29\src
-I"d:\gnu\optional-libs\xpm-3.4k"
-I"d:\gnu\optional-libs\xpm-3.4k\lib"
-I"d:\gnu\optional-libs\libpng-1.2.40"
-I"d:\gnu\optional-libs\zlib-1.2.3"
-I"d:\gnu\optional-libs\compface-1.5.1"
-I"d:\gnu\optional-libs\zlib-1.2.3" -DHAVE_MS_WINDOWS -DHAVE_MENUBARS
-DHAVE_SCROLLBARS -DHAVE_TOOLBARS -DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_XPM -DFOR_MSW
-DHAVE_GIF -DHAVE_PNG -DHAVE_XFACE -DHAVE_ZLIB -DHAVE_NATIVE_SOUND -DMULE
-DERROR_CHECK_ALL -DPDUMP -DUSE_KKCC -DSYSTEM_MALLOC -DDEBUG_XEMACS -D_DEBUG
-DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs -DHAVE_CONFIG_H
-DPATH_VERSION=\"21.5-b29\" -DPATH_PROGNAME=\"xemacs\"
-DEMACS_VERSION=\"21.5-b29\" -DEMACS_PROGNAME=\"xemacs\"
-DSHEBANG_PROGNAME=\"xemacs-script\"
-DSTACK_TRACE_EYE_CATCHER=xemacs_21_5_b29_i586_pc_win32
-DPATH_PREFIX=\""c:\\Program Files\\XEmacs\\XEmacs-21.5-b29"\"
-DEMACS_MAJOR_VERSION=!
21 -DEMACS_MINOR_VERSION=5 -DEMACS_BETA_VERSION=29
-DXEMACS_CODENAME=\""garbanzo"\"
-DXEMACS_EXTRA_NAME=\"""\"
-DEMACS_CONFIGURATION=\"i586-pc-win32\"".
For lib-src, using compiler "cl -nologo -W3 -DSTRICT -Zi -Od -MDd
-ID:\gnu\xemacs-21.5.29\lib-src -ID:\gnu\xemacs-21.5.29\src -DHAVE_CONFIG_H
-DWIN32_NATIVE".
Compiling as C++.
Installing XEmacs in "c:\\Program Files\\XEmacs\\XEmacs-21.5-b29".
Compiling in support for Microsoft Windows native GUI.
Compiling in international (MULE) support.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for X-Face message headers.
Compiling in support for GZIP compression/decompression.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Using portable dumper.
Using system malloc.
Using DLL version of C runtime library.
Compiling in extra internal error-checking.
NOTE: ---------------------------------------------------------
NOTE: Compiling in support for runtime error-checking.
NOTE: XEmacs will run noticeably more slowly as a result.
NOTE: Error-checking is on by default for XEmacs beta releases.
NOTE: ---------------------------------------------------------
Compiling in debugging support (no slowdown).
Using new experimental GC mark algorithms.
Load-Path Lisp Shadows:
----------------------
(d:\Home\udr\share\emacs\sml-mode D:/gnu/emacs-23.2/../site-lisp\sml-mode
d:\Home\udr\share\emacs\savehist-20+
D:/gnu/emacs-23.2/../site-lisp\savehist-20+
D:\gnu\vm\trunk/xemacs/lisp\vcard c:\Program
Files\XEmacs\xemacs-packages\lisp\gnus\vcard
D:/gnu/emacs-23.2/../site-lisp\ssh c:\Program
Files\XEmacs\xemacs-packages\lisp\os-utils\ssh c:\Program
Files\XEmacs\xemacs-packages\lisp\xemacs-base\regexp-opt c:\Program
Files\XEmacs\XEmacs-21.5-b29\lisp\regexp-opt
D:/gnu/emacs-23.2/../site-lisp\gnuserv c:\Program
Files\XEmacs\XEmacs-21.5-b29\lisp\gnuserv c:\Program
Files\XEmacs\xemacs-packages\lisp\xemacs-base\easy-mmode c:\Program
Files\XEmacs\XEmacs-21.5-b29\lisp\easy-mmode)
Internationalization Settings:
-------------------------
Environment:
Value of LC_ALL : nil
Value of LC_COLLATE : nil
Value of LC_CTYPE : nil
Value of LC_MESSAGES : nil
Value of LC_MONETARY : nil
Value of LC_NUMERIC : nil
Value of LC_TIME : nil
Value of LANG : nil
Lisp locale settings:
current-language-environment => "English"
default-buffer-file-coding-system => mswindows-multibyte-dos
default-process-coding-system => (undecided .
mswindows-multibyte-system-default)
(current-locale) => "English_United States.1252"
keyboard-coding-system => mswindows-multibyte-system-default
terminal-coding-system => mswindows-multibyte-system-default
(coding-priority-list) =>
(iso-8-1 utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7
no-conversion utf-8 iso-8-2 iso-8-designate iso-lock-shift shift-jis
big5 utf-16-little-endian utf-16 ucs-4)
Coding system aliases:
'native is aliased to
mswindows-multibyte-system-default-dos
'file-name is aliased to
mswindows-multibyte-system-default
'mswindows-multibyte-system-default is not a coding system alias
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.79 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.18 upstream: No-Upstream-Ver)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(speedbar ver: 1.29 upstream: 1.0pre4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.24 upstream: 2.0f)
(semantic ver: 1.2 upstream: 1.4.4)
(psgml ver: 1.45 upstream: 1.3.2)
(ps-print ver: 1.12 upstream: 6.5.6)
(prog-modes ver: 2.18 upstream: No-Upstream-Ver)
(perl-modes ver: 1.14 upstream: No-Upstream-Ver)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.41 upstream: No-Upstream-Ver)
(net-utils ver: 1.56 upstream: N/A)
(mail-lib ver: 1.8 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(gnus ver: 1.93 upstream: 5.10.8)
(fsf-compat ver: 1.17 upstream: No-Upstream-Ver)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(eieio ver: 1.06 upstream: 1.0pre4)
(efs ver: 1.34 upstream: 1.24)
(edit-utils ver: 2.4 upstream: No-Upstream-Ver)
(ediff ver: 1.77 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecb ver: 1.22 upstream: 2.31)
(easypg ver: 1.02 upstream: 0.0.16)
(dired ver: 1.19 upstream: 7.16)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
Features:
--------
(atomic-extents mail-abbrevs xemacsbug shadow vm-delete cl-specs
symbol-syntax tags etags hyper-apropos passwd longlines view-less view
vm-startup vm-grepmail cus-edit cus-load wid-edit reporter info executable
vm-save tapestry vm-sort vm-thread efs-cu vm-imap font-lock u-vm-color my-vm
overlay bbdb vm-rfaddons vm-undo vm-virtual vm-summary-faces vm-message font
disp-table alist mswindows-font-menu font-menu debug vm-macro vm-edit
vm-digest vm-page vm-window vm-crypto vm-menu vm-mouse vm-toolbar vm-mime vm
vm-reply vm-motion vm-summary vm-folder vm-minibuf vm-misc timezone
vm-pcrisis highlight-headers cus-face vm-version vm-vars savehist-20+
movement natural-space NatSpeak sendmail rfc822 regexp-opt echistory
chistory electric edebug advice advice-preload edmacro jka-compr
xemacs-devel-autoloads xemacs-base-autoloads vc-autoloads time-autoloads
text-modes-autoloads texinfo-autoloads speedbar-autoloads
sounds-wav-autoloads sh-script-autoloads semantic-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads perl-modes-autoloads pc-autoloads
os-utils-autoloads net-utils-autoloads mail-lib-autoloads ispell-autoloads
gnus-autoloads fsf-compat-autoloads emerge-autoloads eieio-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecb-autoloads easypg-autoloads dired-autoloads debug-autoloads
cc-mode-autoloads c-support-autoloads mule-autoloads auto-autoloads
auto-show fontl-hooks canna-leim tibetan slovenian czech romanian lao
devanagari indian cyrillic code-cmds gutter-items menubar-items x-menubar
dragdrop mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete loadhist cus-file derived
newcomment rsz-minibuf env text-props frame obsolete cus-start custom widget
cl-extra cl cl-19 packages backquote unicode mswindows-scrollbars mswindows
toolbar native-sound scrollbar network-streams subprocesses
menu-accelerator-support menubar md5 xemacs mule gutter png gif xface xpm
xbm lisp-float-type file-coding dde windows-nt dragdrop-api dialog devices
window-system base64)
Recent keystrokes:
-----------------
up up up up up up up up up up up up up up up up up
up up up up up up up up up up up up up up up up up
up up up up up up up up up up up up up up up up up
up up up up up up up up up up up up up up up up up
up up up up up up up up up up up up up up C-x o h f1
SPC M-x r e p o r t - e m SPC SPC RET
Recent messages (most recent first):
-----------------------------------
Parsing d:\Home\udr\.mailrc... done
Parsing d:\Home\udr\share\dotfiles\.mailrc... done
Parsing d:\Home\udr\share\dotfiles\.mailrc...
Parsing d:\Home\udr\.mailrc...
Loading mail-abbrevs...done
Loading mail-abbrevs...
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Quit
Quit
Launching cmd /c... done
Launching cmd /c...
Wrote c:\DOCUME~1\udr\LOCALS~1\Temp\vm1786845474.jpg
Continuing.
Entering debugger...
Continuing.
Entering debugger...
Continuing.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta