Project

General

Profile

Bug #553

Segfault after removing channel

Added by John Törnblom almost 11 years ago. Updated almost 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2011-06-05
Due date:
% Done:

100%

Estimated time:
1.00 h
Found in version:
2.12
Affected Versions:

Description

When a channel is removed, the timer to trigger event updates is not removed. Once the timer is triggered, the reference to the channel is not valid any more.

Jun 3 17:46:20 workstation tvheadend10011: channels: Channel "Wild TV HD" deleted
Jun 3 17:47:03 workstation tvheadend10011: channels: Channel "Music Choice" deleted
Jun 3 17:47:19 workstation tvheadend10011: channels: Channel "CANAL+ Extboll" deleted
Jun 3 17:47:31 workstation tvheadend10011: channels: Channel "CANAL+ Extra 1" deleted
Jun 3 17:47:39 workstation tvheadend10011: channels: Channel "CANAL+ Sport Extra" deleted
Jun 3 17:50:00 workstation tvheadend10011: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (git-3e1d2f4) [34c53474a667fcde9052a64267e2125f0a83ea89] CWD: /
Jun 3 17:50:00 workstation tvheadend10011: CRASH: Fault address 0x6920616e (Address not mapped)
Jun 3 17:50:00 workstation tvheadend10011: CRASH: Loaded libraries: /lib/librt.so.1 /lib/libdl.so.2 /usr/lib/libssl.so.1.0.0 /usr/lib/libcrypto.so.1.0.0 /lib/libz.so.1 /lib/libpthread.so.0 /lib/libm.so.6 /lib/libc.so.6 /lib/ld-linux.so.2 /lib/libnss_compat.so.2 /lib/libnsl.so.1 /lib/libnss_nis.so.2 /lib/libnss_files.so.2
Jun 3 17:50:00 workstation tvheadend10011: CRASH: Register dump [19]: 00000033 00000000 0000007b 0000007b 081f50a8 0820a4d8 bf8e0148 bf8e0120 4de90500 6920616e 00000000 0820be18 0000000e 00000006 0804bc66 00000073 00210283 bf8e0120 0000007b
Jun 3 17:50:00 workstation tvheadend10011: CRASH: STACKTRACE
Jun 3 17:50:00 workstation tvheadend10011: CRASH: /home/john/projects/tvheadend/src/trap.c:139 0x8067bff
Jun 3 17:50:00 workstation tvheadend10011: CRASH: __kernel_rt_sigreturn+0x0 ()
Jun 3 17:50:00 workstation tvheadend10011: CRASH: /home/john/projects/tvheadend/src/epg.c:67 0x804fb75
Jun 3 17:50:00 workstation tvheadend10011: CRASH: /home/john/projects/tvheadend/src/main.c:215 0x804bb4e
Jun 3 17:50:00 workstation tvheadend10011: CRASH: __libc_start_main+0xe6 (/lib/libc.so.6)
Jun 3 17:50:00 workstation kernel: tvheadend10011: segfault at 6920616e ip 0804bc66 sp bf8e0120 error 6 in tvheadend[8048000+1a6000]
Jun 3 17:50:00 workstation tvheadend10011: CRASH: ??:0 0x804ae71


Related issues

Is duplicate of Bug #533: git-8281379 crash when deleting channels from Configuration-->ChannelsFixed2011-05-24

Actions

Associated revisions

Revision f8710c71 (diff)
Added by Andreas Smas almost 11 years ago

epg: Correctly unlink from channels (avoid rearming timers causing segfault)

Fixes #553
Fixes #533
Fixes #513

History

#1

Updated by Andreas Smas almost 11 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF