Opened 13 years ago

Closed 13 years ago

#5172 closed defect (fixed)

ASSERT failure in QCoreApplication::sendEvent (from AutoExpire)

Reported by: tlawton@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Latest svn running on Ubuntu Gutsy. This is my first upgrade to the QT4 edition.

Whenever the autoexpire thread runs, mythbackend fails with the error:

"ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 82cf670. Receiver (of type 'QObject') was created in thread 818ba48", file kernel/qcoreapplication.cpp, line 269"

(first thread number varies)

Attachments (1)

MythbackendAssertAbort.txt (104.5 KB) - added by tlawton@… 13 years ago.
mythbackend -v all

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by stuartm


Changed 13 years ago by tlawton@…

Attachment: MythbackendAssertAbort.txt added

mythbackend -v all

comment:2 Changed 13 years ago by anonymous

The only patch I'm using is my own (submitted but rejected) which allows the 'INFO' keybinding to work as 'DETAILS' rather than 'SELECT'. I've just checked with svn diff.

comment:3 Changed 13 years ago by anonymous

This appears to be only related to expiring shows which have hit their 'maximum episode count' - I've managed to stop the crashes by giving all shows an unlimited episode count.

comment:4 Changed 13 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

(In [16998]) do not use dispatchNow() in the autoexpirer.

the underlaying sendEvent() does not work for object created in different threads in qt4. Fixes #5172

Note: See TracTickets for help on using tickets.