Opened 18 years ago
Closed 18 years ago
#1444 closed defect (fixed)
Backend SEGV under TVRec::TuningSignalCheck
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Backend is normally completely stable, but r9247 has crashed 6 times in the last 24 hours. Backend is idle at the time (apart from processing EIT from UK DVB).
Backtrace attached, and last few minutes of log from one crash (log was record,channel,siparser).
Attachments (7)
Change History (13)
Changed 18 years ago by
Attachment: | gdb-ex2.txt added |
---|
This is another of the backtraces. Looks quite different though. End of log was full of lines with "SIParser: NIT Present on this transport on PID 0x0"
comment:1 Changed 18 years ago by
Added trace from another of the crashes (gdb-ex2.txt), though looks different. This died with:
Program terminated with signal 11, Segmentation fault. #0 0x00002aaaab327c74 in ProgramAssociationTable::ProgramNumber (this=0x4aa0e8f0, i=4756403) at mpeg/mpegtables.h:421 421 { return (psipdata()[(i<<2)] << 8) | psipdata()[(i<<2) + 1]; }
comment:2 Changed 18 years ago by
Milestone: | → 0.20 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
[invalid]
The first backtrace is for a memory error, I need you do run valgrind to find where the error actually occurs.
The second backtrace is for a completely different problem and should have it's own ticket. Before you create another ticket though, I will need a matching "mythbackend -v siparser,channel,record" log with the backtrace. This looks like it is having problems with the reported length of the pes packet being inaccurate.
comment:3 Changed 18 years ago by
Added a run with valgrind. It stopped after 7 mins due to a pure virtual method call. I'll run it again, see if it has anything else.
Changed 18 years ago by
Attachment: | mythbackend.log.bz2 added |
---|
record,channel,siparser from first run of valgrind
Changed 18 years ago by
Attachment: | mythbackend.log.2.bz2 added |
---|
Backend log from second valgrind run
comment:4 Changed 18 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I've added a second valgrind run. Doesn't look too helpful though, and eventually valgrind fails on an assert. Also it's not clear if the pure virtual call from the first run was in myth or valgrind itself. I'm on x86_64 which is relatively new to valgrind, so it may have bugs.
comment:5 Changed 18 years ago by
comment:6 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
no reply from reporter about whether the fixes in SVN worked, assuming they did.
mythbackend backtrace