Jojo-Schmitz / MuseScore

MuseScore is a open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
http://musescore.org
Other
42 stars 7 forks source link

add 2 bars and 4 bars repeat #438

Open zorba77 opened 7 months ago

zorba77 commented 7 months ago

An useful function of MS 4 is the add 2 bars and 4 bars repeat image

Is it possible to port to MS 3.7? It's very useful especially for percussions parts

Jojo-Schmitz commented 7 months ago

It'd be nice indeed, but is way too deep entagngled in other Mu4 code changes to be easy enough for me to extract and backport. But I'd welcome anyone to give it a try...

Jojo-Schmitz commented 4 months ago

See #519

skirby14 commented 6 days ago

Hi! Was just wondering how likely it is to be able to get this working? I think it would be an amazing feature, one of the very few things that tempts me about MS4.

(I have a vague memory of this working at some point, but I may be getting confused with another version of MuseScore...)

zorba77 commented 6 days ago

I downloaded the artifact but I can't find the 2 or 4 measure repeat, so I cannot help you

Jojo-Schmitz commented 6 days ago

It was working in some pre-4.0 development version, but broke before 4.0 gut released and got fixed again some time later My attempt to backport it to MU3 so far got stuck

skirby14 commented 6 days ago

Thanks for confirming - if it does get successfully backported at some stage that'd make me very happy!

zorba77 commented 5 days ago

This is an important feature, especially for percussion parts, usually with a lot of repeats. Is it too hard to fix and insert in 3.x? I can help, but only with testing and bug hunting.

Jojo-Schmitz commented 5 days ago

Not sure where and why I got stuck, well possible it was due to summer vacation ;-) At least I did have 2 unpushed commits in my local repository. Pushed those and rebased now.

zorba77 commented 5 days ago

Not sure where and why I got stuck, well possible it was due to summer vacation ;-) At least I did have 2 unpushed commits in my local repository. Pushed those and rebased now.

something went wrong, artifatcs were not generated

Jojo-Schmitz commented 5 days ago

I know...

zorba77 commented 5 days ago

On Linux it crashes with this output:

`/lib/x86_64-linux-gnu/libjack.so.0 /lib/x86_64-linux-gnu/libnss3.so QObject::connect: No such signal Ms::MuseScoreApplication::messageReceived(QString&) QObject::connect: (receiver name: 'MuseScore')

: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth" QQmlExpression: Expression file:///home/ab/Documenti/MuseScore3/Plugin/msc-score-duration-1.2.1/Score Duration.qml:46:22 depends on non-NOTIFYable properties: Score Duration_QMLTYPE_173::curScore file:///home/ab/Documenti/MuseScore3/Plugin/msc-score-duration-1.2.1/Score Duration.qml:47: TypeError: Cannot read property 'duration' of null SoundFont(/home/ab/Documenti/MuseScore3/Estensioni/MUSFE/1.2.0/soundfonts/MuseScore_General_HQ.sf3) Sample(Piano MF B1(L)) start(0) startloop(328404) endloop(478112) end(478118) smaller than SoundFont 2.04 spec chapter 7.10 recommendation SoundFont(/home/ab/Documenti/MuseScore3/Estensioni/MUSFE/1.2.0/soundfonts/MuseScore_General_HQ.sf3) Sample(Piano MF B1(R)) start(0) startloop(328404) endloop(478112) end(478118) smaller than SoundFont 2.04 spec chapter 7.10 recommendation /tmp/.mount_MuseSctnr4fO/AppRun: riga 26: 476934 Errore di segmentazione (core dump creato) "${APPDIR}/bin/mscore-portable-dev" "$@" `
Jojo-Schmitz commented 5 days ago

That doesn't help much, unfortunately. I'd need to know where it causes the segmentation violation, a stack trace. The stuff above is basically just noise (and partly due to a plugin of your's)

But there are now artifacts for testing...

skirby14 commented 5 days ago

But there are now artifacts for testing...

Tested on windows - the two and four bars repeats all work correctly, as does the measure grouping!

A few issues with the styles:

Thanks for your efforts!

skirby14 commented 5 days ago

Also - on 1 line percussion staves, the symbols and numbers are too low: image image image

Jojo-Schmitz commented 5 days ago
  • In the style window, the settings for Bar, Barlines, Notes and Measure Repeats have been shuffled around: Bar shows Measure Repeats, Barlines shows Bar, Notes shows Barlines and Measure Repeats shows Notes

No idea how that happened, but probably I did manually edit editstyle.ui. Fixed now.

  • The settings for 'Show "1" on 1-measure repeats" and "Show extenders on 4-measure repeats" don't seem to do anything

Need to look into this, but the former seems to work for me and I have no idea what the latter is supposed to do (need to check and compare with Mu4) Edit: in Mu4 it looks like this: image Edit 2: Ah, I see, I had commented that code out with a Todo comment, because Mu3 doesn't (yet?) have a mmRestHBarThickness style setting. Fixed now too!

  • There isn't a text style setting for measure repeat numbers (should there be?)

There isn't in Mu4, so there won't in Mu3.

Also - on 1 line percussion staves, the symbols and numbers are too low:

OK, another issue to look into, most probably needs backporting #19356 (which I had on my ToDo list already)

zorba77 commented 5 days ago

this is the output of a debug build in gdb:

`Temporary breakpoint 1 at 0x1e2fc3: file /var/mscore3.7/MuseScore-3.x-measure-repeats/main/main.cpp, line 57. Starting program: /home/ab/measure-debug/bin/musescore-self [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffde58) at /var/mscore3.7/MuseScore-3.x-measure-repeats/main/main.cpp:57 57 `

Nothing happens after this code. If I run the executable itself it crashes after the splash screen and the question about to restore the previous session

Jojo-Schmitz commented 5 days ago

That's pretty early, literally the start of main() Unfortunately not helpful at all.

zorba77 commented 5 days ago

That's pretty eayle, literaly the start of main() Unfortunately not helpful at all.

yes.... what can I do to help you?

Jojo-Schmitz commented 5 days ago

Dunno :-(

zorba77 commented 5 days ago

This is the last line of the console output:

/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/scoreElement.h:unknown: ASSERT: "!e || e->isRestFamily()" in file /var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/scoreElement.h, line 447 Annullato (core dump creato)

Jojo-Schmitz commented 5 days ago

Yes, seen that myself, when deleting certain measures in a certain score (all measures under a 1st volta), I can reproduce that at will, but am not sure yet what the exact reason is.

zorba77 commented 5 days ago

console output.txt

this is the whole output

Jojo-Schmitz commented 5 days ago

Can you attach the score too?

zorba77 commented 5 days ago

there isn't a score, it crashes when starting

Jojo-Schmitz commented 5 days ago

There got to be a score, else these won't show in the log:

/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/scoreElement.cpp:Ms::ScoreElement::name2type: unknown type <RepeatMeasure>
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/element.cpp:Ms::Element::name2Element: invalid <RepeatMeasure>

/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/xmlreader.cpp:Ms::XmlReader::unknown: line 391 col 25: RepeatMeasure
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/scoreElement.cpp:Ms::ScoreElement::name2type: unknown type <RepeatMeasure>
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/element.cpp:Ms::Element::name2Element: invalid <RepeatMeasure>

/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/xmlreader.cpp:Ms::XmlReader::unknown: line 1718 col 25: RepeatMeasure`
...
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  35520 pos 1680, len 1/8, stretch 1/1 track 37
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  43200 pos 1680, len 1/8, stretch 1/1 track 37
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: in measure underrun  29760 at 480-240 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  29760 pos 240, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  29760 pos 720, len 5/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  31680 pos 1680, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  33600 pos 1680, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  35520 pos 1680, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  37440 pos 1680, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  45120 pos 960, len 2/4, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  56640 pos 1680, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  58560 pos 1680, len 1/8, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  60480 pos 960, len 2/4, stretch 1/1 track 61
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  68160, 2040 > 1920, track 0
...
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  68160, 2040 > 1920, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  73920, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/element.cpp:Ms::Element::readProperties: Element::readProperties: could not link TimeSig at staff 7
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  75840, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  77760, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  79680, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  81600, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  83520, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  85440, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  87360, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  89280, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  91200, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  93120, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  95040, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  96960, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  98880, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 100800, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 102720, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 104640, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 106560, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 108480, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 110400, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 112320, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 114240, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 116160, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 118080, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 120000, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 121920, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 123840, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 125760, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 127680, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 129600, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 131520, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 133440, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 135360, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 137280, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 139200, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 141120, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 143040, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 144960, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 146880, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 148800, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 150720, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 152640, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 154560, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 156480, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 158400, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 160320, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 162240, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 164160, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 166080, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun 168000, 1920 > 960, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/read302.cpp:Ms::Score::linkMeasures: Measures in MasterScore and Score are not in sync.
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  35520 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 37 tick 37200
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  43200 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 37 tick 44880
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  68160, 2040 > 1920, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: in measure underrun  29760 at 480-240 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  29760 pos 240, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 30000
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  29760 pos 720, len 5/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 30480
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  31680 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 33360
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  33600 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 35280
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  35520 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 37200
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  37440 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 39120
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  45120 pos 960, len 2/4, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 46080
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  56640 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 58320
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  58560 pos 1680, len 1/8, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 60240
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::fillGap: measure  60480 pos 960, len 2/4, stretch 1/1 track 1
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/segment.cpp:Ms::Segment::checkElement: add(Rest): there is already a Rest at track 61 tick 61440
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/check.cpp:Ms::Measure::checkMeasure: measure overrun  68160, 2040 > 1920, track 0
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 79
/var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/chord.cpp:Ms::updatePercussionNotes: unmapped drum note 72
zorba77 commented 5 days ago

When I launch mscore the only score I can see is the default empty. Then it crashes

Jojo-Schmitz commented 5 days ago

Oh, that 'My First Score' thing I guess, the piano treble clef template?

zorba77 commented 5 days ago

only one staff, not double piano staff this is the output running with sudo:

unknown:unknown: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' unknown:unknown: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' unknown:unknown: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/shortcut.cpp:Ms::Shortcut::getShortcut: Internal error: shortcut <toggle-feedback> not found /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/shortcut.cpp:Ms::Shortcut::load: cannot find shortcut <toggle-feedback> /var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/sym.cpp:Ms::ScoreFont::scanUserFonts: Found 0 user score font in "/root/Documents/MuseScore3/Score Fonts" . /var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/sym.cpp:Ms::ScoreFont::scanUserFonts: Found 0 system score font in "/root/.local/share/SMuFL/Fonts" . /var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/sym.cpp:Ms::ScoreFont::scanUserFonts: Found 0 system score font in "/usr/local/share/SMuFL/Fonts" . /var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/sym.cpp:Ms::ScoreFont::scanUserFonts: Found 0 system score font in "/usr/share/SMuFL/Fonts" . /var/mscore3.7/MuseScore-3.x-measure-repeats/audio/drivers/pulseaudio.cpp:Ms::PulseAudio::init: PulseAudio Context Connect Failed with Error: Connessione rifiutata /var/mscore3.7/MuseScore-3.x-measure-repeats/audio/drivers/driver.cpp:Ms::driverFactory: init PulseAudio failed /var/mscore3.7/MuseScore-3.x-measure-repeats/audio/drivers/driver.cpp:Ms::driverFactory: no audio driver found /var/mscore3.7/MuseScore-3.x-measure-repeats/audio/midi/fluid/sfont.cpp:FluidS::SFont::load: Loading soundfont: /home/ab/measure-debug/share/mscore-self-3.7/sound/MuseScore_General.sf3 /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/zoombox.cpp:Ms::ZoomBox::setLogicalZoom: ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded from 1.000000) /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/seq.cpp:Ms::Seq::init: Cannot start I/O /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/musescore.cpp:Ms::MuseScore::init: sequencer init failed /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/zoombox.cpp:Ms::ZoomBox::setLogicalZoom: ZoomBox::setLogicalZoom(): Formatting logical zoom level as 100% (rounded from 1.000000) qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:178: Error: Cannot assign to non-existent property "color" unknown:unknown: QObject::connect: No such signal Ms::MuseScoreApplication::messageReceived(QString&) in /var/mscore3.7/MuseScore-3.x-measure-repeats/mscore/musescore.cpp:8256 unknown:unknown: QObject::connect: (receiver name: 'MuseScore') qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:626:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:617:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:611:21: Unable to assign [undefined] to QString qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:708:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:707:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:706:21: Unable to assign [undefined] to QString qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:428:13: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:427:13: Unable to assign [undefined] to QSizeF qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:383:13: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:626:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:617:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:611:21: Unable to assign [undefined] to QString qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:708:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:707:21: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:706:21: Unable to assign [undefined] to QString qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:428:13: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:427:13: Unable to assign [undefined] to QSizeF qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:383:13: Unable to assign [undefined] to bool qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:516: TypeError: Cannot read property 'width' of null qrc:/qml/palettes/PaletteTree.qml:unknown: qrc:/qml/palettes/PaletteTree.qml:353:19: QML ItemDelegate: Binding loop detected for property "width" /var/mscore3.7/MuseScore-3.x-measure-repeats/libmscore/sym.cpp:Ms::ScoreFont::draw: ScoreFont::draw: invalid sym 0 [489445:489445:1117/220720.869830:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

zorba77 commented 4 days ago

How can I help you find the bug? if I understand correctly, it only crashes under Linux

Jojo-Schmitz commented 4 days ago

On startup it doesn't crash on Windows, at least not when starting with last session (and, just tested, also not when starting with My First Score), but I know how to get that assertion failure on Windows. I can't reproduce from scratch though

zorba77 commented 2 days ago

I don't know why, but now it doesn't crash anymore on my PC.... maybe some system updates fix somethings? I can use single, double and four measure repeats. I'll do more tests The same executable, not a new one

Jojo-Schmitz commented 2 days ago

It still crashes though, and quite a lot, in the mtests and vtests, the latter apperently on exporting bravura-mmrest.mscx as png, with said assertion failure

zorba77 commented 2 days ago

Now I'm compiling the mtests on my PC