help: segmentation fault in threads program that use binmode
when i use binmode in threaded program, i got a segmentation fault;
i comment the binmode line, the program works well
use threads;
use threads::shared;
use utf8;
binmode(STDOUT, ':encoding(utf8)';
-------thread create and join-------------
-- =
ä=BD=BF=E7=94=A8 Opera =E9=9D=A9=E5=91=BD=E6=80=A7=E7=9A=84=E7=94=B5=E5=
=AD=90=E9=82=AEä=BB=B6=E5=AE=A2=E6=88=B7=E7=A8=8B=E5=BA=8F : http://www=
..opera.com/mail/
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: help: segmentation fault in threads program that use binmode
--bcaec52e5c27b079a804a7daec0b
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: quoted-printable
Hi,
did you got your issue resolved!! I also face segmentation fault but withou=
t
binmode
I didn't found any solution any where and opted another solution
my program was using thread in loop till perl dump core with Out of memory
issue
Best of luck
~a b
On Thu, Jun 9, 2011 at 5:32 AM, anders lee <jianghumanbu [at] gmail.com> wrote:
>
> when i use binmode in threaded program, i got a segmentation fault;
>
> i comment the binmode line, the program works well
>
>
> use threads;
> use threads::shared;
>
> use utf8;
> binmode(STDOUT, ':encoding(utf8)';
>
> -------thread create and join-------------
>
>
>
> --
> =CA=B9=D3=C3 Opera =B8=EF=C3ü=D0=D4=B5=C4=B5=E7=D7=D3=D3=CA=BC=FE=BF=CD=
=BB=A7=B3=CC=D0=F2: http://www.opera.com/mail/
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
> For additional commands, e-mail: beginners-help [at] perl.org
> http://learn.perl.org/
>
>
>
--bcaec52e5c27b079a804a7daec0b--