in reply to Re^4: PANIC: underlying join failed threded tcp server
in thread PANIC: underlying join failed threded tcp server
As for adding the trace messages to threads.xs, not sure how to go about that. I searched for it in the perl installation folder for it but it was not there. Is it part of the threads.dll?
The easiest way would be to grab the latest version of threads from cpan, then build and install it manually. (Once you've checked you can still reproduce the error with the newly built version), you can then modify threads.xs, re-build and install.
Do you think any harm would be caused from doing something like my $val = eval{$join->join()}; as just a way to prevent the server from crashing.
If you are not doing anything with the return value from the join, it would probably be an okay temporary workaround. If you're only joining teh thread to make it go away, and it is going away of its own accord, in one sense, job done.
But in the long term, whatever the cause might just be a symptom of a deeper issue in your code; or in the threads module; or perl itself. As you have a recreatable scenario, it would be silly not to use it to help track down the underlying issue.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: PANIC: underlying join failed threded tcp server
by rmahin (Scribe) on Oct 18, 2012 at 23:34 UTC | |
by BrowserUk (Patriarch) on Oct 19, 2012 at 03:01 UTC | |
by rmahin (Scribe) on Oct 19, 2012 at 21:35 UTC | |
by BrowserUk (Patriarch) on Oct 20, 2012 at 05:37 UTC | |
by rmahin (Scribe) on Oct 22, 2012 at 21:28 UTC | |
| |
by BrowserUk (Patriarch) on Oct 18, 2012 at 23:56 UTC | |
by rmahin (Scribe) on Oct 19, 2012 at 00:34 UTC |