Project

General

Profile

Actions

Bug #4439

closed

ndncatchunks fails to terminate on zero-octet collection

Added by Junxiao Shi over 6 years ago. Updated almost 6 years ago.

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

Related issues 2 (1 open1 closed)

Related to ndn-tools - Bug #3902: ndncatchunks with AIMD pipeline randomly hangs after transfer is completeNew

Actions
Has duplicate ndn-tools - Bug #4618: ndncatchunks: Doesn't show summary when transmitting a file that's smaller than the chunk sizeDuplicate

Actions
Actions #1

Updated by Anonymous over 6 years ago

Might be related to #3902.

Actions #2

Updated by Davide Pesavento over 6 years ago

  • Start date deleted (01/09/2018)

This is a bug in the AIMD pipeline, I cannot reproduce with the fixed-window pipeline.

Actions #3

Updated by Anonymous over 6 years ago

  • Related to Bug #3902: ndncatchunks with AIMD pipeline randomly hangs after transfer is complete added
Actions #4

Updated by Davide Pesavento almost 6 years ago

  • Has duplicate Bug #4618: ndncatchunks: Doesn't show summary when transmitting a file that's smaller than the chunk size added
Actions #5

Updated by Ryan Wickman almost 6 years ago

  • Status changed from New to Code review
  • Assignee set to Ryan Wickman
Actions #6

Updated by Davide Pesavento almost 6 years ago

  • Status changed from Code review to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF