On Tue, Jan 20, 2004 at 10:37:24PM +0100, Kristian Nielsen wrote:
> Hi,
>
> Searching the archives turned up nothing, so here goes:
>
> The following small script causes a segmentation fault for me:
>
[...]
>
> (This assumes no service is running on 127.0.0.1:123456). The output is
>
> Died at /home/users/kn/devel/trunk/ums0/src/usm/usm.pl line 8.
> Segmentation fault
>
> I am using Perl 5.8.2 on i386 Linux (perl -V output below). The segfault
> also occurs with Perl 5.8.3, but it does NOT occur with 5.6.1.
>
> Now I am probably not going to want to use the die in production code,
> and anyway since POE is pure-perl this is probably more of a Perl
> problem than a POE problem, but I just thought I would mention it. If
> anyone think it a good idea I could post the problem to perl-porters.
>
> Any ideas what goes wrong?
[....]
I was not able to verify the segfault on FreeBSD, in perl 5.6.1 or 5.8.2
(single or multithreaded). They all die quite normally.
2) eyrie:~/perl/support% perl kristian-segfault.perl
Died at kristian-segfault.perl line 8.
2) eyrie:~/perl/support% /usr/local/perl-582/bin/perl \
kristian-segfault.perl
Died at kristian-segfault.perl line 8.
2) eyrie:~/perl/support% /usr/local/perl-582-multi/bin/perl \
kristian-segfault.perl
Died at kristian-segfault.perl line 8.
2) eyrie:~/perl/support%
I suspect your problem is local to Linux or your particular system.
Perl5-porters is likely to brush the problem off without confirmation of
a wider problem.
--
Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/