Actions
Bug #4439
closedndncatchunks fails to terminate on zero-octet collection
Status:
Closed
Priority:
Normal
Assignee:
Ryan Wickman
Start date:
Due date:
% Done:
100%
Estimated time:
Description
Environment: Ubuntu 14.04, ndn-tools:commit:83f9a91944f37e454a92061950b7bcaf836b90ed
Steps to reproduce:
$ ndnputchunks /F < /dev/null
Loading input ...
Created 1 chunks for prefix /F
Data published with name: /F/%FD%00%00%01%60%DB%8E%11%9B
(switch to another console)
$ ndncatchunks -v /F > /dev/null
RTT estimator parameters:
Alpha = 0.125
Beta = 0.25
K = 4
Initial RTO = 1000 milliseconds
Min RTO = 200 milliseconds
Max RTO = 4000 milliseconds
AIMD pipeline parameters:
Initial congestion window size = 1
Initial slow start threshold = 2.14748e+09
Additive increase step = 1
Multiplicative decrease factor = 0.5
RTO check interval = 10 milliseconds
Max retries on timeout or Nack = 3
Reaction to congestion marks enabled
Conservative window adaptation enabled
Resetting cwnd to ssthresh upon loss event
Data: Name: /F/%FD%00%00%01%60%DB%8E%11%9B/%00%00
MetaInfo: ContentType: 0, FreshnessPeriod: 10000 milliseconds, FinalBlockId: %00%00
Content: (size: 0)
Signature: (type: SignatureSha256WithRsa, value_length: 256)
Discovered version = 1515512009115
Timeout for Interest /F?ndn.MinSuffixComponents=3&ndn.MaxSuffixComponents=3&ndn.ChildSelector=1&ndn.InterestLifetime=300&ndn.Nonce=3585550019&ndn.Exclude=*,%FD%00%00%01%60%DB%8E%11%9B
Found data with the latest version: 1515512009115
(program fails to terminate)
Relevant NFD log:
$ grep '/F' nohup.out
1515512019.059443 DEBUG: [Forwarder] onIncomingInterest face=266 interest=/F
1515512019.059617 DEBUG: [Forwarder] onContentStoreMiss interest=/F
1515512019.059805 DEBUG: [Forwarder] onOutgoingInterest face=265 interest=/F
1515512019.060905 DEBUG: [Forwarder] onIncomingData face=265 data=/F/%FD%00%00%01%60%DB%8E%11%9B/%00%00
1515512019.061095 DEBUG: [Forwarder] onIncomingData matching=/F
1515512019.061246 DEBUG: [Forwarder] onOutgoingData face=266 data=/F/%FD%00%00%01%60%DB%8E%11%9B/%00%00
1515512019.063629 DEBUG: [Forwarder] onIncomingInterest face=266 interest=/F
1515512019.063894 DEBUG: [Forwarder] onContentStoreMiss interest=/F
1515512019.064100 DEBUG: [Forwarder] onOutgoingInterest face=265 interest=/F
1515512019.161431 DEBUG: [Forwarder] onInterestFinalize interest=/F satisfied
1515512019.364244 DEBUG: [Forwarder] onInterestUnsatisfied interest=/F
1515512019.365201 DEBUG: [Forwarder] onInterestFinalize interest=/F unsatisfied
Actions