[MacPorts] #41248: bash @4.2.45_2 - Segmentation Fault when executing undefined command

MacPorts noreply at macports.org
Wed Jul 6 06:36:22 PDT 2016


#41248: bash @4.2.45_2 - Segmentation Fault when executing undefined command
---------------------------+----------------------
  Reporter:  onitsuka42@…  |      Owner:  raimue@…
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  bash          |
---------------------------+----------------------

Comment (by jason-macports@…):

 Replying to [comment:19 jason-macports@…]:
 > I have this problem without `ssh`, using `bash @4.3.46_0` on 10.10.5
 (14F1808), when running in the terminal (both `Terminal` and `iTerm` v3).
 Explicitly setting `LANG` '''solves''' it for me:
 > {{{
 > $ export LANG=en_US.utf8
 > $ /opt/local/bin/bash
 > $ dummy
 > bash: dummmy: command not found
 > $ unset LANG
 > $ dummy
 > Segmentation fault: 11
 > }}}

 A friendlier setting that works the same ''and'' prevents tool complaints
 about fallback, e.g.,
 {{{
 $ perl -e ''
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
         LC_ALL = (unset),
         LANG = "en_US.utf8"
     are supported and installed on your system.
 perl: warning: Falling back to the standard locale ("C").
 $ _
 }}}
 is
 {{{
 $ export LC_ALL=C
 $ perl -e ''
 $ _
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41248#comment:20>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list