Here's the info you asked for:

Gerald Richter wrote:
> 
> > I got embperl_19991229171455_tar from CVS but still have the
> > same problem. Make test also fails on lists.htm (see below).
> 
> Does the test also fail for 1.2.0?

Yes, same error.

$ make test
PERL_DL_NONLAZY=0 /projects/perl.dev/bin/perl -I./blib/arch -I./blib/lib -I/projects/
perl.dev/lib/alpha-dec_osf/5.00405 -I/projects/perl.dev/lib test.pl

loading...                    ok

Testing offline mode...

ascii...                      ok
pure.htm...                   ok
plain.htm...                  ok
plain.htm...                  ok
plain.htm...                  ok
plainblock.htm...             ok
plainblock.htm...             ok
error.htm...                  ok
error.htm...                  ok
error.htm...                  ok
unclosed.htm...               ok
notfound.htm...               ok
notallow.xhtm...              ok
noerr/noerrpage.htm...        ok
errdoc/errdoc.htm...          ok
rawinput/rawinput.htm...      ok
var.htm...                    ok
varerr.htm...                 ok
varerr.htm...                 ok
escape.htm...                 ok
spaces.htm...                 ok
tagscan.htm...                ok
tagscan.htm-d 1 ...           ok
if.htm...                     ok
ifperl.htm...                 ok
loop.htm...                   ok
loopperl.htm...               ok
table.htm...                  ok
table.htm-d 1 ...             ok
lists.htm...                  sh: 12891 Memory fault - core dumped
*** Exit 139

The stacktrace looks the same as my problem file, below:

Program received signal SIGSEGV, Segmentation fault.
0x3ff80108a70 in _OtsMove ()
(gdb) bt
#0  0x3ff80108a70 in _OtsMove ()
#1  0x120039678 in Perl_sv_setpvn ()
#2  0x12003d0b4 in Perl_newSVpv ()
#3  0x3ffbfff0710 in EMBPERL_ProcessCmd ()
#4  0x3ffbffeda78 in EMBPERL_SearchCmd ()
#5  0x3ffbffedbe0 in EMBPERL_ProcessCmd ()
#6  0x3ffbffe8234 in EMBPERL_ScanCmdEvalsInString ()
#7  0x3ffbffeb8c8 in EMBPERL_ProcessBlock ()
#8  0x3ffbfff5d00 in EMBPERL_EvalMain ()
#9  0x3ffbffeb3c0 in EMBPERL_FreeRequest ()
#10 0x3ffbffebf58 in EMBPERL_ExecuteReq ()
#11 0x3ffbffe1b8c in XS_HTML__Embperl__Req_ExecuteReq ()
#12 0x120047bd8 in Perl_pp_entersub ()
#13 0x1200a6500 in Perl_runops ()
#14 0x12002b5e8 in perl_run ()
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x12001ac14
(gdb)


> 
> > I'll try to run a stacktrace in gdb tomorrow.
> >
> 
> Great! I like to fix it before 1.2.1
> 

Here's a gdb stacktrace. I compiled embperl with -g (but
not the perl executable). I had to set heuristic-fence-post
to a large value and run the trace twice to get any meaningful
output. Let me know if this isn't enough. I can try to 
recompile perl with -g.

chablis:/projects/mdtech/cgi-bin/OLD> gdb /projects/perl.dev/bin/perl
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alphaev5-dec-osf4.0d"...
(no debugging symbols found)...
(gdb) set heuristic-fence-post 1000000000000000000
(gdb) run t1 < /dev/null
Starting program: /projects/perl.dev/bin/perl t1 < /dev/null
(no debugging symbols found)...(no debugging symbols found)...(offline mode: ent
er name=value pairs on standard input)
Content-Type: text/html


Program received signal SIGSEGV, Segmentation fault.
0x3ff80108a70 in _OtsMove ()
(gdb) bt
#0  0x3ff80108a70 in _OtsMove ()
#1  0x120039678 in Perl_sv_setpvn ()
#2  0x12003d0b4 in Perl_newSVpv ()
#3  0x3ffbfff0710 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#4  0x3ffbffeda78 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#5  0x3ffbffedbe0 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#6  0x3ffbffe8234 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#7  0x3ffbffeb8c8 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#8  0x3ffbfff5d00 in ?? ()
#8  0x3ffbfff5d00 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#9  0x3ffbffeb3c0 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
---Type <return> to continue, or q <return> to quit---
#10 0x3ffbffebf58 in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#11 0x3ffbffe1b8c in ?? ()
   from /projects/perl.dev/lib/site_perl/alpha-dec_osf/auto/HTML/Embperl/Embperl
.so
#12 0x120047bd8 in Perl_pp_entersub ()
#13 0x1200a6500 in Perl_runops ()
#14 0x12002b628 in perl_run ()
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x12001ac14
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
(gdb) run t1 < /dev/null
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /projects/perl.dev/bin/perl t1 < /dev/null
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(offline mode: enter name=value pairs on standard
 input)
Content-Type: text/html
Program received signal SIGSEGV, Segmentation fault.
0x3ff80108a70 in _OtsMove ()
(gdb) bt
#0  0x3ff80108a70 in _OtsMove ()
#1  0x120039678 in Perl_sv_setpvn ()
#2  0x12003d0b4 in Perl_newSVpv ()
#3  0x3ffbfff0710 in EMBPERL_ProcessCmd ()
#4  0x3ffbffeda78 in EMBPERL_SearchCmd ()
#5  0x3ffbffedbe0 in EMBPERL_ProcessCmd ()
#6  0x3ffbffe8234 in EMBPERL_ScanCmdEvalsInString ()
#7  0x3ffbffeb8c8 in EMBPERL_ProcessBlock ()
#8  0x3ffbfff5d00 in EMBPERL_EvalMain ()
#9  0x3ffbffeb3c0 in EMBPERL_FreeRequest ()
#10 0x3ffbffebf58 in EMBPERL_ExecuteReq ()
#11 0x3ffbffe1b8c in XS_HTML__Embperl__Req_ExecuteReq ()
#12 0x120047bd8 in Perl_pp_entersub ()
#13 0x1200a6500 in Perl_runops ()
#14 0x12002b628 in perl_run ()
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x12001ac14
(gdb)

Reply via email to