Naouel Tlili's picture

Hi,
When running the unitests of pion I see for all tests the following error:
std::runtime_error: Address already in use
Running the tests ends with a segmentation fault.
Any hints?
Thanks
N.Tlili

Mike Dickey's picture
Port 8888 needs to be free

It means that something (perhaps Pion?) is already using port 8888. The unit tests require the ability to bind to and use this default port.

Note also that sometimes OS's make you wait a little while after an application exits before it makes the ports it was using available to other programs.

The fact that it segfaults versus just giving an error and exiting cleanly seems to just be a side affect of Boost.Test (the unit test library we use). Perhaps they've fixed that bug in 1.36, but I haven't tried it yet.

Submitted by Mike Dickey on Fri, 09/26/2008 - 15:16.
Mike Dickey's picture
8080 too

Realized the other day that some tests are using port 8080 as well..

Submitted by Mike Dickey on Fri, 10/17/2008 - 16:36.