[mythtv-users] mythcommflag core dumping

Don Lewis dl-mythtv at catspoiler.org
Tue Oct 11 21:24:19 UTC 2011


I've been seeing quite a few mythcommflag failures recently.  This
coredump seems to be typical:

(gdb) bt
#0  0x000000000040b517 in ClassicLogoDetector::DetectEdges (this=0xd02040, 
    frame=<value optimized out>, edges=0x7f92904c8010, edgeDiff=10)
    at ClassicLogoDetector.cpp:537
#1  0x000000000040c06e in ClassicLogoDetector::searchForLogo (
    this=<value optimized out>, player=0xb8db50) at ClassicLogoDetector.cpp:132
#2  0x000000000041e85c in ClassicCommDetector::go (this=0xb8d570)
    at ClassicCommDetector.cpp:357
#3  0x000000000045d418 in DoFlagCommercials (program_info=0x7fff25314a60, 
    outputfilename=..., useDB=true) at main.cpp:612
#4  FlagCommercials (program_info=0x7fff25314a60, outputfilename=..., useDB=
    true) at main.cpp:840
#5  0x000000000045ef6f in FlagCommercials (chanid=4049, starttime=..., 
    outputfilename=..., useDB=true) at main.cpp:873
#6  0x00000000004650bb in main (argc=5, argv=<value optimized out>)
    at main.cpp:1351

(gdb) list
532	                continue;
533	
534	            pos = y * width + x;
535	            p = buf[pos];
536	
537	            if (( abs(buf[y * width + (x - r)] - p) >= edgeDiff) ||
538	                ( abs(buf[y * width + (x + r)] - p) >= edgeDiff))
539	            {
540	                edges[pos].horiz++;
541	                edgeCount++;

(gdb) print x
$1 = 22
(gdb) print y
$2 = 22
(gdb) print width
$3 = 704
(gdb) print r
$4 = 2
(gdb) print p
Cannot access memory at address 0x3c96
(gdb) print pos
$5 = 15510

It's wierd that gdb can't print variable p because it's a just a local
variable ... maybe some sort of interaction with optimization ...

(gdb) print buf[15510]
Cannot access memory at address 0x3c96
(gdb) print buf
$6 = (unsigned char *) 0x0
(gdb) print frame
$7 = <value optimized out>



mythtv-0.24.1-275.fc14.x86_64 package from ATRPMS.

Please attach all output as a file in bug reports.
MythTV Version   : v0.24.1-55-g8bc2a66
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.3
Options compiled in:
 linux release using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg



More information about the mythtv-users mailing list