diff --git a/egs/aidatatang_200zh/ASR/prepare.sh b/egs/aidatatang_200zh/ASR/prepare.sh index 4749e1b7f..46ecd5769 100755 --- a/egs/aidatatang_200zh/ASR/prepare.sh +++ b/egs/aidatatang_200zh/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail stage=-1 diff --git a/egs/aishell/ASR/prepare.sh b/egs/aishell/ASR/prepare.sh index eaeecfc4a..5917668a1 100755 --- a/egs/aishell/ASR/prepare.sh +++ b/egs/aishell/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=15 diff --git a/egs/aishell2/ASR/prepare.sh b/egs/aishell2/ASR/prepare.sh index 06810bfdd..3e8e840ab 100755 --- a/egs/aishell2/ASR/prepare.sh +++ b/egs/aishell2/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=30 diff --git a/egs/aishell4/ASR/prepare.sh b/egs/aishell4/ASR/prepare.sh index c351e3964..cb2b73a3e 100755 --- a/egs/aishell4/ASR/prepare.sh +++ b/egs/aishell4/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail stage=-1 diff --git a/egs/alimeeting/ASR/prepare.sh b/egs/alimeeting/ASR/prepare.sh index 17224bb68..604cc92c6 100755 --- a/egs/alimeeting/ASR/prepare.sh +++ b/egs/alimeeting/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail stage=-1 diff --git a/egs/csj/ASR/prepare.sh b/egs/csj/ASR/prepare.sh index 052748ca6..c4ce91984 100755 --- a/egs/csj/ASR/prepare.sh +++ b/egs/csj/ASR/prepare.sh @@ -35,6 +35,9 @@ # can generate other transcript formats by supplying your own config files. A few examples of these # config files can be found in local/conf. +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=8 diff --git a/egs/gigaspeech/ASR/prepare.sh b/egs/gigaspeech/ASR/prepare.sh index fd2532741..bd255dc6a 100755 --- a/egs/gigaspeech/ASR/prepare.sh +++ b/egs/gigaspeech/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=15 diff --git a/egs/librispeech/ASR/prepare.sh b/egs/librispeech/ASR/prepare.sh index 94e003036..8668af0e4 100755 --- a/egs/librispeech/ASR/prepare.sh +++ b/egs/librispeech/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=15 diff --git a/egs/ptb/LM/prepare.sh b/egs/ptb/LM/prepare.sh index 70586785d..91c3c667a 100755 --- a/egs/ptb/LM/prepare.sh +++ b/egs/ptb/LM/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=15 diff --git a/egs/spgispeech/ASR/prepare.sh b/egs/spgispeech/ASR/prepare.sh index 231ebd742..4842f52d0 100755 --- a/egs/spgispeech/ASR/prepare.sh +++ b/egs/spgispeech/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=20 diff --git a/egs/tal_csasr/ASR/prepare.sh b/egs/tal_csasr/ASR/prepare.sh index 340521ad8..d9938fa63 100755 --- a/egs/tal_csasr/ASR/prepare.sh +++ b/egs/tal_csasr/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail stage=-1 diff --git a/egs/tedlium3/ASR/prepare.sh b/egs/tedlium3/ASR/prepare.sh index ccb307a52..272cf7aed 100755 --- a/egs/tedlium3/ASR/prepare.sh +++ b/egs/tedlium3/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=15 diff --git a/egs/timit/ASR/prepare.sh b/egs/timit/ASR/prepare.sh index d11cd3a05..148a9f51b 100644 --- a/egs/timit/ASR/prepare.sh +++ b/egs/timit/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail num_phones=39 diff --git a/egs/wenetspeech/ASR/prepare.sh b/egs/wenetspeech/ASR/prepare.sh index da7d7e061..50a00253d 100755 --- a/egs/wenetspeech/ASR/prepare.sh +++ b/egs/wenetspeech/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail nj=15 diff --git a/egs/yesno/ASR/prepare.sh b/egs/yesno/ASR/prepare.sh index 8fcee0290..d4ef8d601 100755 --- a/egs/yesno/ASR/prepare.sh +++ b/egs/yesno/ASR/prepare.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# fix segmentation fault reported in https://github.com/k2-fsa/icefall/issues/674 +export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python + set -eou pipefail stage=-1