Crash when function connectTies() is called

• Nov 17, 2017 - 09:21
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

File layout.cpp, line 1310:

for (int i = 0; i < 20 /tracks/; ++i) {

causes crash, if there are less than 20 tracks. Fix with

for (int i = 0; i < tracks; ++i) {

I think, some more of the actual crash reports are caused by this bug.


Comments

There is no such bug in the code, look at the link I provided, this is the current code, no "i < 20" in there, and 'git blame' shows it is that way since 2012

I can add slurs and ties in scores created from scratch, on scores and scores with parts, with less then 20 instruments, se we need a better set of steps to reproduce