================================================================
Dear Bug Team!
Reproducible in vanilla, with following configuration.
Just evaluate
(file-name-directory "1:")
in the *scratch* buffer (without any unsaved autobiographies or other
work close to your heart).
This gets triggered "randomly" by following ffap configuration of
mine, when I use
C-x C-f (find-file-at-point)
; 2006-09-17
(require 'ffap)
; C-x C-f (find-file-at-point)
; which I learned about in c.e.x is quite handy!
(ffap-bindings)
It probably happens when using C-x C-f in a *Group* buffer, with
content like ...
1200: nndraft:drafts
* 0: nnml:ALD
* 0: nnml:AMEX
* 0: nnml:ASIC_FPGA
* 0: nnml:DNS
* 0: nnml:EngineeringIT
* 0: nnml:Enote
* 0: nnml:FM4-Community
1: nnml:Gnus
Apparently, wcslen naively dereferences its const wchar_t *ws argument
without checking for a null pointer:
wcslen(const unsigned short * 0x00000000) line 39 + 5 bytes
XEMACS! 01206394()
I've traced this down to src/intl-win32.c whose functions have blind
faith in pointers they are being passed.
sysdep.c also contains versions of various wchar functions without
proper argument checking.
Still investigating ...
Best regards!
Adrian
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
file-name-directory("1:")
# bind (name)
ffap-completable("1:")
byte-code("..." [name tem] 2)
# (condition-case ... . ((error)))
# bind (alist tem try case-fold-search)
# (unwind-protect ...)
# bind (default-directory abs name string data case-fold-search)
ffap-file-at-point()
ffap-guesser()
byte-code("..." [ffap-url-regexp guess ffap-read-file-or-url "Find file
or URL
: " "Find file: " ffap-guesser ffap-highlight] 4)
# (catch ffap-prompter ...)
# (unwind-protect ...)
# bind (guess)
ffap-prompter()
# bind (filename)
#<compiled-function (&optional filename) "...(94)"
[ffap-dired-wildcards ffap-
url-regexp ffap-file-finder string current-prefix-arg filename nil call-interact
ively ffap-prompter t string-match dired file-exists-p y-or-n-p "File does not e
xist, create buffer? " expand-file-name signal file-error "Opening file
buffer"
"no such file or directory" ffap-require-prefix case-fold-search
ffap-url-fetche
r ffap-newfile-prompt] 5 ("c:\\Program Files\\XEmacs\\xemacs-packages\\lisp\\xem
acs-base\\ffap.elc" . 29412) nil>()
call-interactively(find-file-at-point)
# (condition-case ... . error)
# (catch top-level ...)
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT
XEmacs 21.5-b27 "fiddleheads" (+CVS-20060826) configured for
`i586-pc-win32'.
Building XEmacs using "NMAKE".
Building XEmacs using make flags " ".
Building XEmacs in source tree
"c:\\Hacking\\cvs.xemacs.org\\XEmacs\\xemacs-21.5-clean".
For src, using compiler "cl -nologo -W3 -DSTRICT -O2 -G5 -Ob2 -MD -c -TP
-Ic:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\nt\inc
-Ic:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\src
-I"c:\Hacking\libs4xemacs\xpm-3.4k"
-I"c:\Hacking\libs4xemacs\xpm-3.4k\lib"
-I"c:\Hacking\libs4xemacs\libpng-1.0.2"
-I"c:\Hacking\libs4xemacs\zlib"
-I"c:\Hacking\libs4xemacs\tiff-v3.4\libtiff"
-I"c:\Hacking\libs4xemacs\jpeg-6b" -I"c:\Hacking\libs4xemacs\compface"
-I"c:\Hacking\libs4xemacs\zlib" -DHAVE_MS_WINDOWS -DHAVE_MENUBARS
-DHAVE_SCROLLBARS -DHAVE_TOOLBARS -DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_XPM -DFOR_MSW
-DHAVE_GIF -DHAVE_PNG -DHAVE_TIFF -DHAVE_JPEG -DHAVE_XFACE -DHAVE_ZLIB -DHAVE_NATIVE_SOUND
-DMULE -DPDUMP -DNEW_GC -DUSE_KKCC -DSYSTEM_MALLOC -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE
-Demacs -DHAVE_CONFIG_H -DPATH_VERSION=\"21.5-b27\"
-DPATH_PROGNAME=\"xemacs\" -DEMACS_VERSION=\"21.5-b27\"
-DEMACS_PROGNAME=\"xemacs\"
-DSTACK_TRACE_EYE_CATCHER=xemacs_21_5_b27_i586_pc_win!
32 -DPATH_PREFIX=\"..\" -DEMACS_MAJOR_VERSION=21 -DEMACS_MINOR_VERSION=5
-DEMACS_BETA_VERSION=27 -DXEMACS_CODENAME=\""fiddleheads"\"
-DXEMACS_EXTRA_NAME=\"(+CVS-20060826)\"
-DEMACS_CONFIGURATION=\"i586-pc-win32\"".
For lib-src, using compiler "cl -nologo -W3 -DSTRICT -O2 -G5 -Ob2 -MD
-Ic:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lib-src
-Ic:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\src -DHAVE_CONFIG_H
-DWIN32_NATIVE".
Compiling as C++.
Installing XEmacs in "c:\\Program Files\\XEmacs\\XEmacs-21.5-b27".
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 TIFF images.
Compiling in support for JPEG 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 with optimization.
Using new experimental GC mark algorithms.
Using new experimental incremental garbage collector and new allocator.
Load-Path Lisp Shadows:
----------------------
(c:\Program Files\XEmacs\site-packages\lisp\gnugo-xpms c:\Program
Files\XEmacs\site-packages\lisp\mokuxpms-2\gnugo-xpms c:\Program
Files\XEmacs\xemacs-packages\lisp\calendar\time-date c:\Program
Files\XEmacs\xemacs-packages\lisp\gnus\time-date c:\Program
Files\XEmacs\xemacs-packages\lisp\calendar\parse-time c:\Program
Files\XEmacs\xemacs-packages\lisp\gnus\parse-time c:\Program
Files\XEmacs\mule-packages\lisp\mule-base\viet-util
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\mule\viet-util
c:\Program Files\XEmacs\mule-packages\lisp\mule-base\korea-util
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\mule\korea-util
c:\Program Files\XEmacs\mule-packages\lisp\mule-base\japan-util
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\mule\japan-util
c:\Program Files\XEmacs\mule-packages\lisp\mule-base\ethio-util
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\mule\ethio-util
c:\Program Files\XEmacs\mule-packages\lisp\mule-base\cyril-util
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\mule\cyril-util
c:\Program Files\XEmacs\mule-packages\lisp\mule-base\china-util
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\mule\china-util
c:\Program Files\XEmacs\mule-packages\lisp\mule-ucs\unicode
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\unicode
c:\Program Files\XEmacs\xemacs-packages\lisp\xemacs-base\regexp-opt
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\regexp-opt
c:\Program Files\XEmacs\xemacs-packages\lisp\xemacs-base\easy-mmode
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\easy-mmode
c:\Program Files\XEmacs\xemacs-packages\lisp\build\build-report
c:\Hacking\cvs.xemacs.org\XEmacs\xemacs-21.5-clean\lisp\build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xwem ver: 1.22 upstream: lg(a)xwem.org--2005/xwem--main--2.1--versionfix-1)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg(a)xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.01 upstream: steve(a)eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.75 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.08 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(whois-complete ver: 2.08 upstream: 2.08)
(w3 ver: 1.33 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(viper ver: 1.51 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.22 upstream: 3.33.12)
(vc ver: 0.05 upstream: No-Upstream-Ver)
(vb-mode ver: 1.37 upstream: 1.37)
(tramp ver: 1.34 upstream: 2.0.54)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.9 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.12 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.2 upstream: 1.4.4)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.22 upstream: 2.0.2)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.08 upstream: No-Upstream-Ver)
(pxp ver: 0.8 upstream: regular)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.09 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.67 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.39 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.06 upstream: 3.06)
(net-utils ver: 1.49 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.29 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.78 upstream: No-Upstream-Ver)
(liece ver: 1.15 upstream: 1.4.9)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.34 upstream: 5.12.0)
(igrep ver: 1.14 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.1 upstream: 2.1)
(gnus ver: 1.9 upstream: 5.10.7)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.04 upstream: No-Upstream-Ver)
(games ver: 1.17 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(ess ver: 1.16 upstream: 5.2.7)
(eshell ver: 1.1 upstream: 2.4.1)
(erc ver: 0.21 upstream: Version 5.1.2 Revision: 1.796.2.6)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(eicq ver: 1.05 upstream: regular)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.36 upstream: No-Upstream-Ver)
(ediff ver: 1.64 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(cadence ver: 0.01 upstream: 0.01)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.29 upstream: 2.34)
(bat-mode ver: 1.5 upstream: 1.5)
(auctex ver: 1.46 upstream: 11.55)
(atp-mode ver: 1.6 upstream: 1.6)
(apel ver: 1.32 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(TerIDL ver: 1.0 upstream: 1.0)
(Sun ver: 1.16 upstream: No-Upstream-Ver)
(mule-ucs ver: 1.14 upstream: 0.84)
(mule-base ver: 1.47 upstream: No-Upstream-Ver)
(lookup ver: 1.15 upstream: 1.0)
(locale ver: 1.22 upstream: No-Upstream-Ver)
(leim ver: 1.24 upstream: No-Upstream-Ver)
(latin-unity ver: 1.19 upstream: 1.19)
(latin-euro-standards ver: 1.07 upstream: 1.07)
Features:
--------
(xemacsbug shadow parse-time nnfolder vc-git vc-cvs pop3 passwd nnml
nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com bbdb timezone
nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-cache
gnus-demon nntp gnus-setup lazy-lock desktop blink-cursor erc-fill
erc-stamp erc-match erc-spelling flyspell ispell erc-goodies erc
erc-backend erc-menu erc-compat pp paren blink-paren uniquify iso-acc
simple-wiki-completion simple-wiki-definitions simple-wiki-edit
simple-wiki thingatpt http-post http-get http-cookies hexl
emms-playing-time emms-lyric emms-player-extensions emms-info-later-do
later-do emms-mode-line emms-pbi-popup emms-pl-manip emms-tageditor
emms-pbi-mark emms-info-ogg ogg-comment emms-info-mp3info emms-info
emms-pbi emms-player-simple emms-source-file emms-default emms nnir
org-timeclock org outline remember-planner remember planner-publish
muse-xml planner-gnus gnus-msg gnus-art mm-uu mml2015 pgg pgg-parse
pgg-def mm-view gnus-sum gnus-group gnus-undo gnus-start gnus-spec
gnus-int gnus-range gnus-win planner-accomplishments planner-id
compile planner-timeclock-summary align planner-timeclock timeclock
planner-tasks-overview planner-schedule edmacro schedule holidays
diary-lib planner-report planner calendar cal-menu overlay sort
muse-html muse-xml-common muse-colors font disp-table muse-mode
pcomplete muse-project cus-edit cus-load muse-publish muse
muse-protocols info muse-regexps ffap gnuslog nndoc nnoo nnmail
mail-source message mml mml-sec mml-smime smime dig mm-decode
mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231 rfc2047 qp
ietf-drums mail-abbrevs sendmail rfc822 mailheader canlock sha1
hex-util gnus gnus-ems gnus-xmas messagexmas nnheader nnheaderxm
gnus-util netrc time-date mail-utils mm-util mail-prsvr wid-edit
clearcase reporter tramp-vc tramp regexp-opt executable advice
advice-preload shell comint password format-spec timer-funcs trampver
vc-rcs vc ring vc-hooks vc-xemacs redo scroll-in-place func-menu
font-lock filladapt crypt crypt++ crypt+pgp-pub completer efs-cu
efs-x19.15 efs-fnh efs-ovwrt efs-auto cus-face dired-faces
dired-xemacs dired pending-del zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-autoloads xetla-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-autoloads
whois-complete-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-autoloads vb-mode-autoloads
tramp-autoloads tpu-autoloads tooltalk-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads sml-mode-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
re-builder-autoloads python-modes-autoloads pxp-autoloads
psgml-dtds-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads erc-autoloads emerge-autoloads
elib-autoloads eieio-autoloads eicq-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads crisp-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads cadence-autoloads c-support-autoloads build-autoloads
bbdb-autoloads bat-mode-autoloads auctex-autoloads atp-mode-autoloads
apel-autoloads ada-autoloads TerIDL-autoloads Sun-autoloads
mule-ucs-autoloads mule-base-autoloads lookup-autoloads
locale-autoloads leim-autoloads latin-unity-autoloads
latin-euro-standards-autoloads bbdb-pilot-autoloads
site-packages-lisp-autoloads mule-autoloads auto-autoloads rsz-minibuf
auto-show fontl-hooks canna-leim tibetan lao devanagari indian
slovenian czech romanian ccl 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 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 tiff png gif jpeg xface xpm xbm lisp-float-type
file-coding dde windows-nt dragdrop-api dialog devices window-system
base64)
Recent keystrokes:
-----------------
M-x g n u s RET C-x 1 M-x r - x - SPC RET M-x r e c
u SPC e d SPC RET C-] c r a s BS BS BS BS [ C R A S
H ] SPC C-q SPC RET RET RET C-q RET BS RET C-g C-g
M-x M-p M-p RET
Recent messages (most recent first):
-----------------------------------
Starting new Ispell process...
Fontifying *mail to XEmacs Beta*... done.
Parsing BBDB... (frobnicating...done)
Parsing BBDB... (frobnicating...)
Parsing BBDB... (reading...)
Parsing BBDB...
Auto-save off (in this buffer)
Decrypting .bbdb.gpg... done
Decrypting .bbdb.gpg...
Encryption key for .bbdb.gpg? [RET to ignore]: .......
Encryption key for .bbdb.gpg? [RET to ignore]: ......
Encryption key for .bbdb.gpg? [RET to ignore]: .....
Encryption key for .bbdb.gpg? [RET to ignore]: ....
Encryption key for .bbdb.gpg? [RET to ignore]: ...
Encryption key for .bbdb.gpg? [RET to ignore]: ..
Encryption key for .bbdb.gpg? [RET to ignore]: .
Encryption key for .bbdb.gpg? [RET to ignore]:
Fontifying *mail to XEmacs Beta*...
No preceding item in minibuffer-history
Quit
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta