Skip Menu |

This queue is for tickets about the POE-XS-Loop-Poll CPAN distribution.

Report information
The Basics
Id: 55064
Status: resolved
Priority: 0/
Queue: POE-XS-Loop-Poll

People
Owner: Nobody in particular
Requestors: ASCENT [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.007
Fixed in: (no value)



Subject: Segmentation fault
Just used POE::Component::Client::TCP (nothing magic) and... Program terminated with signal 11, Segmentation fault. #0 0x00007fd1a7518abd in Perl_hv_common () from /usr/lib/libperl.so.5.10 (gdb) bt #0 0x00007fd1a7518abd in Perl_hv_common () from /usr/lib/libperl.so.5.10 #1 0x00007fd1a752a7ba in Perl_pp_helem () from /usr/lib/libperl.so.5.10 #2 0x00007fd1a7525392 in Perl_runops_standard () from /usr/lib/libperl.so.5.10 #3 0x00007fd1a755af19 in ?? () from /usr/lib/libperl.so.5.10 #4 0x00007fd1a7525392 in Perl_runops_standard () from /usr/lib/libperl.so.5.10 #5 0x00007fd1a751f808 in Perl_call_sv () from /usr/lib/libperl.so.5.10 #6 0x00007fd1a3af513c in poe_data_ev_dispatch_due (kernel=0xdbef00) at poexs.c:130 #7 0x00007fd1a3af43c8 in XS_POE__Kernel_loop_run (my_perl=<value optimized out>, cv=<value optimized out>) at Poll.xs:348 #8 0x00007fd1a7526eb0 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10 #9 0x00007fd1a7525392 in Perl_runops_standard () from /usr/lib/libperl.so.5.10 #10 0x00007fd1a75205df in perl_run () from /usr/lib/libperl.so.5.10 #11 0x0000000000400d0c in main ()
On Sun Feb 28 11:44:19 2010, ASCENT wrote: Show quoted text
> Just used POE::Component::Client::TCP (nothing magic) and... > > Program terminated with signal 11, Segmentation fault. > > #0 0x00007fd1a7518abd in Perl_hv_common () from /usr/lib/libperl.so.5.10
Hi, Could I please have some more information about this, in particular: - the platform this occurred on (perl -V output, operating system, operating system distribution, OS build (32/64 bit - looks like 64) - if possible, a complete perl program that demonstrates the problem. Thanks, Tony
On Sun Feb 28 18:07:34 2010, TONYC wrote: Show quoted text
> > - the platform this occurred on (perl -V output, operating system, > operating system distribution, OS build (32/64 bit - looks like 64)
All details in ticket #55063/POE::XS::Loop::EPoll. Show quoted text
> - if possible, a complete perl program that demonstrates the problem.
Test case attached. It doesn't segfault, but it does out of memory (good limits and there is sufficent free RAM). # perl poll_test.pl started Out of memory. --Dariusz
Subject: poll_test.pl
use strict; use warnings; use POE qw/XS::Loop::Poll Component::Client::TCP/; POE::Component::Client::TCP->new ( RemoteAddress => 'perl.org', RemotePort => 80, ConnectTimeout => 5, Started => sub { print "started\n" }, Connected => sub { print "connected\n" }, ServerInput => sub { print "input\n" }, ); $poe_kernel->run();
On Sun Feb 28 11:44:19 2010, ASCENT wrote: Show quoted text
> Just used POE::Component::Client::TCP (nothing magic) and... > > Program terminated with signal 11, Segmentation fault. > > #0 0x00007fd1a7518abd in Perl_hv_common () from /usr/lib/libperl.so.5.10 > (gdb) bt > #0 0x00007fd1a7518abd in Perl_hv_common () from /usr/lib/libperl.so.5.10
Fixed in POE::XS::Loop::Poll 1.000. Tony