Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF, 078274121

Links

XODOX
Impressum

#1: help: segmentation fault in threads program that use binmode

Posted on 2011-06-09 02:02:29 by 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/

Report this message

#2: Re: help: segmentation fault in threads program that use binmode

Posted on 2011-07-12 10:17:02 by 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 <jianghumanbu@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-------------
>
>
>
> --
> ʹÓà 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--

Report this message