Opened 14 years ago

Closed 14 years ago

#1603 closed defect (wontfix)

Frequent mythbackend crashed with EIT enabled

Reported by: riku.voipio@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: 0.19
Component: mythtv Version: 0.19
Severity: medium Keywords: eit
Cc: riku.voipio@… Ticket locked: no

Description

after updating to 0.19, mythbackend has been crashing almost every other recording. I've started to run mythbackend in gdb to catch the segfaults/glibc reporting double frees, os I have a pile of backtraces now.

I tried disabling EIT parsing, and mythtv got quite stable. Also, changing channels with DVB EIT parsing off is much faster.

Attachments (19)

myth.log (178.5 KB) - added by riku.voipio@… 14 years ago.
first crash, mythtv log
gdb.txt (31.1 KB) - added by riku.voipio@… 14 years ago.
first crash, gdb backtrace
myth.2.log (22.3 KB) - added by riku.voipio@… 14 years ago.
second crash, end of mythtv log
gdb.2.txt (25.0 KB) - added by riku.voipio@… 14 years ago.
second crash, gdb backtrace
myth.3.log (22.3 KB) - added by riku.voipio@… 14 years ago.
3rd crash, end of mythtv log
gdb.3.txt (25.0 KB) - added by riku.voipio@… 14 years ago.
3rd crash, gdb backtrace
myth.4.log (22.3 KB) - added by riku.voipio@… 14 years ago.
4th crash, end of mythtv log
gdb.4.txt (25.0 KB) - added by riku.voipio@… 14 years ago.
4th crash, gdb backtrace
gdb.2.2.txt (30.5 KB) - added by riku.voipio@… 14 years ago.
second crash, gdb backtrace
myth.5.log (112.7 KB) - added by riku.voipio@… 14 years ago.
crash6
gdb.5.txt (105.4 KB) - added by anonymous 14 years ago.
crash6
myth.6.log (40.2 KB) - added by riku.voipio@… 14 years ago.
crash7
myth.7.log (40.2 KB) - added by riku.voipio@… 14 years ago.
crash7
gdb.6.txt (60.0 KB) - added by anonymous 14 years ago.
crash7
gdb.7.txt (24.0 KB) - added by anonymous 14 years ago.
crash8
myth.8.log (21.1 KB) - added by riku.voipio@… 14 years ago.
crash8
event-locking-0.19.diff (3.0 KB) - added by Stuart Auchterlonie 14 years ago.
Provide locking for Events Map
gdb.8.txt (40.5 KB) - added by riku.voipio@… 14 years ago.
New crash gdb log
myth.9.log (192.9 KB) - added by riku.voipio@… 14 years ago.
New crash backend log

Download all attachments as: .zip

Change History (23)

Changed 14 years ago by riku.voipio@…

Attachment: myth.log added

first crash, mythtv log

Changed 14 years ago by riku.voipio@…

Attachment: gdb.txt added

first crash, gdb backtrace

Changed 14 years ago by riku.voipio@…

Attachment: myth.2.log added

second crash, end of mythtv log

Changed 14 years ago by riku.voipio@…

Attachment: gdb.2.txt added

second crash, gdb backtrace

Changed 14 years ago by riku.voipio@…

Attachment: myth.3.log added

3rd crash, end of mythtv log

Changed 14 years ago by riku.voipio@…

Attachment: gdb.3.txt added

3rd crash, gdb backtrace

Changed 14 years ago by riku.voipio@…

Attachment: myth.4.log added

4th crash, end of mythtv log

Changed 14 years ago by riku.voipio@…

Attachment: gdb.4.txt added

4th crash, gdb backtrace

comment:1 Changed 14 years ago by riku.voipio@…

Uh smack me hard. 2, 3 and 4 are the same crash. I'd delete them if I could..

Changed 14 years ago by riku.voipio@…

Attachment: gdb.2.2.txt added

second crash, gdb backtrace

Changed 14 years ago by riku.voipio@…

Attachment: myth.5.log added

crash6

Changed 14 years ago by anonymous

Attachment: gdb.5.txt added

crash6

Changed 14 years ago by riku.voipio@…

Attachment: myth.6.log added

crash7

Changed 14 years ago by riku.voipio@…

Attachment: myth.7.log added

crash7

Changed 14 years ago by anonymous

Attachment: gdb.6.txt added

crash7

Changed 14 years ago by anonymous

Attachment: gdb.7.txt added

crash8

Changed 14 years ago by riku.voipio@…

Attachment: myth.8.log added

crash8

Changed 14 years ago by Stuart Auchterlonie

Attachment: event-locking-0.19.diff added

Provide locking for Events Map

comment:2 Changed 14 years ago by Stuart Auchterlonie

Keywords: eit added
Milestone: 0.19
Owner: changed from Isaac Richards to Stuart Auchterlonie
Priority: majorminor

Can people experiencing problems with 0.19 crashing on them please try the patch event-locking-0.19.diff that I've attached to this ticket.

To apply it, you'll need to be in your mythtv build dir and apply as follows

patch -p1 < event-locking-0.19.diff

Any other problems, drop into #mythtv-users on irc.freenode.net

Changed 14 years ago by riku.voipio@…

Attachment: gdb.8.txt added

New crash gdb log

Changed 14 years ago by riku.voipio@…

Attachment: myth.9.log added

New crash backend log

comment:3 Changed 14 years ago by riku.voipio@…

Cc: riku.voipio@… added

I pulled latest svn from 0.19-fixes branch, and applied your patch, but it does not really seem to improve backend stability :-|

Also I see glibc memory error detections, I guess I should provide valgrind output as well?

* glibc detected * free(): invalid next size (fast): 0x08236468 *

comment:4 Changed 14 years ago by danielk

Resolution: wontfix
Status: newclosed

Please test eit with the svn-head branch.

EIT is undergoing a complete rewrite.

Note: See TracTickets for help on using tickets.