From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jack Holloway Newsgroups: gmane.emacs.bugs Subject: bug#6237: 23.2; INSUFFICIENT RESOURCES writing file via CIFS Date: Thu, 20 May 2010 19:57:37 -0700 Message-ID: <4BF5F6A1.8020206@sprucehead.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274491267 10894 80.91.229.12 (22 May 2010 01:21:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 01:21:07 +0000 (UTC) To: 6237@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 22 03:21:06 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFdOe-0007jv-4z for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 May 2010 03:21:00 +0200 Original-Received: from localhost ([127.0.0.1]:37507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFdOd-0002jy-H2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 May 2010 21:20:59 -0400 Original-Received: from [140.186.70.92] (port=50382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFJpC-0001rw-6J for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 00:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFJpA-00071H-HV for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 00:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48135) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFJpA-000710-EC for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 00:27:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFJO2-0003ja-AD; Thu, 20 May 2010 23:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jack Holloway Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 May 2010 03:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6237 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127441430314329 (code B ref -1); Fri, 21 May 2010 03:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2010 03:58:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFJNL-0003j3-Ag for submit@debbugs.gnu.org; Thu, 20 May 2010 23:58:19 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFIQr-0003KG-OG for submit@debbugs.gnu.org; Thu, 20 May 2010 22:57:54 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:32931) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OFIQn-00058S-P0 for submit@debbugs.gnu.org; Thu, 20 May 2010 22:57:50 -0400 Original-Received: from [140.186.70.92] (port=44990 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFIQm-00073u-2X for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 22:57:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFIQj-0003MR-QH for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 22:57:47 -0400 Original-Received: from a.mail.sonic.net ([64.142.16.245]:43622) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFIQi-0003LX-BB for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 22:57:45 -0400 Original-Received: from [127.0.0.1] (c-98-234-53-112.hsd1.ca.comcast.net [98.234.53.112]) (authenticated bits=0) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o4L2vbEj011515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); 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 X-Antivirus: avast! (VPS 100520-1, 05/20/2010), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 20 May 2010 23:58:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 May 2010 23:59:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 21 May 2010 21:20:53 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37161 Archived-At: 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)