Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* "remote put" leads to "Remote write of 399 bytes returned 0" - why?
@ 2011-01-05 14:33 Steffen Dettmer
  2011-01-05 14:57 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Dettmer @ 2011-01-05 14:33 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-05 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05 14:33 "remote put" leads to "Remote write of 399 bytes returned 0" - why? Steffen Dettmer
2011-01-05 14:57 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox