2
2

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.

スタックオーバーフロー

2
Posted at

謎なスタックオーバーフローに遭遇したので共有

as3
(function (): void {
	var a: *, b: *, c: *, d: *;
	d == d;
})();

※実際は間に色んな処理があったが、最小で再現するところまで小さくした結果です。

条件

  • リリースビルドで再現。
  • ちなみにデバッグビルドでは再現しない。
  • リリースビルドでも Verbose Stack Traces が True の時は再現しない。
  • a, b, c, d は何の型でもよい。
  • 必ず一つはローカル変数を宣言する。
  • 引数を含め4つ以上宣言する。
  • 引数から順に数え始めて、最後のローカル変数を == や !=, > などで比較する。

もしかしたら FlexSDK のみかも、試してないからわかんない

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?