Skip to content

Data entry lag - Memory out of bounds #117

Description

@karend27

@lpugin @craigsapp @JRegimbal @martha-thomae @ahankinson

This is an issue I've discussed a bit with Juliette and Laurent and we are unsure if it is a Verovio issue or a Verovio-Humdrum issue.

It's sort of making any kind of data entry on MP Editor impossible.

When I go the music input phase of data entry on MP Editor, there seems to be a lag when you get past a certain number of notes, they don't appear on the staff right away and there is some sort of lag before they appear. I am using Chrome. I haven't noticed that there is a specific number of notes where this happens.

This is an example: on home screen of editor (https://editor.measuringpolyphony.org/#/), entered this URL in the entry box and selected DIAMM as the manuscript repository: https://www.diamm.ac.uk/sources/260/

Then on the music input screen I select the staff and start entering the notes. After 25 notes the notes don't show up on the staff. I just entered notes of all the same rhythm. When I go to the javascript console I get this types of the one error pasted below (I'm also attaching the whole error file as there are a lot of errors):

main.95214dbdc67b9fb6.js:1 ERROR RuntimeError: memory access out of bounds
at 02557a3a:0x649dd
at 02557a3a:0x2b9f4
at 02557a3a:0x21dc37
at 02557a3a:0x3f31b3
at 02557a3a:0x684f2c
at 02557a3a:0x3f5aa1
at 02557a3a:0xa426
at 02557a3a:0xa549
at 02557a3a:0xa549
at 02557a3a:0xa549

Then when I did the second pass and entered the rhythms (9090 etc.), all seemed to work okay, although when I look at Javascript console there are several more memory access errors.

main.95214dbdc67b9fb6.js:1 ERROR RuntimeError: memory access out of bounds
at 02557a3a:0x6ab5
at 02557a3a:0x225bb8
at 02557a3a:0xaf13c
at 02557a3a:0x61437
at 02557a3a:0x408886
at 02557a3a:0x680588
at 02557a3a:0x12414
at 02557a3a:0x3f080f
at 02557a3a:0xa426
at 02557a3a:0xa549
eC @ main.95214dbdc67b9fb6.js:1Understand this error
main.95214dbdc67b9fb6.js:1 ERROR RuntimeError: remainder by zero
at 02557a3a:0x21df39
at 02557a3a:0x3f31b3
at 02557a3a:0x684f2c
at 02557a3a:0x3f5aa1
at 02557a3a:0xa426
at 02557a3a:0xa549
at 02557a3a:0xa549
at 02557a3a:0xa549
at 02557a3a:0x115a40
at 02557a3a:0xe8b01
eC @ main.95214dbdc67b9fb6.js:1Understand this error
main.95214dbdc67b9fb6.js:1 ERROR RuntimeError: null function or function signature mismatch
at 02557a3a:0x21e01c
at 02557a3a:0x3f31b3
at 02557a3a:0x684f2c
at 02557a3a:0x3f5aa1
at 02557a3a:0xa426
at 02557a3a:0xa549
at 02557a3a:0xa549
at 02557a3a:0xa549
at 02557a3a:0x115a40
at 02557a3a:0xe8b01
eC @ main.95214dbdc67b9fb6.js:1Understand this error
2main.95214dbdc67b9fb6.js:1 ERROR RuntimeError: memory access out of bounds
at 02557a3a:0x6ab5
at 02557a3a:0x225bb8
at 02557a3a:0xaf13c
at 02557a3a:0x61437
at 02557a3a:0x408886
at 02557a3a:0x680588
at 02557a3a:0x12414
at 02557a3a:0x3f080f
at 02557a3a:0xa426
at 02557a3a:0xa549

And then when I start adding the text the lagging gets worse, and when I look in the Javascript console there are now 35 memory access errors.

I then entered a second staff - pitches only - and same thing after about 20 notes or so starts lagging. Entering rhythms is mostly ok, text is laggy, and then when I go to console, there are now 62 memory access errors.

I don't know whether this is related, but when I click the button to Continue to score editor, I get this error: Error in scoring up tool! TypeError: Cannot read properties of null (reading 'getElementsByTagName') and nothing shows up in the score editor. There are two new types of errors in the console:

TypeError: Cannot read properties of null (reading 'getElementsByTagName')
at n.runScoringUp (main.95214dbdc67b9fb6.js:1:769878)
at n.ngAfterViewInit (main.95214dbdc67b9fb6.js:1:766231)
at Zm (main.95214dbdc67b9fb6.js:1:26266)
at Do (main.95214dbdc67b9fb6.js:1:26097)
at Rc (main.95214dbdc67b9fb6.js:1:25817)
at qa (main.95214dbdc67b9fb6.js:1:45305)
at LC (main.95214dbdc67b9fb6.js:1:51401)
at vC (main.95214dbdc67b9fb6.js:1:45164)
at qa (main.95214dbdc67b9fb6.js:1:45175)
at Vp (main.95214dbdc67b9fb6.js:1:44729)
runScoringUp @ main.95214dbdc67b9fb6.js:1Understand this error
main.95214dbdc67b9fb6.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'l')
at LA.t (main.95214dbdc67b9fb6.js:1:579642)
at Uq.publish (main.95214dbdc67b9fb6.js:1:520901)
at IZ.publish (main.95214dbdc67b9fb6.js:1:567840)
at IZ.setCurrentPages (main.95214dbdc67b9fb6.js:1:569760)
at Qq.onViewDidUpdate (main.95214dbdc67b9fb6.js:1:527059)
at Object.onViewDidUpdate (main.95214dbdc67b9fb6.js:1:556673)
at JF.goto (main.95214dbdc67b9fb6.js:1:541782)
at IZ.updatePanelSize (main.95214dbdc67b9fb6.js:1:560389)
at IZ.onResize (main.95214dbdc67b9fb6.js:1:560961)
at v.invokeTask (polyfills.7e8b4abbd2c97f33.js:1:7162)
eC @ main.95214dbdc67b9fb6.js:1Understand this error

I've also attached the full copy of the console text, and this is an image of what I was entering.

Image

desmond memory access out of bounds error.log

Thanks for taking a look!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions