This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"remote put" leads to "Remote write of 399 bytes returned 0" - why?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]