Project

General

Profile

Bug #1588

[CRASH] While trying to add or change EPG Source to Channel

Added by Tobias Göbel almost 10 years ago. Updated almost 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
Start date:
2013-02-03
Due date:
% Done:

100%

Estimated time:
Found in version:
a0e5b07e624492852402f2997f7c84e61b34fb98
Affected Versions:

Description

As you demand. I updated to latest master today and retried it. Problem is also in latest Master. (https://www.lonelycoder.com/redmine/issues/1460)

For your interest, i yust resettet TVheadend completely, to revent collision with old data or something.
TVheadend crashes when clicking on the dropdown box in channel EPG Data source.
Here is the Log. If you need any more logs or something, it's completely reproducable, just ask for it.

As EPG Source i'm useing XMLtv (I'll try to update the version too, soon.)

Feb 3 16:30:59 nas tvheadend21234: CRASH: Signal: 6 in PRG: tvheadend (3.3.448~ga0e5b07) [f49b4363f68bf2cb8df9f17f
b72ba9ca79c918f9] CWD: /
Feb 3 16:30:59 nas tvheadend21234: CRASH: Fault address 0x3e8000052f2 (N/A)
Feb 3 16:30:59 nas tvheadend21234: CRASH: Loaded libraries: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-l
inux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /usr
/lib/x86_64-linux-gnu/libavcodec.so.53 /usr/lib/x86_64-linux-gnu/libavutil.so.51 /usr/lib/x86_64-linux-gnu/libavforma
t.so.53 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libdl.so
.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-
linux-gnu/libdbus-1.so.3 /usr/lib/libvpx.so.1 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 /usr/lib/x86_64-linux-gnu/l
ibvorbis.so.0 /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 /usr/lib/x86_64
-linux-gnu/libspeex.so.1 /usr/lib/libschroedinger-1.0.so.0 /usr/lib/libgsm.so.1 /usr/lib/x86_64-linux-gnu/libva.so.1
/lib/x86_64-linux-gnu/libbz2.so.1.0 /usr/lib/x86_64-linux-gnu/libidn.so.11 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
/usr/lib/x86_64-linux-gnu/liblda
Feb 3 16:30:59 nas tvheadend21234: CRASH: Register dump [23]: 0000000000000000 00007faf2906aca8 0000000000000008 0
000000000000202 0000000000000058 0000000000000037 00007faeceffb190 0000000000000002 00000000000052f2 0000000000005327
00007faeceffb9c0 0000000000000000 0000000000000006 0000000000000000 ffffffffffffffff 00007faeceffb008 00007faf2909d4
25 0000000000000202 0000000000000033 0000000000000000 0000000000000000 fffffffe7ffbfa17 0000000000000000
Feb 3 16:30:59 nas tvheadend21234: CRASH: STACKTRACE
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/src/backup/tvheadend/2013-02-03/src/trap.c:141 0x42a90b
Feb 3 16:30:59 nas tvheadend21234: CRASH: ??:0 0x7faf29731cb0
Feb 3 16:30:59 nas tvheadend21234: CRASH: gsignal+0x35 (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: abort+0x17b (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: ??:0 0x7faf290db39e
Feb 3 16:30:59 nas tvheadend21234: CRASH: __fortify_fail+0x37 (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: ??:0 0x7faf29170710
Feb 3 16:30:59 nas tvheadend21234: CRASH: ??:0 0x7faf2916fb79
Feb 3 16:30:59 nas tvheadend21234: CRASH: _IO_default_xsputn+0xdd (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: _IO_vfprintf+0x25c2 (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: __vsprintf_chk+0x94 (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: __sprintf_chk+0x7d (/lib/x86_64-linux-gnu/libc.so.6)
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34 0x43264b
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/src/backup/tvheadend/2013-02-03/src/webui/extjs.c:605 0x440117
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/src/backup/tvheadend/2013-02-03/src/http.c:349 0x40a3dd
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/src/backup/tvheadend/2013-02-03/src/http.c:442 0x40aacd
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/src/backup/tvheadend/2013-02-03/src/http.c:758 0x40ad80
Feb 3 16:30:59 nas tvheadend21234: CRASH: /usr/src/backup/tvheadend/2013-02-03/src/tcp.c:428 0x4090ac
Feb 3 16:30:59 nas tvheadend21234: CRASH: ??:0 0x7faf29729e9a
Feb 3 16:30:59 nas tvheadend21234: CRASH: clone+0x6d (/lib/x86_64-linux-gnu/libc.so.6)

History

#1

Updated by Adam Sutton almost 10 years ago

  • Status changed from New to Need feedback

Can you provide a gdb stack trace, and possibly you could mail me your configuration. I cannot repeat this on my own setup.

Adam

#2

Updated by Adam Sutton almost 10 years ago

  • Status changed from Need feedback to Accepted
  • Target version set to 3.4

I've received the config and can confirm that crashes on my setup.

Adam

#3

Updated by Adam Sutton almost 10 years ago

OK

Looks like the problem is I'm not checking string bounds and it appears you have an XMLTV channel reference that's very long. I'll post a fix soon.

Adam

#4

Updated by Tobias Göbel almost 10 years ago

Wow, that's realy fast. Thanks for the help :)

#5

Updated by Adam Sutton almost 10 years ago

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

Applied in changeset commit:e50408ee0ba522053a21639188e747ff566b119b.

Also available in: Atom PDF