p3_eperl segfaults on cygwin

Wolfgang Schnerring <[email protected]> Fri, 12 Dec 2003 18:45:56 +0100
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
Hello!

I had used WML (2.0.9) happily under Cygwin with no problems
whatsoever. Then along came some system-upgrade[1], and boom, eperl
just dies when trying to open a file. (That means, "eperl -h" produces
some output, so the program doesn't *completely* just die) The other
WML-components still work just fine.

I'm no expert on debugging, but I ./configur'ed eperl with --enable-debug
and was able to get this from gdb:

###
$ gdb eperl
This GDB was configured as "i686-pc-cygwin"...
Minimal symbols from eperl.exe...(no debugging symbols found)...
[I think that's strange, didn't I say --enable-debug?]

(gdb) run README
[this just proves the point that the actual file doesn't matter]

Starting program: /cygdrive/d/wosc/install/Cygwin/wml-2.0.9/wml_backend/p3_eperl/eperl.exe README

Program received signal SIGSEGV, Segmentation fault.
0x1000ad60 in cygperl5_8_2!Perl_malloc () from /usr/bin/cygperl5_8_2.dll

(gdb) bt
#0  0x1000ad60 in cygperl5_8_2!Perl_malloc () from /usr/bin/cygperl5_8_2.dll
#1  0x1007254c in cygperl5_8_2!Perl_sv_add_arena () from /usr/bin/cygperl5_8_2.dll
#2  0x1007dc8b in cygperl5_8_2!Perl_newSVpvn () from /usr/bin/cygperl5_8_2.dll
#3  0x10058488 in cygperl5_8_2!Perl_savesharedpv () from /usr/bin/cygperl5_8_2.dll
#4  0x100586b7 in cygperl5_8_2!Perl_vmess () from /usr/bin/cygperl5_8_2.dll
#5  0x10059171 in cygperl5_8_2!Perl_vcroak () from /usr/bin/cygperl5_8_2.dll
#6  0x1005963f in cygperl5_8_2!Perl_croak_nocontext () from /usr/bin/cygperl5_8_2.dll
[this sequence keeps repeating over and over]
###

Does anybody have an idea what I might be looking at here, and, how
the problem might be solved?

Thanks for your help,
Wolfgang


[1] from what I know, it might have been core cygwin.dll 1.5-3 to -4
or perl-5.8.0 to -5.8.2, but that's just me guessing, because
reverting to the old versions doesn't solve the problem.
This just proves the saying "Never touch a running system"... :-(

_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]