Hi

I've been studying the issue, and here is my workaround.

The program uses Threads, Threads::Shared, Tk and opens several sockets. It
works fine as .pl although it uses the directive:
threads->set_stack_size(30000); in order to avoid a Segment Fault.

If I PAR'ed' this program (pp program.pl -o program) is needed to make the
stack bigger. For example from 3000 to 35000 (just a try, I didn't analyze
the exact value)..

It's weird due that at Microsoft platform, I don't need to set the stack
size (as .pl or as PAR).

Anybody has any idea of why?

Thanks
Peco
*
*


2011/6/20 Roderich Schupp via RT <bug-...@rt.cpan.org>

> Mon Jun 20 04:02:16 2011: Request 68892 was acted upon.
> Transaction: Correspondence added by RSCHUPP
>       Queue: PAR
>     Subject: perl-threads @ Linux => Segment fault
>   Broken in: (no value)
>    Severity: Important
>       Owner: Nobody
>  Requestors: p...@cpan.org
>      Status: new
>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68892 >
>
>
> On 2011-06-17 06:14:16, PECO wrote:
> > I found this: http://www.mail-archive.com/par@perl.org/msg03195.html
>
> The example given in above post works fine here (Perl 5.8.8 built for
> x86_64-linux-thread-multi, PAR::Packer 1.009). Can you provide
> a minimal exampls that fails?
>
> Cheers, Roderich
>

Reply via email to