Closed thebnich closed 1 year ago
Thanks for reporting. Bug confirmed. Unfortunately, I'm going on a trip after lunch and I'll be away for three weeks so it will be impossible for me to debug and fix this until end of February. Sorry!
Actually maybe I can help with this, as I seem to have this issue fixed in my project. I have not submitted those patches before as I probably intended to rework some of them better before submitting, but they work for their purpose, so I have just opened a pull request (#389) with those patches at their current state.
The source of this issue seems to be a beam going across a bar line:
When it plainly goes like this it shouldn't cause any issues, but with the default page size this bar line appears to be at the end of its system, so the beam eventually becomes cross-system. Lomse currently doesn't handle cross-system beams well, and that makes the application crash.
My solution to this was to add support for breaking beams across systems. Not sure if this is always what the user may expect, but it works and fixes the crash.
Well that's convenient—thanks for sharing your fix!
@dmitrio95 Thank you very much Dmitri. Long time without news. Hope everything goes well for you by there. I returned from my trip yesterday and will now start with this issue and to review your PR.
Hi, I'm hitting a crash in this score. Simply rendering a presenter created from this score should repro:
I was able to reduce it to a (somewhat) minimal test case, but haven't had time yet to investigate beyond that, so I don't know what exactly is triggering this in the score.