[dancer-users] Dancer crashing

Hermann Calabria hermann at ivouch.com
Tue Mar 12 06:10:14 GMT 2019


I have a large Dancer application that crashes rarely with the attached stack trace. I haven’t yet identified any specific code or pattern that triggers the crash; if I restart (perl ./bin/app.pl) and repeat exactly what I was doing prior to the crash, it usually works just fine.  Versions:
Perl 5.26.2
Dancer 1.3500

Is this a known problem?  Solutions?

Stack trace:

Use of uninitialized value in subroutine entry at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/HTTP/Server/Simple.pm line 397.
        HTTP::Server::Simple::__ANON__("Dancer::Handler::Standalone::NetServer0") called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/HTTP/Server/Simple.pm line 342
        HTTP::Server::Simple::__ANON__("Dancer::Handler::Standalone::NetServer0", "port", 8080) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/HTTP/Server/Simple.pm line 306
        HTTP::Server::Simple::run(Dancer::Handler::Standalone=HASH(0x562484f61698)) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Dancer/Handler/Standalone.pm line 38
        Dancer::Handler::Standalone::start(Dancer::Handler::Standalone=HASH(0x56247b0cf578)) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Dancer/Handler.pm line 209
        Dancer::Handler::dance(Dancer::Handler::Standalone=HASH(0x56247b0cf578)) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Dancer.pm line 496
        Dancer::_start() called at ./bin/app.pl line 235
Bad arg length for Socket::sockaddr_family, length is 0, should be at least 2 at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/HTTP/Server/Simple.pm line 397.
        HTTP::Server::Simple::__ANON__("Dancer::Handler::Standalone::NetServer0") called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/HTTP/Server/Simple.pm line 342
        HTTP::Server::Simple::__ANON__("Dancer::Handler::Standalone::NetServer0", "port", 8080) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/HTTP/Server/Simple.pm line 306
        HTTP::Server::Simple::run(Dancer::Handler::Standalone=HASH(0x562484f61698)) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Dancer/Handler/Standalone.pm line 38
        Dancer::Handler::Standalone::start(Dancer::Handler::Standalone=HASH(0x56247b0cf578)) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Dancer/Handler.pm line 209
        Dancer::Handler::dance(Dancer::Handler::Standalone=HASH(0x56247b0cf578)) called at /home/hermann/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Dancer.pm line 496
        Dancer::_start() called at ./bin/app.pl line 235

Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20190311/7173b355/attachment.html>


More information about the dancer-users mailing list