mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail

mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail

am 25.12.2007 19:59:14 von Heiko Jansen

Hi *.

I'm having trouble getting mod_perl to work with Perl 5.10 and Apache
2.2.6 on Solaris 64Bit/SPARC using Sun cc (Sun C 5.8 2005/10/13),
compiling as 64Bit app.
This applies to both mod_perl 2.0.3 and the latest (as of today)
mod_perl/2.0.4-dev.

2.0.3 won't build at all unless I copy
"src/modules/perl/modperl_common_util.h" and
"src/modules/perl/modperl_interp.h" over from the dev tree. Then it
compiles fine. Bad hack, of course.

2.0.4-dev compiles out of the box.
However, running the tests, I see a bunch of errors in either case.

I'm adding the test output and some info on my Perl.
The error log will follow in a second mail due to the mail size limit
for the list.
If I should provide some more info or if there is anything I could test
locally, please let me know.

Thx.
Heiko


Taken from 2.0.4-dev:
[...]
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/digibib/tools/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] Skipping 'set unlimited ulimit for coredumps', since we are
running as a non-root user on Solaris
/digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f
/digibib/src/modperl-2.0/t/conf/httpd.conf -D APACHE2 -D
PERL_USEITHREADS
using Apache/2.2.6 (worker MPM)
[...]
t/apache/add_config.......................ok
[...These tests worked...]
t/api/lookup_misc.........................ok
t/api/lookup_uri..........................EXPECTED:
pre+subreq=lookup_uri;filter=none+suf at t/api/lookup_uri.t line 28.
RECEIVED: subreq=lookup_uri;filter=none at t/api/lookup_uri.t line 29.
t/api/lookup_uri..........................1/4 # Failed test 1 in
t/api/lookup_uri.t at line 30
EXPECTED: pre+pre+subreq=lookup_uri;filter=first+suf+suf at
t/api/lookup_uri.t line 28.
RECEIVED: subreq=lookup_uri;filter=first at t/api/lookup_uri.t line 29.
# Failed test 2 in t/api/lookup_uri.t at line 30 fail #2
EXPECTED: pre+subreq=lookup_uri;filter=second+suf+suf at
t/api/lookup_uri.t line 28.
RECEIVED: subreq=lookup_uri;filter=second at t/api/lookup_uri.t line 29.
# Failed test 3 in t/api/lookup_uri.t at line 30 fail #3
EXPECTED: pre+subreq=lookup_uri;filter=default+suf at t/api/lookup_uri.t
line 28.
RECEIVED: subreq=lookup_uri;filter=default at t/api/lookup_uri.t line
29.
# Failed test 4 in t/api/lookup_uri.t at line 30 fail #4

[NOTE: the EXPECTED:/RECEIVED: warnings were added by me in .t file]

t/api/lookup_uri.......................... Failed 4/4 subtests
t/api/lookup_uri2.........................ok
t/api/module..............................ok
t/api/process.............................ok
t/api/query...............................ok
t/api/request_rec.........................ok
t/api/request_subclass....................ok
t/api/request_util........................ok
t/api/response............................ok
t/api/rflush..............................1/2 # Failed test 1 in
t/api/rflush.t at line 14
# Failed test 2 in t/api/rflush.t at line 20
t/api/rflush.............................. Failed 2/2 subtests
t/api/sendfile............................ok
[...These tests worked...]
t/filter/both_str_con_add.................ok
t/filter/both_str_native_remove...........1/8 # Failed test 3 in
t/filter/both_str_native_remove.t at line 33
# Failed test 6 in t/filter/both_str_native_remove.t at line 45
# Failed test 7 in t/filter/both_str_native_remove.t at line 49
# Failed test 8 in t/filter/both_str_native_remove.t at line 53
t/filter/both_str_native_remove........... Failed 4/8 subtests
t/filter/both_str_req_add.................1/1 # Failed test 1 in
t/filter/both_str_req_add.t at line 16
t/filter/both_str_req_add................. Failed 1/1 subtests
t/filter/both_str_req_mix.................1/1 # Failed test 1 in
t/filter/both_str_req_mix.t at line 33
t/filter/both_str_req_mix................. Failed 1/1 subtests
t/filter/both_str_req_proxy...............1/1 # Failed test 1 in
t/filter/both_str_req_proxy.t at line 16
t/filter/both_str_req_proxy............... Failed 1/1 subtests
t/filter/in_autoload......................1/1 # Failed test 1 in
t/filter/in_autoload.t at line 16
t/filter/in_autoload...................... Failed 1/1 subtests
t/filter/in_bbs_body...................... Failed 2/3 subtests
t/filter/in_bbs_consume...................1/1 # Failed test 1 in
t/filter/in_bbs_consume.t at line 19
t/filter/in_bbs_consume................... Failed 1/1 subtests
t/filter/in_bbs_inject_header.............ok
t/filter/in_bbs_msg.......................ok
t/filter/in_bbs_underrun..................ok
t/filter/in_error.........................1/1 # Failed test 1 in
t/filter/in_error.t at line 13
t/filter/in_error......................... Failed 1/1 subtests
t/filter/in_init_basic....................1/1 # Failed test 1 in
t/filter/in_init_basic.t at line 16
t/filter/in_init_basic.................... Failed 1/1 subtests
t/filter/in_str_bin_data..................ok
t/filter/in_str_consume...................1/1 # Failed test 1 in
t/filter/in_str_consume.t at line 21
t/filter/in_str_consume................... Failed 1/1 subtests
t/filter/in_str_declined.................. Failed 1/2 subtests
t/filter/in_str_declined_read............. Failed 1/1 subtests
t/filter/in_str_lc........................1/1 # Failed test 1 in
t/filter/in_str_lc.t at line 17
t/filter/in_str_lc........................ Failed 1/1 subtests
t/filter/in_str_msg....................... Failed 1/1 subtests
t/filter/in_str_sandwich..................1/1 # Failed test 1 in
t/filter/in_str_sandwich.t at line 15
t/filter/in_str_sandwich.................. Failed 1/1 subtests
t/filter/out_apache.......................ok
t/filter/out_bbs_basic.................... All 1 subtests passed
t/filter/out_bbs_ctx......................1/1 # Failed test 1 in
t/filter/out_bbs_ctx.t at line 22
t/filter/out_bbs_ctx...................... Failed 1/1 subtests
t/filter/out_bbs_filebucket...............1/10 # Failed test 2 in
t/filter/out_bbs_filebucket.t at line 26
# Failed test 4 in t/filter/out_bbs_filebucket.t at line 26 fail #2
# Failed test 6 in t/filter/out_bbs_filebucket.t at line 26 fail #3
# Failed test 8 in t/filter/out_bbs_filebucket.t at line 26 fail #4
# Failed test 10 in t/filter/out_bbs_filebucket.t at line 26 fail #5
t/filter/out_bbs_filebucket............... Failed 5/10 subtests
t/filter/out_init_basic...................1/1 # Failed test 1 in
t/filter/out_init_basic.t at line 17
t/filter/out_init_basic................... Failed 1/1 subtests
t/filter/out_str_api...................... No subtests run
t/filter/out_str_buffer...................1/2 # Failed test 1 in
t/filter/out_str_buffer.t at line 20
# Failed test 2 in t/filter/out_str_buffer.t at line 21
t/filter/out_str_buffer................... Failed 2/2 subtests
t/filter/out_str_ctx......................1/1 # Failed test 1 in
t/filter/out_str_ctx.t at line 23
t/filter/out_str_ctx...................... Failed 1/1 subtests
t/filter/out_str_declined.................1/1 # Failed test 1 in
t/filter/out_str_declined.t at line 14
t/filter/out_str_declined................. Failed 1/1 subtests
t/filter/out_str_eval.....................ok
t/filter/out_str_lc.......................1/1 # Failed test 1 in
t/filter/out_str_lc.t at line 13
t/filter/out_str_lc....................... Failed 1/1 subtests
t/filter/out_str_remove...................1/1 # Failed test 1 in
t/filter/out_str_remove.t at line 13
t/filter/out_str_remove................... Failed 1/1 subtests
t/filter/out_str_req_eos..................1/1 # Failed test 1 in
t/filter/out_str_req_eos.t at line 19
t/filter/out_str_req_eos.................. Failed 1/1 subtests
t/filter/out_str_req_mix..................1/1 # Failed test 1 in
t/filter/out_str_req_mix.t at line 18
t/filter/out_str_req_mix.................. Failed 1/1 subtests
t/filter/out_str_reverse..................1/2 # Failed test 1 in
t/filter/out_str_reverse.t at line 22
# Failed test 2 in t/filter/out_str_reverse.t at line 30
t/filter/out_str_reverse.................. Failed 2/2 subtests
t/filter/out_str_subreq_default...........1/1 # Failed test 1 in
t/filter/out_str_subreq_default.t at line 23
t/filter/out_str_subreq_default........... Failed 1/1 subtests
t/filter/out_str_subreq_modperl...........1/1 # Failed test 1 in
t/filter/out_str_subreq_modperl.t at line 20
t/filter/out_str_subreq_modperl........... Failed 1/1 subtests
t/hooks/access............................ok
[...These tests worked...]
t/hooks/stacked_handlers..................ok
t/hooks/stacked_handlers2.................1/? # Failed test 1 in
t/hooks/stacked_handlers2.t at line 35
t/hooks/stacked_handlers2................. Failed 1/1 subtests
t/hooks/startup...........................ok
[...These tests worked...]
t/modperl/util............................ok
t/modules/apache_resource.................skipped: cannot find module
'BSD::Resource'
t/modules/apache_status...................1/15 # Failed test 1 in
t/modules/apache_status.t at line 26
t/modules/apache_status................... Failed 1/15 subtests
t/modules/cgi.............................1/5 # Failed test 1 in
t/modules/cgi.t at line 29
# Failed test 2 in t/modules/cgi.t at line 35
# Failed test 3 in t/modules/cgi.t at line 43
# Failed test 4 in t/modules/cgi.t at line 52
# Failed test 5 in t/modules/cgi.t at line 60
t/modules/cgi............................. Failed 5/5 subtests
t/modules/cgi2............................1/5 # Failed test 1 in
t/modules/cgi2.t at line 29
t/modules/cgi2............................2/5 # Failed test 2 in
t/modules/cgi2.t at line 35
# Failed test 3 in t/modules/cgi2.t at line 43
# Failed test 4 in t/modules/cgi2.t at line 52
# Failed test 5 in t/modules/cgi2.t at line 60
t/modules/cgi2............................ Failed 5/5 subtests
t/modules/cgipost.........................ok
t/modules/cgipost2........................ok
t/modules/cgiupload.......................ok
t/modules/cgiupload2......................ok
t/modules/include.........................ok
t/modules/include2........................ok
t/modules/include_subreq..................ok
t/modules/proxy...........................ok
t/perl/api................................ok
t/perl/hash_attack........................ok
t/perl/ithreads........................... Failed 3/4 subtests
t/perl/ithreads2.......................... Failed 3/4 subtests
t/perl/ithreads_args...................... Failed 1/1 subtests
t/perl/ithreads_eval...................... Failed 1/1 subtests
t/perl/signals............................skipped: works only for
prefork
t/preconnection/note......................ok
t/protocol/echo_bbs.......................ok
t/protocol/echo_bbs2......................ok
t/protocol/echo_block.....................ok
t/protocol/echo_filter....................ok
t/protocol/echo_nonblock..................ok
t/protocol/echo_timeout...................ok
t/protocol/eliza..........................skipped: cannot find module
'Chatbot::Eliza'
t/protocol/pseudo_http....................ok
t/user/rewrite............................ok
t/vhost/config............................ok
t/vhost/log...............................ok

Test Summary Report
-------------------
t/api/lookup_uri.t (Wstat: 0 Tests: 4 Failed: 4)
Failed test number(s): 1-4
t/api/rflush.t (Wstat: 0 Tests: 2 Failed: 2)
Failed test number(s): 1-2
t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
Failed test number(s): 3, 6-8
t/filter/both_str_req_add.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/both_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/both_str_req_proxy.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_autoload.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_bbs_body.t (Wstat: 0 Tests: 1 Failed: 0)
Parse errors: Bad plan. You planned 3 tests but ran 1.
t/filter/in_bbs_consume.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_error.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_str_consume.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_str_declined.t (Wstat: 0 Tests: 2 Failed: 1)
Failed test number(s): 2
t/filter/in_str_declined_read.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/in_str_msg.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/filter/in_str_sandwich.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_bbs_basic.t (Wstat: 0 Tests: 1 Failed: 0)
Parse errors: No plan found in TAP output
t/filter/out_bbs_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_bbs_filebucket.t (Wstat: 0 Tests: 10 Failed: 5)
Failed test number(s): 2, 4, 6, 8, 10
t/filter/out_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_api.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t/filter/out_str_buffer.t (Wstat: 0 Tests: 2 Failed: 2)
Failed test number(s): 1-2
t/filter/out_str_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_declined.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_remove.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_req_eos.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_reverse.t (Wstat: 0 Tests: 2 Failed: 2)
Failed test number(s): 1-2
t/filter/out_str_subreq_default.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/filter/out_str_subreq_modperl.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/hooks/stacked_handlers2.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test number(s): 1
t/modules/apache_status.t (Wstat: 0 Tests: 15 Failed: 1)
Failed test number(s): 1
t/modules/cgi.t (Wstat: 0 Tests: 5 Failed: 5)
Failed test number(s): 1-5
t/modules/cgi2.t (Wstat: 0 Tests: 5 Failed: 5)
Failed test number(s): 1-5
t/perl/ithreads.t (Wstat: 0 Tests: 1 Failed: 0)
Parse errors: Bad plan. You planned 4 tests but ran 1.
t/perl/ithreads2.t (Wstat: 0 Tests: 1 Failed: 0)
Parse errors: Bad plan. You planned 4 tests but ran 1.
t/perl/ithreads_args.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/perl/ithreads_eval.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=244, Tests=2698, 750 wallclock secs ( 4.06 usr 17.40 sys + 304.36
cusr 61.20 csys = 387.02 CPU)
Result: FAIL
Failed 40/244 test programs. 53/2698 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done
[ error] error running tests (please examine t/logs/error_log)
[ error] oh rats, server dumped core
[ error] for stacktrace, run: gdb /digibib/apache-2.2.6/bin/httpd -core
/digibib/src/modperl-2.0/t/core
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1



webadm@semele~/src/modperl-2.0> pstack /digibib/src/modperl-2.0/t/core
core '/digibib/src/modperl-2.0/t/core' of 29652:
/digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f /digi
----------------- lwp# 1 / thread# 1 --------------------
ffffffff75bce798 _read (5a, ffffffff7fffede3, 1, 0, ffffffff77c02000, 0)
+ c
000000010005a114 ap_mpm_pod_check (102885490, 100054eb0, 100055d50,
102778b20, 102778928, 103ba9499) + 1c
0000000100056ad0 child_main (1, 100054690, 0, 102778b20, 103ba9480, 0) +
4d8
0000000100056d34 make_child (10018fe30, 1, ffffffff7ffff254, 1, 0, 0) +
144
0000000100057600 perform_idle_server_maintenance (1, 1, 1, 0, 1, 0) +
680
00000001000579f0 server_main_loop (0, 6cc, 7, 0, 1, 2) + 328
0000000100057f88 ap_mpm_run (10018a7c8, 1001bc958, 10018fe30, 1001907d0,
1001846a0, 0) + 528
000000010001e24c main (100178278, 0, 0, 10018fe30, 10018a7c8, 100188898)
+ ddc
000000010001cbfc _start (0, 0, 0, 0, 0, 0) + 17c
----------------- lwp# 2 / thread# 2 --------------------
ffffffff76a2e540 dummy_worker(), exit value = 0x0000000000000000
** zombie (exited, not detached, not yet joined) **
----------------- lwp# 3 / thread# 3 --------------------
ffffffff754009fc memcpy (103c204b0, 100000000, 5000000, 5000001, 0,
5000001) + 4fc
ffffffff694f6aa4 Perl_mg_dup (103c204b0, 1039d63f0, ffffffff624fac48,
104ee9340, 104ee9340, 400) + 244
ffffffff694f77f8 Perl_sv_dup (103c204b0, 1, ffffffff624fac48, 1023648b8,
10, 104ef4808) + 3e0
ffffffff694facd8 perl_clone (103c204b0, 2, 10, 2, ffffffff696b44b0, 10)
+ 1208
ffffffff62804ba8 S_ithread_create (10377e130, 103c01510, 0, 12d8, 1000,
103c00910) + 558
ffffffff62806bdc XS_threads_create (10377e130, 0, 103bfb620, 103c088f0,
0, 103780050) + 1804
ffffffff694dd520 Perl_pp_entersub (10377e130, 103bd5ce8, 103c10b00,
10217e790, ffffffff696b44b0, 0) + e48
ffffffff694d2d24 Perl_runops_standard (10377e130, 0, ffffffff694dc6d8,
ffffffff694d2e58, ffffffff696b44b0, 103bbb470) + 3c
ffffffff694cd194 Perl_call_sv (ffffffff624fb340, 10377e130, 10236fdb0,
10377e130, 103bbb470, ffffffff694d2ce8) + 56c
ffffffff6a01834c modperl_callback (10377e130, ffffffff6a017fe0,
103b748c8, 103b74938, 10018fe30, 10252c0e8) + 324
ffffffff6a018fb8 modperl_callback_run_handlers (103b75fb8, 10377e130,
103b7a1c8, 1005ff098, 10018fe30, 1005ff0b8) + 830
ffffffff6a01912c modperl_callback_per_dir (6, 103b74938, 1, 2020, 2018,
1) + 28
ffffffff6a011d50 modperl_response_handler (103b74938, 103b74938, 107800,
103b75fb8, 103b7a1c8, 1039d63f0) + d0
000000010003af0c ap_run_handler (103b74938, 0, 0, 102883d38, 1028845c0,
4) + 64
000000010003baf8 ap_invoke_handler (103b74938, 1005feb78, 0, 0,
1001c7a88, 0) + 128
000000010004edd4 ap_process_request (103b74938, 4, 103b74938, 103b74938,
103b76250, 0) + 6c
000000010004b1d8 ap_process_http_connection (103b70c30, 103b70c30, 1,
100279f70, 0, 103b74938) + 58
000000010004544c ap_run_process_connection (103b70c30, 103b70918,
103b70918, 102884920, fffffffffffffffe, 1) + 64
00000001000459d0 ap_process_connection (103b70c30, 103b70918, 103b70918,
40, 103b70c28, 103b728b8) + 70
0000000100054da0 process_socket (103b708a8, 103b70918, 1, 0, 103b728b8,
40) + 90
0000000100055afc worker_thread (0, 103ba94a0, 0, 0, 1, 0) + 2cc
ffffffff76a2e558 dummy_worker (102778d50, 1fc000, 0, 0,
ffffffff76a2e540, 1) + 18
ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 4 / thread# 4 --------------------
ffffffff75bcd924 __lwp_park (102778c10, 102778bd0, 0, 1, 11f0c4,
ffffffff70c0be80) + 14
ffffffff75bc7148 cond_wait_queue (102778c10, 102778bd0, 0, 0, 0,
ffffffff75cf2100) + 28
ffffffff75bc76f8 cond_wait (102778c10, 102778bd0, 100059ea8,
ffffffff76a1ca08, ffffffff62c01390, ffffffff77f2f6d8) + 10
ffffffff75bc7734 pthread_cond_wait (102778c10, 102778bd0, 0, 100059ea8,
0, 0) + 8
ffffffff76a1ca08 apr_thread_cond_wait (102778c08, 102778bc8, 1,
ffffffff75cf14c0, 1, 1001848e0) + 18
0000000100059ea8 ap_queue_pop (102778ba0, ffffffff622fbe50,
ffffffff622fbe38, 0, 0, ffffffff6e704228) + 50
0000000100055a1c worker_thread (0, 103ba94c0, 0, 1, 1, 1) + 1ec
ffffffff76a2e558 dummy_worker (102778d80, 1fc000, 0, 0,
ffffffff76a2e540, 1) + 18
ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 5 / thread# 5 --------------------
ffffffff75bcdda8 _portfs (64, 102784a70, 27, ffffffff620fbd1c, 0, 0) + 8
ffffffff76a286e0 apr_pollset_poll (1027849f8, ffffffffffffffff,
ffffffff620fbe1c, ffffffff620fbe10, 0, 0) + 1a0
0000000100055290 listener_thread (102778db0, 1, 1, 1, 100189438, 0) +
3b0
ffffffff76a2e558 dummy_worker (102778db0, 1fc000, 0, 0,
ffffffff76a2e540, 1) + 18
ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)



webadm@semele~/src/modperl-2.0> perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi-64-ld
uname='sunos semele 5.10 generic_118833-36 sun4u sparc
sunw,sun-fire-v440 solaris '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -mt
-I/digibib/tools/include -I/usr/local/include -xarch=v9b -xcode=abs64
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-xarch=generic64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-xO5',
cppflags='-D_REENTRANT -mt -I/digibib/tools/include
-I/usr/local/include -xarch=v9b -xcode=abs64 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV'
ccversion='Sun C 5.8 2005/10/13', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='long double', nvsize=16,
Off_t='off_t', lseeksize=8
alignbytes=16, prototype=define
Linker and Libraries:
ld='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/SUNWspro/prod/lib
-L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
-L/usr/local/lib -xarch=v9b -xarch=generic64 '
libpth=/opt/SUNWspro/prod/lib /digibib/tools/lib /usr/lib/64 /usr/lib
/lib/64 /lib /usr/local/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lpthread -lc -lsunmath
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc -lsunmath
libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=true,
libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R
/digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld/CORE'
cccdlflags='-KPIC', lddlflags='-G -xarch=v9b -L/opt/SUNWspro/prod/lib
-L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
-L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_USE_SAFE_PUTENV USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE
USE_PERLIO USE_REENTRANT_API
Built under solaris
Compiled at Dec 19 2007 21:46:18
@INC:
/digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld
/digibib/tools/lib/perl5/5.10.0

/digibib/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-threa d-multi-64-ld
/digibib/tools/lib/perl5/site_perl/5.10.0
/digibib/tools/lib/perl5/site_perl/5.8.8
/digibib/tools/lib/perl5/site_perl
.

Re: mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail

am 26.01.2008 05:37:35 von Jie Gao

Hi All

Has this problem been finally solved in dev?

Regards,



Jie


On Tue, 25 Dec 2007, Heiko Jansen wrote:

> Date: Tue, 25 Dec 2007 19:59:14 +0100
> From: Heiko Jansen
> To: modperl@perl.apache.org
> Subject: mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail
>
> Hi *.
>
> I'm having trouble getting mod_perl to work with Perl 5.10 and Apache
> 2.2.6 on Solaris 64Bit/SPARC using Sun cc (Sun C 5.8 2005/10/13),
> compiling as 64Bit app.
> This applies to both mod_perl 2.0.3 and the latest (as of today)
> mod_perl/2.0.4-dev.
>
> 2.0.3 won't build at all unless I copy
> "src/modules/perl/modperl_common_util.h" and
> "src/modules/perl/modperl_interp.h" over from the dev tree. Then it
> compiles fine. Bad hack, of course.
>
> 2.0.4-dev compiles out of the box.
> However, running the tests, I see a bunch of errors in either case.
>
> I'm adding the test output and some info on my Perl.
> The error log will follow in a second mail due to the mail size limit
> for the list.
> If I should provide some more info or if there is anything I could test
> locally, please let me know.
>
> Thx.
> Heiko
>
>
> Taken from 2.0.4-dev:
> [...]
> APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
> APACHE_TEST_USER= APACHE_TEST_APXS= \
> /digibib/tools/bin/perl -Iblib/arch -Iblib/lib \
> t/TEST -bugreport -verbose=0
> [warning] Skipping 'set unlimited ulimit for coredumps', since we are
> running as a non-root user on Solaris
> /digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f
> /digibib/src/modperl-2.0/t/conf/httpd.conf -D APACHE2 -D
> PERL_USEITHREADS
> using Apache/2.2.6 (worker MPM)
> [...]
> t/apache/add_config.......................ok
> [...These tests worked...]
> t/api/lookup_misc.........................ok
> t/api/lookup_uri..........................EXPECTED:
> pre+subreq=lookup_uri;filter=none+suf at t/api/lookup_uri.t line 28.
> RECEIVED: subreq=lookup_uri;filter=none at t/api/lookup_uri.t line 29.
> t/api/lookup_uri..........................1/4 # Failed test 1 in
> t/api/lookup_uri.t at line 30
> EXPECTED: pre+pre+subreq=lookup_uri;filter=first+suf+suf at
> t/api/lookup_uri.t line 28.
> RECEIVED: subreq=lookup_uri;filter=first at t/api/lookup_uri.t line 29.
> # Failed test 2 in t/api/lookup_uri.t at line 30 fail #2
> EXPECTED: pre+subreq=lookup_uri;filter=second+suf+suf at
> t/api/lookup_uri.t line 28.
> RECEIVED: subreq=lookup_uri;filter=second at t/api/lookup_uri.t line 29.
> # Failed test 3 in t/api/lookup_uri.t at line 30 fail #3
> EXPECTED: pre+subreq=lookup_uri;filter=default+suf at t/api/lookup_uri.t
> line 28.
> RECEIVED: subreq=lookup_uri;filter=default at t/api/lookup_uri.t line
> 29.
> # Failed test 4 in t/api/lookup_uri.t at line 30 fail #4
>
> [NOTE: the EXPECTED:/RECEIVED: warnings were added by me in .t file]
>
> t/api/lookup_uri.......................... Failed 4/4 subtests
> t/api/lookup_uri2.........................ok
> t/api/module..............................ok
> t/api/process.............................ok
> t/api/query...............................ok
> t/api/request_rec.........................ok
> t/api/request_subclass....................ok
> t/api/request_util........................ok
> t/api/response............................ok
> t/api/rflush..............................1/2 # Failed test 1 in
> t/api/rflush.t at line 14
> # Failed test 2 in t/api/rflush.t at line 20
> t/api/rflush.............................. Failed 2/2 subtests
> t/api/sendfile............................ok
> [...These tests worked...]
> t/filter/both_str_con_add.................ok
> t/filter/both_str_native_remove...........1/8 # Failed test 3 in
> t/filter/both_str_native_remove.t at line 33
> # Failed test 6 in t/filter/both_str_native_remove.t at line 45
> # Failed test 7 in t/filter/both_str_native_remove.t at line 49
> # Failed test 8 in t/filter/both_str_native_remove.t at line 53
> t/filter/both_str_native_remove........... Failed 4/8 subtests
> t/filter/both_str_req_add.................1/1 # Failed test 1 in
> t/filter/both_str_req_add.t at line 16
> t/filter/both_str_req_add................. Failed 1/1 subtests
> t/filter/both_str_req_mix.................1/1 # Failed test 1 in
> t/filter/both_str_req_mix.t at line 33
> t/filter/both_str_req_mix................. Failed 1/1 subtests
> t/filter/both_str_req_proxy...............1/1 # Failed test 1 in
> t/filter/both_str_req_proxy.t at line 16
> t/filter/both_str_req_proxy............... Failed 1/1 subtests
> t/filter/in_autoload......................1/1 # Failed test 1 in
> t/filter/in_autoload.t at line 16
> t/filter/in_autoload...................... Failed 1/1 subtests
> t/filter/in_bbs_body...................... Failed 2/3 subtests
> t/filter/in_bbs_consume...................1/1 # Failed test 1 in
> t/filter/in_bbs_consume.t at line 19
> t/filter/in_bbs_consume................... Failed 1/1 subtests
> t/filter/in_bbs_inject_header.............ok
> t/filter/in_bbs_msg.......................ok
> t/filter/in_bbs_underrun..................ok
> t/filter/in_error.........................1/1 # Failed test 1 in
> t/filter/in_error.t at line 13
> t/filter/in_error......................... Failed 1/1 subtests
> t/filter/in_init_basic....................1/1 # Failed test 1 in
> t/filter/in_init_basic.t at line 16
> t/filter/in_init_basic.................... Failed 1/1 subtests
> t/filter/in_str_bin_data..................ok
> t/filter/in_str_consume...................1/1 # Failed test 1 in
> t/filter/in_str_consume.t at line 21
> t/filter/in_str_consume................... Failed 1/1 subtests
> t/filter/in_str_declined.................. Failed 1/2 subtests
> t/filter/in_str_declined_read............. Failed 1/1 subtests
> t/filter/in_str_lc........................1/1 # Failed test 1 in
> t/filter/in_str_lc.t at line 17
> t/filter/in_str_lc........................ Failed 1/1 subtests
> t/filter/in_str_msg....................... Failed 1/1 subtests
> t/filter/in_str_sandwich..................1/1 # Failed test 1 in
> t/filter/in_str_sandwich.t at line 15
> t/filter/in_str_sandwich.................. Failed 1/1 subtests
> t/filter/out_apache.......................ok
> t/filter/out_bbs_basic.................... All 1 subtests passed
> t/filter/out_bbs_ctx......................1/1 # Failed test 1 in
> t/filter/out_bbs_ctx.t at line 22
> t/filter/out_bbs_ctx...................... Failed 1/1 subtests
> t/filter/out_bbs_filebucket...............1/10 # Failed test 2 in
> t/filter/out_bbs_filebucket.t at line 26
> # Failed test 4 in t/filter/out_bbs_filebucket.t at line 26 fail #2
> # Failed test 6 in t/filter/out_bbs_filebucket.t at line 26 fail #3
> # Failed test 8 in t/filter/out_bbs_filebucket.t at line 26 fail #4
> # Failed test 10 in t/filter/out_bbs_filebucket.t at line 26 fail #5
> t/filter/out_bbs_filebucket............... Failed 5/10 subtests
> t/filter/out_init_basic...................1/1 # Failed test 1 in
> t/filter/out_init_basic.t at line 17
> t/filter/out_init_basic................... Failed 1/1 subtests
> t/filter/out_str_api...................... No subtests run
> t/filter/out_str_buffer...................1/2 # Failed test 1 in
> t/filter/out_str_buffer.t at line 20
> # Failed test 2 in t/filter/out_str_buffer.t at line 21
> t/filter/out_str_buffer................... Failed 2/2 subtests
> t/filter/out_str_ctx......................1/1 # Failed test 1 in
> t/filter/out_str_ctx.t at line 23
> t/filter/out_str_ctx...................... Failed 1/1 subtests
> t/filter/out_str_declined.................1/1 # Failed test 1 in
> t/filter/out_str_declined.t at line 14
> t/filter/out_str_declined................. Failed 1/1 subtests
> t/filter/out_str_eval.....................ok
> t/filter/out_str_lc.......................1/1 # Failed test 1 in
> t/filter/out_str_lc.t at line 13
> t/filter/out_str_lc....................... Failed 1/1 subtests
> t/filter/out_str_remove...................1/1 # Failed test 1 in
> t/filter/out_str_remove.t at line 13
> t/filter/out_str_remove................... Failed 1/1 subtests
> t/filter/out_str_req_eos..................1/1 # Failed test 1 in
> t/filter/out_str_req_eos.t at line 19
> t/filter/out_str_req_eos.................. Failed 1/1 subtests
> t/filter/out_str_req_mix..................1/1 # Failed test 1 in
> t/filter/out_str_req_mix.t at line 18
> t/filter/out_str_req_mix.................. Failed 1/1 subtests
> t/filter/out_str_reverse..................1/2 # Failed test 1 in
> t/filter/out_str_reverse.t at line 22
> # Failed test 2 in t/filter/out_str_reverse.t at line 30
> t/filter/out_str_reverse.................. Failed 2/2 subtests
> t/filter/out_str_subreq_default...........1/1 # Failed test 1 in
> t/filter/out_str_subreq_default.t at line 23
> t/filter/out_str_subreq_default........... Failed 1/1 subtests
> t/filter/out_str_subreq_modperl...........1/1 # Failed test 1 in
> t/filter/out_str_subreq_modperl.t at line 20
> t/filter/out_str_subreq_modperl........... Failed 1/1 subtests
> t/hooks/access............................ok
> [...These tests worked...]
> t/hooks/stacked_handlers..................ok
> t/hooks/stacked_handlers2.................1/? # Failed test 1 in
> t/hooks/stacked_handlers2.t at line 35
> t/hooks/stacked_handlers2................. Failed 1/1 subtests
> t/hooks/startup...........................ok
> [...These tests worked...]
> t/modperl/util............................ok
> t/modules/apache_resource.................skipped: cannot find module
> 'BSD::Resource'
> t/modules/apache_status...................1/15 # Failed test 1 in
> t/modules/apache_status.t at line 26
> t/modules/apache_status................... Failed 1/15 subtests
> t/modules/cgi.............................1/5 # Failed test 1 in
> t/modules/cgi.t at line 29
> # Failed test 2 in t/modules/cgi.t at line 35
> # Failed test 3 in t/modules/cgi.t at line 43
> # Failed test 4 in t/modules/cgi.t at line 52
> # Failed test 5 in t/modules/cgi.t at line 60
> t/modules/cgi............................. Failed 5/5 subtests
> t/modules/cgi2............................1/5 # Failed test 1 in
> t/modules/cgi2.t at line 29
> t/modules/cgi2............................2/5 # Failed test 2 in
> t/modules/cgi2.t at line 35
> # Failed test 3 in t/modules/cgi2.t at line 43
> # Failed test 4 in t/modules/cgi2.t at line 52
> # Failed test 5 in t/modules/cgi2.t at line 60
> t/modules/cgi2............................ Failed 5/5 subtests
> t/modules/cgipost.........................ok
> t/modules/cgipost2........................ok
> t/modules/cgiupload.......................ok
> t/modules/cgiupload2......................ok
> t/modules/include.........................ok
> t/modules/include2........................ok
> t/modules/include_subreq..................ok
> t/modules/proxy...........................ok
> t/perl/api................................ok
> t/perl/hash_attack........................ok
> t/perl/ithreads........................... Failed 3/4 subtests
> t/perl/ithreads2.......................... Failed 3/4 subtests
> t/perl/ithreads_args...................... Failed 1/1 subtests
> t/perl/ithreads_eval...................... Failed 1/1 subtests
> t/perl/signals............................skipped: works only for
> prefork
> t/preconnection/note......................ok
> t/protocol/echo_bbs.......................ok
> t/protocol/echo_bbs2......................ok
> t/protocol/echo_block.....................ok
> t/protocol/echo_filter....................ok
> t/protocol/echo_nonblock..................ok
> t/protocol/echo_timeout...................ok
> t/protocol/eliza..........................skipped: cannot find module
> 'Chatbot::Eliza'
> t/protocol/pseudo_http....................ok
> t/user/rewrite............................ok
> t/vhost/config............................ok
> t/vhost/log...............................ok
>
> Test Summary Report
> -------------------
> t/api/lookup_uri.t (Wstat: 0 Tests: 4 Failed: 4)
> Failed test number(s): 1-4
> t/api/rflush.t (Wstat: 0 Tests: 2 Failed: 2)
> Failed test number(s): 1-2
> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
> Failed test number(s): 3, 6-8
> t/filter/both_str_req_add.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/both_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/both_str_req_proxy.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_autoload.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_bbs_body.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: Bad plan. You planned 3 tests but ran 1.
> t/filter/in_bbs_consume.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_error.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_consume.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_declined.t (Wstat: 0 Tests: 2 Failed: 1)
> Failed test number(s): 2
> t/filter/in_str_declined_read.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_msg.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: Bad plan. You planned 1 tests but ran 0.
> t/filter/in_str_sandwich.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_bbs_basic.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: No plan found in TAP output
> t/filter/out_bbs_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_bbs_filebucket.t (Wstat: 0 Tests: 10 Failed: 5)
> Failed test number(s): 2, 4, 6, 8, 10
> t/filter/out_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_api.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: No plan found in TAP output
> t/filter/out_str_buffer.t (Wstat: 0 Tests: 2 Failed: 2)
> Failed test number(s): 1-2
> t/filter/out_str_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_declined.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_remove.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_req_eos.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_reverse.t (Wstat: 0 Tests: 2 Failed: 2)
> Failed test number(s): 1-2
> t/filter/out_str_subreq_default.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_subreq_modperl.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/hooks/stacked_handlers2.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/modules/apache_status.t (Wstat: 0 Tests: 15 Failed: 1)
> Failed test number(s): 1
> t/modules/cgi.t (Wstat: 0 Tests: 5 Failed: 5)
> Failed test number(s): 1-5
> t/modules/cgi2.t (Wstat: 0 Tests: 5 Failed: 5)
> Failed test number(s): 1-5
> t/perl/ithreads.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: Bad plan. You planned 4 tests but ran 1.
> t/perl/ithreads2.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: Bad plan. You planned 4 tests but ran 1.
> t/perl/ithreads_args.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: Bad plan. You planned 1 tests but ran 0.
> t/perl/ithreads_eval.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: Bad plan. You planned 1 tests but ran 0.
> Files=244, Tests=2698, 750 wallclock secs ( 4.06 usr 17.40 sys + 304.36
> cusr 61.20 csys = 387.02 CPU)
> Result: FAIL
> Failed 40/244 test programs. 53/2698 subtests failed.
> [warning] server localhost:8529 shutdown
> [warning] port 8529 still in use...
> done
> [ error] error running tests (please examine t/logs/error_log)
> [ error] oh rats, server dumped core
> [ error] for stacktrace, run: gdb /digibib/apache-2.2.6/bin/httpd -core
> /digibib/src/modperl-2.0/t/core
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> make: *** [run_tests] Error 1
>
>
>
> webadm@semele~/src/modperl-2.0> pstack /digibib/src/modperl-2.0/t/core
> core '/digibib/src/modperl-2.0/t/core' of 29652:
> /digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f /digi
> ----------------- lwp# 1 / thread# 1 --------------------
> ffffffff75bce798 _read (5a, ffffffff7fffede3, 1, 0, ffffffff77c02000, 0)
> + c
> 000000010005a114 ap_mpm_pod_check (102885490, 100054eb0, 100055d50,
> 102778b20, 102778928, 103ba9499) + 1c
> 0000000100056ad0 child_main (1, 100054690, 0, 102778b20, 103ba9480, 0) +
> 4d8
> 0000000100056d34 make_child (10018fe30, 1, ffffffff7ffff254, 1, 0, 0) +
> 144
> 0000000100057600 perform_idle_server_maintenance (1, 1, 1, 0, 1, 0) +
> 680
> 00000001000579f0 server_main_loop (0, 6cc, 7, 0, 1, 2) + 328
> 0000000100057f88 ap_mpm_run (10018a7c8, 1001bc958, 10018fe30, 1001907d0,
> 1001846a0, 0) + 528
> 000000010001e24c main (100178278, 0, 0, 10018fe30, 10018a7c8, 100188898)
> + ddc
> 000000010001cbfc _start (0, 0, 0, 0, 0, 0) + 17c
> ----------------- lwp# 2 / thread# 2 --------------------
> ffffffff76a2e540 dummy_worker(), exit value = 0x0000000000000000
> ** zombie (exited, not detached, not yet joined) **
> ----------------- lwp# 3 / thread# 3 --------------------
> ffffffff754009fc memcpy (103c204b0, 100000000, 5000000, 5000001, 0,
> 5000001) + 4fc
> ffffffff694f6aa4 Perl_mg_dup (103c204b0, 1039d63f0, ffffffff624fac48,
> 104ee9340, 104ee9340, 400) + 244
> ffffffff694f77f8 Perl_sv_dup (103c204b0, 1, ffffffff624fac48, 1023648b8,
> 10, 104ef4808) + 3e0
> ffffffff694facd8 perl_clone (103c204b0, 2, 10, 2, ffffffff696b44b0, 10)
> + 1208
> ffffffff62804ba8 S_ithread_create (10377e130, 103c01510, 0, 12d8, 1000,
> 103c00910) + 558
> ffffffff62806bdc XS_threads_create (10377e130, 0, 103bfb620, 103c088f0,
> 0, 103780050) + 1804
> ffffffff694dd520 Perl_pp_entersub (10377e130, 103bd5ce8, 103c10b00,
> 10217e790, ffffffff696b44b0, 0) + e48
> ffffffff694d2d24 Perl_runops_standard (10377e130, 0, ffffffff694dc6d8,
> ffffffff694d2e58, ffffffff696b44b0, 103bbb470) + 3c
> ffffffff694cd194 Perl_call_sv (ffffffff624fb340, 10377e130, 10236fdb0,
> 10377e130, 103bbb470, ffffffff694d2ce8) + 56c
> ffffffff6a01834c modperl_callback (10377e130, ffffffff6a017fe0,
> 103b748c8, 103b74938, 10018fe30, 10252c0e8) + 324
> ffffffff6a018fb8 modperl_callback_run_handlers (103b75fb8, 10377e130,
> 103b7a1c8, 1005ff098, 10018fe30, 1005ff0b8) + 830
> ffffffff6a01912c modperl_callback_per_dir (6, 103b74938, 1, 2020, 2018,
> 1) + 28
> ffffffff6a011d50 modperl_response_handler (103b74938, 103b74938, 107800,
> 103b75fb8, 103b7a1c8, 1039d63f0) + d0
> 000000010003af0c ap_run_handler (103b74938, 0, 0, 102883d38, 1028845c0,
> 4) + 64
> 000000010003baf8 ap_invoke_handler (103b74938, 1005feb78, 0, 0,
> 1001c7a88, 0) + 128
> 000000010004edd4 ap_process_request (103b74938, 4, 103b74938, 103b74938,
> 103b76250, 0) + 6c
> 000000010004b1d8 ap_process_http_connection (103b70c30, 103b70c30, 1,
> 100279f70, 0, 103b74938) + 58
> 000000010004544c ap_run_process_connection (103b70c30, 103b70918,
> 103b70918, 102884920, fffffffffffffffe, 1) + 64
> 00000001000459d0 ap_process_connection (103b70c30, 103b70918, 103b70918,
> 40, 103b70c28, 103b728b8) + 70
> 0000000100054da0 process_socket (103b708a8, 103b70918, 1, 0, 103b728b8,
> 40) + 90
> 0000000100055afc worker_thread (0, 103ba94a0, 0, 0, 1, 0) + 2cc
> ffffffff76a2e558 dummy_worker (102778d50, 1fc000, 0, 0,
> ffffffff76a2e540, 1) + 18
> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
> ----------------- lwp# 4 / thread# 4 --------------------
> ffffffff75bcd924 __lwp_park (102778c10, 102778bd0, 0, 1, 11f0c4,
> ffffffff70c0be80) + 14
> ffffffff75bc7148 cond_wait_queue (102778c10, 102778bd0, 0, 0, 0,
> ffffffff75cf2100) + 28
> ffffffff75bc76f8 cond_wait (102778c10, 102778bd0, 100059ea8,
> ffffffff76a1ca08, ffffffff62c01390, ffffffff77f2f6d8) + 10
> ffffffff75bc7734 pthread_cond_wait (102778c10, 102778bd0, 0, 100059ea8,
> 0, 0) + 8
> ffffffff76a1ca08 apr_thread_cond_wait (102778c08, 102778bc8, 1,
> ffffffff75cf14c0, 1, 1001848e0) + 18
> 0000000100059ea8 ap_queue_pop (102778ba0, ffffffff622fbe50,
> ffffffff622fbe38, 0, 0, ffffffff6e704228) + 50
> 0000000100055a1c worker_thread (0, 103ba94c0, 0, 1, 1, 1) + 1ec
> ffffffff76a2e558 dummy_worker (102778d80, 1fc000, 0, 0,
> ffffffff76a2e540, 1) + 18
> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
> ----------------- lwp# 5 / thread# 5 --------------------
> ffffffff75bcdda8 _portfs (64, 102784a70, 27, ffffffff620fbd1c, 0, 0) + 8
> ffffffff76a286e0 apr_pollset_poll (1027849f8, ffffffffffffffff,
> ffffffff620fbe1c, ffffffff620fbe10, 0, 0) + 1a0
> 0000000100055290 listener_thread (102778db0, 1, 1, 1, 100189438, 0) +
> 3b0
> ffffffff76a2e558 dummy_worker (102778db0, 1fc000, 0, 0,
> ffffffff76a2e540, 1) + 18
> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
>
>
>
> webadm@semele~/src/modperl-2.0> perl -V
> Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
> Platform:
> osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi-64-ld
> uname='sunos semele 5.10 generic_118833-36 sun4u sparc
> sunw,sun-fire-v440 solaris '
> config_args=''
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=define, usemultiplicity=define
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=define
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -mt
> -I/digibib/tools/include -I/usr/local/include -xarch=v9b -xcode=abs64
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
> -xarch=generic64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> optimize='-xO5',
> cppflags='-D_REENTRANT -mt -I/digibib/tools/include
> -I/usr/local/include -xarch=v9b -xcode=abs64 -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV'
> ccversion='Sun C 5.8 2005/10/13', gccversion='', gccosandvers=''
> intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=8, nvtype='long double', nvsize=16,
> Off_t='off_t', lseeksize=8
> alignbytes=16, prototype=define
> Linker and Libraries:
> ld='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/SUNWspro/prod/lib
> -L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
> -L/usr/local/lib -xarch=v9b -xarch=generic64 '
> libpth=/opt/SUNWspro/prod/lib /digibib/tools/lib /usr/lib/64 /usr/lib
> /lib/64 /lib /usr/local/lib
> libs=-lsocket -lnsl -ldb -ldl -lm -lpthread -lc -lsunmath
> perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc -lsunmath
> libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=true,
> libperl=libperl.so
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R
> /digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld/CORE'
> cccdlflags='-KPIC', lddlflags='-G -xarch=v9b -L/opt/SUNWspro/prod/lib
> -L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
> -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
> PERL_USE_SAFE_PUTENV USE_64_BIT_ALL
> USE_64_BIT_INT
> USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE
> USE_PERLIO USE_REENTRANT_API
> Built under solaris
> Compiled at Dec 19 2007 21:46:18
> @INC:
> /digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld
> /digibib/tools/lib/perl5/5.10.0
>
> /digibib/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-threa d-multi-64-ld
> /digibib/tools/lib/perl5/site_perl/5.10.0
> /digibib/tools/lib/perl5/site_perl/5.8.8
> /digibib/tools/lib/perl5/site_perl
> .
>

Re: mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail

am 26.01.2008 05:59:32 von Jie Gao

Hi All

Has this problem been solved finally in dev?

Regards,



Jie


On Tue, 25 Dec 2007, Heiko Jansen wrote:

> Date: Tue, 25 Dec 2007 19:59:14 +0100
> From: Heiko Jansen
> To: modperl@perl.apache.org
> Subject: mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail
>
> Hi *.
>
> I'm having trouble getting mod_perl to work with Perl 5.10 and Apache
> 2.2.6 on Solaris 64Bit/SPARC using Sun cc (Sun C 5.8 2005/10/13),
> compiling as 64Bit app.
> This applies to both mod_perl 2.0.3 and the latest (as of today)
> mod_perl/2.0.4-dev.
>
> 2.0.3 won't build at all unless I copy
> "src/modules/perl/modperl_common_util.h" and
> "src/modules/perl/modperl_interp.h" over from the dev tree. Then it
> compiles fine. Bad hack, of course.
>
> 2.0.4-dev compiles out of the box.
> However, running the tests, I see a bunch of errors in either case.
>
> I'm adding the test output and some info on my Perl.
> The error log will follow in a second mail due to the mail size limit
> for the list.
> If I should provide some more info or if there is anything I could test
> locally, please let me know.
>
> Thx.
> Heiko
>
>
> Taken from 2.0.4-dev:
> [...]
> APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
> APACHE_TEST_USER= APACHE_TEST_APXS= \
> /digibib/tools/bin/perl -Iblib/arch -Iblib/lib \
> t/TEST -bugreport -verbose=0
> [warning] Skipping 'set unlimited ulimit for coredumps', since we are
> running as a non-root user on Solaris
> /digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f
> /digibib/src/modperl-2.0/t/conf/httpd.conf -D APACHE2 -D
> PERL_USEITHREADS
> using Apache/2.2.6 (worker MPM)
> [...]
> t/apache/add_config.......................ok
> [...These tests worked...]
> t/api/lookup_misc.........................ok
> t/api/lookup_uri..........................EXPECTED:
> pre+subreq=lookup_uri;filter=none+suf at t/api/lookup_uri.t line 28.
> RECEIVED: subreq=lookup_uri;filter=none at t/api/lookup_uri.t line 29.
> t/api/lookup_uri..........................1/4 # Failed test 1 in
> t/api/lookup_uri.t at line 30
> EXPECTED: pre+pre+subreq=lookup_uri;filter=first+suf+suf at
> t/api/lookup_uri.t line 28.
> RECEIVED: subreq=lookup_uri;filter=first at t/api/lookup_uri.t line 29.
> # Failed test 2 in t/api/lookup_uri.t at line 30 fail #2
> EXPECTED: pre+subreq=lookup_uri;filter=second+suf+suf at
> t/api/lookup_uri.t line 28.
> RECEIVED: subreq=lookup_uri;filter=second at t/api/lookup_uri.t line 29.
> # Failed test 3 in t/api/lookup_uri.t at line 30 fail #3
> EXPECTED: pre+subreq=lookup_uri;filter=default+suf at t/api/lookup_uri.t
> line 28.
> RECEIVED: subreq=lookup_uri;filter=default at t/api/lookup_uri.t line
> 29.
> # Failed test 4 in t/api/lookup_uri.t at line 30 fail #4
>
> [NOTE: the EXPECTED:/RECEIVED: warnings were added by me in .t file]
>
> t/api/lookup_uri.......................... Failed 4/4 subtests
> t/api/lookup_uri2.........................ok
> t/api/module..............................ok
> t/api/process.............................ok
> t/api/query...............................ok
> t/api/request_rec.........................ok
> t/api/request_subclass....................ok
> t/api/request_util........................ok
> t/api/response............................ok
> t/api/rflush..............................1/2 # Failed test 1 in
> t/api/rflush.t at line 14
> # Failed test 2 in t/api/rflush.t at line 20
> t/api/rflush.............................. Failed 2/2 subtests
> t/api/sendfile............................ok
> [...These tests worked...]
> t/filter/both_str_con_add.................ok
> t/filter/both_str_native_remove...........1/8 # Failed test 3 in
> t/filter/both_str_native_remove.t at line 33
> # Failed test 6 in t/filter/both_str_native_remove.t at line 45
> # Failed test 7 in t/filter/both_str_native_remove.t at line 49
> # Failed test 8 in t/filter/both_str_native_remove.t at line 53
> t/filter/both_str_native_remove........... Failed 4/8 subtests
> t/filter/both_str_req_add.................1/1 # Failed test 1 in
> t/filter/both_str_req_add.t at line 16
> t/filter/both_str_req_add................. Failed 1/1 subtests
> t/filter/both_str_req_mix.................1/1 # Failed test 1 in
> t/filter/both_str_req_mix.t at line 33
> t/filter/both_str_req_mix................. Failed 1/1 subtests
> t/filter/both_str_req_proxy...............1/1 # Failed test 1 in
> t/filter/both_str_req_proxy.t at line 16
> t/filter/both_str_req_proxy............... Failed 1/1 subtests
> t/filter/in_autoload......................1/1 # Failed test 1 in
> t/filter/in_autoload.t at line 16
> t/filter/in_autoload...................... Failed 1/1 subtests
> t/filter/in_bbs_body...................... Failed 2/3 subtests
> t/filter/in_bbs_consume...................1/1 # Failed test 1 in
> t/filter/in_bbs_consume.t at line 19
> t/filter/in_bbs_consume................... Failed 1/1 subtests
> t/filter/in_bbs_inject_header.............ok
> t/filter/in_bbs_msg.......................ok
> t/filter/in_bbs_underrun..................ok
> t/filter/in_error.........................1/1 # Failed test 1 in
> t/filter/in_error.t at line 13
> t/filter/in_error......................... Failed 1/1 subtests
> t/filter/in_init_basic....................1/1 # Failed test 1 in
> t/filter/in_init_basic.t at line 16
> t/filter/in_init_basic.................... Failed 1/1 subtests
> t/filter/in_str_bin_data..................ok
> t/filter/in_str_consume...................1/1 # Failed test 1 in
> t/filter/in_str_consume.t at line 21
> t/filter/in_str_consume................... Failed 1/1 subtests
> t/filter/in_str_declined.................. Failed 1/2 subtests
> t/filter/in_str_declined_read............. Failed 1/1 subtests
> t/filter/in_str_lc........................1/1 # Failed test 1 in
> t/filter/in_str_lc.t at line 17
> t/filter/in_str_lc........................ Failed 1/1 subtests
> t/filter/in_str_msg....................... Failed 1/1 subtests
> t/filter/in_str_sandwich..................1/1 # Failed test 1 in
> t/filter/in_str_sandwich.t at line 15
> t/filter/in_str_sandwich.................. Failed 1/1 subtests
> t/filter/out_apache.......................ok
> t/filter/out_bbs_basic.................... All 1 subtests passed
> t/filter/out_bbs_ctx......................1/1 # Failed test 1 in
> t/filter/out_bbs_ctx.t at line 22
> t/filter/out_bbs_ctx...................... Failed 1/1 subtests
> t/filter/out_bbs_filebucket...............1/10 # Failed test 2 in
> t/filter/out_bbs_filebucket.t at line 26
> # Failed test 4 in t/filter/out_bbs_filebucket.t at line 26 fail #2
> # Failed test 6 in t/filter/out_bbs_filebucket.t at line 26 fail #3
> # Failed test 8 in t/filter/out_bbs_filebucket.t at line 26 fail #4
> # Failed test 10 in t/filter/out_bbs_filebucket.t at line 26 fail #5
> t/filter/out_bbs_filebucket............... Failed 5/10 subtests
> t/filter/out_init_basic...................1/1 # Failed test 1 in
> t/filter/out_init_basic.t at line 17
> t/filter/out_init_basic................... Failed 1/1 subtests
> t/filter/out_str_api...................... No subtests run
> t/filter/out_str_buffer...................1/2 # Failed test 1 in
> t/filter/out_str_buffer.t at line 20
> # Failed test 2 in t/filter/out_str_buffer.t at line 21
> t/filter/out_str_buffer................... Failed 2/2 subtests
> t/filter/out_str_ctx......................1/1 # Failed test 1 in
> t/filter/out_str_ctx.t at line 23
> t/filter/out_str_ctx...................... Failed 1/1 subtests
> t/filter/out_str_declined.................1/1 # Failed test 1 in
> t/filter/out_str_declined.t at line 14
> t/filter/out_str_declined................. Failed 1/1 subtests
> t/filter/out_str_eval.....................ok
> t/filter/out_str_lc.......................1/1 # Failed test 1 in
> t/filter/out_str_lc.t at line 13
> t/filter/out_str_lc....................... Failed 1/1 subtests
> t/filter/out_str_remove...................1/1 # Failed test 1 in
> t/filter/out_str_remove.t at line 13
> t/filter/out_str_remove................... Failed 1/1 subtests
> t/filter/out_str_req_eos..................1/1 # Failed test 1 in
> t/filter/out_str_req_eos.t at line 19
> t/filter/out_str_req_eos.................. Failed 1/1 subtests
> t/filter/out_str_req_mix..................1/1 # Failed test 1 in
> t/filter/out_str_req_mix.t at line 18
> t/filter/out_str_req_mix.................. Failed 1/1 subtests
> t/filter/out_str_reverse..................1/2 # Failed test 1 in
> t/filter/out_str_reverse.t at line 22
> # Failed test 2 in t/filter/out_str_reverse.t at line 30
> t/filter/out_str_reverse.................. Failed 2/2 subtests
> t/filter/out_str_subreq_default...........1/1 # Failed test 1 in
> t/filter/out_str_subreq_default.t at line 23
> t/filter/out_str_subreq_default........... Failed 1/1 subtests
> t/filter/out_str_subreq_modperl...........1/1 # Failed test 1 in
> t/filter/out_str_subreq_modperl.t at line 20
> t/filter/out_str_subreq_modperl........... Failed 1/1 subtests
> t/hooks/access............................ok
> [...These tests worked...]
> t/hooks/stacked_handlers..................ok
> t/hooks/stacked_handlers2.................1/? # Failed test 1 in
> t/hooks/stacked_handlers2.t at line 35
> t/hooks/stacked_handlers2................. Failed 1/1 subtests
> t/hooks/startup...........................ok
> [...These tests worked...]
> t/modperl/util............................ok
> t/modules/apache_resource.................skipped: cannot find module
> 'BSD::Resource'
> t/modules/apache_status...................1/15 # Failed test 1 in
> t/modules/apache_status.t at line 26
> t/modules/apache_status................... Failed 1/15 subtests
> t/modules/cgi.............................1/5 # Failed test 1 in
> t/modules/cgi.t at line 29
> # Failed test 2 in t/modules/cgi.t at line 35
> # Failed test 3 in t/modules/cgi.t at line 43
> # Failed test 4 in t/modules/cgi.t at line 52
> # Failed test 5 in t/modules/cgi.t at line 60
> t/modules/cgi............................. Failed 5/5 subtests
> t/modules/cgi2............................1/5 # Failed test 1 in
> t/modules/cgi2.t at line 29
> t/modules/cgi2............................2/5 # Failed test 2 in
> t/modules/cgi2.t at line 35
> # Failed test 3 in t/modules/cgi2.t at line 43
> # Failed test 4 in t/modules/cgi2.t at line 52
> # Failed test 5 in t/modules/cgi2.t at line 60
> t/modules/cgi2............................ Failed 5/5 subtests
> t/modules/cgipost.........................ok
> t/modules/cgipost2........................ok
> t/modules/cgiupload.......................ok
> t/modules/cgiupload2......................ok
> t/modules/include.........................ok
> t/modules/include2........................ok
> t/modules/include_subreq..................ok
> t/modules/proxy...........................ok
> t/perl/api................................ok
> t/perl/hash_attack........................ok
> t/perl/ithreads........................... Failed 3/4 subtests
> t/perl/ithreads2.......................... Failed 3/4 subtests
> t/perl/ithreads_args...................... Failed 1/1 subtests
> t/perl/ithreads_eval...................... Failed 1/1 subtests
> t/perl/signals............................skipped: works only for
> prefork
> t/preconnection/note......................ok
> t/protocol/echo_bbs.......................ok
> t/protocol/echo_bbs2......................ok
> t/protocol/echo_block.....................ok
> t/protocol/echo_filter....................ok
> t/protocol/echo_nonblock..................ok
> t/protocol/echo_timeout...................ok
> t/protocol/eliza..........................skipped: cannot find module
> 'Chatbot::Eliza'
> t/protocol/pseudo_http....................ok
> t/user/rewrite............................ok
> t/vhost/config............................ok
> t/vhost/log...............................ok
>
> Test Summary Report
> -------------------
> t/api/lookup_uri.t (Wstat: 0 Tests: 4 Failed: 4)
> Failed test number(s): 1-4
> t/api/rflush.t (Wstat: 0 Tests: 2 Failed: 2)
> Failed test number(s): 1-2
> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
> Failed test number(s): 3, 6-8
> t/filter/both_str_req_add.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/both_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/both_str_req_proxy.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_autoload.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_bbs_body.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: Bad plan. You planned 3 tests but ran 1.
> t/filter/in_bbs_consume.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_error.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_consume.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_declined.t (Wstat: 0 Tests: 2 Failed: 1)
> Failed test number(s): 2
> t/filter/in_str_declined_read.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/in_str_msg.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: Bad plan. You planned 1 tests but ran 0.
> t/filter/in_str_sandwich.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_bbs_basic.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: No plan found in TAP output
> t/filter/out_bbs_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_bbs_filebucket.t (Wstat: 0 Tests: 10 Failed: 5)
> Failed test number(s): 2, 4, 6, 8, 10
> t/filter/out_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_api.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: No plan found in TAP output
> t/filter/out_str_buffer.t (Wstat: 0 Tests: 2 Failed: 2)
> Failed test number(s): 1-2
> t/filter/out_str_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_declined.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_remove.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_req_eos.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_reverse.t (Wstat: 0 Tests: 2 Failed: 2)
> Failed test number(s): 1-2
> t/filter/out_str_subreq_default.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/filter/out_str_subreq_modperl.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/hooks/stacked_handlers2.t (Wstat: 0 Tests: 1 Failed: 1)
> Failed test number(s): 1
> t/modules/apache_status.t (Wstat: 0 Tests: 15 Failed: 1)
> Failed test number(s): 1
> t/modules/cgi.t (Wstat: 0 Tests: 5 Failed: 5)
> Failed test number(s): 1-5
> t/modules/cgi2.t (Wstat: 0 Tests: 5 Failed: 5)
> Failed test number(s): 1-5
> t/perl/ithreads.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: Bad plan. You planned 4 tests but ran 1.
> t/perl/ithreads2.t (Wstat: 0 Tests: 1 Failed: 0)
> Parse errors: Bad plan. You planned 4 tests but ran 1.
> t/perl/ithreads_args.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: Bad plan. You planned 1 tests but ran 0.
> t/perl/ithreads_eval.t (Wstat: 0 Tests: 0 Failed: 0)
> Parse errors: Bad plan. You planned 1 tests but ran 0.
> Files=244, Tests=2698, 750 wallclock secs ( 4.06 usr 17.40 sys + 304.36
> cusr 61.20 csys = 387.02 CPU)
> Result: FAIL
> Failed 40/244 test programs. 53/2698 subtests failed.
> [warning] server localhost:8529 shutdown
> [warning] port 8529 still in use...
> done
> [ error] error running tests (please examine t/logs/error_log)
> [ error] oh rats, server dumped core
> [ error] for stacktrace, run: gdb /digibib/apache-2.2.6/bin/httpd -core
> /digibib/src/modperl-2.0/t/core
> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> make: *** [run_tests] Error 1
>
>
>
> webadm@semele~/src/modperl-2.0> pstack /digibib/src/modperl-2.0/t/core
> core '/digibib/src/modperl-2.0/t/core' of 29652:
> /digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f /digi
> ----------------- lwp# 1 / thread# 1 --------------------
> ffffffff75bce798 _read (5a, ffffffff7fffede3, 1, 0, ffffffff77c02000, 0)
> + c
> 000000010005a114 ap_mpm_pod_check (102885490, 100054eb0, 100055d50,
> 102778b20, 102778928, 103ba9499) + 1c
> 0000000100056ad0 child_main (1, 100054690, 0, 102778b20, 103ba9480, 0) +
> 4d8
> 0000000100056d34 make_child (10018fe30, 1, ffffffff7ffff254, 1, 0, 0) +
> 144
> 0000000100057600 perform_idle_server_maintenance (1, 1, 1, 0, 1, 0) +
> 680
> 00000001000579f0 server_main_loop (0, 6cc, 7, 0, 1, 2) + 328
> 0000000100057f88 ap_mpm_run (10018a7c8, 1001bc958, 10018fe30, 1001907d0,
> 1001846a0, 0) + 528
> 000000010001e24c main (100178278, 0, 0, 10018fe30, 10018a7c8, 100188898)
> + ddc
> 000000010001cbfc _start (0, 0, 0, 0, 0, 0) + 17c
> ----------------- lwp# 2 / thread# 2 --------------------
> ffffffff76a2e540 dummy_worker(), exit value = 0x0000000000000000
> ** zombie (exited, not detached, not yet joined) **
> ----------------- lwp# 3 / thread# 3 --------------------
> ffffffff754009fc memcpy (103c204b0, 100000000, 5000000, 5000001, 0,
> 5000001) + 4fc
> ffffffff694f6aa4 Perl_mg_dup (103c204b0, 1039d63f0, ffffffff624fac48,
> 104ee9340, 104ee9340, 400) + 244
> ffffffff694f77f8 Perl_sv_dup (103c204b0, 1, ffffffff624fac48, 1023648b8,
> 10, 104ef4808) + 3e0
> ffffffff694facd8 perl_clone (103c204b0, 2, 10, 2, ffffffff696b44b0, 10)
> + 1208
> ffffffff62804ba8 S_ithread_create (10377e130, 103c01510, 0, 12d8, 1000,
> 103c00910) + 558
> ffffffff62806bdc XS_threads_create (10377e130, 0, 103bfb620, 103c088f0,
> 0, 103780050) + 1804
> ffffffff694dd520 Perl_pp_entersub (10377e130, 103bd5ce8, 103c10b00,
> 10217e790, ffffffff696b44b0, 0) + e48
> ffffffff694d2d24 Perl_runops_standard (10377e130, 0, ffffffff694dc6d8,
> ffffffff694d2e58, ffffffff696b44b0, 103bbb470) + 3c
> ffffffff694cd194 Perl_call_sv (ffffffff624fb340, 10377e130, 10236fdb0,
> 10377e130, 103bbb470, ffffffff694d2ce8) + 56c
> ffffffff6a01834c modperl_callback (10377e130, ffffffff6a017fe0,
> 103b748c8, 103b74938, 10018fe30, 10252c0e8) + 324
> ffffffff6a018fb8 modperl_callback_run_handlers (103b75fb8, 10377e130,
> 103b7a1c8, 1005ff098, 10018fe30, 1005ff0b8) + 830
> ffffffff6a01912c modperl_callback_per_dir (6, 103b74938, 1, 2020, 2018,
> 1) + 28
> ffffffff6a011d50 modperl_response_handler (103b74938, 103b74938, 107800,
> 103b75fb8, 103b7a1c8, 1039d63f0) + d0
> 000000010003af0c ap_run_handler (103b74938, 0, 0, 102883d38, 1028845c0,
> 4) + 64
> 000000010003baf8 ap_invoke_handler (103b74938, 1005feb78, 0, 0,
> 1001c7a88, 0) + 128
> 000000010004edd4 ap_process_request (103b74938, 4, 103b74938, 103b74938,
> 103b76250, 0) + 6c
> 000000010004b1d8 ap_process_http_connection (103b70c30, 103b70c30, 1,
> 100279f70, 0, 103b74938) + 58
> 000000010004544c ap_run_process_connection (103b70c30, 103b70918,
> 103b70918, 102884920, fffffffffffffffe, 1) + 64
> 00000001000459d0 ap_process_connection (103b70c30, 103b70918, 103b70918,
> 40, 103b70c28, 103b728b8) + 70
> 0000000100054da0 process_socket (103b708a8, 103b70918, 1, 0, 103b728b8,
> 40) + 90
> 0000000100055afc worker_thread (0, 103ba94a0, 0, 0, 1, 0) + 2cc
> ffffffff76a2e558 dummy_worker (102778d50, 1fc000, 0, 0,
> ffffffff76a2e540, 1) + 18
> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
> ----------------- lwp# 4 / thread# 4 --------------------
> ffffffff75bcd924 __lwp_park (102778c10, 102778bd0, 0, 1, 11f0c4,
> ffffffff70c0be80) + 14
> ffffffff75bc7148 cond_wait_queue (102778c10, 102778bd0, 0, 0, 0,
> ffffffff75cf2100) + 28
> ffffffff75bc76f8 cond_wait (102778c10, 102778bd0, 100059ea8,
> ffffffff76a1ca08, ffffffff62c01390, ffffffff77f2f6d8) + 10
> ffffffff75bc7734 pthread_cond_wait (102778c10, 102778bd0, 0, 100059ea8,
> 0, 0) + 8
> ffffffff76a1ca08 apr_thread_cond_wait (102778c08, 102778bc8, 1,
> ffffffff75cf14c0, 1, 1001848e0) + 18
> 0000000100059ea8 ap_queue_pop (102778ba0, ffffffff622fbe50,
> ffffffff622fbe38, 0, 0, ffffffff6e704228) + 50
> 0000000100055a1c worker_thread (0, 103ba94c0, 0, 1, 1, 1) + 1ec
> ffffffff76a2e558 dummy_worker (102778d80, 1fc000, 0, 0,
> ffffffff76a2e540, 1) + 18
> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
> ----------------- lwp# 5 / thread# 5 --------------------
> ffffffff75bcdda8 _portfs (64, 102784a70, 27, ffffffff620fbd1c, 0, 0) + 8
> ffffffff76a286e0 apr_pollset_poll (1027849f8, ffffffffffffffff,
> ffffffff620fbe1c, ffffffff620fbe10, 0, 0) + 1a0
> 0000000100055290 listener_thread (102778db0, 1, 1, 1, 100189438, 0) +
> 3b0
> ffffffff76a2e558 dummy_worker (102778db0, 1fc000, 0, 0,
> ffffffff76a2e540, 1) + 18
> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
>
>
>
> webadm@semele~/src/modperl-2.0> perl -V
> Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
> Platform:
> osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi-64-ld
> uname='sunos semele 5.10 generic_118833-36 sun4u sparc
> sunw,sun-fire-v440 solaris '
> config_args=''
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=define, usemultiplicity=define
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=define, use64bitall=define, uselongdouble=define
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -mt
> -I/digibib/tools/include -I/usr/local/include -xarch=v9b -xcode=abs64
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
> -xarch=generic64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> optimize='-xO5',
> cppflags='-D_REENTRANT -mt -I/digibib/tools/include
> -I/usr/local/include -xarch=v9b -xcode=abs64 -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV'
> ccversion='Sun C 5.8 2005/10/13', gccversion='', gccosandvers=''
> intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=8, nvtype='long double', nvsize=16,
> Off_t='off_t', lseeksize=8
> alignbytes=16, prototype=define
> Linker and Libraries:
> ld='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/SUNWspro/prod/lib
> -L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
> -L/usr/local/lib -xarch=v9b -xarch=generic64 '
> libpth=/opt/SUNWspro/prod/lib /digibib/tools/lib /usr/lib/64 /usr/lib
> /lib/64 /lib /usr/local/lib
> libs=-lsocket -lnsl -ldb -ldl -lm -lpthread -lc -lsunmath
> perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc -lsunmath
> libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=true,
> libperl=libperl.so
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R
> /digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld/CORE'
> cccdlflags='-KPIC', lddlflags='-G -xarch=v9b -L/opt/SUNWspro/prod/lib
> -L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
> -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
> PERL_USE_SAFE_PUTENV USE_64_BIT_ALL
> USE_64_BIT_INT
> USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE
> USE_PERLIO USE_REENTRANT_API
> Built under solaris
> Compiled at Dec 19 2007 21:46:18
> @INC:
> /digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld
> /digibib/tools/lib/perl5/5.10.0
>
> /digibib/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-threa d-multi-64-ld
> /digibib/tools/lib/perl5/site_perl/5.10.0
> /digibib/tools/lib/perl5/site_perl/5.8.8
> /digibib/tools/lib/perl5/site_perl
> .
>

Re: mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail

am 27.01.2008 07:31:20 von gozer

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA4D0A7736ED3A776C4F70763
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Jie Gao wrote:
> Hi All
>=20
> Has this problem been solved finally in dev?

No, not yet. The main problem getting looked at lately was Perl 5.10,
and now that it looks like that is working.

You should try building the svn trunk with the following patch
applied and report if it fixes your problem:

http://mid.gmane.org/47985F2B.80000@ectoplasm.org

> Regards,
>=20
>=20
>=20
> Jie
>=20
>=20
> On Tue, 25 Dec 2007, Heiko Jansen wrote:
>=20
>> Date: Tue, 25 Dec 2007 19:59:14 +0100
>> From: Heiko Jansen
>> To: modperl@perl.apache.org
>> Subject: mod_perl, Perl 5.10, Apache 2.2.6 =3D> Tests fail
>>
>> Hi *.
>>
>> I'm having trouble getting mod_perl to work with Perl 5.10 and Apache
>> 2.2.6 on Solaris 64Bit/SPARC using Sun cc (Sun C 5.8 2005/10/13),
>> compiling as 64Bit app.
>> This applies to both mod_perl 2.0.3 and the latest (as of today)
>> mod_perl/2.0.4-dev.
>>
>> 2.0.3 won't build at all unless I copy
>> "src/modules/perl/modperl_common_util.h" and
>> "src/modules/perl/modperl_interp.h" over from the dev tree. Then it
>> compiles fine. Bad hack, of course.
>>
>> 2.0.4-dev compiles out of the box.
>> However, running the tests, I see a bunch of errors in either case.
>>
>> I'm adding the test output and some info on my Perl.
>> The error log will follow in a second mail due to the mail size limit
>> for the list.
>> If I should provide some more info or if there is anything I could tes=
t
>> locally, please let me know.
>>
>> Thx.
>> Heiko
>>
>>
>> Taken from 2.0.4-dev:
>> [...]
>> APACHE_TEST_GROUP=3D APACHE_TEST_HTTPD=3D APACHE_TEST_PORT=3D
>> APACHE_TEST_USER=3D APACHE_TEST_APXS=3D \
>> /digibib/tools/bin/perl -Iblib/arch -Iblib/lib \
>> t/TEST -bugreport -verbose=3D0
>> [warning] Skipping 'set unlimited ulimit for coredumps', since we are
>> running as a non-root user on Solaris
>> /digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f
>> /digibib/src/modperl-2.0/t/conf/httpd.conf -D APACHE2 -D
>> PERL_USEITHREADS
>> using Apache/2.2.6 (worker MPM)
>> [...]
>> t/apache/add_config.......................ok
>> [...These tests worked...]
>> t/api/lookup_misc.........................ok
>> t/api/lookup_uri..........................EXPECTED:
>> pre+subreq=3Dlookup_uri;filter=3Dnone+suf at t/api/lookup_uri.t line 2=
8.
>> RECEIVED: subreq=3Dlookup_uri;filter=3Dnone at t/api/lookup_uri.t line=
29.
>> t/api/lookup_uri..........................1/4 # Failed test 1 in
>> t/api/lookup_uri.t at line 30
>> EXPECTED: pre+pre+subreq=3Dlookup_uri;filter=3Dfirst+suf+suf at
>> t/api/lookup_uri.t line 28.
>> RECEIVED: subreq=3Dlookup_uri;filter=3Dfirst at t/api/lookup_uri.t lin=
e 29.
>> # Failed test 2 in t/api/lookup_uri.t at line 30 fail #2
>> EXPECTED: pre+subreq=3Dlookup_uri;filter=3Dsecond+suf+suf at
>> t/api/lookup_uri.t line 28.
>> RECEIVED: subreq=3Dlookup_uri;filter=3Dsecond at t/api/lookup_uri.t li=
ne 29.
>> # Failed test 3 in t/api/lookup_uri.t at line 30 fail #3
>> EXPECTED: pre+subreq=3Dlookup_uri;filter=3Ddefault+suf at t/api/lookup=
_uri.t
>> line 28.
>> RECEIVED: subreq=3Dlookup_uri;filter=3Ddefault at t/api/lookup_uri.t l=
ine
>> 29.
>> # Failed test 4 in t/api/lookup_uri.t at line 30 fail #4
>>
>> [NOTE: the EXPECTED:/RECEIVED: warnings were added by me in .t file]
>>
>> t/api/lookup_uri.......................... Failed 4/4 subtests
>> t/api/lookup_uri2.........................ok
>> t/api/module..............................ok
>> t/api/process.............................ok
>> t/api/query...............................ok
>> t/api/request_rec.........................ok
>> t/api/request_subclass....................ok
>> t/api/request_util........................ok
>> t/api/response............................ok
>> t/api/rflush..............................1/2 # Failed test 1 in
>> t/api/rflush.t at line 14
>> # Failed test 2 in t/api/rflush.t at line 20
>> t/api/rflush.............................. Failed 2/2 subtests
>> t/api/sendfile............................ok
>> [...These tests worked...]
>> t/filter/both_str_con_add.................ok
>> t/filter/both_str_native_remove...........1/8 # Failed test 3 in
>> t/filter/both_str_native_remove.t at line 33
>> # Failed test 6 in t/filter/both_str_native_remove.t at line 45
>> # Failed test 7 in t/filter/both_str_native_remove.t at line 49
>> # Failed test 8 in t/filter/both_str_native_remove.t at line 53
>> t/filter/both_str_native_remove........... Failed 4/8 subtests
>> t/filter/both_str_req_add.................1/1 # Failed test 1 in
>> t/filter/both_str_req_add.t at line 16
>> t/filter/both_str_req_add................. Failed 1/1 subtests
>> t/filter/both_str_req_mix.................1/1 # Failed test 1 in
>> t/filter/both_str_req_mix.t at line 33
>> t/filter/both_str_req_mix................. Failed 1/1 subtests
>> t/filter/both_str_req_proxy...............1/1 # Failed test 1 in
>> t/filter/both_str_req_proxy.t at line 16
>> t/filter/both_str_req_proxy............... Failed 1/1 subtests
>> t/filter/in_autoload......................1/1 # Failed test 1 in
>> t/filter/in_autoload.t at line 16
>> t/filter/in_autoload...................... Failed 1/1 subtests
>> t/filter/in_bbs_body...................... Failed 2/3 subtests
>> t/filter/in_bbs_consume...................1/1 # Failed test 1 in
>> t/filter/in_bbs_consume.t at line 19
>> t/filter/in_bbs_consume................... Failed 1/1 subtests
>> t/filter/in_bbs_inject_header.............ok
>> t/filter/in_bbs_msg.......................ok
>> t/filter/in_bbs_underrun..................ok
>> t/filter/in_error.........................1/1 # Failed test 1 in
>> t/filter/in_error.t at line 13
>> t/filter/in_error......................... Failed 1/1 subtests
>> t/filter/in_init_basic....................1/1 # Failed test 1 in
>> t/filter/in_init_basic.t at line 16
>> t/filter/in_init_basic.................... Failed 1/1 subtests
>> t/filter/in_str_bin_data..................ok
>> t/filter/in_str_consume...................1/1 # Failed test 1 in
>> t/filter/in_str_consume.t at line 21
>> t/filter/in_str_consume................... Failed 1/1 subtests
>> t/filter/in_str_declined.................. Failed 1/2 subtests
>> t/filter/in_str_declined_read............. Failed 1/1 subtests
>> t/filter/in_str_lc........................1/1 # Failed test 1 in
>> t/filter/in_str_lc.t at line 17
>> t/filter/in_str_lc........................ Failed 1/1 subtests
>> t/filter/in_str_msg....................... Failed 1/1 subtests
>> t/filter/in_str_sandwich..................1/1 # Failed test 1 in
>> t/filter/in_str_sandwich.t at line 15
>> t/filter/in_str_sandwich.................. Failed 1/1 subtests
>> t/filter/out_apache.......................ok
>> t/filter/out_bbs_basic.................... All 1 subtests passed
>> t/filter/out_bbs_ctx......................1/1 # Failed test 1 in
>> t/filter/out_bbs_ctx.t at line 22
>> t/filter/out_bbs_ctx...................... Failed 1/1 subtests
>> t/filter/out_bbs_filebucket...............1/10 # Failed test 2 in
>> t/filter/out_bbs_filebucket.t at line 26
>> # Failed test 4 in t/filter/out_bbs_filebucket.t at line 26 fail #2
>> # Failed test 6 in t/filter/out_bbs_filebucket.t at line 26 fail #3
>> # Failed test 8 in t/filter/out_bbs_filebucket.t at line 26 fail #4
>> # Failed test 10 in t/filter/out_bbs_filebucket.t at line 26 fail #5
>> t/filter/out_bbs_filebucket............... Failed 5/10 subtests
>> t/filter/out_init_basic...................1/1 # Failed test 1 in
>> t/filter/out_init_basic.t at line 17
>> t/filter/out_init_basic................... Failed 1/1 subtests
>> t/filter/out_str_api...................... No subtests run
>> t/filter/out_str_buffer...................1/2 # Failed test 1 in
>> t/filter/out_str_buffer.t at line 20
>> # Failed test 2 in t/filter/out_str_buffer.t at line 21
>> t/filter/out_str_buffer................... Failed 2/2 subtests
>> t/filter/out_str_ctx......................1/1 # Failed test 1 in
>> t/filter/out_str_ctx.t at line 23
>> t/filter/out_str_ctx...................... Failed 1/1 subtests
>> t/filter/out_str_declined.................1/1 # Failed test 1 in
>> t/filter/out_str_declined.t at line 14
>> t/filter/out_str_declined................. Failed 1/1 subtests
>> t/filter/out_str_eval.....................ok
>> t/filter/out_str_lc.......................1/1 # Failed test 1 in
>> t/filter/out_str_lc.t at line 13
>> t/filter/out_str_lc....................... Failed 1/1 subtests
>> t/filter/out_str_remove...................1/1 # Failed test 1 in
>> t/filter/out_str_remove.t at line 13
>> t/filter/out_str_remove................... Failed 1/1 subtests
>> t/filter/out_str_req_eos..................1/1 # Failed test 1 in
>> t/filter/out_str_req_eos.t at line 19
>> t/filter/out_str_req_eos.................. Failed 1/1 subtests
>> t/filter/out_str_req_mix..................1/1 # Failed test 1 in
>> t/filter/out_str_req_mix.t at line 18
>> t/filter/out_str_req_mix.................. Failed 1/1 subtests
>> t/filter/out_str_reverse..................1/2 # Failed test 1 in
>> t/filter/out_str_reverse.t at line 22
>> # Failed test 2 in t/filter/out_str_reverse.t at line 30
>> t/filter/out_str_reverse.................. Failed 2/2 subtests
>> t/filter/out_str_subreq_default...........1/1 # Failed test 1 in
>> t/filter/out_str_subreq_default.t at line 23
>> t/filter/out_str_subreq_default........... Failed 1/1 subtests
>> t/filter/out_str_subreq_modperl...........1/1 # Failed test 1 in
>> t/filter/out_str_subreq_modperl.t at line 20
>> t/filter/out_str_subreq_modperl........... Failed 1/1 subtests
>> t/hooks/access............................ok
>> [...These tests worked...]
>> t/hooks/stacked_handlers..................ok
>> t/hooks/stacked_handlers2.................1/? # Failed test 1 in
>> t/hooks/stacked_handlers2.t at line 35
>> t/hooks/stacked_handlers2................. Failed 1/1 subtests
>> t/hooks/startup...........................ok
>> [...These tests worked...]
>> t/modperl/util............................ok
>> t/modules/apache_resource.................skipped: cannot find module
>> 'BSD::Resource'
>> t/modules/apache_status...................1/15 # Failed test 1 in
>> t/modules/apache_status.t at line 26
>> t/modules/apache_status................... Failed 1/15 subtests
>> t/modules/cgi.............................1/5 # Failed test 1 in
>> t/modules/cgi.t at line 29
>> # Failed test 2 in t/modules/cgi.t at line 35
>> # Failed test 3 in t/modules/cgi.t at line 43
>> # Failed test 4 in t/modules/cgi.t at line 52
>> # Failed test 5 in t/modules/cgi.t at line 60
>> t/modules/cgi............................. Failed 5/5 subtests
>> t/modules/cgi2............................1/5 # Failed test 1 in
>> t/modules/cgi2.t at line 29
>> t/modules/cgi2............................2/5 # Failed test 2 in
>> t/modules/cgi2.t at line 35
>> # Failed test 3 in t/modules/cgi2.t at line 43
>> # Failed test 4 in t/modules/cgi2.t at line 52
>> # Failed test 5 in t/modules/cgi2.t at line 60
>> t/modules/cgi2............................ Failed 5/5 subtests
>> t/modules/cgipost.........................ok
>> t/modules/cgipost2........................ok
>> t/modules/cgiupload.......................ok
>> t/modules/cgiupload2......................ok
>> t/modules/include.........................ok
>> t/modules/include2........................ok
>> t/modules/include_subreq..................ok
>> t/modules/proxy...........................ok
>> t/perl/api................................ok
>> t/perl/hash_attack........................ok
>> t/perl/ithreads........................... Failed 3/4 subtests
>> t/perl/ithreads2.......................... Failed 3/4 subtests
>> t/perl/ithreads_args...................... Failed 1/1 subtests
>> t/perl/ithreads_eval...................... Failed 1/1 subtests
>> t/perl/signals............................skipped: works only for
>> prefork
>> t/preconnection/note......................ok
>> t/protocol/echo_bbs.......................ok
>> t/protocol/echo_bbs2......................ok
>> t/protocol/echo_block.....................ok
>> t/protocol/echo_filter....................ok
>> t/protocol/echo_nonblock..................ok
>> t/protocol/echo_timeout...................ok
>> t/protocol/eliza..........................skipped: cannot find module
>> 'Chatbot::Eliza'
>> t/protocol/pseudo_http....................ok
>> t/user/rewrite............................ok
>> t/vhost/config............................ok
>> t/vhost/log...............................ok
>>
>> Test Summary Report
>> -------------------
>> t/api/lookup_uri.t (Wstat: 0 Tests: 4 Failed: 4)
>> Failed test number(s): 1-4
>> t/api/rflush.t (Wstat: 0 Tests: 2 Failed: 2)
>> Failed test number(s): 1-2
>> t/filter/both_str_native_remove.t (Wstat: 0 Tests: 8 Failed: 4)
>> Failed test number(s): 3, 6-8
>> t/filter/both_str_req_add.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/both_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/both_str_req_proxy.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_autoload.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_bbs_body.t (Wstat: 0 Tests: 1 Failed: 0)
>> Parse errors: Bad plan. You planned 3 tests but ran 1.
>> t/filter/in_bbs_consume.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_error.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_str_consume.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_str_declined.t (Wstat: 0 Tests: 2 Failed: 1)
>> Failed test number(s): 2
>> t/filter/in_str_declined_read.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/in_str_msg.t (Wstat: 0 Tests: 0 Failed: 0)
>> Parse errors: Bad plan. You planned 1 tests but ran 0.
>> t/filter/in_str_sandwich.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_bbs_basic.t (Wstat: 0 Tests: 1 Failed: 0)
>> Parse errors: No plan found in TAP output
>> t/filter/out_bbs_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_bbs_filebucket.t (Wstat: 0 Tests: 10 Failed: 5)
>> Failed test number(s): 2, 4, 6, 8, 10
>> t/filter/out_init_basic.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_api.t (Wstat: 0 Tests: 0 Failed: 0)
>> Parse errors: No plan found in TAP output
>> t/filter/out_str_buffer.t (Wstat: 0 Tests: 2 Failed: 2)
>> Failed test number(s): 1-2
>> t/filter/out_str_ctx.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_declined.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_lc.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_remove.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_req_eos.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_req_mix.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_reverse.t (Wstat: 0 Tests: 2 Failed: 2)
>> Failed test number(s): 1-2
>> t/filter/out_str_subreq_default.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/filter/out_str_subreq_modperl.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/hooks/stacked_handlers2.t (Wstat: 0 Tests: 1 Failed: 1)
>> Failed test number(s): 1
>> t/modules/apache_status.t (Wstat: 0 Tests: 15 Failed: 1)
>> Failed test number(s): 1
>> t/modules/cgi.t (Wstat: 0 Tests: 5 Failed: 5)
>> Failed test number(s): 1-5
>> t/modules/cgi2.t (Wstat: 0 Tests: 5 Failed: 5)
>> Failed test number(s): 1-5
>> t/perl/ithreads.t (Wstat: 0 Tests: 1 Failed: 0)
>> Parse errors: Bad plan. You planned 4 tests but ran 1.
>> t/perl/ithreads2.t (Wstat: 0 Tests: 1 Failed: 0)
>> Parse errors: Bad plan. You planned 4 tests but ran 1.
>> t/perl/ithreads_args.t (Wstat: 0 Tests: 0 Failed: 0)
>> Parse errors: Bad plan. You planned 1 tests but ran 0.
>> t/perl/ithreads_eval.t (Wstat: 0 Tests: 0 Failed: 0)
>> Parse errors: Bad plan. You planned 1 tests but ran 0.
>> Files=3D244, Tests=3D2698, 750 wallclock secs ( 4.06 usr 17.40 sys + 3=
04.36
>> cusr 61.20 csys =3D 387.02 CPU)
>> Result: FAIL
>> Failed 40/244 test programs. 53/2698 subtests failed.
>> [warning] server localhost:8529 shutdown
>> [warning] port 8529 still in use...
>> done
>> [ error] error running tests (please examine t/logs/error_log)
>> [ error] oh rats, server dumped core
>> [ error] for stacktrace, run: gdb /digibib/apache-2.2.6/bin/httpd -co=
re
>> /digibib/src/modperl-2.0/t/core
>> +--------------------------------------------------------+
>> | Please file a bug report: http://perl.apache.org/bugs/ |
>> +--------------------------------------------------------+
>> make: *** [run_tests] Error 1
>>
>>
>>
>> webadm@semele~/src/modperl-2.0> pstack /digibib/src/modperl-2.0/t/core=

>> core '/digibib/src/modperl-2.0/t/core' of 29652:
>> /digibib/apache-2.2.6/bin/httpd -d /digibib/src/modperl-2.0/t -f /digi=

>> ----------------- lwp# 1 / thread# 1 --------------------
>> ffffffff75bce798 _read (5a, ffffffff7fffede3, 1, 0, ffffffff77c02000, =
0)
>> + c
>> 000000010005a114 ap_mpm_pod_check (102885490, 100054eb0, 100055d50,
>> 102778b20, 102778928, 103ba9499) + 1c
>> 0000000100056ad0 child_main (1, 100054690, 0, 102778b20, 103ba9480, 0)=
+
>> 4d8
>> 0000000100056d34 make_child (10018fe30, 1, ffffffff7ffff254, 1, 0, 0) =
+
>> 144
>> 0000000100057600 perform_idle_server_maintenance (1, 1, 1, 0, 1, 0) +
>> 680
>> 00000001000579f0 server_main_loop (0, 6cc, 7, 0, 1, 2) + 328
>> 0000000100057f88 ap_mpm_run (10018a7c8, 1001bc958, 10018fe30, 1001907d=
0,
>> 1001846a0, 0) + 528
>> 000000010001e24c main (100178278, 0, 0, 10018fe30, 10018a7c8, 10018889=
8)
>> + ddc
>> 000000010001cbfc _start (0, 0, 0, 0, 0, 0) + 17c
>> ----------------- lwp# 2 / thread# 2 --------------------
>> ffffffff76a2e540 dummy_worker(), exit value =3D 0x0000000000000000
>> ** zombie (exited, not detached, not yet joined) **
>> ----------------- lwp# 3 / thread# 3 --------------------
>> ffffffff754009fc memcpy (103c204b0, 100000000, 5000000, 5000001, 0,
>> 5000001) + 4fc
>> ffffffff694f6aa4 Perl_mg_dup (103c204b0, 1039d63f0, ffffffff624fac48,
>> 104ee9340, 104ee9340, 400) + 244
>> ffffffff694f77f8 Perl_sv_dup (103c204b0, 1, ffffffff624fac48, 1023648b=
8,
>> 10, 104ef4808) + 3e0
>> ffffffff694facd8 perl_clone (103c204b0, 2, 10, 2, ffffffff696b44b0, 10=
)
>> + 1208
>> ffffffff62804ba8 S_ithread_create (10377e130, 103c01510, 0, 12d8, 1000=
,
>> 103c00910) + 558
>> ffffffff62806bdc XS_threads_create (10377e130, 0, 103bfb620, 103c088f0=
,
>> 0, 103780050) + 1804
>> ffffffff694dd520 Perl_pp_entersub (10377e130, 103bd5ce8, 103c10b00,
>> 10217e790, ffffffff696b44b0, 0) + e48
>> ffffffff694d2d24 Perl_runops_standard (10377e130, 0, ffffffff694dc6d8,=

>> ffffffff694d2e58, ffffffff696b44b0, 103bbb470) + 3c
>> ffffffff694cd194 Perl_call_sv (ffffffff624fb340, 10377e130, 10236fdb0,=

>> 10377e130, 103bbb470, ffffffff694d2ce8) + 56c
>> ffffffff6a01834c modperl_callback (10377e130, ffffffff6a017fe0,
>> 103b748c8, 103b74938, 10018fe30, 10252c0e8) + 324
>> ffffffff6a018fb8 modperl_callback_run_handlers (103b75fb8, 10377e130,
>> 103b7a1c8, 1005ff098, 10018fe30, 1005ff0b8) + 830
>> ffffffff6a01912c modperl_callback_per_dir (6, 103b74938, 1, 2020, 2018=
,
>> 1) + 28
>> ffffffff6a011d50 modperl_response_handler (103b74938, 103b74938, 10780=
0,
>> 103b75fb8, 103b7a1c8, 1039d63f0) + d0
>> 000000010003af0c ap_run_handler (103b74938, 0, 0, 102883d38, 1028845c0=
,
>> 4) + 64
>> 000000010003baf8 ap_invoke_handler (103b74938, 1005feb78, 0, 0,
>> 1001c7a88, 0) + 128
>> 000000010004edd4 ap_process_request (103b74938, 4, 103b74938, 103b7493=
8,
>> 103b76250, 0) + 6c
>> 000000010004b1d8 ap_process_http_connection (103b70c30, 103b70c30, 1,
>> 100279f70, 0, 103b74938) + 58
>> 000000010004544c ap_run_process_connection (103b70c30, 103b70918,
>> 103b70918, 102884920, fffffffffffffffe, 1) + 64
>> 00000001000459d0 ap_process_connection (103b70c30, 103b70918, 103b7091=
8,
>> 40, 103b70c28, 103b728b8) + 70
>> 0000000100054da0 process_socket (103b708a8, 103b70918, 1, 0, 103b728b8=
,
>> 40) + 90
>> 0000000100055afc worker_thread (0, 103ba94a0, 0, 0, 1, 0) + 2cc
>> ffffffff76a2e558 dummy_worker (102778d50, 1fc000, 0, 0,
>> ffffffff76a2e540, 1) + 18
>> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
>> ----------------- lwp# 4 / thread# 4 --------------------
>> ffffffff75bcd924 __lwp_park (102778c10, 102778bd0, 0, 1, 11f0c4,
>> ffffffff70c0be80) + 14
>> ffffffff75bc7148 cond_wait_queue (102778c10, 102778bd0, 0, 0, 0,
>> ffffffff75cf2100) + 28
>> ffffffff75bc76f8 cond_wait (102778c10, 102778bd0, 100059ea8,
>> ffffffff76a1ca08, ffffffff62c01390, ffffffff77f2f6d8) + 10
>> ffffffff75bc7734 pthread_cond_wait (102778c10, 102778bd0, 0, 100059ea8=
,
>> 0, 0) + 8
>> ffffffff76a1ca08 apr_thread_cond_wait (102778c08, 102778bc8, 1,
>> ffffffff75cf14c0, 1, 1001848e0) + 18
>> 0000000100059ea8 ap_queue_pop (102778ba0, ffffffff622fbe50,
>> ffffffff622fbe38, 0, 0, ffffffff6e704228) + 50
>> 0000000100055a1c worker_thread (0, 103ba94c0, 0, 1, 1, 1) + 1ec
>> ffffffff76a2e558 dummy_worker (102778d80, 1fc000, 0, 0,
>> ffffffff76a2e540, 1) + 18
>> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
>> ----------------- lwp# 5 / thread# 5 --------------------
>> ffffffff75bcdda8 _portfs (64, 102784a70, 27, ffffffff620fbd1c, 0, 0) +=
8
>> ffffffff76a286e0 apr_pollset_poll (1027849f8, ffffffffffffffff,
>> ffffffff620fbe1c, ffffffff620fbe10, 0, 0) + 1a0
>> 0000000100055290 listener_thread (102778db0, 1, 1, 1, 100189438, 0) +
>> 3b0
>> ffffffff76a2e558 dummy_worker (102778db0, 1fc000, 0, 0,
>> ffffffff76a2e540, 1) + 18
>> ffffffff75bcd880 _lwp_start (0, 0, 0, 0, 0, 0)
>>
>>
>>
>> webadm@semele~/src/modperl-2.0> perl -V
>> Summary of my perl5 (revision 5 version 10 subversion 0) configuration=
:
>> Platform:
>> osname=3Dsolaris, osvers=3D2.10, archname=3Dsun4-solaris-thread-mul=
ti-64-ld
>> uname=3D'sunos semele 5.10 generic_118833-36 sun4u sparc
>> sunw,sun-fire-v440 solaris '
>> config_args=3D''
>> hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
>> useithreads=3Ddefine, usemultiplicity=3Ddefine
>> useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, usesock=
s=3Dundef
>> use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Ddefine
>> usemymalloc=3Dn, bincompat5005=3Dundef
>> Compiler:
>> cc=3D'/opt/SUNWspro/bin/cc', ccflags =3D'-D_REENTRANT -mt
>> -I/digibib/tools/include -I/usr/local/include -xarch=3Dv9b -xcode=3Dab=
s64
>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -DPERL_USE_SAFE_PUTENV
>> -xarch=3Dgeneric64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
>> optimize=3D'-xO5',
>> cppflags=3D'-D_REENTRANT -mt -I/digibib/tools/include
>> -I/usr/local/include -xarch=3Dv9b -xcode=3Dabs64 -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=3D64 -DPERL_USE_SAFE_PUTENV'
>> ccversion=3D'Sun C 5.8 2005/10/13', gccversion=3D'', gccosandvers=3D=
''
>> intsize=3D4, longsize=3D8, ptrsize=3D8, doublesize=3D8, byteorder=3D=
87654321
>> d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdbls=
ize=3D16
>> ivtype=3D'long', ivsize=3D8, nvtype=3D'long double', nvsize=3D16,
>> Off_t=3D'off_t', lseeksize=3D8
>> alignbytes=3D16, prototype=3Ddefine
>> Linker and Libraries:
>> ld=3D'/opt/SUNWspro/bin/cc', ldflags =3D'-L/opt/SUNWspro/prod/lib
>> -L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
>> -L/usr/local/lib -xarch=3Dv9b -xarch=3Dgeneric64 '
>> libpth=3D/opt/SUNWspro/prod/lib /digibib/tools/lib /usr/lib/64 /usr=
/lib
>> /lib/64 /lib /usr/local/lib
>> libs=3D-lsocket -lnsl -ldb -ldl -lm -lpthread -lc -lsunmath
>> perllibs=3D-lsocket -lnsl -ldl -lm -lpthread -lc -lsunmath
>> libc=3D/usr/lib/sparcv9/libc.so, so=3Dso, useshrplib=3Dtrue,
>> libperl=3Dlibperl.so
>> gnulibc_version=3D''
>> Dynamic Linking:
>> dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' =
-R
>> /digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld/CORE'
>> cccdlflags=3D'-KPIC', lddlflags=3D'-G -xarch=3Dv9b -L/opt/SUNWspro/=
prod/lib
>> -L/digibib/tools/lib -L/usr/lib/64 -L/usr/lib -L/lib/64 -L/lib
>> -L/usr/local/lib'
>>
>>
>> Characteristics of this binary (from libperl):
>> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
>> PERL_USE_SAFE_PUTENV USE_64_BIT_ALL
>> USE_64_BIT_INT
>> USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE
>> USE_PERLIO USE_REENTRANT_API
>> Built under solaris
>> Compiled at Dec 19 2007 21:46:18
>> @INC:
>> /digibib/tools/lib/perl5/5.10.0/sun4-solaris-thread-multi-64 -ld
>> /digibib/tools/lib/perl5/5.10.0
>>
>> /digibib/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-threa d-multi-64=
-ld
>> /digibib/tools/lib/perl5/site_perl/5.10.0
>> /digibib/tools/lib/perl5/site_perl/5.8.8
>> /digibib/tools/lib/perl5/site_perl
>> .
>>
>=20

--=20
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/


--------------enigA4D0A7736ED3A776C4F70763
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnCU4yzKhB4jDpaURAqG4AKC8LYuDTXetDU7JNkGpBbw1j21YOQCf b6DB
6gaEuaR89uDF14/t6yNugF4=
=7Yy6
-----END PGP SIGNATURE-----

--------------enigA4D0A7736ED3A776C4F70763--