1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Cygwin】BashのTabキー補完の際に発生するセグフォエラー解消方法

Last updated at Posted at 2015-11-27

【Cygwin】BashのTabキー補完の際に発生するセグフォエラー解消方法

cygwinのbashの使用中に「fhandler_disk_file::fixup_mmap_after_fork」のようなセグフォエラーが発生した際、通例では/bin/rebaseallで解消するが、そうならないことがあるのでより根本的と思われる方法で対処。

コマンド

# ash.exeをエクスプローラから起動してbash.exeのヒープサイズ上限を引き上げ。
/usr/bin/peflags --cygwin-heap=2048 /bin/bash.exe

参考

Cygwin User's Guide - Chapter 2. Setting Up Cygwin - Changing Cygwin's Maximum Memory

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?