[Perl][threads] use threads; するときに注意すべきこと http://d.hatena.ne.jp/punitan/20091018/1255892339 これの続編 なぜスレッド処理をするとインタプリタが落ちるのか原因がわかった。 Thread safety use encoding ... is not thread-safe (i.e., do not use in threaded applications).http://search.cpan.org/~dankogai/Encode-2.37/encoding.pm ということらしい。 Linux上のPerlで実行するとセグメンテーション違反になる。どうやら既知の問題だったらしい。