[mythtv-users] mythcommflag and mythpreviewgen segmentation faults

djh999gc at gmail.com djh999gc at gmail.com
Fri Dec 17 16:38:03 UTC 2010


I believe the fixes do come from the avenard repo on this machine.

#####
/etc/apt/sources.list.d/avenard.list
deb http://www.avenard.org/files/ubuntu-repos lucid release
#####

I see a new batch of updates - I will upgrade with those and retest.
Thanks for all your work Jean-Yves, I've used your repos for a few years
now (& I still appreciate your VDPAU work with 0.23!)

Thanks, Brian for the other suggestion as well.  I understand that
stack trace is something that's generated by using gdb.  Here are the
results of my ghb effort.  I didn't recompile mythcommflag with
debugging support...but I will if it's necessary (& if I can get a clue
as to how).  Here's the gdb bt:

#####
$ gdb bt mythcommflag -c 1391 -s 20101216220000
Excess command line arguments ignored. (mythcommflag)
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
bt: No such file or directory.
/home/mythtv/recs/1391: No such file or directory.
(gdb) set pagination 0
(gdb) file mythcommflag
Reading symbols from /usr/bin/mythcommflag...(no debugging symbols
found)...done.
(gdb) run --hogcpu -c 1391 -s 20101216220000
Starting program: /usr/bin/mythcommflag --hogcpu -c 1391 -s
20101216220000
[Thread debugging using libthread_db enabled]
2010-12-17 08:27:40.062 Using runtime prefix = /usr
2010-12-17 08:27:40.062 Using configuration directory
= /home/myth/.mythtv
2010-12-17 08:27:40.063 Empty LocalHostName.
[New Thread 0x7fffe5a48700 (LWP 8410)]
[Thread 0x7fffe5a48700 (LWP 8410) exited]
2010-12-17 08:27:40.126 New DB connection, total: 1
2010-12-17 08:27:40.134 Closing DB connection named 'DBManager0'
2010-12-17 08:27:40.140 mythcommflag version: 0.24.20101129-1
www.mythtv.org
2010-12-17 08:27:40.140 Enabled verbose msgs: important

MythTV Commercial Flagger, started at Fri Dec 17 08:27:40 2010
Flagging commercial breaks for:
ChanID  Start Time      Title
Breaks
------  --------------  -----------------------------------------
------
1391   20101216220000 The Office                                [New
Thread 0x7fffe5a48700 (LWP 8411)]
2010-12-17 08:27:40.285 New DB connection, total: 2
2010-12-17 08:27:40.297 Using protocol version 63
[New Thread 0x7fffe2fee700 (LWP 8412)]
[New Thread 0x7fffe27ed700 (LWP 8413)]
Finding Logo[New Thread 0x7fffd2913700 (LWP 8414)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd2913700 (LWP 8414)]
0x00007ffff757dfd4 in AudioPlayer::AddAudioData(char*, int, long) ()
from /usr/lib/libmythtv-0.24.so.0
(gdb) bt
#0  0x00007ffff757dfd4 in AudioPlayer::AddAudioData(char*, int, long)
() from /usr/lib/libmythtv-0.24.so.0
#1  0x00007ffff75f4431 in
AvFormatDecoder::ProcessAudioPacket(AVStream*, AVPacket*, DecodeTypes) () from /usr/lib/libmythtv-0.24.so.0
#2  0x00007ffff75f5e1d in AvFormatDecoder::GetFrame(DecodeTypes) ()
from /usr/lib/libmythtv-0.24.so.0
#3  0x00007ffff75682cf in MythPlayer::DecoderGetFrame(DecodeTypes,
bool) () from /usr/lib/libmythtv-0.24.so.0
#4  0x00007ffff75677bf in MythPlayer::DecoderLoop(bool) ()
from /usr/lib/libmythtv-0.24.so.0
#5  0x00007ffff754a682 in DecoderThread::run() ()
from /usr/lib/libmythtv-0.24.so.0
#6  0x00007fffef3e6775 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007ffff0d869ca in start_thread () from /lib/libpthread.so.0
#8  0x00007fffee92270d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
(gdb) 

#####

---
On Fri, 17 Dec 2010 18:39:00 +1100 Jean-Yves Avenard
<jyavenard at gmail.com> wrote:

> On 17 December 2010 18:16, Jean-Yves Avenard <jyavenard at gmail.com>
> wrote:
> 
> > Where do you get your 0.24-fixes from ?
> >
> 
> Reason I'm asking is that this is a bug that I introduced in trunk
> only.
> 
> And it would have been in my "special" 0.24 build only, not in the
> standard 0.24 code.
> 
> Nevertheless, the issue has now been fixed.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list