|
From: | Jack Holloway |
Subject: | bug#6237: 23.2; INSUFFICIENT RESOURCES writing file via CIFS |
Date: | Thu, 20 May 2010 19:57:37 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Saving a 32MB file to a CIFS path fails. Examining Procmon events shows status INSUFFICIENT RESOURCES on a WriteFile with length 32MB. Perhaps write-region should break down the write into a series of blksize writes? Here's the relevant backtrace: Debugger entered--Lisp error: (error "IO error writing z:/Temp/test/tmp2092CxD: Invalid argument") write-region(nil nil "z:/Temp/test/tmp2092CxD" nil "z:/Temp/test/temp-write-once-032768" "z:/Temp/test/temp-write-once-032768" excl) byte-code("..." [dir tempname realname buffer-file-truename make-temp-name expand-file-name "tmp" write-region nil excl] 8) basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer() save-buffer() write-file("z:/Temp/test/temp-write-once-032768") This was running on Windows XP64 Professional SP2. The drive "z:" is mapped to a NAS running Samba. This error doesn't occur when writing to the host's internal NTFS, it does occur with other CIFS targets. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs-23.2/etc/DEBUG. In GNU Emacs 23.2.1 (i386-mingw-nt5.2.3790) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.2.3790 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' Important settings: 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-l M-x t e s t - n a s <tab> <return> z : / t <tab> <return> t <return> M-x r e p - e m a <tab> <return> Recent messages: Added to z:/Temp/test/temp-write-once-002048 Added to z:/Temp/test/temp-write-once-003072 Added to z:/Temp/test/temp-write-once-004096 Added to z:/Temp/test/temp-write-once-006144 Added to z:/Temp/test/temp-write-once-008192 Added to z:/Temp/test/temp-write-once-012288 Added to z:/Temp/test/temp-write-once-016384 Added to z:/Temp/test/temp-write-once-024576 !!! Unable to append to "z:/Temp/test/temp-write-once-032768" - (error IO error writing z:/Temp/test/temp-write-once-032768: Invalid argument) Entering debugger... Load-path shadows: None found. Features: (gnus gnus-ems mh-e mh-compat mh-acros mh-buffers mh-loaddefs find-func shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug apropos debug mule-util ansi-color shell etags add-log pp info multi-isearch help-mode view noutline outline easy-mmode sgml-mode byte-opt warnings cl cl-19 compile comint ring eldoc help-fns paren bytecomp byte-compile cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dired regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) |
[Prev in Thread] | Current Thread | [Next in Thread] |