On 12/1/19 10:20 AM, George R Goffe via Bug reports for the GNU Bourne
Again SHell wrote:
> Hi,
> 
> This is really strange. I just did a buld of bash-5.0 from ftp.gnu.org. build 
> went well... but make install coredumped in mkdir. mkdir is in my 
> bashrc...This is not a new change to the bash rc file. 
> 
> 
> mkdir ()
> { 
> dirs="$@";
> for dir in $dirs;
> do
> /bin/mkdir -p "$dir";
> done
> }
> 
> 
> 
> make[1]: Leaving directory '/export/home/tools/bash/bash-5.0/po'
> ( cd /tools/bash/bash-5.0/examples/loadables && make  DESTDIR= install )
> make[1]: Entering directory 
> '/export/home/tools/bash/bash-5.0/examples/loadables'
> ../../support/mkinstalldirs: line 53: 1822305 Segmentation fault      (core 
> dumped) mkdir -p -- . 2> /dev/null

You're dumping core in a shell script, so unless your mkdir function is
exported, or if you've arranged for non-interactive shells to read your
startup files, it's uklikely that your function has anything to do with it.

I'd check your $PATH: if `.' is in your path before /bin and /usr/bin,
which is a terrible idea for all sets of reasons, you could be resolving
`mkdir' to `./mkdir' and attempting to execute a loadable shared object.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to