Opened 18 years ago
Closed 18 years ago
#1245 closed task (fixed)
Convert LCD code to use MythSocket (was: Crash during playback)
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I've been getting these randomly, it crashes in the middle of playing back a recording. I think its happened during LiveTV before as well. Input seems to matter not, DCT over firewire, pcHDTV HD3000, or PVR150. I'll note which input with every new backtrace I add.
First attachments are backtrace and frontend log of the crash during playback of a pre-recorded, scheduled HD recording off my pcHDTV 3000 card.
Attachments (8)
Change History (18)
comment:1 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
You cut off the most important part of the output from gdb - the beginning, where it says where it crashed.
comment:2 Changed 18 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
replacing old attachments with new ones, let me know if these are any better...
Changed 18 years ago by
Attachment: | mythfrontend.2.log added |
---|
comment:3 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Still a useless backtrace.
comment:4 Changed 18 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I'm reopening this ticket with new backtraces attached, these should include the appropriate information, and I had them posted on the dev list(http://www.gossamer-threads.com/lists/mythtv/dev/188865?search_string=frontend%20crash%20gdb;).
Issaac said "Both of the crashes you sent seem to be dying in the LCD server communication code.. Looks to me like it's probably due to unsafe threaded usage of QSocket in the LCD class. Would probably be better to rewrite that to use QSocketDevice instead.
Isaac "
Not all these backtraces may lead to this issue though, but I'm not sure how to read them so I'll let those that know do with them as they find appropriate.
comment:5 Changed 18 years ago by
I disabled use of the LCD and have not had any of these random crashes since so I will assume Isaac is right in his guess.
comment:6 Changed 18 years ago by
Owner: | changed from Isaac Richards to paulh |
---|---|
Status: | reopened → new |
Paul, the LCD code probably needs rewritten to use a QSocketDevice instead of a QSocket. The current code (ie, QSocket) isn't threadsafe.
comment:7 Changed 18 years ago by
(In [9660]) Apply patch from Jim Westfall. Fixes a random crash when using an LCD display. This will do until the thread safe MythSocket? is ready. References #1245
comment:8 Changed 18 years ago by
(In [9661]) Apply patch from Jim Westfall. Fixes a random crash when using an LCD display. This will do until the thread safe MythSocket? is ready. References #1245
comment:9 Changed 18 years ago by
Summary: | Crash during playback → Convert LCD code to use MythSocket (was: Crash during playback) |
---|---|
Type: | defect → task |
backtrace 1