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]

Re: perl5.8.8 SEGfault and corrupt stack

Reini Urban schrieb:
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) g
Undefined command: "g".  Try "help".
(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?

Since this is now a confirmed bug for 5.8.8 I'll prepare an update soon. When the fix is available.

$ gdb perl.exe
GNU gdb (cygwin-special)
Copyright (C) 2006 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 "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'
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
Program exited normally.

I also tried profiling a perl file:

law/perl> perl -d:DProf -s
8 [main] perl 3192 _cygtls::handle_exceptions: Error while dumping state (
probably corrupted stack)
Segmentation fault (core dumped)

Any ideas on causes...fixes?...

I would try a rebaseall

cygcheck output attached -- could NOT include it -- Tbird kept crashing.
(1st try composed message, copied in text, tried to address, and I'd
typed "c" and it autocompleted cygwin... first of 3 dropdown items.
That hung...full cpu usage. (lost email)
(2nd try, recomposed email, *saved*, then tried to address it: another hang.
(3rd try, put in to addr 1st!...then tried to paste text into window..3rd hang
(4th try, try to "re-edit" the saved message -- that hangs (I can display it in
my Drafts folder), soooooo....
5th try: just put in body and attach cygcheck_output.txt as an attachment.
...(hopefully this works)
Reini Urban

Unsubscribe info:
Problem reports:

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