Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EBADF error exception from urlfetcher #16

Open
toshic opened this issue Jul 8, 2014 · 3 comments
Open

EBADF error exception from urlfetcher #16

toshic opened this issue Jul 8, 2014 · 3 comments

Comments

@toshic
Copy link
Member

toshic commented Jul 8, 2014

In boost_socket_info constructor (file swarm/urlfetcher/boost_event_loop.cpp:38) dup() syscall is used without return value checks. If application hits the max open files limit dup() returns -1 and urlfetcher throws boost asio exceptions.

Example:
terminate called after throwing an instance of 'boost::exception_detail::clone_implboost::exception_detail::error_info_injector<boost::system::system_error >'
what(): Bad file descriptor

@bioothod
Copy link
Member

Is this still relevant? If so, please submit a fix, it is really appreciated

@bioothod
Copy link
Member

bioothod commented Nov 6, 2014

Ping

@toshic
Copy link
Member Author

toshic commented Nov 7, 2014

There is no simple solution for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants