Project

General

Profile

Actions

Task #2526

closed

Application crashes after trying to put large data into face

Added by susmit shannigrahi about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
Start date:
02/16/2015
Due date:
% Done:

0%

Estimated time:

Description

I have an application that puts a large data object (1GB or more) into a NFD face. I have set the MAX_NDN_PACKET_SIZE to 2GB. The application can put around 800MB of data into NFD. Any larger, and it crashes with the following error:

terminate called after throwing an instance of 'ndn::Transport::Error'
what(): error while connecting to the forwarder

Attached the gdb log of the application and the NFD log.

Application Trace

#0 0x00007ffff524e877 in raise () from /lib64/libc.so.6
#1 0x00007ffff524ff68 in abort () from /lib64/libc.so.6
#2 0x00007ffff5b54dd5 in gnu_cxx::verbose_terminate_handler() () from /lib64/libstdc++.so.6
#3 0x00007ffff5b52d46 in ?? () from /lib64/libstdc++.so.6
#4 0x00007ffff5b52d73 in std::terminate() () from /lib64/libstdc++.so.6
#5 0x00007ffff5b52fe9 in __cxa_rethrow () from /lib64/libstdc++.so.6
#6 0x000000000045f64a in ndn::Face::processEvents (this=this@entry=0x7fffffffde20, timeout=..., keepThread=keepThread@entry=false) at ../src/face.cpp:445
#7 0x0000000000453247 in ndn::Producer::run (this=this@entry=0x7fffffffdd90) at ../tools/ndnputbigchunk.cpp:109
#8 0x000000000044a465 in ndn::main (argc=, argv=) at ../tools/ndnputbigchunk.cpp:137
#9 0x00007ffff523ad65 in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000451ea1 in _start ()


Files

nfd-log (161 KB) nfd-log susmit shannigrahi, 02/16/2015 11:33 AM

Related issues 1 (0 open1 closed)

Related to ndn-cxx - Bug #2742: Face creation fails due to heavy application processing before calling processEventsClosedAlex Afanasyev04/10/2015

Actions
Actions

Also available in: Atom PDF