Compiling and testing Embperl 2.0b7 on Solaris 2.8, gcc 2.95.3, without
mod_perl or XML libs, produces segfault on "make test". The segfault can be
corrected, and the test script then runs perfectly, by commenting out line
596 of epmain.c :
lprintf (r -> pApp, "[%d]PERF: input = %s\n", r -> pThread -> nPid,
sInputfile) ;
In this line, the parameter 'sInputfile' is null, and causes a segfault as
follows:
#0 0xff1b3084 in strlen () from /usr/lib/libc.so.1
#1 0xff202c58 in _doprnt () from /usr/lib/libc.so.1
#2 0xff204b4c in vfprintf () from /usr/lib/libc.so.1
#3 0xff09e3a4 in EMBPERL2_lprintf (a=0x24e840, sFormat=0xffbef90c "") at
epio.c:1096
#4 0xff09b6f4 in ResetRequest (r=0x314040, sInputfile=0x0) at epmain.c:596
#5 0xff09cf80 in embperl_RunRequest (r=0x314040) at epmain.c:1330
#6 0xff09cff0 in embperl_ExecuteRequest (pApacheReqSV=0x0,
pPerlParam=0x206e30)
at epmain.c:1385
#7 0xff093a40 in XS_Embperl__Req_ExecuteRequest (cv=0x22cdd0) at
Embperl.xs:74
#8 0x76220 in Perl_pp_entersub ()
#9 0x6ec00 in Perl_runops_standard ()
#10 0x244b0 in S_run_body ()
#11 0x24100 in perl_run ()
#12 0x214d8 in main ()
==============================================================================
"WorldSecure Server <mlbaseball.com>" made the following
annotations on 04/30/02 16:48:15
------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] -- Virus Manager:
No Viruses were detected in this message.
==============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]