1.5.18: Bash 3.00.16(13) segfault when trying to cd.

Scott Perlman scotttocs@gmail.com
Sun Dec 25 21:06:00 GMT 2005

Fresh intsall of Cygwin onto a new Windows XP sp2 machine.  Machine
was installed in US/English, but has regional settings for Japanese

When I use 'set -P ; cd' or 'cd -P' I can reliably get bash to receive
a segmentation fault. If -P is NOT used, than I appear to have normal

This behaviour survived a complete removal of cygwin and re-install.

I have attached a session of bash inside GDB where I replicated this,
and got a backtrace. All I did post install was mount my root
directory, and then replicate.

Also attached cygcheck.out, which is output from 'cygcheck -s -v -r'

On a separate install, also 1.5.18, bash 3.00.16(11) I do NOT see this

I am not on the mailing list, so copies directly to this address
requesting more information are preferred. I am not in a position to
reinstall the Operating system on this machine, but I am willing to
assist in debugging this in almost any other way.

Thank you,

-------------- next part --------------
$ gdb  bash
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 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"...(no debugging symbols found)

(gdb) run
Starting program: /usr/bin/bash.exe

ttocs@Tango ~
$ set -P

ttocs@Tango ~
$ cd

Program received signal SIGSEGV, Segmentation fault.
0x610c5884 in strcpy () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x610c5884 in strcpy () from /usr/bin/cygwin1.dll
#1  0x6106093a in cygwin_split_path () from /usr/bin/cygwin1.dll
#2  0x610631b3 in cygwin_split_path () from /usr/bin/cygwin1.dll
#3  0x610844ff in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#4  0x0044b689 in ?? ()
#5  0x005245f8 in ?? ()
#6  0x0046a73c in ?? ()
#7  0x00000000 in ?? () from
(gdb) The program is running.  Exit anyway? (y or n) n
Not confirmed.
(gdb) cont

Program exited normally.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 31457 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051225/3d3671ed/attachment.obj>
-------------- next part --------------
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