Project

General

Profile

Actions

Bug #1348

closed

Runtime and compilation error on FreeBSD 10.0 (latest)

Added by Alex Afanasyev over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Category:
Core
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Everything got compiled, but I'm getting a runtime error. I tried to compile with gcc-4.2.1 and clang 3.0

[cawka@mavericks NFD (master)]$ sudo NFD_LOG=all  ./build/nfd
DEBUG: [NameTree] lookup /
DEBUG: [NameTree] insert /
DEBUG: [NameTree] Name / hash value = 2654435816  location = 488
DEBUG: [NameTree] Did not find /, need to insert it to the table
INFO: [StrategyChoice] setDefaultStrategy(/localhost/nfd/strategy/best-route) new entry
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  resolve: Invalid argument

Something wrong with the resolver. Failed in resolver.hpp after trying

typename resolver::iterator remoteEndpoint = resolver.m_resolver.resolve(query);

The compilation got also broken since commit:248d6bd6. daemon/core/network-interface.cpp allows only two platforms---Linux and Apple, and emits error for any other platform. FreeBSD uses the same BSD header files and actually works here.

Actions #1

Updated by Alex Afanasyev over 10 years ago

  • Category changed from Build to Core
Actions #2

Updated by Alex Afanasyev over 10 years ago

After removing resolver::query::all_matching flag from code started to work. I guess, we should remove it (it doesn't really make sense to have it), but this will impact unit tests on some jenkins vms

Actions #3

Updated by Junxiao Shi over 10 years ago

This bug should be rejected.

Actions #4

Updated by Alex Afanasyev over 10 years ago

  • Target version set to Unsupported
Actions #5

Updated by Alex Afanasyev over 10 years ago

  • Subject changed from Runtime error on FreeBSD 9.0 to Runtime error on FreeBSD 10.0 (latest)
  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #6

Updated by Alex Afanasyev over 10 years ago

I know that it is unsupported, but this is the platform I'm having easy access to and will plan to use in testing (I don't have many free Linux and OSX machines, but have several underutilized FreeBSD processing boxes).

Actions #7

Updated by Alex Afanasyev over 10 years ago

  • Subject changed from Runtime error on FreeBSD 10.0 (latest) to Runtime and compilation error on FreeBSD 10.0 (latest)
  • Description updated (diff)
Actions #8

Updated by Alex Afanasyev over 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF