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

MacPorts noreply at macports.org
Tue Jan 14 19:04:29 PST 2014


#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 oclinux@…):

 Same problem here, gentoo prefix & bash --version
 GNU bash, version 4.2.39(1)-release (x86_64-apple-darwin13)

 I've found a workaround for my case, just run:


 {{{
 trap [a-z]

 }}}

 where [a-z] is any char. The segfault will stop after that command. This
 command just run trap and return a signal == 2, so its not a trap, just a
 call. After that call, my segfaults stops when calling a function/binary
 that doesnt exist.

 Hope that helps

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


More information about the macports-tickets mailing list