This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

WML (perl-based program) segfaults


Hello!

I had used WML (offline HTML generator, Perl-based, version 2.0.9,
<http://thewml.org>) happily under Cygwin with no problems whatsoever.
Then along came some system-upgrade[1], and boom, eperl (a
subcomponent of WML) just dies when trying to open a file. (That
means, e.g. "eperl --help" 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 this kind of things, but I ./configure'd
WML 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, as I *did* 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 what I
could do about it?

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"... :-(
Current Versions are cygwin-1.5.7-1 and perl-5.8.2-1.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]