[mythtv-users] Help on solving segfault on mythfrontend start.

Bert Haverkamp bert at bertenselena.net
Wed Aug 22 19:53:50 UTC 2012


Still have to try the libcec suggestion.
But I looked at the coredump. I installed mythtv-dbg, enabled apport and
got a crash report.
With apport-unpack I got the CoreDump file out of that and I ran
gdb /usr/bin/mythfrontend.real CoreDump.

This gave me the following output:
root at winebox:~/apport# gdb /usr/bin/mythfrontend.real CoreDump
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 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://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/mythfrontend.real...Reading symbols from
/usr/lib/
debug/usr/bin/mythfrontend.real...done.
done.

warning: core file may not match specified executable file.
[New LWP 3117]
[New LWP 3118]
[New LWP 3121]
[New LWP 3119]
[New LWP 3122]
[New LWP 3133]
[New LWP 3123]
[New LWP 3124]
[New LWP 3140]
[New LWP 3134]
[New LWP 3136]
[New LWP 3141]
[New LWP 3137]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mythfrontend.real'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f03f67ee0b7 in pthread_join ()
   from /lib/x86_64-linux-gnu/libpthread.so.0

Not much I can gather from this. Some error in pthread_join, but also a
warning about the coredump not matching the executable? Which it certainly
does!

Again, all suggestions are welcome

Bert

On Mon, Aug 20, 2012 at 10:03 PM, Aaron <aaron at rb303.net> wrote:

> On Mon, Aug 20, 2012 at 3:35 PM, Michael T. Dean
> <mtdean at thirdcontact.com> wrote:
> > On 08/20/2012 03:09 PM, George Nassas wrote:
> >>
> >> On 2012-08-20, at 3:02 PM, Bill Meek wrote:
> >>
> >>> Assuming you have a core file, look at:
> >>> http://www.mythtv.org/wiki/Debugging#Using_core_files
> >>
> >> I'm also seeing this problem and do have core files enabled but haven't
> >> seen any frontend cores. I get lots for the BE, logger, transcode,
> preview
> >> etc but nothing for the FE.
> >>
> >> There isn't anything interesting in the FE log. Perhaps the FE is
> getting
> >> confused and deciding to exit right away without doing anything? I
> haven't
> >> given this much attention as it's easier to keep reentering until the FE
> >> decides to stick.
> >
> >
> > FWIW, whenever any MythTV application shuts itself down, it should say
> why
> > it's doing so in the logs.  The "abruptly-ending" log excerpt posted here
> > seems to indicate it's actually crashing.
> >
> > Mike
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> I had a similar issue and had to install the libcec software from
> http://libcec.pulse-eight.com to fix it. Just to note, I do not have a
> cec adapter, but after filing a report
> https://bugs.launchpad.net/mythbuntu/+bug/1000771 I thought I would
> give it a whirl to see if it would fix it, and it did.
>
> After I installed libcec, mythfrontend quit crashing...
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120822/1162857d/attachment.html>


More information about the mythtv-users mailing list