FAQ
Dear Embperl community,

I've run into strange error messages coming from the testing phase of the
Perl modules I've created for my ecards solution Penguin Greetings. The
two key errors are: (full text at bottom)

[Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine DynaLoader::dl_error
redefined at /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi/
Embperl.pm line 65.
t/Pgreet....ok 18/18[21350]ERR: 10: Perl hash error, % does not exist

This only happens during the testing. Penguin Greetings has been running
fine with this code for weeks. I took a look at Embperl.pm (around line
65) and there are some definitions based on the way Embperl is being used
by Perl. Should I assign something to the environment hash so that
Embperl is presented with a "known calling context" (say indicate that
this test is as if it was CGI or something?) I can send to anyone
curious the complete module, test suite, etc. for further dissection/analysis.

Thanks in advance for answers to all questions big and small!

Peace, Edouard :-)

==============================

canebas.org [540]% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Pgreet....[Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine
DynaLoader::dl_load_file redefined at /usr/lib/perl5/site_perl/5.8.3/
i686-linux-thread-multi/Embperl.pm line 65.
[Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine DynaLoader::dl_unload_file
redefined at /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi/
Embperl.pm line 65.[Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine
DynaLoader::dl_find_symbol redefined at /usr/lib/perl5/site_perl/5.8.3/
i686-linux-thread-multi/Embperl.pm line 65.[Tue Mar 2 09:04:24 2004]
Cwd.pm: Subroutine DynaLoader::dl_undef_symbols redefined at /usr/lib/
perl5/site_perl/5.8.3/i686-linux-thread-multi/Embperl.pm line 65.
[Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine DynaLoader::dl_install_xsub
redefined at /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi/
Embperl.pm line 65.
[Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine DynaLoader::dl_error
redefined at /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi/
Embperl.pm line 65.
t/Pgreet....ok 18/18[21350]ERR: 10: Perl hash error, % does not exist
t/Pgreet....dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
after all the subtests completed successfully
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------
------------------------------------------
t/Pgreet.t 0 139 18 0 0.00% ??
Failed 1/1 test scripts, 0.00% okay. 0/18 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 2


==================================
Edouard Lagache
Lead Developer, Penguin Greetings
http://pgreet.sourceforge.net/
pgreetdev@canebas.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Search Discussions

  • Kee Hinckley at Jul 12, 2004 at 4:08 am

    At 9:34 AM -0800 3/2/04, Edouard Lagache wrote:
    Dear Embperl community,

    I've run into strange error messages coming from the testing phase of the
    Perl modules I've created for my ecards solution Penguin Greetings. The
    two key errors are: (full text at bottom)

    [Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine DynaLoader::dl_error
    redefined at /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi/
    Embperl.pm line 65.
    t/Pgreet....ok 18/18[21350]ERR: 10: Perl hash error, % does not exist
    Did you ever find out what was up with this? I'm seeing this
    whenever I stop Apache (once per process that has run Embperl) and on
    top of that, apachectl restart is not working (segfaults). Embperl
    2, Apache 1.3.
    --
    Kee Hinckley
    http://www.messagefire.com/ Next Generation Spam Defense
    http://commons.somewhere.com/buzz/ Writings on Technology and Society

    I'm not sure which upsets me more: that people are so unwilling to accept
    responsibility for their own actions, or that they are so eager to regulate
    everyone else's.

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Edouard Lagache at Jul 12, 2004 at 8:56 pm
    Dear Kee and Embperl community,

    ===================================
    Kee Hinckley <nazgul@somewhere.com> wrote at Sat, 10 Jul 2004 14:02:32 -0400
    At 9:34 AM -0800 3/2/04, Edouard Lagache wrote:
    Dear Embperl community,

    I've run into strange error messages coming from the testing phase of the
    Perl modules I've created for my ecards solution Penguin Greetings. The
    two key errors are: (full text at bottom)

    [Tue Mar 2 09:04:24 2004] Cwd.pm: Subroutine DynaLoader::dl_error
    redefined at /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi/
    Embperl.pm line 65.
    t/Pgreet....ok 18/18[21350]ERR: 10: Perl hash error, % does not exist
    Did you ever find out what was up with this? I'm seeing this
    whenever I stop Apache (once per process that has run Embperl) and on
    top of that, apachectl restart is not working (segfaults). Embperl
    2, Apache 1.3.
    ===================================

    Unfortunately, this problem has never gone away. I gave up on the test
    which caused the 10: Perl hash error. The error involving Cwd.pm is
    still there even after upgrading to Perl 5.8.4 and Embperl 2.0b11.
    Penguin Greetings isn't affected by it, so I just accepted the warnings
    and got on with coding.

    I don't have any problems with segfaults, but I'm using Apache 2.0.49
    (and mod_perl 1.99_13.)

    Sorry, no wisdom to offer from this corner of the Internet.

    Peace, Edouard

    ==================================
    Edouard Lagache
    Lead Developer, Penguin Greetings
    http://pgreet.sourceforge.net/
    pgreetdev@canebas.org



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Gerald Richter at Jul 13, 2004 at 9:14 am

    t/Pgreet....ok 18/18[21350]ERR: 10: Perl hash error, % does not
    exist
    Did you ever find out what was up with this? I'm seeing this
    whenever I stop Apache (once per process that has run Embperl) and on
    top of that, apachectl restart is not working (segfaults). Embperl
    2, Apache 1.3.
    I have seen this before when Apache does a syntax check of the config file
    (but only on windows) and apachectl restart first checks the syntax of
    httpd.conf.

    I try to figure out what's wrong...

    Gerald

    ---------------------------------------------------------------------------
    Gerald Richter ecos electronic communication services gmbh
    IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

    Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
    E-Mail: richter@ecos.de Voice: +49 6133 939-122
    WWW: http://www.ecos.de/ Fax: +49 6133 939-333
    ---------------------------------------------------------------------------
    ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
    ---------------------------------------------------------------------------


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedMar 2, '04 at 5:34p
activeJul 13, '04 at 9:14a
posts4
users3
websiteperl.apache.org

People

Translate

site design / logo © 2022 Grokbase