Bug #2742
closedFace creation fails due to heavy application processing before calling processEvents
100%
Description
Applications that have the following pattern:
Face face;
<load/process data>
<register prefixes>
face.processEvents()
fail because of the time gap between creating the Face and calling processEvents. This is a recurring problem for applications and repo-ng seems to be another victim.
Files
Updated by Anonymous over 9 years ago
The following exception is thrown for the attached program:
libc++abi.dylib: terminating with uncaught exception of type ndn::Transport::Error: error while connecting to the forwarder
Could the Face constructor take a callback that informs the application of when it's ready to be used? Something similar to setInterestFilter's registration success and failure callbacks.
Updated by Alex Afanasyev over 9 years ago
- Status changed from New to In Progress
- Assignee set to Alex Afanasyev
- Target version set to v0.4
Updated by Junxiao Shi over 9 years ago
- Related to Task #2526: Application crashes after trying to put large data into face added
Updated by Alex Afanasyev over 9 years ago
- File 20150901233155.tgz 20150901233155.tgz added
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Integration tests are passing.
@Steve Will it be possible for you to verify if the original problem went away with the http://gerrit.named-data.net/#/c/2417/ commit?
Updated by Junxiao Shi over 9 years ago
- Status changed from Code review to Resolved
Change is merged, but Steve needs to confirm the original issue is resolved.
Updated by Anonymous over 9 years ago
- Status changed from Resolved to Closed
Everything looks good.
Sorry for the delay. The notification slipped by me.