Bug#779520: segfault in atsc_epg when receiving / processing EIT

Joseph Nahmias joe at nahmias.net
Sun Mar 1 20:30:16 UTC 2015


Package: dvb-apps
Version: 1.1.1+rev1500-1
Severity: normal
File: /usr/bin/atsc_epg

Hello,

I am getting a consistent segfault when I use atsc_epg.  Here's the output I
receive:

$ atsc_epg -a 0 -f 63000000 
tuning to 63000000 Hz, please wait...
tuner locked.
system time: Sun Mar  1 15:16:36 2015
TS STT time: Sun Mar  1 15:16:51 2015
MGT table:
   0: type = 0x0000, PID = 0x1FFB, terrestrial VCT with current_next_indictor=1
   1: type = 0x0004, PID = 0x1E80, channel ETT
   2: type = 0x0100, PID = 0x1D00, EIT 0
   3: type = 0x0101, PID = 0x1D01, EIT 1
   4: type = 0x0102, PID = 0x1D02, EIT 2
   5: type = 0x0103, PID = 0x1D03, EIT 3
   6: type = 0x0104, PID = 0x1D04, EIT 4
   7: type = 0x0105, PID = 0x1D05, EIT 5
   8: type = 0x0106, PID = 0x1D06, EIT 6
   9: type = 0x0107, PID = 0x1D07, EIT 7
  10: type = 0x0200, PID = 0x1E00, event ETT 0
  11: type = 0x0201, PID = 0x1E01, event ETT 1
  12: type = 0x0202, PID = 0x1E02, event ETT 2
  13: type = 0x0203, PID = 0x1E03, event ETT 3
  14: type = 0x0204, PID = 0x1E04, event ETT 4
  15: type = 0x0205, PID = 0x1E05, event ETT 5
  16: type = 0x0206, PID = 0x1E06, event ETT 6
  17: type = 0x0207, PID = 0x1E07, event ETT 7
receiving EIT .Segmentation fault


After recompiling the package source, to preserve debugging symbols, I obtained
the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned ()
    at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:142
142	../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) bt full
#0  __memcpy_sse2_unaligned ()
    at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:142
No locals.
#1  0x00007ffff79c2d6b in atsc_text_segment_decode () from /usr/lib/libucsi.so
No symbol table info available.
#2  0x000000000040200a in parse_events (section=<optimized out>, 
    eit=<optimized out>, curr_info=<optimized out>) at atsc_epg.c:654
        seg = 0x0
        e_info = 0x2
        k = 6405240
        e = 0x0
        start_time = 1425232816
        j = 0
        end_time = 1425234616
#3  parse_eit (pid=<optimized out>, index=<optimized out>, 
    dmxfd=<optimized out>) at atsc_epg.c:808
        ret = 0
        eit_info = 0x0
        k = 74
        section_num = 0 '\000'
        eit = 0x7fffffffcf60
#4  main (argc=0, argv=0x7fffffffcf75) at atsc_epg.c:1199
        __FUNCTION__ = "main"



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dvb-apps depends on:
ii  dtv-scan-tables  0+git20141218.b46a22c-1
ii  libc6            2.19-15
ii  libpng12-0       1.2.50-2+b2
ii  libx11-6         2:1.6.2-3
ii  libzvbi0         0.2.35-3
ii  udev             215-12
ii  zlib1g           1:1.2.8.dfsg-2+b1

dvb-apps recommends no packages.

dvb-apps suggests no packages.

-- no debconf information



More information about the pkg-vdr-dvb-devel mailing list