help: segmentation fault in threads program that use binmode
am 09.06.2011 02:02:29 von anders lee
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-------------
-- =
ä½¿ç¨ Opera é©å½æ§ççµå=
é®ä»¶å®¢æ·ç¨åº : http://www=
..opera.com/mail/
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: help: segmentation fault in threads program that use binmode
am 12.07.2011 10:17:02 von chillidba
--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 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-------------
>
>
>
> --
> ʹÓà Opera ¸ïÃüÐԵĵç×ÓÓʼþ¿Í=
»§³ÌÐò: http://www.opera.com/mail/
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>
--bcaec52e5c27b079a804a7daec0b--