in reply to Re^2: Threads + opendir = Segmentation Fault (core dumped)
in thread Threads + opendir = Segmentation Fault (core dumped)

Good question.

Probably because there is a latent bug in the cloning of bare word directory handles--but that's speculation.

With investigation it might be something that could be fixed for the next major release of Perl, but it really doesn't make any sense to not use lexical handles with threads.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW
  • Comment on Re^3: Threads + opendir = Segmentation Fault (core dumped)