[mythtv] [BT] LogoDetection SIGSEGV

Christian Hoenig me at christianhoenig.de
Sat Mar 6 10:27:06 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a BT here from the LogoDetection Code. 
Since I'm not very familiar with gdb, I don't know if that is valuable data, 
but I'll keep the gdb running for a while just to give you the chance to 
request other data.

I have CommercialDetection set to LogoDetection, but all other settings of the 
commercial detection are off.
This SIGSEGV occured after fast switching between LiveTV and none with MBE and 
FE not on the same machine.


much fun :-)

take care, have fun
/christian
EDDK



So, here it is:
mythtv at elara ~/make/mythtv.debug > gdb mythbackend
GNU gdb 5.3
Copyright 2002 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 "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/local/mythtv/bin/mythbackend
[New Thread 16384 (LWP 21945)]
Starting up as the master server.
[New Thread 32769 (LWP 21956)]
[New Thread 16386 (LWP 21957)]
[New Thread 32771 (LWP 21959)]
[New Thread 49156 (LWP 21961)]
[New Thread 65541 (LWP 21962)]
[New Thread 81926 (LWP 21963)]
[New Thread 98311 (LWP 21964)]
2004-03-06 16:03:39 Found changes in the todo list.
2004-03-06 16:03:39 USER-Startup assumed
2004-03-06 16:03:39 primeBlocker beg: Sat Mar 6 19:45:00 2004
2004-03-06 16:03:39 primeBlocker end: Sat Mar 6 22:00:00 2004
2004-03-06 16:03:39 mythbackend version: 0.15.20040303-1 www.mythtv.org
2004-03-06 16:03:39 Enabled verbose msgs : important general
[New Thread 114696 (LWP 21967)]
[New Thread 131081 (LWP 21968)]
[New Thread 147466 (LWP 21969)]
[New Thread 163851 (LWP 21970)]
[New Thread 180236 (LWP 21971)]
mythfrontend: cannot connect to X server
2004-03-06 16:03:52 MainServer::HandleAnnounce Playback
2004-03-06 16:03:52 adding: luna as a client (events: 0)
2004-03-06 16:03:52 Getting next free recorder : -1
2004-03-06 16:03:52 MainServer::HandleAnnounce Playback
2004-03-06 16:03:52 adding: luna as a client (events: 1)
2004-03-06 16:03:52 MainServer::HandleAnnounce Playback
2004-03-06 16:03:52 adding: luna as a client (events: 0)
[New Thread 196621 (LWP 21979)]
2004-03-06 16:03:52 MainServer::HandleAnnounce Playback
2004-03-06 16:03:52 adding: luna as a client (events: 0)
2004-03-06 16:03:52 adding: luna as a remote ringbuffer
2004-03-06 16:03:52 Changing from None to WatchingLiveTV
[New Thread 213006 (LWP 21980)]
[New Thread 229391 (LWP 21981)]
[New Thread 245776 (LWP 21982)]
2004-03-06 16:03:59 Changing from WatchingLiveTV to None
2004-03-06 16:04:00 Getting next free recorder : -1
2004-03-06 16:04:00 MainServer::HandleAnnounce Playback
2004-03-06 16:04:00 adding: luna as a client (events: 0)
[New Thread 262161 (LWP 21986)]
2004-03-06 16:04:00 MainServer::HandleAnnounce Playback
2004-03-06 16:04:00 adding: luna as a client (events: 0)
2004-03-06 16:04:00 adding: luna as a remote ringbuffer
2004-03-06 16:04:00 Changing from None to WatchingLiveTV
[New Thread 278546 (LWP 21990)]
[New Thread 294931 (LWP 21991)]
[New Thread 311316 (LWP 21992)]
2004-03-06 16:04:02 Changing from WatchingLiveTV to None
2004-03-06 16:04:04 Getting next free recorder : -1
2004-03-06 16:04:04 MainServer::HandleAnnounce Playback
2004-03-06 16:04:04 adding: luna as a client (events: 0)
[New Thread 327701 (LWP 21996)]
2004-03-06 16:04:04 MainServer::HandleAnnounce Playback
2004-03-06 16:04:04 adding: luna as a client (events: 0)
2004-03-06 16:04:04 adding: luna as a remote ringbuffer
2004-03-06 16:04:04 Changing from None to WatchingLiveTV
[New Thread 344086 (LWP 21997)]
[New Thread 360471 (LWP 21998)]
[New Thread 376856 (LWP 21999)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 360471 (LWP 21998)]
0x40182b3d in CommDetect::CheckStationLogo() (this=0x84952c8) at 
commercial_skip.cpp:271
271                 if (logoCheckMask[index] == 0)
(gdb) bt
#0  0x40182b3d in CommDetect::CheckStationLogo() (this=0x84952c8) at 
commercial_skip.cpp:271
#1  0x401823f1 in CommDetect::ProcessNextFrame(VideoFrame_*, long long) 
(this=0x84952c8, frame=0x4c113a04, frame_number=0) at commercial_skip.cpp:130
#2  0x402f523e in NuppelVideoRecorder::WriteVideo(VideoFrame_*, bool, bool) 
(this=0x80ea610, frame=0x4c113a04, skipsync=false, forcekey=false)
    at NuppelVideoRecorder.cpp:2884
#3  0x402f456d in NuppelVideoRecorder::doWriteThread() (this=0x80ea610) at 
NuppelVideoRecorder.cpp:2598
#4  0x402f291d in NuppelVideoRecorder::WriteThread(void*) (param=0x80ea610) at 
NuppelVideoRecorder.cpp:1907
#5  0x41051ee0 in pthread_start_thread () from /lib/libpthread.so.0
#6  0x41051fe2 in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 25 (Thread 376856 (LWP 21999)):
#0  0x4105769b in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x4043b9a0 in __JCR_LIST__ () 
from /usr/local/mythtv/lib/libmythtv-0.15.so.0
No symbol table info available.
#2  0x402f294b in NuppelVideoRecorder::AudioThread(void*) (param=0x80ea610) at 
NuppelVideoRecorder.cpp:1916
        nvr = (NuppelVideoRecorder *) 0x80ea610
#3  0x41051ee0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x41051fe2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 24 (Thread 360471 (LWP 21998)):
#0  0x40182b3d in CommDetect::CheckStationLogo() (this=0x84952c8) at 
commercial_skip.cpp:271
        index = -1080468328
        x = 139023126
        y = 139023157
        in_sum = 0
        in_pixels = 0
        out_sum = 0
        out_pixels = 0
        in_avg = 1078180256
        out_avg = 135065344
#1  0x401823f1 in CommDetect::ProcessNextFrame(VideoFrame_*, long long) 
(this=0x84952c8, frame=0x4c113a04, frame_number=0) at commercial_skip.cpp:130
        nowPresent = false
#2  0x402f523e in NuppelVideoRecorder::WriteVideo(VideoFrame_*, bool, bool) 
(this=0x80ea610, frame=0x4c113a04, skipsync=false, forcekey=false)
    at NuppelVideoRecorder.cpp:2884
        tmp = 36288
        r = 0
        out_len = 31622
        frameheader = {frametype = 86 'V', comptype = 50 '2', keyframe = 0 
'\0', filters = 0 '\0', timecode = 131, packetlength = 31622}
        xaa = 43
        freecount = 42
        compressthis = 1
        raw = 0
        timeperframe = 40
        planes = {
  0x8239370 
"\023\021\022\023\023\020\026\026\024\020\020\020\020\020\020\022\020\023\025\020\022\020\021\020\020\020\020\020\021\021\020\020\021\020\020\020\020\020\021\021\020\020\022\024\020\020\021\020\020\020\020\023\023\025\020\020\020\026\021\020\020\020\020\020\020\022\020\020\020\020\020\020\020\020\020\020\023\020\020\020\022", 
'\020' <repeats 21 times>, 
"\022\020\020\020\023\024\024\020\020\020\020\022\020\022\020\020\020\022\026", 
'\020' <repeats 18 times>, 
"\023\020\020\020\020\024\020\020\020\020\020\023\020\020\020\020\022", 
'\020' <repeats 12 times>, "\021\024", '\020' <repeats 18 times>, 
"\023\022\020\020\020\020\020\020\020\021\020\020"...,
  0x8284370 
"ywvvvvvtrrrvwwwwyy{yyyy{{{yyyyyyyywvttuvyywwy{{{yxyywvurstvvttvwwwyyyyywwvtstrprtvvy{|}}}
{{yywvttvwyxwvtttvtvwxy{ywywwwwwxy{{yywvuvvvwyyywvstvvvvyz{{{yywvuvvuvwwvwwwwwvvvvwwwvvvvwvwwxy{{yyy", 
'w' <repeats 11 times>...,
  0x8296f70 
"wwwvuuvwvssuvvvuuvwwwwvwwwwwwwwwwyyzzyxwzzzyyyzzzzyyyzywvvwxyywwwwvvwywyz{{|
zyyywwwwwwwwwyzzz|zwwvuuvwwwvvvvvvvwyzzzzyywwwwwwyyyxywwwwyy|~|
zywwwvutuvvvwwwwvvvvwwwwwwyyyyyyxyzzzyywwwvvvwwwwyyyyyyzzzzyw"...}
        len = 460800
[snip]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFASe3QmauZIX3ydQURAmi1AKDM6F8RlWbUJ8c63v8xyFLZmRhy6wCfaGeN
Gew/QEW8WIPZg5XkTGeESuY=
=qKqY
-----END PGP SIGNATURE-----


More information about the mythtv-dev mailing list