Mailing List Archive

Myth Front End crashing on exit.
The last three times I used the MythFrontEnd, it has crashed. I have not used it every day, so I'm not sure exactly when this
started. When it crashes, it wants to send the error report to Launchpad. I haven't allowed that, I'm not sure that is useful
since they are not the ones maintaining MythFrontEnd.

Is this a known problem? If not, how do I extract the proper data to report it?

Most recent update did this:
Upgrade: mythtv-database:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2,0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythmusic:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
uuid-runtime:amd64 (2.17.2-0ubuntu1, 2.17.2-0ubuntu1.10.10.1),
mythtv:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
libblkid1:amd64 (2.17.2-0ubuntu1, 2.17.2-0ubuntu1.10.10.1),
mytharchive:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-themes:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
util-linux:amd64 (2.17.2-0ubuntu1, 2.17.2-0ubuntu1.10.10.1),
mythtv-theme-metallurgy:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythgallery:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
libmyth-python:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-common:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
libfuse2:amd64 (2.8.4-1ubuntu1, 2.8.4-1ubuntu1.1),
mythweb:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-theme-childish:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-backend:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
bsdutils:amd64 (2.17.2-0ubuntu1, 2.17.2-0ubuntu1.10.10.1), sudo:amd64 (1.7.2p7-1ubuntu2, 1.7.2p7-1ubuntu2.1),
mythtv-theme-graphite:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-dbg:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
libmythtv-perl:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-backend-master:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
libuuid1:amd64 (2.17.2-0ubuntu1, 2.17.2-0ubuntu1.10.10.1),
mythtv-theme-arclight:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythweather:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythvideo:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-frontend:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mythtv-theme-mythbuntu:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2),
mount:amd64 (2.17.2-0ubuntu1, 2.17.2-0ubuntu1.10.10.1), libmyth-0.24-0:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2,
0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2), fuse-utils:amd64 (2.8.4-1ubuntu1, 2.8.4-1ubuntu1.1),
mythtv-transcode-utils:amd64 (0.24.0+fixes.20110119.40df4b6-0ubuntu0mythbuntu2, 0.24.0+fixes.20110120.90fe13c-0ubuntu0mythbuntu2)
Re: Myth Front End crashing on exit. [ In reply to ]
On 1/21/2011 01:51, Douglas Peale wrote:
> When it crashes, it wants to send the error report to Launchpad. I haven't allowed that, I'm not sure that is useful since they are not the ones maintaining MythFrontEnd.

If you send it to launchpad and it's a problem with Mythbuntu, the
Mythbuntu devs get informed and can fix it. If you send it to launchpad
and its a MythTV problem, the Mythbuntu devs will push it upstream to
the MythTV devs so they can fix it.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Myth Front End crashing on exit. [ In reply to ]
On 1/21/11, Raymond Wagner <raymond@wagnerrp.com> wrote:
> On 1/21/2011 01:51, Douglas Peale wrote:
>> When it crashes, it wants to send the error report to Launchpad. I haven't
>> allowed that, I'm not sure that is useful since they are not the ones
>> maintaining MythFrontEnd.
>
> If you send it to launchpad and it's a problem with Mythbuntu, the
> Mythbuntu devs get informed and can fix it. If you send it to launchpad
> and its a MythTV problem, the Mythbuntu devs will push it upstream to
> the MythTV devs so they can fix it.
> ____________________________________________

I'd first check you haven't got any old plugins that are failing to
initialise properly. They always cause the FE to crash on exit. The FE
log should tell you which ones are failing.

Paul H.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Myth Front End crashing on exit. [ In reply to ]
On Fri, 2011-01-21 at 02:21 -0500, Raymond Wagner wrote:
> On 1/21/2011 01:51, Douglas Peale wrote:
> > When it crashes, it wants to send the error report to Launchpad. I haven't allowed that,
...

Douglas;

I've seen it too and have a backtrace. But I want to re-run before
creating a ticket. I /think/ I did a distclean and uninstall before
my last build so that should have cleaned up any plugins (to Paul's
point.)

If yours looks (in part) like this:

Program received signal SIGSEGV, Segmentation fault
...
Thread 1 (Thread 0x7ffff7fb37a0 (LWP 3566)):
#0 0x00007ffff59e5323 in ThreadPool::~ThreadPool (this=0xa61840,
__in_chrg=<value optimized out>) at threadpool.cpp:331
pThread = 0xa61590
#1 0x00007ffff59e98e4 in HttpServer::~HttpServer (this=0xa61830,
__in_chrg=<value optimized out>) at httpserver.cpp:100
No locals.
#2 0x000000000052de15 in MediaRenderer::~MediaRenderer (this=0xa5bf00,
__in_chrg=<value optimized out>) at mediarenderer.cpp:134
No locals.
#3 0x0000000000423919 in (anonymous namespace)::cleanup () at
main.cpp:157
No locals.
#4 0x0000000000427c1c in ~CleanupGuard (argc=5, argv=<value optimized
out>) at main.cpp:185
No locals.
#5 main (argc=5, argv=<value optimized out>) at main.cpp:1519

then we've probably got the same problem. I'll submit a ticket tonight,
if I don't see one from you.

Off to work,

Bill


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Myth Front End crashing on exit. [ In reply to ]
On 01/21/2011 07:55 AM, Bill Meek wrote:
> On Fri, 2011-01-21 at 02:21 -0500, Raymond Wagner wrote:
>> On 1/21/2011 01:51, Douglas Peale wrote:
>>> When it crashes, it wants to send the error report to Launchpad. I haven't allowed that,
> ...
>
> Douglas;
>
> I've seen it too and have a backtrace. But I want to re-run before
> creating a ticket. I /think/ I did a distclean and uninstall before
> my last build so that should have cleaned up any plugins (to Paul's
> point.)
>
> If yours looks (in part) like this:
>
> Program received signal SIGSEGV, Segmentation fault
> ...
> Thread 1 (Thread 0x7ffff7fb37a0 (LWP 3566)):
> #0 0x00007ffff59e5323 in ThreadPool::~ThreadPool (this=0xa61840,
> __in_chrg=<value optimized out>) at threadpool.cpp:331
> pThread = 0xa61590
> #1 0x00007ffff59e98e4 in HttpServer::~HttpServer (this=0xa61830,
> __in_chrg=<value optimized out>) at httpserver.cpp:100
> No locals.
> #2 0x000000000052de15 in MediaRenderer::~MediaRenderer (this=0xa5bf00,
> __in_chrg=<value optimized out>) at mediarenderer.cpp:134
> No locals.
> #3 0x0000000000423919 in (anonymous namespace)::cleanup () at
> main.cpp:157
> No locals.
> #4 0x0000000000427c1c in ~CleanupGuard (argc=5, argv=<value optimized
> out>) at main.cpp:185
> No locals.
> #5 main (argc=5, argv=<value optimized out>) at main.cpp:1519
>
> then we've probably got the same problem. I'll submit a ticket tonight,
> if I don't see one from you.
>
> Off to work,
>
> Bill
>
Where would I be looking to find that information?
I found that if I just start the front end and then close it, it does not crash. If it crashes tonight after watching last
nights shows, I will allow it to report the crash.
Re: Myth Front End crashing on exit. [ In reply to ]
On Fri, Jan 21, 2011 at 7:55 AM, Bill Meek <keemllib@gmail.com> wrote:

> Program received signal SIGSEGV, Segmentation fault
> ...
> Thread 1 (Thread 0x7ffff7fb37a0 (LWP 3566)):
> #0 0x00007ffff59e5323 in ThreadPool::~ThreadPool (this=0xa61840,
> __in_chrg=<value optimized out>) at threadpool.cpp:331
> pThread = 0xa61590
>

Oh fun. I'll have to take a look at how to cleanly shut that down. I was
hoping that that part of the code didn't need a change, but it seems there
is a race condition on shutdown. If we get into the loop in ~ThreadPool,
and then threads terminate "normally" while that's running, I could see this
being the possible outcome.

I'll see what I can find to make this work hopefully cleaner yet.
Re: Myth Front End crashing on exit. [ In reply to ]
On Fri, 2011-01-21 at 10:29 -0800, Douglas Peale wrote:
> ...
> Where would I be looking to find that information?
> I found that if I just start the front end and then close it, it does
> not crash. If it crashes tonight after watching last
> nights shows, I will allow it to report the crash.

Douglas;

The backtrace fragment I posted is the output of gdb. There's
information on how to get one at:

http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2

I created a new ticket: http://code.mythtv.org/trac/ticket/9500
for my case (running v0.25pre-924-g4e53b23 on ubuntu 10.10.)

I'm see this segfault by starting/exiting the frontend or after
watching an entire recording, so this would seem different than
your case.

Bill


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Myth Front End crashing on exit. [ In reply to ]
On 01/21/2011 04:02 PM, Bill Meek wrote:
> On Fri, 2011-01-21 at 10:29 -0800, Douglas Peale wrote:
>> ...
>> Where would I be looking to find that information?
>> I found that if I just start the front end and then close it, it does
>> not crash. If it crashes tonight after watching last
>> nights shows, I will allow it to report the crash.
> Douglas;
>
> The backtrace fragment I posted is the output of gdb. There's
> information on how to get one at:
>
> http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2
>
> I created a new ticket: http://code.mythtv.org/trac/ticket/9500
> for my case (running v0.25pre-924-g4e53b23 on ubuntu 10.10.)
>
> I'm see this segfault by starting/exiting the frontend or after
> watching an entire recording, so this would seem different than
> your case.
>
> Bill
>
>
from that doc:
"you must recompile MythTV".

Last time I tried that, I failed miserably.
Re: Myth Front End crashing on exit. [ In reply to ]
On 01/21/2011 07:10 PM, Douglas Peale wrote:
> On 01/21/2011 04:02 PM, Bill Meek wrote:
>> On Fri, 2011-01-21 at 10:29 -0800, Douglas Peale wrote:
>>> ...
>>> Where would I be looking to find that information?
>>> I found that if I just start the front end and then close it, it does
>>> not crash. If it crashes tonight after watching last
>>> nights shows, I will allow it to report the crash.
>> Douglas;
>>
>> The backtrace fragment I posted is the output of gdb. There's
>> information on how to get one at:
>>
>> http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2
>>
>> I created a new ticket: http://code.mythtv.org/trac/ticket/9500
>> for my case (running v0.25pre-924-g4e53b23 on ubuntu 10.10.)
>>
>> I'm see this segfault by starting/exiting the frontend or after
>> watching an entire recording, so this would seem different than
>> your case.
> from that doc:
> "you must recompile MythTV".
>
> Last time I tried that, I failed miserably.

Actually, more complete instructions (which include distro-specific
instructions for retrieving debug symbol packages for packaged MythTV)
are at:

http://www.mythtv.org/wiki/Debugging

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Myth Front End crashing on exit. [ In reply to ]
On 01/21/2011 08:39 PM, Michael T. Dean wrote:
> On 01/21/2011 07:10 PM, Douglas Peale wrote:
>> On 01/21/2011 04:02 PM, Bill Meek wrote:
>>> On Fri, 2011-01-21 at 10:29 -0800, Douglas Peale wrote:
>>>> ...
>>>> Where would I be looking to find that information?
>>>> I found that if I just start the front end and then close it, it does
>>>> not crash. If it crashes tonight after watching last
>>>> nights shows, I will allow it to report the crash.
>>> Douglas;
>>>
>>> The backtrace fragment I posted is the output of gdb. There's
>>> information on how to get one at:
>>>
>>> http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2
>>>
>>> I created a new ticket: http://code.mythtv.org/trac/ticket/9500
>>> for my case (running v0.25pre-924-g4e53b23 on ubuntu 10.10.)
>>>
>>> I'm see this segfault by starting/exiting the frontend or after
>>> watching an entire recording, so this would seem different than
>>> your case.
>> from that doc:
>> "you must recompile MythTV".
>>
>> Last time I tried that, I failed miserably.
>
> Actually, more complete instructions (which include distro-specific instructions for retrieving debug symbol packages for
> packaged MythTV) are at:
>
> http://www.mythtv.org/wiki/Debugging
>
> Mike

Of course, now I can't make it crash again. I just watched 3 hours of TV, and it did not crash on exit.
Re: Myth Front End crashing on exit. [ In reply to ]
On 01/21/2011 11:54 PM, Douglas Peale wrote:
> On 01/21/2011 08:39 PM, Michael T. Dean wrote:
>> Actually, more complete instructions (which include distro-specific instructions for retrieving debug symbol packages for packaged MythTV) are at:
>>
>> http://www.mythtv.org/wiki/Debugging
> Of course, now I can't make it crash again. I just watched 3 hours of TV, and it did not crash on exit.

If it's the same issue that Bill is seeing (and if you're using
unstable/development MythTV, it likely is), his backtrace was good.
Gavin is looking into the issue. Thanks to Bill's backtrace, we know
what's causing it, but not how best to fix it, yet.

So, you can likely relax and wait for the fix. (And, since it's a crash
on exit, it's not going to cause any real problems.)

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users