Crash with Master Appimage

MusE is a DAW for Linux with both MIDI and Audio editing. https://muse-sequencer.github.io

Moderators: MattKingUSA, khz, spamatica

Post Reply
User avatar
Impostor
Established Member
Posts: 1335
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 345 times

Crash with Master Appimage

Post by Impostor »

A crash occurs every time I do the following, with the MusE master appimage:

Open new, empty project.
Add midi track.
Add midi part.
Start cutting it in pieces n times.
Undo m times.
Repeat until MusE crashes. Won't take too long.

I'd attach the coredump if it weren't 340MB in size..

I haven't yet been able to reproduce this crash with the 4.1 appimage.

spamatica
Established Member
Posts: 573
Joined: Mon Feb 08, 2010 10:38 am
Has thanked: 80 times
Been thanked: 97 times

Re: Crash with Master Appimage

Post by spamatica »

Thanks for the report!
I would think this is likely a new issue with master as there has been some bigger internal redesigns.

I'm not sure I understand the details of the undo-system enough to solve this quickly (also recovering from the flu at the moment ;) ) but I did some testing and think that I managed to find a way to crash it every time:

  1. create midi track
  2. create midi part
  3. cut the midi part
  4. undo the cut
  5. create a new midi part

For me, step 5 crashes every time in
int het = part->hasHiddenEvents();
in
void PartCanvas::drawItem(QPainter& p, const CItem* item, const QRect& mr, const QRegion&)

Probably the part is not pointing to an existing object any more, classic c++...

MusE DAW
User avatar
Impostor
Established Member
Posts: 1335
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 345 times

Re: Crash with Master Appimage

Post by Impostor »

spamatica wrote: Fri Dec 02, 2022 11:19 am

Thanks for the report!
I would think this is likely a new issue with master as there has been some bigger internal redesigns.

I'm not sure I understand the details of the undo-system enough to solve this quickly (also recovering from the flu at the moment ;) ) but I did some testing and think that I managed to find a way to crash it every time:

  1. create midi track
  2. create midi part
  3. cut the midi part
  4. undo the cut
  5. create a new midi part

For me, step 5 crashes every time in
int het = part->hasHiddenEvents();
in
void PartCanvas::drawItem(QPainter& p, const CItem* item, const QRect& mr, const QRegion&)

Probably the part is not pointing to an existing object any more, classic c++...

I still have a master appimage I've downloaded on october 17th; that one crashes with those steps too.

Post Reply