Details
Description
I've attached an example project that crashes QBS.
Thread 22 Crashed:: QThread 0 ??? 0x0000504053c264a8 0 + 88237213377704 1 org.qt-project.QtScript 0x00000001182cbff4 0x118281000 + 307188 2 org.qt-project.QtScript 0x0000000118356c5e 0x118281000 + 875614 3 org.qt-project.QtScript 0x00000001183e28a1 QScriptValue::call(QScriptValue const&, QList<QScriptValue> const&) + 865 4 libqbscore.1.5.2.dylib 0x0000000118048f44 qbs::Internal::Transformer::createCommands(QSharedPointer<qbs::Internal::ScriptFunction const> const&, QSharedPointer<qbs::Internal::RulesEvaluationContext> const&, QList<QScriptValue> const&) + 260 5 libqbscore.1.5.2.dylib 0x000000011803c8cb qbs::Internal::RulesApplicator::doApply(qbs::Internal::ArtifactSet const&, QScriptValue&) + 7243 6 libqbscore.1.5.2.dylib 0x000000011803a900 qbs::Internal::RulesApplicator::applyRule(QSharedPointer<qbs::Internal::Rule const> const&, qbs::Internal::ArtifactSet const&) + 816 7 libqbscore.1.5.2.dylib 0x0000000118038b80 qbs::Internal::RuleNode::apply(qbs::Internal::Logger const&, qbs::Internal::ArtifactSet const&, qbs::Internal::RuleNode::ApplicationResult*) + 3136 8 libqbscore.1.5.2.dylib 0x000000011800b41e qbs::Internal::Executor::executeRuleNode(qbs::Internal::RuleNode*) + 846 9 libqbscore.1.5.2.dylib 0x0000000118010ef3 non-virtual thunk to qbs::Internal::Executor::visit(qbs::Internal::RuleNode*) + 19 10 libqbscore.1.5.2.dylib 0x0000000118037aa9 qbs::Internal::RuleNode::accept(qbs::Internal::BuildGraphVisitor*) + 25 11 libqbscore.1.5.2.dylib 0x000000011800889e qbs::Internal::Executor::scheduleJobs() + 478 12 libqbscore.1.5.2.dylib 0x0000000118006d89 qbs::Internal::Executor::doBuild() + 1369 13 libqbscore.1.5.2.dylib 0x00000001180067ef qbs::Internal::Executor::build() + 15 14 org.qt-project.QtCore 0x000000010e24c923 QMetaObject::activate(QObject*, int, int, void**) + 883 15 org.qt-project.QtCore 0x000000010e05fb20 0x10e036000 + 170784 16 libsystem_c.dylib 0x00007fff8af46772 _pthread_start + 327 17 libsystem_c.dylib 0x00007fff8af331a1 thread_start + 13
Attachments
For Gerrit Dashboard: QBS-1009 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
169252,3 | Do not allow "static" JS extension classes to be instantiated | 1.6 | qbs/qbs | Status: MERGED | +2 | 0 |