Re: Client crash making server crash

2011-08-19 Thread Eric Martel
signature.asc Description: OpenPGP digital signature

Re: Client crash making server crash

2011-08-19 Thread Rocco Caputo
The _data_ses_stop() suggests that a POE::Kernel instance is stopping. The _dispatch_event()'s second parameter is undefined, suggesting that the POE::Kernel instance that is stopping already doesn't exist. You've used POE::Wheel::Run to fork off a new process, and I see you've called POE::Ker

Re: Client crash making server crash

2011-08-19 Thread Eric Martel
Also, I don't know if it's relevant, but I use POE::Filter::Block for the POE::Wheel::ReadWrite Filter. Le 2011-08-19 14:43, Eric Martel a écrit : > Hi folks, > > I'm quite new to POE. I wrote a server using POE::Wheel::SocketFactory and > handling clients with POE::Wheel::ReadWrite, and everyth

Re: Client crash making server crash

2011-08-19 Thread Eric Martel
Still no luck with a snapshot taken from "http://poe.git.sourceforge.net/git/gitweb.cgi?p=poe/poe;a=snapshot;h=5b9429832974363f7b0d37590cd5a5b7fd941360;sf=tgz"; a few minutes ago: <-- BEGIN TRACE --> Server error: 'please report this stacktrace to bug-...@rt.cpan.org at /usr/lib/perl5/site_perl/

Re: Client crash making server crash

2011-08-19 Thread Eric Martel
Here is the confess trace (the "Server error" parts are produced by my program and should be ignored); I will check for the git version. <-- BEGIN TRACE --> Server error: ' at /usr/local/share/perl/5.10.1/POE/Kernel.pm line 1012' Server error: ' POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x

Re: Client crash making server crash

2011-08-19 Thread Rocco Caputo
Hi, Eric. Can you attach the confess() stack trace? It confesses because of an internal error somewhere. Release 1.312 adds a message to the confess() asking for the stack trace. If possible, could you also check against the development version in git? I found and fixed one cause for that c

Client crash making server crash

2011-08-19 Thread Eric Martel
Hi folks, I'm quite new to POE. I wrote a server using POE::Wheel::SocketFactory and handling clients with POE::Wheel::ReadWrite, and everything works fine but for one thing: there are moments when a client and the server will cross-exchange much data (that is, the client sends data to the server,

Re: killing a session

2011-08-19 Thread Rocco Caputo
Attached. Sample output: 1) macbookpoe:~/projects/misc/support% perl shutdown-another.pl Fri Aug 19 08:47:39 2011 - Controller started. Press Ctrl+C to exit. Fri Aug 19 08:47:40 2011 - Ticker is working. Fri Aug 19 08:47:41 2011 - Ticker is working. Fri Aug 19 08:47:42 2011 - Ticker is working.

killing a session

2011-08-19 Thread Rizwan Hisham
Dear List, How do I kill a running session from inside another session. There is no parent child relation between the two session, they totally independent from each other. Cant seem to find anyway to do it. If its possible then kindly provide a small sample code as well :) Thanks -- Best Ragar