Benjamin Smedberg wrote: > I've been having problems with pork-barrel. Sometimes (maybe 1/3 of my runs) > it will exit with the following error: > > "select: Bad file descriptor" > > I know the error is being thrown by the following line: > > http://hg.mozilla.org/index.cgi/pork-barrel/file/fd171a36e26a/pork-barrel.cc#l253 > > But I've never really programmed with unix pipes and select() before, so > it's hard for me to understand what's going on: has anyone else experienced > this problem? I see that dmandelin added a python version of pork-barrel, > but I don't think it does the patch aggregation things that the C++ version > does, right? > Yeah it doesn't do patch stuff. Dave felt it felt it was better to reinvent stuff he needed in python than try to decypher my C++.
I filed https://bugzilla.mozilla.org/show_bug.cgi?id=445173 There was an error check missing on a read from a descriptor, that's probably where the error is coming from. Please try this and comment in the bug on any further symptoms of this. This is notoriously hard to reproduce. Sometimes it happens all the time and other times it wont happen for months :( Taras _______________________________________________ Dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
