Ticket #35787

Specで「スタック領域が不足しています」という例外エラー

Open Date: 2015-11-26 21:51 Last Update: 2015-11-27 22:48

Reporter:
Owner:
Type:
Status:
Closed
Component:
Priority:
6
Severity:
8
Resolution:
Accepted
File:
None

Details

再現条件

tool/Spec/SpecRunner.htmlを、IE 11 (Win 7 HP)で実行したとき、「スタック領域が不足しています」という例外が投げられる

終了条件

原因が判明し、かつ、エラー処理を済ませたとき

Ticket History (2/2 Histories)

2015-11-26 21:51 Updated by: dhrname
  • New Ticket "Specで「スタック領域が不足しています」という例外エラー" created
2015-11-27 22:48 Updated by: dhrname
  • Resolution Update from None to Accepted
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2015-11-27 22:48
Comment

原因は、listenerメソッド実行のときに、addLineメソッドを使って自分自身である$frameオブジェクトを入れていたため、setFrameメソッドで実行すると再帰的に実行されたこと。 よって、setFrameメソッドで、自分自身のオブジェクトがタイムラインに入っているときは、処理しないように変更した。

以下のコミットで修正。終了条件を満たしたので、完了

https://osdn.jp/projects/sie/scm/git/sie/commits/f4105241b469578e813d9b7ede7775580dab16d7

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login