From: Jack Holloway <forum2@sprucehead.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 6237@debbugs.gnu.org
Subject: bug#6237: 23.2; INSUFFICIENT RESOURCES writing file via CIFS
Date: Fri, 21 May 2010 19:12:41 -0700 [thread overview]
Message-ID: <4BF73D99.4060007@sprucehead.com> (raw)
In-Reply-To: <jwvpr0opuuw.fsf-monnier+emacs@gnu.org>
Sorry for the gaffe -- this should be plain text. Let me know if it's not.
---------------------
Saving a 32MB file to a CIFS path fails. Examining Procmon
events shows a return 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. copy-file doesn't have this problem.
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'
On 5/21/2010 6:51 PM, Stefan Monnier wrote:
> Thank you for your report. But I find it difficult to read it because
> it is in HTML format. Can you please reply with a plain text version?
> Thank you,
>
>
> Stefan
>
>
next prev parent reply other threads:[~2010-05-22 2:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 2:57 bug#6237: 23.2; INSUFFICIENT RESOURCES writing file via CIFS Jack Holloway
2010-05-22 1:51 ` Stefan Monnier
2010-05-22 2:12 ` Jack Holloway [this message]
2010-05-22 6:31 ` Eli Zaretskii
2010-05-22 7:49 ` Jack Holloway
2010-05-22 8:38 ` Eli Zaretskii
2010-05-22 9:39 ` Eli Zaretskii
2010-05-22 19:13 ` Eli Zaretskii
2010-05-22 8:08 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BF73D99.4060007@sprucehead.com \
--to=forum2@sprucehead.com \
--cc=6237@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).