#25693: bash-4.1.7, login shell crash, EXC_BAD_INSTRUCTION ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: bash ------------------------------------+--------------------------------------- Comment(by raimue@…): I am unable to reproduce this issue as described above. But I was able to reproduce when bash is being used as a login shell `/opt/local/bin/bash -l` in iTerm (while it does work fine in Terminal.app). Apparently this has something to do with closing file descriptors. From reading the source, bash attempts to close fds 3 to 20 if started as a login shell (why?). So I can only guess that this has something to do with the forking process leaving fds open in this range. -- Ticket URL: <http://trac.macports.org/ticket/25693#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS