Project

General

Profile

Bug #1222

Crash in avgstat_expire (?)

Added by Andy Brown about 12 years ago. Updated about 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-09-13
Due date:
% Done:

0%

Estimated time:
Found in version:
3.1.668.g66d3e.dirty
Affected Versions:

Description

Getting a crash, not regularly but frequent enough to reproduce within 24hrs, pulled latest and can confirm it happens whether tv is being watched (It was in the case of this crash) or not (Last night it happened around 2am when no subscriptions were active or recordings).

Paste of gdb info at: http://pastebin.com/M0tL5Ffj

History

#1

Updated by Adam Sutton about 12 years ago

Interesting, I'll take a look. I did do some mods in there, with a view to making it a bit more robust so possible I've cocked something up though you're the first to report it.

Adam

#2

Updated by Andy Brown about 12 years ago

(The joys of being an oncall engineer, being awake at 03:50am)

It happened again and slightly different dump, so there is either 2 problems going on here or the first one dumped and didn't give us good information.

Second one is more along what you first thought Adam, its opentv the only activity live:
http://pastebin.com/seKCNCbG

#3

Updated by Andy Brown about 12 years ago

And again this morning:

Sep 14 05:46:15 [DEBUG]:dvb: "/dev/dvb/adapter10" tuning via s2api to "12,129,000 kHz Vertical (Default (Port 0, Universal LNB))" (1529000, 27500000 Baud, 2/3, SYS_DVBS, QPSK) for Autoscan
Sep 14 05:46:15 [DEBUG]:uk_freesat: install table handlers
Sep 14 05:46:15 [DEBUG]:eit: install table handlers
Sep 14 05:46:22 [DEBUG]:opentv-skyuk: finish processing BAT
Sep 14 05:46:22 [DEBUG]:opentv-skyuk: begin processing

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6de9b70 (LWP 15349)]
0x08053b12 in epg_broadcast_find_by_eid (ch=0x81443d8, eid=950) at /usr/src/tvheadend-andyb2000/tvheadend-live/src/epg.c:1459
1459 RB_FOREACH(e, &ch->ch_epg_schedule, sched_link) {

#0 0x08053b12 in epg_broadcast_find_by_eid (ch=0x81443d8, eid=950) at /usr/src/tvheadend-andyb2000/tvheadend-live/src/epg.c:1459
e = 0x72612067
#1 0x0807804a in _opentv_parse_event_section (mod=0x85f9f10, sta=0x8177900, buf=0xb6de82db "\020\245\301", len=99, type=2)
at /usr/src/tvheadend-andyb2000/tvheadend-live/src/epggrab/module/opentv.c:376
i = <value optimized out>
cid = <value optimized out>
save = 0
mjd = 1348185600
ec = 0x8f03088
ebc = <value optimized out>
ee = <value optimized out>
es = <value optimized out>
ev = {ev_link = {left = 0x0, right = 0x0, parent = 0x0, color = 0}, cid = 4261, eid = 950, start = 0, stop = 0,
title = 0x0, summary = 0x97a1118 "A late night round up of everyone's favourite Toy Box!", desc = 0x0, cat = 0 '\000',
series = 0x0, type = 2 '\002'}
src = 0x85f9f10
lang = 0x80c6370 "eng"
PRETTY_FUNCTION = "_opentv_parse_event_section"
#2 0x0808e692 in dvb_proc_table (aux=0x80e7778) at /usr/src/tvheadend-andyb2000/tvheadend-live/src/dvb/dvb_tables.c:171
chkcrc = 1
tableid = 168
len = <value optimized out>
ret = <value optimized out>
ptr = 0xb6de82db "\020\245\301"
#3 dvb_table_input (aux=0x80e7778) at /usr/src/tvheadend-andyb2000/tvheadend-live/src/dvb/dvb_tables.c:217
tda = 0x80e7778
r = 950
i = <value optimized out>
tid = <value optimized out>
x = 1
ev = {{events = 1, data = {ptr = 0x294b, fd = 10571, u32 = 10571, u64 = 429496740171}}}
sec = "\250\360g\020\245\301\000\000\333\177\003\266\260*\271(8\265%\277U\306\f\370\216\327N\253\214$u\\`Ѫ\343\003ʸ\301\247\340\203C5\016\322V\374,\321\310\aա\212\003ܰ*\271(8\265%\277U\306\f\370\216\327N\253\214$u\\`Ѫ\343\003ʸ\301\247\340\203C5\016\322V\374,\321\310\aա\212\333\377]\001O\340\333m\207\220O\r\321\002\000\037\220\035D\004|\345\061\245\277\f\272@]9)\332$\307\354\200a\341\240\346\177RD\266qC\020'\305\000#\243\005\300\000+\243\005\277\000P\243\005\301\000\026\243\005\302\000;\243\000\352\260N\265\033\026\332\n\214\350\030\000\004U\fۄҚ\250\244\r\242\364L\267\067\310W5\347\352\304\005\005\026\000\000\243\303(\005\303\000\031\243\005\304\000<\243\005\026\000\352\243\005\305\000\f\243\005\300\000\063\243\005\277\000R\243\005\301\000\025\243\005\302\000O\243\001\033\260\026\265\024!f\001\302\350Y\000\004\t\200\216\253\214\004\003!R@\027\220\001 \260\026\265\024#(\003\204\340Y@\004qy\037\005\344\062\n\314\302Y\032}\001!\260N\265\033&\254\n\214\350\030\000\004U\fۄҚ\250\244\r\242\364L\267\067\310W5\347\352\304\005\005\026\000\000\243\303(\005\303"...
tdmi = 0x82364f8
tdt = 0x8907918
cycle_barrier = 0
PRETTY_FUNCTION = "dvb_table_input"
#4 0x00307e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#5 0x003ec9ee in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

#4

Updated by Andy Brown about 12 years ago

Split this into two bug reports - THIS ONE IS FOR AVGSTAT_EXPIRE

#5

Updated by Adam Sutton about 12 years ago

  • Status changed from New to Need feedback

I cannot see how this relates to #1223 and #1224, its in a very different area of code.

However given the problem in those two bugs was memory corruption it can't be ruled out. Therefore I will leave open for now pending further updates etc...

However if its not seen again in the coming weeks I may assume its fixed.

Adam

#6

Updated by Adam Sutton about 12 years ago

  • Status changed from Need feedback to Rejected

Andy,

I'm going to close this one. The build was known to have several nasty bugs which caused the other reported crash.

However if this happens again please report/reopen and I'll investigate.

Adam

Also available in: Atom PDF