perl5.8.8 SEGfault and corrupt stack

Brian Dessent brian@dessent.net
Sun Jul 29 04:25:00 GMT 2007


Linda Walsh wrote:

>  > 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)

You're using an outdated version of gdb and you're seeing this phony
SIGSEGV because of it.  There is no actual segmentation fault here, it's
only an artifact of gdb.  You can "continue" past it, or better, use an
up-to-date version that doesn't suffer from this.  This has nothing
whatsoever to do with perl at all, you can trigger it with a hello-world
program too.

Brian

--
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/



More information about the Cygwin mailing list