Opened 21 years ago
Closed 20 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 by , 21 years ago
| 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 by , 21 years ago
| Resolution: | invalid |
|---|---|
| Status: | closed → reopened |
replacing old attachments with new ones, let me know if these are any better...
by , 21 years ago
| Attachment: | mythfrontend.2.log added |
|---|
comment:3 by , 21 years ago
| Resolution: | → invalid |
|---|---|
| Status: | reopened → closed |
Still a useless backtrace.
comment:4 by , 21 years ago
| 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 by , 21 years ago
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 by , 20 years ago
| Owner: | changed from to |
|---|---|
| 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 by , 20 years ago
(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 by , 20 years ago
(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 by , 20 years ago
| Summary: | Crash during playback → Convert LCD code to use MythSocket (was: Crash during playback) |
|---|---|
| Type: | defect → task |

backtrace 1