X-Spam-Check-By: sourceware.org Message-ID: <46AC0728.5000009@tlinx.org> Date: Sat, 28 Jul 2007 20:19:04 -0700 From: Linda Walsh User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Reini Urban Subject: Re: perl5.8.8 SEGfault and corrupt stack References: <46AA5F93 DOT 4060404 AT tlinx DOT org> <46AB1AFF DOT 40304 AT x-ray DOT at> In-Reply-To: <46AB1AFF.40304@x-ray.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reini, Reini Urban wrote: > Linda Walsh schrieb: >> I'm having problems with perl5.8.8. I tried running it under gdb, but >> it won't load: >> > gdb perl.exe >> GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) >> (gdb) run >> Starting program: /usr/bin/perl.exe >> Program received signal SIGSEGV, Segmentation fault. >> 0x610b48b6 in pthread_key_create () from /usr/bin/cygwin1.dll > > Cannot reproduce. Is this a fresh re-install without site_perl or with > your broken setup as stated in perl5-porters? --- My "broken setup" was caused by trying to upgrade to 5.8.8 from 5.8.7. I ran into incompatibilities and decided to re-install & update the modules from scratch. I 1st removed "site_perl" then installed 5.8.8. I then used the CPAN to upgrade itself then the new "update" command to bring my module list back to current. After some manual installs to get around cygwin-specific ".dll" replacement issues, I'm only left with "Image::Magick" that won't update. Fails with many errors, starting with bad compiler options. Calling my "setup" broken after I detailed on p5p steps to fix it seems unnecessarily confrontational, but this is the cygwin list....1/2 :-) You wrote: > $ gdb perl.exe > (gdb) run -e'print 1' > GNU gdb 6.5.50.20060706-cvs (cygwin-special) > This GDB was configured as "i686-pc-cygwin"...Minimal symbols from perl.exe... > (no debugging symbols found) > Starting program: /usr/bin/perl.exe -e'print 1' > Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll > Loaded symbols for /bin/cygwin1.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll > Loaded symbols for /bin/cygperl5_8.dll > Loaded symbols for /bin/cygcrypt-0.dll ---- At least I know what it is "supposed" to look like. What I see instead is: > gdb perl GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) This GDB was configured as "i686-pc-cygwin"...Minimal symbols from perl.exe... (no debugging symbols found) (gdb) run -e'print 1' Starting program: /usr/bin/perl.exe -e'print 1' Program received signal SIGSEGV, Segmentation fault. 0x610b48b6 in pthread_key_create () from /usr/bin/cygwin1.dll (gdb) >> I also tried profiling a perl file: >> law/perl> perl -d:DProf show.pl -s >> 8 [main] perl 3192 _cygtls::handle_exceptions: Error while >> dumping state (probably corrupted stack) >> Segmentation fault (core dumped) --- As you noted in your next note, this 2nd problem seems(?) to be duplicable outside of cygwin. >> >> Any ideas on causes...fixes?... > > I would try a rebaseall --- Good suggestion. Hadn't thought of that. Unfortunately rebaseall fails as well: > rebaseall ReBaseImage (/usr/bin/cygiconv-2.dll) failed with last error = 6 Any other ideas? I tried checking the rebaseall & rebase manpages, but couldn't find anything referencing "error = 6" (no manpages for either). When does rebase/rebaseall fail with an error=6? Thanks, Linda -- 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/