Opened 15 years ago
Closed 15 years ago
#9431 closed Bug Report (Fixed)
ASSERT failure in QReadWriteLock::unlock(): "Cannot unlock an unlocked lock"
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.25 |
| Component: | MythTV - General | Version: | Master Head |
| Severity: | medium | Keywords: | assert QReadWriteLock::unlock ringbuffer |
| Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
by , 15 years ago
| Attachment: | gdb-be-ringbuffer-abort.txt added |
|---|
comment:1 by , 15 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
| Owner: | changed from to |
|---|
comment:3 by , 15 years ago
| Milestone: | unknown → 0.25 |
|---|---|
| Resolution: | → Fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in 93a8196f99587cc091d9 (which should obviously reference QReadWriteLock rather than QMutex)