From: Steffen Dettmer <steffen.dettmer@googlemail.com>
To: gdb@sourceware.org
Subject: "remote put" leads to "Remote write of 399 bytes returned 0" - why?
Date: Wed, 05 Jan 2011 14:33:00 -0000 [thread overview]
Message-ID: <AANLkTimbFMYDxn2S_ZEWZiB7FrKWtYdfm8XXWMm0u=mK@mail.gmail.com> (raw)
Hi,
when `reomte put' big files via some relay (slowing down
communications and influencing timeing behavior), then I get an
error in gdb (client) console:
Remote write of 399 bytes returned 0
but `strace' (gdb client side) looks good:
[...thousands of lines OK...]
recv(5, "+$F179#e7", 8192, 0) = 9
send(5, "+", 1, 0) = 1
send(5, "$vFile:pwrite:0,3fbbab,xxxxxxxxx"..., 403, 0) = 403
select(6, [5], NULL, [5], {1, 0}) = 1 (in [5], left {0, 990000})
recv(5, "+$F179#e7", 8192, 0) = 9
send(5, "+", 1, 0) = 1
send(5, "$vFile:pwrite:0,3fbd24,xxxxxxxxxx"..., 403, 0) = 403
select(6, [5], NULL, [5], {1, 0}) = 1 (in [5], left {0, 990000})
recv(5, "+$Fdc#0d", 8192, 0) = 8
send(5, "+", 1, 0) = 1
send(5, "$vFile:pwrite:0,3fbe00,xxxxxxxxx"..., 403, 0) = 403
select(6, [5], NULL, [5], {1, 0}) = 1 (in [5], left {1, 0})
recv(5, "+$F0#76", 8192, 0) = 7
send(5, "+", 1, 0) = 1
send(5, "$vFile:close:0#b0", 17, 0) = 17
select(6, [5], NULL, [5], {1, 0}) = 1 (in [5], left {0, 990000})
recv(5, "+$F0#76", 8192, 0) = 7
send(5, "+", 1, 0) = 1
close(7) = 0
munmap(0x40021000, 4096) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
write(2, "Remote write of 399 bytes return"..., 37) = 37
write(2, "\n", 1) = 1
I don't see any "send(...) = 0" or so. The remote side only sends
some short (acknowledgment?) replies, so no 399 bytes, so I
assume client side fails... but why?
Any hints what I could do against this problem?
oki,
Steffen
next reply other threads:[~2011-01-05 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 14:33 Steffen Dettmer [this message]
2011-01-05 14:57 ` Daniel Jacobowitz
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='AANLkTimbFMYDxn2S_ZEWZiB7FrKWtYdfm8XXWMm0u=mK@mail.gmail.com' \
--to=steffen.dettmer@googlemail.com \
--cc=gdb@sourceware.org \
/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