Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

The first version always gets thrown away.


devel / comp.os.ms-windows.programmer.win32 / Re: Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?

SubjectAuthor
* Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?Thomas Schmidt
`- Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?R.Wieser

1
Re: Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?

<7c58f371-7568-4e70-8443-b79b072364ebn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=562&group=comp.os.ms-windows.programmer.win32#562

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:6214:a05:b0:62f:f24a:481f with SMTP id dw5-20020a0562140a0500b0062ff24a481fmr1644829qvb.13.1687276093049;
Tue, 20 Jun 2023 08:48:13 -0700 (PDT)
X-Received: by 2002:ae9:de82:0:b0:763:b347:f7cd with SMTP id
s124-20020ae9de82000000b00763b347f7cdmr294943qkf.7.1687276092798; Tue, 20 Jun
2023 08:48:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Tue, 20 Jun 2023 08:48:12 -0700 (PDT)
In-Reply-To: <6c3b1678-e18d-4571-8b68-ddd96da1fd3an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.160.236.19; posting-account=g8ErQQoAAADHi0P_zTdHfT_osvxeGhFi
NNTP-Posting-Host: 84.160.236.19
References: <1623.988T2584T10975745@kltpzyxm.invalid> <dte8q397ojqa5lotc64ieojt56atguab62@4ax.com>
<942.991T2540T6316049@kltpzyxm.invalid> <e0215813-d946-4e9e-813b-7cdfa987cb5f@k39g2000hsf.googlegroups.com>
<c45e0760-17fa-444f-b082-44725ebd75a0n@googlegroups.com> <6c3b1678-e18d-4571-8b68-ddd96da1fd3an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7c58f371-7568-4e70-8443-b79b072364ebn@googlegroups.com>
Subject: Re: Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?
From: bernd.moos@gmail.com (Thomas Schmidt)
Injection-Date: Tue, 20 Jun 2023 15:48:13 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1605
 by: Thomas Schmidt - Tue, 20 Jun 2023 15:48 UTC

In my case (writing 6000 files via a Java program), the problem seemed to be Dropbox synchronisation somehow blocking the file writing. Paused Dropbox synch, error gone.

- Thomas

Re: Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?

<u6slh4$2g5tg$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=563&group=comp.os.ms-windows.programmer.win32#563

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@is.invalid (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: Error 1224 (ERROR_USER_MAPPED_FILE) - what is it?
Date: Tue, 20 Jun 2023 18:52:30 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u6slh4$2g5tg$1@dont-email.me>
References: <1623.988T2584T10975745@kltpzyxm.invalid> <dte8q397ojqa5lotc64ieojt56atguab62@4ax.com> <942.991T2540T6316049@kltpzyxm.invalid> <e0215813-d946-4e9e-813b-7cdfa987cb5f@k39g2000hsf.googlegroups.com> <c45e0760-17fa-444f-b082-44725ebd75a0n@googlegroups.com> <6c3b1678-e18d-4571-8b68-ddd96da1fd3an@googlegroups.com> <7c58f371-7568-4e70-8443-b79b072364ebn@googlegroups.com>
Injection-Date: Tue, 20 Jun 2023 16:52:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2555a7a32e7e6f2c5cd998e24a904762";
logging-data="2627504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18r5hFx6uLmgeibDYEVMnFizLKP5vhqnTxgHVDsuv5qtA=="
Cancel-Lock: sha1:M0Oek5oX7SO8i84v7MXCedwJlhs=
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
 by: R.Wieser - Tue, 20 Jun 2023 16:52 UTC

Thomas

> the problem seemed to be Dropbox synchronisation somehow blocking the
> file writing. Paused Dropbox synch, error gone.

Sounds like a reason :

[quote]
The full text corresponding to this code is "The requested operation cannot
be performed on a file with a user-mapped section open."
[/quote]

https://groups.google.com/g/comp.os.ms-windows.programmer.win32/c/plQmyXqAeOI

IOW, if DropBox is has a file open using a memory-mapped file method than
the writing to that same file using normal means is likely disallowed (the
files contents on the disk and the already-present "view of file" - cached
file contents - would mismatch).

One possible solution (no idea if you can delete a file that is
memory-mapped though) could be to delete the target file before writing a
fully new one.

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor