Re: [Rosegarden-user] Weird crash when opening a specific segment in the matrix editor

2021-12-04 Thread Babarosa

Thank you Lorenzo for detecting this problem!

Greetings, Michael

Am 04.12.21 um 09:35 schrieb Lorenzo Sutton:

On 04/12/2021 04:04, Ted Felix wrote:

   Thanks for catching this one. Absolutely legit crash.  Happens if
you open a few rulers, then delete those controllers from the device.
(Actually that might cause a crash as well.)  Upon re-open of the
segment for editing in matrix (or notation) the rulers will try to
come up against controllers that no longer exist.  Crash.

   Pushed a fix to git.  Please test the latest.


Wow thanks Ted!! That was quick!
Indeed with the latest git the crash doesn't happen :-)

To re-test this (that came from a pretty old file...):
- add a controller to the device
- Add a ruler in the matrix editor with that controller and add some
points
- remove the controller from the device
- Re-open the matrix editor

Correct?

Lorenzo



Ted.

On 12/2/21 4:34 PM, Lorenzo Sutton wrote:

I'm facing a really weird crash when opening just a specific segment
in the matrix editor. It opens ok in notation but whenever I try to
open matrix it crashes and on the console I see:

[matrix]  MatrixTool::createMenu()  "matrixmover.rc"  - "MatrixMover"
[EditViewBase] EditViewBase::slotTestClipboard(): empty
[matrix]  MatrixTool::createMenu()  "matrixselector.rc"  -
"MatrixSelector"
QSettings::endGroup: No matching beginGroup()
Segmentation fault (core dumped)

I tried re-labelling, cutting / pasting... Cutting and re-pasting
from the notation, pasting on another track, moving it
I even tried pasting it to a new file (attahced) and it's still
crashing on me

Any ideas? Also can I recover that segment for editing?

Lorenzo


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to
unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to
unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user



___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Weird crash when opening a specific segment in the matrix editor

2021-12-04 Thread Ted Felix

  That procedure is indeed correct.

Ted.

On 12/4/21 3:35 AM, Lorenzo Sutton wrote:

On 04/12/2021 04:04, Ted Felix wrote:
   Thanks for catching this one.  Absolutely legit crash.  Happens if 
you open a few rulers, then delete those controllers from the device. 
(Actually that might cause a crash as well.)  Upon re-open of the 
segment for editing in matrix (or notation) the rulers will try to 
come up against controllers that no longer exist.  Crash.


   Pushed a fix to git.  Please test the latest.


Wow thanks Ted!! That was quick!
Indeed with the latest git the crash doesn't happen :-)

To re-test this (that came from a pretty old file...):
- add a controller to the device
- Add a ruler in the matrix editor with that controller and add some points
- remove the controller from the device
- Re-open the matrix editor

Correct?

Lorenzo



Ted.

On 12/2/21 4:34 PM, Lorenzo Sutton wrote:
I'm facing a really weird crash when opening just a specific segment 
in the matrix editor. It opens ok in notation but whenever I try to 
open matrix it crashes and on the console I see:


[matrix]  MatrixTool::createMenu()  "matrixmover.rc"  -  "MatrixMover"
[EditViewBase] EditViewBase::slotTestClipboard(): empty
[matrix]  MatrixTool::createMenu()  "matrixselector.rc"  - 
"MatrixSelector"

QSettings::endGroup: No matching beginGroup()
Segmentation fault (core dumped)

I tried re-labelling, cutting / pasting... Cutting and re-pasting 
from the notation, pasting on another track, moving it
I even tried pasting it to a new file (attahced) and it's still 
crashing on me


Any ideas? Also can I recover that segment for editing?

Lorenzo


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to 
unsubscribe

https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user



___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Weird crash when opening a specific segment in the matrix editor

2021-12-04 Thread Lorenzo Sutton

On 04/12/2021 04:04, Ted Felix wrote:
   Thanks for catching this one.  Absolutely legit crash.  Happens if 
you open a few rulers, then delete those controllers from the device. 
(Actually that might cause a crash as well.)  Upon re-open of the 
segment for editing in matrix (or notation) the rulers will try to come 
up against controllers that no longer exist.  Crash.


   Pushed a fix to git.  Please test the latest.


Wow thanks Ted!! That was quick!
Indeed with the latest git the crash doesn't happen :-)

To re-test this (that came from a pretty old file...):
- add a controller to the device
- Add a ruler in the matrix editor with that controller and add some points
- remove the controller from the device
- Re-open the matrix editor

Correct?

Lorenzo



Ted.

On 12/2/21 4:34 PM, Lorenzo Sutton wrote:
I'm facing a really weird crash when opening just a specific segment 
in the matrix editor. It opens ok in notation but whenever I try to 
open matrix it crashes and on the console I see:


[matrix]  MatrixTool::createMenu()  "matrixmover.rc"  -  "MatrixMover"
[EditViewBase] EditViewBase::slotTestClipboard(): empty
[matrix]  MatrixTool::createMenu()  "matrixselector.rc"  - 
"MatrixSelector"

QSettings::endGroup: No matching beginGroup()
Segmentation fault (core dumped)

I tried re-labelling, cutting / pasting... Cutting and re-pasting from 
the notation, pasting on another track, moving it
I even tried pasting it to a new file (attahced) and it's still 
crashing on me


Any ideas? Also can I recover that segment for editing?

Lorenzo


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user