delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/10/11:04:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Wolfgang Schnerring <wosc AT wosc DOT de>
Subject: WML (perl-based program) segfaults
Date: Tue, 10 Feb 2004 16:26:31 +0100
Lines: 49
Message-ID: <u4qtzklaw.fsf@nautis.wosc.de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: pd903de3a.dip.t-dialin.net
User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.1 (windows-nt)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019