[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#6237: closed (23.2; INSUFFICIENT RESOURCES writi

From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6237: closed (23.2; INSUFFICIENT RESOURCES writing file via CIFS)
Date: Sat, 22 May 2010 19:14:02 +0000

Your message dated Sat, 22 May 2010 22:13:37 +0300
with message-id <address@hidden>
and subject line Re: bug#6237: 23.2; INSUFFICIENT RESOURCES writing file via 
has caused the GNU bug report #6237,
regarding 23.2; INSUFFICIENT RESOURCES writing file via CIFS
to be marked as done.

(If you believe you have received this mail in error, please contact

6237: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6237
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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: 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 address@hidden 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)

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

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.

(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

--- End Message ---
--- Begin Message --- Subject: Re: bug#6237: 23.2; INSUFFICIENT RESOURCES writing file via CIFS Date: Sat, 22 May 2010 22:13:37 +0300
> Date: Sat, 22 May 2010 12:39:41 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> > Date: Sat, 22 May 2010 11:38:35 +0300
> > From: Eli Zaretskii <address@hidden>
> > Cc: address@hidden
> > 
> > > I know nothing about Windows internals, but it would seem that some
> > > downstream WinNT I/O routine can't handle 32MB or larger writes, so
> > > perhaps write-region could segment the write?  The annotations hair
> > > makes it hard for me to see if this is easy.
> > 
> > The breaking of writes into smaller chunks should be in Windows
> > specific code, i.e. in w32.c:sys_write.  And that is very easy.
> If you can build Emacs yourself from sources, could you please try the
> following patch?  It incorporates the info I found in the git mailing
> list thread pointed out by Andreas (thanks!).

Now installed in the repository (revno 100416).

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]