Project

General

Profile

Actions

Bug #1877

closed

EthernetFace creation fails on OS X with Boost 1.56.0

Added by Jeff Burke over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Faces
Target version:
Start date:
08/17/2014
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

NFD built from the master on OS X 10.9.4 with Boost 1.56.0 dies when it tries to create an ethernet face.

The following assign() call fails:
https://github.com/named-data/NFD/blob/master/daemon/face/ethernet-face.cpp#L72

Note:

  • This error has been duplicated on two similarly configured machines.
  • Rolling back to Boost 1.55.0 eliminates the problem.

STEPS TO REPRODUCE

  1. Install Boost 1.56.0 using Macports

  2. Obtain, build and install ndn-cxx and nfd (configure --with-tests) from the master.

  3. Run the following unit test (or try to run NFD).

$ ./build/unit-tests-daemon -t FaceEthernet

Running 3 test cases...

1408301259.014077 INFO: [EthernetFace] Creating ethernet face on en0: d0:e1:40:96:67:e2 <--> ff:ff:ff:ff:ff:ff
unknown location:0: fatal error in "MulticastFacesMap": std::runtime_error: assign: Invalid argument
../tests/daemon/face/ethernet.cpp:41: last checkpoint

1408301259.016865 INFO: [EthernetFace] Creating ethernet face on en0: d0:e1:40:96:67:e2 <--> ff:ff:ff:ff:ff:ff
unknown location:0: fatal error in "SendPacket": std::runtime_error: assign: Invalid argument
../tests/daemon/face/ethernet.cpp:41: last checkpoint

*** 2 failures detected in test suite "Master Test Suite"


Related issues 2 (0 open2 closed)

Related to NFD - Task #1922: EthernetFace: workaround with kqueue and Boost 1.56.0ClosedDavide Pesavento

Actions
Has duplicate NFD - Bug #1908: nfd-start fails to start daemon (best-route strategy patch refs/changes/66/1166/4)ClosedJunxiao Shi08/22/2014

Actions
Actions

Also available in: Atom PDF