OpenLP freezes when double clicking an image in media manager

Bug #1419300 reported by John Cegalis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Critical
Raoul Snyman

Bug Description

Win7 and Linux Mint nightly builds.
In Mint, if I double click an image in the media side, the program will freeze and crash.
In Win7, sometimes I have to double click or single click an image and the program will freeze and crash.
On Win7, sometimes if I hold the Ctrl button to select multiple images OpenLP will freeze and crash.

I attached the Mint debug log and will get the Win7 log attached next.

Related branches

Revision history for this message
John Cegalis (jseagull1) wrote :
Revision history for this message
John Cegalis (jseagull1) wrote :

Win7 log.

Revision history for this message
Tomas Groth (tomasgroth) wrote :

I can't reproduce this. Do you have some special settings?

Revision history for this message
John Cegalis (jseagull1) wrote :

I attached the settings I have. I can reproduce it every time and it sure does get frustrating.

Revision history for this message
Tomas Groth (tomasgroth) wrote :

I've managed to reproduce a temporary freeze on windows, when previewing or going live with an image already in the mediamanager on startup. The image does show after a few seconds. OpenLPs memory use goes up during the freeze, and my log shows that the imagemanager is blocking (loading the image into the mediamanager) for about 5 sec. So this is probably an issue with the imagemanager...

How big is the image-files you are trying to view? The crash you experience could be OpenLP running out of memory.

Phill (phill-ridout)
Changed in openlp:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
John Cegalis (jseagull1) wrote :

I tested it with a 75kb image and a 650kb image with the same results. In Mint, a double click is all it takes on an image and it freezes. Checking memory usage for OpenLP shows it is frozen in place, even after a minute of checking it.

After opening:
CPU usage is 4.0% Memory is 2359096 kB

Display a song from Service Manager:
CPU usage is 2.0% Memory is 2400132 kB

Double click an image in Media Manager and freeze:
CPU usage 4.6% Memory is 2464968 kB

Revision history for this message
John Cegalis (jseagull1) wrote :

I just noticed that if I double click on anything in the media manager, Custom or a song, it freezes.
Linux Mint. I don't have access to the Windows computer at this time to test it.

Revision history for this message
John Cegalis (jseagull1) wrote :

It seems to do it consistently as soon as I open OpenLP and double click on something in the Media Manager. If I single click or right click on something first, in the Service Manager or Media Manager, it's a lot harder to make it happen if at all.

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

This and #1413324 may well be the same bug. I've now inadvertently hit it three times at Church, fortunately pre-service, although I'm getting good at saving as I go along now. (Serves me right for using beta software!)
Fortunately my operators are better at avoiding this than me.

Tim Bentley (trb143)
Changed in openlp:
importance: Medium → Critical
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Ah! It only triggers when "click to preview" is active. If I have that turned off, then the bug doesn't trigger.

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Right, narrowed it down further. You need "Double-click to send items straight to live" UNCHECKED, and "Preview items when clicked in Media Manager" CHECKED.

My guess is that the double-click does a double-preview.

Changed in openlp:
assignee: nobody → Raoul Snyman (raoul-snyman)
milestone: none → 2.1.4
Changed in openlp:
status: Confirmed → In Progress
Tim Bentley (trb143)
Changed in openlp:
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → 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.