on sparc (at least), embperl dies with:
vore% make test TESTARGS="-h -i --gdb"
[...]
#104 sub.htm... ok
#105 sub.htm... (no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---[Switching to Thread 16384 (LWP
6027)]
0x7055620c in Perl_pp_gv () from /usr/lib/libperl.so.5.8
#0 0x7055620c in Perl_pp_gv () from /usr/lib/libperl.so.5.8
#1 0x70555f04 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#2 0x704fde8c in Perl_call_sv () from /usr/lib/libperl.so.5.8
#3 0x704fdbe8 in Perl_call_sv () from /usr/lib/libperl.so.5.8
#4 0x706bd9c4 in EMBPERL2_ClearSymtab (r=0x7734a8,
sPackage=0x967178 "Embperl::__85", bDebug=524288) at eputil.c:1160
#5 0x706c70d0 in embperl_CleanupRequest (r=0x7734a8) at epinit.c:1669
#6 0x706ba774 in embperl_ExecuteRequest (my_perl=0x7734a8,
pApacheReqSV=0x7734a8, pPerlParam=0x0) at epmain.c:1403
#7 0x706afd2c in XS_Embperl__Req_ExecuteRequest (my_perl=0x1b5160,
cv=0x2b3314) at Embperl.xs:85
#8 0x7055dbe8 in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
#9 0x70555f04 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#10 0x704fde8c in Perl_call_sv () from /usr/lib/libperl.so.5.8
#11 0x704fdbe8 in Perl_call_sv () from /usr/lib/libperl.so.5.8
#12 0x7047e5e4 in perl_call_handler () from /usr/lib/apache/1.3/mod_perl.so
#13 0x7047d938 in perl_run_stacked_handlers ()
from /usr/lib/apache/1.3/mod_perl.so
#14 0x7047b458 in perl_handler () from /usr/lib/apache/1.3/mod_perl.so
#15 0x0001c128 in ap_invoke_handler ()
#16 0x0002e88c in ap_some_auth_required ()
---Type <return> to continue, or q <return> to quit---#17 0x0002e8e4 in
ap_process_request ()
#18 0x00026de0 in ap_child_terminate ()
#19 0x00026f94 in ap_child_terminate ()
#20 0x000270e0 in ap_child_terminate ()
#21 0x000276e8 in ap_child_terminate ()
#22 0x00027e70 in main ()
#23 0x701b0b98 in __libc_start_main () from /lib/libc.so.6
(gdb) Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Net/HTTP/Methods.pm line 425.
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Net/HTTP/Methods.pm line 426.
Use of uninitialized value in hex at /usr/share/perl5/Net/HTTP/Methods.pm line 427.
ok
#106 subtab.htm... ERR:Can't connect to localhost:8531 (connect: Connection
refused)
Input: test/html/subtab.htm
Output: test/tmp/out.htm
Log: test/tmp/test.log
Testparameter:
version = 2
ERRORS detected! NOT all test have been passed successfully
I don't pretend to understand the issues involved, but this seems to
fix it:
--- eputil.c.orig 2003-03-17 22:31:06.000000000 -0500
+++ eputil.c 2003-03-17 22:30:17.000000000 -0500
@@ -1155,8 +1155,10 @@
pCV = perl_get_cv (s, 0) ;
if (pCV)
{
+ dSP ;
if (bDebug)
lprintf (r -> pApp, "[%d]CUP: Call &%s::CLEANUP\n", r -> pThread -> nPid,
sPackage) ;
+ PUSHMARK(sp) ;
perl_call_sv ((SV *)pCV, G_EVAL | G_NOARGS | G_DISCARD) ;
pSVErr = ERRSV ;
if (SvTRUE (pSVErr))
(btw Gerald, Debian autobuilder logs are always available from
http://buildd.debian.org/build.php?pkg=libembperl-perl, if you want
some info/propoganda to say "Embperl works on xxx architecture".
Currently, they don't look so good, since /etc/protocols doesn't seem
to exist in the build chroots (I'll attempt to work around that))
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]