[mythtv-commits] Ticket #9431: ASSERT failure in QReadWriteLock::unlock(): "Cannot unlock an unlocked lock"

MythTV noreply at mythtv.org
Mon Jan 3 19:17:52 UTC 2011


#9431: ASSERT failure in QReadWriteLock::unlock(): "Cannot unlock an unlocked
lock"
-------------------------------------------------+-------------------------
 Reporter:  Lawrence Rust <lvr@…>                |           Type:  Bug
   Status:  new                                  |  Report
Milestone:  unknown                              |       Priority:  minor
  Version:  Trunk Head                           |      Component:  MythTV
 Keywords:  assert QReadWriteLock::unlock        |  - General
  ringbuffer                                     |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 Building and running mythbackend from the current top of tree
 v0.25pre-796-g9018d89 gives an assertion failure in Qt
 QReadWriteLock::unlock() when any live TV or video is played.  Traceback
 attached.

 Appears that RingBuffer::~RingBuffer calls rwlock.unlock() but according
 to the docs [http://doc.qt.nokia.com/4.7/qreadwritelock.html#unlock] it is
 illegal to call unlock() if the lock is not owned.  Pragmatically removing
 the call to unlock() works fine.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9431>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list