openLP crashes completely when [---] is incorrectly used.

Bug #884533 reported by Frank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Tim Bentley

Bug Description

There are at least two ways to let openLP crash with [---]

way 1:
When a song has two splits in a row like:
songline one
songline two
songline three
[---]
[---]
songline after split
songline after split 2

save the song (with the title "2 song with a problem") and OpenLP crasht.
when you open OpenLP again and select the corupt song it crash again.
Note: if the verse is not large enough to split, there will be no problems make the verse bigger to let openLP crash.

way 2:
use [---] within a line of your song and you get the same problem.

! How to remove the corrupt song !
make a song a with the title "1 song song above the problem song"
and make a other one with the title "3 song below the song with a problem"
now select "1 song song above the problem song" hold shift and select "3 song below the song with a problem" and press "delete" on your keyboard. now all songs are gone and openLP don't crash any more.

Operating system:
Windows 7
openLP version:
1.9.7 build 1787 &
1.9.7 build 1790

I found the bug when I imported a lot of songs. from a bad database.

Related branches

Tim Bentley (trb143)
Changed in openlp:
status: New → Confirmed
Tim Bentley (trb143)
Changed in openlp:
importance: Undecided → Low
assignee: nobody → Tim Bentley (trb143)
milestone: none → 1.9.8
Tim Bentley (trb143)
Changed in openlp:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.