You could provide a little more info perhaps?
Am i thinking right that the "6" is a TID of thread that crashed?
More likely the number is the numeric error code. On Windows that would be "invalid handle" returned from the attempt to close the semaphore associated with a threads::shared condition variable:
#define COND_DESTROY(c) \ STMT_START { \ (c)->waiters = 0; \ if (CloseHandle((c)->sem) == 0) \ Perl_croak_nocontext("panic: COND_DESTROY (%ld)",GetLastError( +)); \ } STMT_END
Of course it might mean something different on other OSes.
Your best bet would be to post the code, assuming it isn't too large or proprietary or require too much in the way of unique set-up.
If it is, then try to reduce as much as possible whilst still having the error occur. (I appreciate that can be difficult with transient errors like this.) But it will be very hard to advise without sight of the code in question.
If it is the invalid handle problem, the most likely cause is the handle being closed twice, but working out how that might occur will require sight of the code.
In reply to Re: panic: COND_DESTROY(6)
by BrowserUk
in thread panic: COND_DESTROY(6)
by menth0l
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |