bugDenemo - Bugs: bug #50187, Pasting multiple staffs into a...

 
 

bug #50187: Pasting multiple staffs into a single empty staff can hang

Submitted by:  Richard Shann <rshann>
Submitted on:  Mon 30 Jan 2017 06:09:33 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 31 Jan 2017 04:40:28 PM UTC, comment #2:

What you had to do was paste multiple staffs into a single staff with the cursor in an empty measure before some filled measures.
Now fixed in git.

Richard Shann <rshann>
Project Administrator
Tue 31 Jan 2017 12:25:24 PM UTC, comment #1:

This is not easy to trigger. On a successful triggering I could see that the program was looping appending measures, it had reached 44,000 or so and would presumably run out of memory (it had reached only 7% or so).

appendmeasures (si=0x334c200, number=1) at ../../denemo/src/command/commandfuncs.c:2418
2418 gint num = g_list_length (staff_first_measure_node (si->currentstaff));
(gdb) call g_list_length (staff_first_measure_node (si->currentstaff))
$78 = 44380

Richard Shann <rshann>
Project Administrator
Mon 30 Jan 2017 06:09:33 PM UTC, original submission:

It seems to do this on quite a small number of bars, though not just one.
The fix will be to check in the DenemoPaste script for sufficient empty staffs for the paste before proceeding, creating them if needed (or just create them anyway?)

Richard Shann <rshann>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rshann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 Jan 2017 04:40:28 PM UTCrshannStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1