sigprogramming / tyouseisientool

174 stars 6 forks source link

[bug]ノートを削除するとクラッシュする #13

Closed souma987 closed 1 year ago

souma987 commented 1 year ago

下のスクリーンショットで、「ろ」のノートを消すと毎回ソフトがクラッシュします。

image

エラーメッセージ

image

ログ

2023-02-21 00:27:32.410 ThreadID:1 INFO Render, ヘッドホン (Realtek(R) Audio), Realtek(R) Audio, Active
2023-02-21 00:27:32.416 ThreadID:1 INFO MixFormat: 32 bit PCM: 48kHz 2 channels wBitsPerSample:32 dwChannelMask:3 subFormat:00000003-0000-0010-8000-00aa00389b71 extraSize:22
2023-02-21 00:27:32.441 ThreadID:1 INFO Initialized audio device.
2023-02-21 00:27:33.170 ThreadID:1 INFO Render, スピーカー (Realtek(R) Audio), Realtek(R) Audio, Active
2023-02-21 00:27:33.171 ThreadID:1 INFO MixFormat: 32 bit PCM: 48kHz 2 channels wBitsPerSample:32 dwChannelMask:3 subFormat:00000003-0000-0010-8000-00aa00389b71 extraSize:22
2023-02-21 00:27:33.205 ThreadID:1 INFO Initialized audio device.
2023-02-21 00:27:33.331 ThreadID:1 INFO NEUTRINOTyouseiSienTool Version: 1.7.9.4
2023-02-21 00:27:42.987 ThreadID:5 INFO Loading cache of timing prediction.
2023-02-21 00:27:43.135 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 1
2023-02-21 00:27:43.364 ThreadID:5 INFO Loading cache of audio generation. phrase: 1
2023-02-21 00:27:43.364 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 3
2023-02-21 00:27:43.584 ThreadID:5 INFO Loading cache of audio generation. phrase: 3
2023-02-21 00:27:43.584 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 5
2023-02-21 00:27:43.816 ThreadID:5 INFO Loading cache of audio generation. phrase: 5
2023-02-21 00:27:43.819 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 7
2023-02-21 00:27:44.082 ThreadID:5 INFO Loading cache of audio generation. phrase: 7
2023-02-21 00:27:44.082 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 9
2023-02-21 00:27:44.373 ThreadID:5 INFO Loading cache of audio generation. phrase: 9
2023-02-21 00:27:44.377 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 11
2023-02-21 00:27:44.633 ThreadID:5 INFO Loading cache of audio generation. phrase: 11
2023-02-21 00:27:44.633 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 13
2023-02-21 00:27:44.871 ThreadID:5 INFO Loading cache of audio generation. phrase: 13
2023-02-21 00:27:44.871 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 15
2023-02-21 00:27:45.147 ThreadID:5 INFO Loading cache of audio generation. phrase: 15
2023-02-21 00:27:45.147 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 17
2023-02-21 00:27:45.418 ThreadID:5 INFO Loading cache of audio generation. phrase: 17
2023-02-21 00:27:45.418 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 19
2023-02-21 00:27:45.699 ThreadID:5 INFO Loading cache of audio generation. phrase: 19
2023-02-21 00:27:45.699 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 21
2023-02-21 00:27:45.960 ThreadID:5 INFO Loading cache of audio generation. phrase: 21
2023-02-21 00:27:45.960 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 23
2023-02-21 00:27:46.216 ThreadID:5 INFO Loading cache of audio generation. phrase: 23
2023-02-21 00:27:46.216 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 25
2023-02-21 00:27:46.462 ThreadID:5 INFO Loading cache of audio generation. phrase: 25
2023-02-21 00:27:46.463 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 27
2023-02-21 00:27:46.716 ThreadID:5 INFO Loading cache of audio generation. phrase: 27
2023-02-21 00:27:46.716 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 28
2023-02-21 00:27:46.969 ThreadID:5 INFO Loading cache of audio generation. phrase: 28
2023-02-21 00:27:46.969 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 30
2023-02-21 00:27:47.217 ThreadID:5 INFO Loading cache of audio generation. phrase: 30
2023-02-21 00:27:47.218 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 32
2023-02-21 00:27:47.483 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 34
2023-02-21 00:27:47.726 ThreadID:5 INFO Loading cache of audio generation. phrase: 34
2023-02-21 00:27:47.727 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 36
2023-02-21 00:27:47.973 ThreadID:5 INFO Loading cache of audio generation. phrase: 36
2023-02-21 00:27:47.973 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 38
2023-02-21 00:27:48.218 ThreadID:5 INFO Loading cache of audio generation. phrase: 38
2023-02-21 00:27:48.218 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 40
2023-02-21 00:27:48.476 ThreadID:5 INFO Loading cache of audio generation. phrase: 40
2023-02-21 00:27:48.476 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 42
2023-02-21 00:27:48.709 ThreadID:5 INFO Loading cache of audio generation. phrase: 42
2023-02-21 00:27:48.710 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 44
2023-02-21 00:27:48.988 ThreadID:5 INFO Loading cache of audio generation. phrase: 44
2023-02-21 00:27:48.988 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 46
2023-02-21 00:27:49.222 ThreadID:5 INFO Loading cache of audio generation. phrase: 46
2023-02-21 00:27:49.222 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 48
2023-02-21 00:27:49.516 ThreadID:5 INFO Loading cache of audio generation. phrase: 48
2023-02-21 00:27:49.517 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 50
2023-02-21 00:27:49.793 ThreadID:5 INFO Loading cache of audio generation. phrase: 50
2023-02-21 00:27:49.793 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 52
2023-02-21 00:27:50.026 ThreadID:5 INFO Loading cache of audio generation. phrase: 52
2023-02-21 00:27:50.027 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 54
2023-02-21 00:27:50.258 ThreadID:5 INFO Loading cache of audio generation. phrase: 54
2023-02-21 00:27:50.258 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 56
2023-02-21 00:27:50.505 ThreadID:5 INFO Loading cache of audio generation. phrase: 56
2023-02-21 00:27:50.505 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 58
2023-02-21 00:27:50.734 ThreadID:5 INFO Loading cache of audio generation. phrase: 58
2023-02-21 00:27:50.734 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 60
2023-02-21 00:27:50.969 ThreadID:5 INFO Loading cache of audio generation. phrase: 60
2023-02-21 00:27:50.970 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 62
2023-02-21 00:27:51.232 ThreadID:5 INFO Loading cache of audio generation. phrase: 62
2023-02-21 00:27:51.233 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 64
2023-02-21 00:27:51.464 ThreadID:5 INFO Loading cache of audio generation. phrase: 64
2023-02-21 00:27:51.464 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 66
2023-02-21 00:27:51.768 ThreadID:5 INFO Loading cache of audio generation. phrase: 66
2023-02-21 00:27:51.769 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 68
2023-02-21 00:27:52.053 ThreadID:5 INFO Loading cache of audio generation. phrase: 68
2023-02-21 00:27:52.053 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 70
2023-02-21 00:27:52.365 ThreadID:5 INFO Loading cache of audio generation. phrase: 70
2023-02-21 00:27:52.365 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 72
2023-02-21 00:27:52.626 ThreadID:5 INFO Loading cache of audio generation. phrase: 72
2023-02-21 00:27:52.627 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 74
2023-02-21 00:27:52.840 ThreadID:5 INFO Loading cache of audio generation. phrase: 74
2023-02-21 00:27:52.840 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 76
2023-02-21 00:27:53.059 ThreadID:5 INFO Loading cache of audio generation. phrase: 76
2023-02-21 00:27:53.059 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 78
2023-02-21 00:27:53.281 ThreadID:5 INFO Loading cache of audio generation. phrase: 78
2023-02-21 00:27:53.295 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 80
2023-02-21 00:27:53.527 ThreadID:5 INFO Loading cache of audio generation. phrase: 80
2023-02-21 00:27:53.527 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 82
2023-02-21 00:27:53.741 ThreadID:5 INFO Loading cache of audio generation. phrase: 82
2023-02-21 00:27:53.741 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 84
2023-02-21 00:27:53.993 ThreadID:5 INFO Loading cache of audio generation. phrase: 84
2023-02-21 00:27:53.994 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 86
2023-02-21 00:27:54.219 ThreadID:5 INFO Loading cache of audio generation. phrase: 86
2023-02-21 00:27:54.220 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 88
2023-02-21 00:27:54.442 ThreadID:5 INFO Loading cache of audio generation. phrase: 88
2023-02-21 00:27:54.443 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 90
2023-02-21 00:27:54.637 ThreadID:5 INFO Loading cache of audio generation. phrase: 90
2023-02-21 00:27:54.637 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 92
2023-02-21 00:27:54.848 ThreadID:5 INFO Loading cache of audio generation. phrase: 92
2023-02-21 00:27:54.850 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 94
2023-02-21 00:27:55.065 ThreadID:5 INFO Loading cache of audio generation. phrase: 94
2023-02-21 00:27:55.065 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 96
2023-02-21 00:27:55.278 ThreadID:5 INFO Loading cache of audio generation. phrase: 96
2023-02-21 00:27:55.278 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 98
2023-02-21 00:27:55.495 ThreadID:5 INFO Loading cache of audio generation. phrase: 98
2023-02-21 00:27:55.495 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 100
2023-02-21 00:27:55.707 ThreadID:5 INFO Loading cache of audio generation. phrase: 100
2023-02-21 00:27:55.708 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 102
2023-02-21 00:27:55.910 ThreadID:5 INFO Loading cache of audio generation. phrase: 102
2023-02-21 00:27:55.910 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 104
2023-02-21 00:27:56.096 ThreadID:5 INFO Loading cache of audio generation. phrase: 104
2023-02-21 00:27:56.111 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 106
2023-02-21 00:27:56.313 ThreadID:5 INFO Loading cache of audio generation. phrase: 106
2023-02-21 00:27:56.314 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 108
2023-02-21 00:27:56.521 ThreadID:5 INFO Loading cache of audio generation. phrase: 108
2023-02-21 00:27:56.522 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 110
2023-02-21 00:27:56.726 ThreadID:5 INFO Loading cache of audio generation. phrase: 110
2023-02-21 00:27:56.726 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 112
2023-02-21 00:27:56.921 ThreadID:5 INFO Loading cache of audio generation. phrase: 112
2023-02-21 00:27:56.921 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 114
2023-02-21 00:27:57.125 ThreadID:5 INFO Loading cache of audio generation. phrase: 114
2023-02-21 00:27:57.125 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 116
2023-02-21 00:27:57.316 ThreadID:5 INFO Loading cache of audio generation. phrase: 116
2023-02-21 00:27:57.317 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 118
2023-02-21 00:27:57.534 ThreadID:5 INFO Loading cache of audio generation. phrase: 118
2023-02-21 00:27:57.534 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 120
2023-02-21 00:27:57.720 ThreadID:5 INFO Loading cache of audio generation. phrase: 120
2023-02-21 00:27:57.720 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 122
2023-02-21 00:27:57.916 ThreadID:5 INFO Loading cache of audio generation. phrase: 122
2023-02-21 00:27:57.916 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 124
2023-02-21 00:27:58.118 ThreadID:5 INFO Loading cache of audio generation. phrase: 124
2023-02-21 00:27:58.122 ThreadID:5 INFO Loading cache of acoustic features prediction. phrase: 126
2023-02-21 00:27:58.399 ThreadID:5 INFO Loading cache of audio generation. phrase: 126
2023-02-21 00:27:58.486 ThreadID:1 INFO Audio generation is in progress. phrase: 32
2023-02-21 00:30:18.562 ThreadID:1 INFO Timing prediction is in progress.
2023-02-21 00:30:18.837 ThreadID:1 FATAL DispatcherUnhandledException
System.ArgumentOutOfRangeException: 'インデックスが範囲を超えています。負でない値で、コレクションのサイズよりも小さくなければなりません。
パラメーター名:index' at ThrowArgumentOutOfRangeException
System.Collections.ListDictionaryInternal
   場所 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   場所 NEUTRINOTyouseiSienTool.Entity.NeutrinoContent.<>c__DisplayClass80_0.<Phonemize>b__1(String line)
   場所 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   場所 System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   場所 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   場所 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   場所 NEUTRINOTyouseiSienTool.Infrastructure.TimingPredictionTask.<Process>d__3.MoveNext()
--- 直前に例外がスローされた場所からのスタック トレースの終わり ---
   場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   場所 NEUTRINOTyouseiSienTool.Infrastructure.BackgroundProcessRunner.<ProcessTasks>d__33.MoveNext()
--- 直前に例外がスローされた場所からのスタック トレースの終わり ---
   場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023-02-21 00:30:18.950 ThreadID:1 INFO Finalized application.

環境

sigprogramming commented 1 year ago

issueありがとうございます!不具合報告とても助かります! こちら、レンダリング不可能なノート(今回の場合だと「フレーズ先頭の長音」)を全てフィルターできていなかったのと、NEUTRINOの実行に失敗しないことを前提とした処理になっていたのが原因でクラッシュしていたので、 v1.8-beta5でそれらを修正しました。

souma987 commented 1 year ago

v1.8-beta5で確かに修正されていました。 ご対応ありがとうございます。