[mythtv] Re: [EXPerimental PATCH] BIG DVB PATCH V1.1

Ciaran ciaranj at gmail.com
Mon Nov 8 18:19:03 UTC 2004


Hi, well the backend appears to stay up, not been able to test mythtv
itself yet, but doing well :)
Unfortunately when I rup up mythscan2, that still segfaults.  Please
find gdb trace below, not sure if its of any use to you :(
- Ciaran
snes9x-1.43-dev
snes9x-1.43-WIP1-linux-x86.tar.gz
######################################################################
# Automatically generated by qmake (1.03a) Wed Sep 25 13:43:31 2002
######################################################################

#MYTHPATH = /home/jmp/cvs/mythtv
MYTHPATH = /home/mythtv/mythdvb/mythtv
TEMPLATE = app
CONFIG -= moc
CONFIG += thread dll
CONFIG += DEBUG
QMAKE_CXXFLAGS_RELEASE = -O2

INCLUDEPATH += $$MYTHPATH/libs/libmythtv $$MYTHPATH/libs $$MYTHPATH/libs/libmyth

LIBS += -L$$MYTHPATH/libs/libmyth -L$$MYTHPATH/libs/libmythtv
-L$$MYTHPATH/libs/libavcodec
LIBS += -L$$MYTHPATH/libs/libavformat

include ( $$MYTHPATH/settings.pro )

LIBS += -lmythtv-$$LIBVERSION -lmythavformat-$$LIBVERSION
LIBS += -lmythavcodec-$$LIBVERSION -lmyth-$$LIBVERSION $$EXTRA_LIBS

DEPENDPATH += $$MYTHPATH/libs/libmythtv $$MYTHPATH/libs/libmyth
$$MYTHPATH/libs/libavcodec
DEPENDPATH += $$MYTHPATH/libs/libavformat

INCLUDEPATH += $$MYTHPATH/libs/libmythtv/dvbdev

# Input
SOURCES += mythscan2.cpp
"mythscan2.pro" 29L, 973C written
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# qmake mythscan2.pro
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# make
make: Nothing to be done for `first'.
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# make clean
rm -f mythscan2.o
rm -f *~ core *.core
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# make
g++ -c -pipe -Wall -W -g -D_REENTRANT  -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/\" -DMMX -DCONFIG_VIDEO4LINUX
-DUSING_IVTV -DUSING_OSS -DUSING_DVB -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I.
-I../../mythdvb/mythtv/libs/libmythtv -I../../mythdvb/mythtv/libs
-I../../mythdvb/mythtv/libs/libmyth -I/usr/include
-I/usr/local/include -I/usr/local/src/dvb-kernel/linux
-I../../mythdvb/mythtv/libs/libmythtv/dvbdev -I/usr/include/qt3 -o
mythscan2.o mythscan2.cpp
g++  -o mythscan2 mythscan2.o    -L/usr/share/qt3/lib -L/usr/X11R6/lib
-L/home/mythtv/mythdvb/mythtv/libs/libmyth
-L/home/mythtv/mythdvb/mythtv/libs/libmythtv
-L/home/mythtv/mythdvb/mythtv/libs/libavcodec
-L/home/mythtv/mythdvb/mythtv/libs/libavformat -lmythtv-0.16
-lmythavformat-0.16 -lmythavcodec-0.16 -lmyth-0.16 -lfreetype
-lmp3lame -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lqt-mt -lXext
-lX11 -lm -lpthread
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# ./mythscan2
2004-11-08 18:14:59 SIParser: Using SI Standard: DVB
2004-11-08 18:14:59 DVB#0 DVB SI Table Parser Started
2004-11-08 18:14:59 SIParser: Starting DVB Section Reader thread
2004-11-08 18:14:59 SIParser: Started Parser Thread
2004-11-08 18:14:59 DVB#0 Using DVB card 0, with frontend CX22702
Demod Thomson 75xx PLL.
2004-11-08 18:14:59 SIParser: Starting SIScanner
Segmentation fault
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# ./mythscan2
2004-11-08 18:15:00 SIParser: Using SI Standard: DVB
2004-11-08 18:15:00 DVB#0 DVB SI Table Parser Started
2004-11-08 18:15:00 SIParser: Starting DVB Section Reader thread
2004-11-08 18:15:00 SIParser: Started Parser Thread
2004-11-08 18:15:00 DVB#0 Using DVB card 0, with frontend CX22702
Demod Thomson 75xx PLL.
2004-11-08 18:15:00 SIParser: Starting SIScanner
Segmentation fault
pookie:/home/mythtv/mythtv_dvb_patch_v1.1/mythscan# gdb ./mythscan2
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /home/mythtv/mythtv_dvb_patch_v1.1/mythscan/mythscan2
[Thread debugging using libthread_db enabled]
[New Thread 1098825632 (LWP 5402)]
2004-11-08 18:15:10 SIParser: Using SI Standard: DVB
2004-11-08 18:15:10 DVB#0 DVB SI Table Parser Started
[New Thread 1107925936 (LWP 5405)]
2004-11-08 18:15:10 SIParser: Starting DVB Section Reader thread
[New Thread 1116314544 (LWP 5406)]
2004-11-08 18:15:10 SIParser: Started Parser Thread
2004-11-08 18:15:10 DVB#0 Using DVB card 0, with frontend CX22702
Demod Thomson 75xx PLL.
[New Thread 1125338032 (LWP 5410)]
2004-11-08 18:15:10 SIParser: Starting SIScanner

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1098825632 (LWP 5402)]
0x415aeeba in __strtol_internal () from /lib/tls/libc.so.6
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) thread apply all bt full

Thread 4 (Thread 1125338032 (LWP 5410)):
#0  0x4162e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x41657c5b in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x4047f228 in SIScan::StartScanner (this=0x806d018) at siscan.cpp:92
No locals.
#3  0x0804ae8b in SpawnScanner (param=0x806d018) at mythscan2.cpp:15
        scan = (class SIScan *) 0x806d018
#4  0x4148f9b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 1116314544 (LWP 5406)):
#0  0x4162e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x41657c5b in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x4047039e in SIParser::StartParser (this=0x41834008) at siparser.cpp:329
No locals.
#3  0x4043f829 in SpawnSIParser (param=0x41834008) at dvbchannel.cpp:71
---Type <return> to continue, or q <return> to quit---
        siparser = (class DVBSIParser *) 0x41834008
#4  0x4148f9b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 1107925936 (LWP 5405)):
#0  0x4162e51c in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x41657c5b in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x4046c73e in DVBSIParser::StartSectionReader (this=0x41834008)
    at dvbsiparser.cpp:196
        ret = -1
        buffer = '\0' <repeats 3820 times>,
"\214¿XAä\231\tNüõ\006@à\231\tBûv\000@¹Ô\v@\231\001\016@þãHA ", '\0'
<repeats 15 times>,
"¾L\020@\214®\a@\234ð\003@Ðy\001@\036\000\000\000\\\v{A\000l\001 at l{\001@\220\232\tBX\232\tBï}\000@\231\001\016@&\006ð\nÜq\005 at D\232\tB\210o\001@\001\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000D\232\tB",
'\0' <repeats 20 times>,
"&\006ð\nÐy\001@\231\001\016@\000\000\000\000\214¿XA\000\000XA\000\000\000\000Üq\005@Ðy\001@\000l\001@\000\000\000\000Ðy\001@
"...
        processed = false
#3  0x4043f7fb in SpawnSectionReader (param=0x41834008) at dvbchannel.cpp:64
---Type <return> to continue, or q <return> to quit---
        siparser = (class DVBSIParser *) 0x41834008
#4  0x4148f9b4 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 1098825632 (LWP 5402)):
#0  0x415aeeba in __strtol_internal () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xbffffa70 in ?? ()
No symbol table info available.
#2  0x43134bf8 in ?? ()
No symbol table info available.
#3  0x080663f4 in ?? ()
No symbol table info available.
#4  0x00000006 in ?? ()
No symbol table info available.
#5  0x43134bb0 in ?? ()
No symbol table info available.
#6  0x000fffff in ?? ()
No symbol table info available.
#7  0x00000051 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#8  0xbffffa88 in ?? ()
No symbol table info available.
#9  0x4000e881 in _dl_allocate_tls () from /lib/ld-linux.so.2
No symbol table info available.
#10 0x40016c00 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#11 0x00001588 in ?? ()
No symbol table info available.
#12 0x417ebfa0 in ?? ()
No symbol table info available.
#13 0xffffffe4 in ?? ()
No symbol table info available.
#14 0x4000ba16 in _dl_map_object_deps () from /lib/ld-linux.so.2
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
(gdb)
(gdb)


More information about the mythtv-dev mailing list