Superficial googling suggests that cond_destroy is a Unix system-call which, per the documentation, is expected to return zero, any nonzero value indicating some kind of error. We may presume (guess...) is instead returning 6. The document unfortunately does not then go on to give a list of them. Perhaps you can chase-down the OS source code of the call-handler or otherwise find a detailed explanation of each return-code possibility, but perhaps the discussion alone in the man page will provoke some worthy ideas. The fact that the problem occurs rarely-but-consistently pretty much establishes that what you have is some kind of rare-but-possible race condition bug in your code, which is “a one-in-a-million chance, but it is executed millions of times.” Sux, but that’s always the way that such things are. You didn’t need all that extra hair, anyway . . .
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||