From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>,
Chris Sutcliffe <ir0nh34d@gmail.com>
Subject: Re: rtorrent and recent snapshots - apparent problem with msync()
Date: Fri, 18 Jan 2013 00:35:00 -0000 [thread overview]
Message-ID: <20130118003522.GA1913@ednor.casa.cgf.cx> (raw)
In-Reply-To: <CAGHJv4cAm+v_VuKXxjdriTN-d-AoQfengNEFY+MqZOAnOsH0-Q@mail.gmail.com>
On Thu, Jan 17, 2013 at 04:42:36PM -0500, Chris Sutcliffe wrote:
>On 17 January 2013 06:55, Chris Sutcliffe wrote:
>> On 17 January 2013 01:24, Christopher Faylor wrote:
>>> Is there a stackdump file? If not, I guess if you could make a strace
>>> available for download that could be useful.
>>
>> The current snapshots do not produce a stackdump. I will execute an
>> strace this evening when I get home and provide it.
>
>I've uploaded the strace for this issue here:
>
>http://dl.dropbox.com/u/5530441/cygwin/rtorrent.strace
>
>Please let me know if there is anything else I can do to help.
Thanks. That helped.
msync() is failing with an EACCESS errno. That translates to a windows
error: ERROR_LOCK_VIOLATION. According to the ancient wisdom of google,
it is not uncommon for the FlushViewOfFile() function to return with
this error in some cases.
I added a retry to the function fhandler_disk_file::msync and tried
running rtorrent to download a debian iso (which seemed to be what you
were doing). I could duplicate your problem before adding the retry but
I don't see it now.
The command I was using:
rtorrent http://cdimage.debian.org/debian-cd/6.0.6/i386/bt-cd/debian-6.0.6-i386-CD-1.iso.torrent
I'm generating a snapshot now. Please give it a try when it shows up.
And, Corinna, please if the change I made to your function is wrong or
you just don't like my variable names or comments please feel free to
expunge what I did with extreme prejudice.
I can't explain what in the newer snapshots would cause a difference
in behavior other than the fact that they were being built with a
newer compiler and a revamped configure script.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2013-01-18 0:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 0:31 rtorrent and recent snapshots Chris Sutcliffe
2013-01-17 6:24 ` Christopher Faylor
2013-01-17 11:55 ` Chris Sutcliffe
2013-01-17 21:42 ` Chris Sutcliffe
2013-01-18 0:35 ` Christopher Faylor [this message]
2013-01-18 3:05 ` rtorrent and recent snapshots - apparent problem with msync() Chris Sutcliffe
2013-01-18 9:32 ` Corinna Vinschen
2013-01-18 15:44 ` Christopher Faylor
2013-01-18 16:08 ` Corinna Vinschen
2013-01-18 16:12 ` Christopher Faylor
2013-01-18 20:21 ` Andrey Repin
2013-01-18 21:10 ` Christopher Faylor
2013-01-18 21:24 ` Christopher Faylor
2013-01-19 11:25 ` Corinna Vinschen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130118003522.GA1913@ednor.casa.cgf.cx \
--to=cgf-use-the-mailinglist-please@cygwin.com \
--cc=cygwin@cygwin.com \
--cc=ir0nh34d@gmail.com \
/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.
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).