Submitted by Naouel Tlili on Thu, 09/25/2008 - 07:07

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
Tags:

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.
- Login or register to post comments
Submitted by Mike Dickey on Fri, 09/26/2008 - 15:16.Realized the other day that some tests are using port 8080 as well..
- Login or register to post comments
Submitted by Mike Dickey on Fri, 10/17/2008 - 16:36.