Opened 15 years ago

Closed 15 years ago

#7271 closed defect (fixed)

MythVideo hangs/crashes with "QMutex::lock: mutex lock failure:"

Reported by: lynchmv@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: MythTV - User Interface Library Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

After starting mythfrontend, I can go into videos, browse the videos listed, then try to exit and mythfrontend hangs with "QMutex::lock: mutex lock failure:".

Backtrace and log attached with -v file,extra.

Attachments (4)

gdb.txt (32.7 KB) - added by lynchmv@… 15 years ago.
backtrace
mythfrontend.log (300.6 KB) - added by lynchmv@… 15 years ago.
mythfrontend log -v file,extra
gdb.2.txt (10.0 KB) - added by lynchmv@… 15 years ago.
new backtrace with threading disabled via env var
myth.log (333.8 KB) - added by lynchmv@… 15 years ago.
mythfrontend log -v file,extra

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by lynchmv@…

Attachment: gdb.txt added

backtrace

Changed 15 years ago by lynchmv@…

Attachment: mythfrontend.log added

mythfrontend log -v file,extra

comment:1 Changed 15 years ago by cpinkham

Owner: changed from stuartm to cpinkham
Status: newassigned
Version: unknownhead

Is it possible to get a copy of the theme you are working on? I can't make this happen in any of the themes I've tried. Also, what MythVideo? mode were you in? I've tried gallery, list, and browse in each of the themes I tested. I'm wondering if your theme is tickling a bug that other themes don't.

comment:2 Changed 15 years ago by cpinkham

One more thing. Can you update to SVN head again and run another test with an envrionment variable set which will turn off the threaded loads? I'd like to see if that gives a different trace or if the issue goes away. I want to see if it's part of the threading or part of all the other changes I had to make to get the threading working.

export DISABLETHREADEDMYTHUIIMAGE=1

(or whatever method your shell uses) Then run the normal mythfrontend command with "-v file,extra" under gdb. You should not see any messages in the log saying mythfrontend spawned a new thread to load images, they all shoudld say that the image is being loaded in the foreground.

Please upload a new log and backtrace from this as I think this will aid in debugging.

comment:3 Changed 15 years ago by lynchmv@…

OK, I got it to crash again, but it may very well be my theme, as this is my first try at themeing and I could quite possibly mess something up. I'm attaching the backtrace and frontend logs, you can find the theme @ http://notes.lynchmv.com/childish.tar.bz2

Changed 15 years ago by lynchmv@…

Attachment: gdb.2.txt added

new backtrace with threading disabled via env var

Changed 15 years ago by lynchmv@…

Attachment: myth.log added

mythfrontend log -v file,extra

comment:4 Changed 15 years ago by cpinkham

Resolution: fixed
Status: assignedclosed

Forgot to close this ticket in my commit log. This was fixed in [22333].

Note: See TracTickets for help on using tickets.