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


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

2021-12-03 Thread Ted Felix
  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.

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


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

2021-12-03 Thread Lorenzo Sutton

On 03/12/2021 18:25, Patrick May wrote:

It doesn't crash for me in Rosegarden 20.12 (ubuntu 21.04)

I don't know if it's useful for you, but I tried exporting as midi and 
re-importing it into Rosegarden (see attachment), I would be interested 
to know if this file still crashes for you.


Thanks for testing Patrick... Indeed the test file you sent doesn't 
crash if I open it in the matrix editor.


I probably should have mentioned I'm using one of the latest git 
versions: 21.12 on manjaro, build key 21-06-138 and Qt 5.12.2


Another workaround for it seems to be that if I join the 'bad' segment 
with another one containing notes, the new joined segment will 
eventually open.


Lorenzo



PM

On 02/12/2021 21:34, 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


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

2021-12-03 Thread Patrick May

It doesn't crash for me in Rosegarden 20.12 (ubuntu 21.04)

I don't know if it's useful for you, but I tried exporting as midi and 
re-importing it into Rosegarden (see attachment), I would be interested 
to know if this file still crashes for you.


PM

On 02/12/2021 21:34, 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



trythis.rg
Description: audio/rosegarden-project
___
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] Weird crash when opening a specific segment in the matrix editor

2021-12-02 Thread Lorenzo Sutton
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

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