Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.4, 5.15.5, 6.2
-
-
d36b480a956e2437888925aa8a1f5e3cb6c06ebd (qt/qtdeclarative/dev) d082d8ff76080c8e5aa74414c253014bcf7e79c9 (qt/qtdeclarative/6.1) 30f504232502c15e3d3536945ed5d9bd5a8f6dd3 (qt/qtdeclarative/6.2) cf48a9ef97 (qt/tqtc-qtdeclarative/5.15-opensource)
Description
This test is a small reproducer of a crash we had in production after bumping to the latest Qt version, it passes without issue in 5.15.3, but starting with 5.15.4 it always crashes:
function test_generator_gc() { ((function*() { gc() })()).next(); ((function*() { gc() })()).next(); ((function*() { gc() })()).next(); ((function*() { gc() })()).next(); ((function*() { gc() })()).next(); }
I think the regression was introduced by QTBUG-91491: qv4generatorobject: Fix crash when creating new properties (but I haven't tested).