SoftProjector / softprojector

Church media presentation software
http://softprojector.org/
GNU General Public License v3.0
48 stars 29 forks source link

Program crash when switching between songbooks. #45

Closed vladozar closed 7 months ago

vladozar commented 4 years ago

switch between songbooks the program crashes completely and end up having to open it again

vladozar commented 4 years ago

I have spent some time debugging this issue, I cannot replicate it. If anyone will come across this again, Please provide detailed steps how to reproduce it.

DmitriyS83 commented 4 years ago

Which version are you using? we are using the master (2.2) version on github compile with QT. How many databases of song book you have imported? We have about 10

We had it crash few times where we have selected one song book did some search.. and then select all song books and try to search immediately it would lock up..

This maybe not the right place.. but when you add video media to the schedule and then view few songs and bible text. then double click on media under schedule windows software also locks up..

On Sun, Dec 22, 2019 at 4:08 PM vladozar notifications@github.com wrote:

I have spent some time debugging this issue, I cannot replicate it. If anyone will come across this again, Please provide detailed steps how to reproduce it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SoftProjector/softprojector/issues/45?email_source=notifications&email_token=AJFITECZBJ66QDCD4BEHRYLQZ7JNHA5CNFSM4JTNKMEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPZ3AI#issuecomment-568302977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFITEB4ZDGQICL3XY2BVN3QZ7JNHANCNFSM4JTNKMEA .

vladozar commented 4 years ago

I'm running the latest source on the master branch. Qt 5.12.6, Windows 10. Have tried both 32 and 64 bit versions. Added more than 10 songbooks. Still not able to reproduce.

DmitriyS83 commented 4 years ago

For program crash when searching songbooks.. Try this.. Select a song book from the list.. start search "слушайте" for example and then go to selection and select "All songbooks" and this is when application will crash for me..

and from Qt application output QFont::fromString: Invalid description '(empty)' .. .. QFont::fromString: Invalid description ',28,-1,5,50,0,0,0,0,0' QFont::fromString: Invalid description '(empty)' .. .. QSortFilterProxyModel: index from wrong model passed to mapFromSource ... ... 08:29:18: The program has unexpectedly finished. 08:29:18: The process was ended forcefully.

On Mon, Dec 23, 2019 at 12:43 PM vladozar notifications@github.com wrote:

I'm running the latest source on the master branch. Qt 5.12.6, Windows 10. Have tried both 32 and 64 bit versions. Added more than 10 songbooks. Still not able to reproduce.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SoftProjector/softprojector/issues/45?email_source=notifications&email_token=AJFITEHXRVSJKZEKBINYFADQ2D2ETA5CNFSM4JTNKMEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHRTBXA#issuecomment-568537308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFITEG34QTG2HQLCSXYXILQ2D2ETANCNFSM4JTNKMEA .

vladozar commented 4 years ago

Yeah, I was able to reproduce the issue a while ago now, but just got back to trying to figure out what is going on. The issue is with QSortFilterProxyModel: index from wrong model passed to mapFromSource I'm not sure yet what the exact issue it, but working on it now.

vladozar commented 4 years ago

Ok, after hours of debugging and looking at the wrong place, I finally was able to fix the issue. A PR was created, will be glad if anyone reviews it. https://github.com/SoftProjector/softprojector/pull/50