Crash when changing mediaplayer priority

Bug #1397287 reported by Tomas Groth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Tomas Groth

Bug Description

Found on windows 8.1 using OpenLP 2.1.1 build bzr2447, on dual monitor setup.
Install VLC and enable it in the Player settings if not done already.

Open Settings->Player change the player priority (e.g. move VLC to the top or bottom), click save. The live display now disappears, and when trying to bring it back by e.g. pressing blank-to-desktop crashes OpenLP or gives this traceback:

Traceback (most recent call last):
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 65, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 61, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\slidecontroller.py", line 974, in on_hide_display
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 65, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 61, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\slidecontroller.py", line 1015, in hide_plugin
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\registry.py", line 148, in execute
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 65, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 61, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\maindisplay.py", line 429, in hide_display
RuntimeError: wrapped C/C++ object of type MainDisplay has been deleted

Besides the traceback above, no errors was in the log.

Related branches

Phill (phill-ridout)
Changed in openlp:
importance: Undecided → Low
Revision history for this message
Tomas Groth (tomasgroth) wrote :

Could also reproduce this on Ubuntu 14.04 using trunk.

Tomas Groth (tomasgroth)
Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
status: New → In Progress
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.1.2
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.