I'll admit that it's odd that listen can fail in that instance, but my guess is that it's some sort of race due to running multiple copies of M5 and both of them trying to bind the same port. That said, you haven't posted enough information to debug the problem. i.e. what's the stack trace at the panic? Another thing to do would be to add strerror(errno) to the panic message. In reality, it should work just fine to return failure instead of invoking panic in that instance.
Nate On Thu, Apr 2, 2009 at 3:41 PM, Shoaib Akram <[email protected]> wrote: > Whats the possible reason for this? > > panic: ListenSocket(listen): listen() failed! > @ cycle 0 > [listen:build/ALPHA_SE/base/socket.cc, line 91] > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > > _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
