Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

segfault after upgrade

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


ross.jemima at gmail

Nov 23, 2009, 10:18 AM

Post #1 of 15 (3100 views)
Permalink
segfault after upgrade

Hi all,

Well I finally decided to give 0.22 a go. I upgraded it last night but
am now having problems with the backend. I have tried reinstalling
those packages a couple of times but with no luck. I'm using JYA's
release repo on Ubuntu 9.04 AMD64. Starting the frontend results in it
complaining that the backend is not available and to check my IP
addresses etc. Sure enough the backend process is not running and
manually forcing it to restart results in a segfault:

mythserver kernel: [ 1410.241167] mythbackend[7123]: segfault at
7fff98da1e18 ip 00007f2189fcdb37 sp 00007fff98da1e00 error 6 in
libQtCore.so.4.5.0[7f2189f14000+240000]

Looks to be some error with libQtCore, and its probably something
straight forward but what have I missed?

Regards
Rossco

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dknowles at clearfield

Nov 23, 2009, 12:12 PM

Post #2 of 15 (3034 views)
Permalink
Re: segfault after upgrade [In reply to]

Hi,

I tried an upgrade and had seg faults when running the frontend.

Try typing the following in a console:

dpkg --list | grep myth

This will list all the installed packages relating to mythtv.

Look for a package

libmyth-0.21-0

This is the library for the mythtv version 0.21. It does not appear to
be uninstalled during the upgrade and messes up the 0.22 programs.

If you have it uninstall it by typing:

sudo apt-get remove libmyth-0.21-0

This should remove the library.

Reboot and see if this works.

Good luck.

David

------------------------------------------------------------------------
Dr. David J. Knowles <dknowles [at] clearfield> Senior Systems Architect
Phone (+64 9) 358 2081 Clearfield Software Ltd
Fax (+64 9) 358 2083 1st Floor 8-10 Whitaker Place
Mob (+64 21) 75 9090 P O Box 3901 Auckland, New Zealand
------------------------------------------------------------------------



Ross and Jemima Knudsen wrote:
> Hi all,
>
> Well I finally decided to give 0.22 a go. I upgraded it last night but
> am now having problems with the backend. I have tried reinstalling
> those packages a couple of times but with no luck. I'm using JYA's
> release repo on Ubuntu 9.04 AMD64. Starting the frontend results in it
> complaining that the backend is not available and to check my IP
> addresses etc. Sure enough the backend process is not running and
> manually forcing it to restart results in a segfault:
>
> mythserver kernel: [ 1410.241167] mythbackend[7123]: segfault at
> 7fff98da1e18 ip 00007f2189fcdb37 sp 00007fff98da1e00 error 6 in
> libQtCore.so.4.5.0[7f2189f14000+240000]
>
> Looks to be some error with libQtCore, and its probably something
> straight forward but what have I missed?
>
> Regards
> Rossco
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


steven at openmedia

Nov 23, 2009, 2:11 PM

Post #3 of 15 (3034 views)
Permalink
Re: segfault after upgrade [In reply to]

On Tue, November 24, 2009 9:12 am, Dr. David J. Knowles wrote:
> Hi,
>
> I tried an upgrade and had seg faults when running the frontend.
>
> Try typing the following in a console:
>
> dpkg --list | grep myth
>
> This will list all the installed packages relating to mythtv.
>
> Look for a package
>
> libmyth-0.21-0
>
> This is the library for the mythtv version 0.21. It does not appear to
> be uninstalled during the upgrade and messes up the 0.22 programs.
>
> If you have it uninstall it by typing:
>
> sudo apt-get remove libmyth-0.21-0
>
> This should remove the library.
>
> Reboot and see if this works.
>
> Good luck.
>
> David
>
> ------------------------------------------------------------------------
> Dr. David J. Knowles <dknowles [at] clearfield> Senior Systems Architect
> Phone (+64 9) 358 2081 Clearfield Software Ltd
> Fax (+64 9) 358 2083 1st Floor 8-10 Whitaker Place
> Mob (+64 21) 75 9090 P O Box 3901 Auckland, New Zealand
> ------------------------------------------------------------------------
>
>
>
> Ross and Jemima Knudsen wrote:
>> Hi all,
>>
>> Well I finally decided to give 0.22 a go. I upgraded it last night but
>> am now having problems with the backend. I have tried reinstalling
>> those packages a couple of times but with no luck. I'm using JYA's
>> release repo on Ubuntu 9.04 AMD64. Starting the frontend results in it
>> complaining that the backend is not available and to check my IP
>> addresses etc. Sure enough the backend process is not running and
>> manually forcing it to restart results in a segfault:
>>
>> mythserver kernel: [ 1410.241167] mythbackend[7123]: segfault at
>> 7fff98da1e18 ip 00007f2189fcdb37 sp 00007fff98da1e00 error 6 in
>> libQtCore.so.4.5.0[7f2189f14000+240000]
>>
>> Looks to be some error with libQtCore, and its probably something
>> straight forward but what have I missed?
>>
>> Regards
>> Rossco

I've had some similar issues with segfaults. Here are some recent ones

dmesg | grep segfault


[ 261.483550] mythbackend[3089]: segfault at 7d7b7a82 ip 016bc448 sp
bfdfba6c error 6 in libc-2.10.1.so[164f000+13e000]
[112287.612306] mythbackend[18637]: segfault at 7f7f7f87 ip 03bc4448 sp
bfd97f7c error 6 in libc-2.10.1.so[3b57000+13e000]
[562794.317013] mythfrontend.re[7947]: segfault at 69 ip 00c08309 sp
7f6f2f50 error 6 in libmythtv-0.22.so.0.22.0[764000+a6c000]
[562844.434071] mythfrontend.re[8124]: segfault at 69 ip 00b48309 sp
ae73ff50 error 6 in libmythtv-0.22.so.0.22.0[6a4000+a6c000]
[613620.761031] mythbackend[13037]: segfault at 8ed6c38 ip 08e0c65e sp
bf8a7c10 error 7 in libmyth-0.22.so.0.22.0[8bce000+2fe000]
[703906.381211] mythbackend[11350]: segfault at 89bfe9c ip 089beb80 sp
bff7a2b0 error 7 in libnvidia-tls.so.185.18.36[89be000+1000]
[972438.686849] mythbackend[2416]: segfault at 8f47000 ip 089edeef sp
bff82970 error 6 in libmythavcodec-0.22.so.0.22.0[898b000+3f4000]

This host wasn't upgraded from an earlier Mythbuntu, but it did start out
with the beta install of 9.10

Currently has the following

dpkg -l libmyth\*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-=======================================-=======================================-==============================================================================================
ii libmyth-0.22-0 0.22.0+fixes22594-0ubuntu1
Common library code for MythTV and add-on modules (runtime)
ii libmyth-perl 0.22.0+fixes22594-0ubuntu1
A PERL library to access some MythTV features
ii libmyth-python 0.22.0+fixes22594-0ubuntu1
A python library to access some MythTV features



--------------------------------------------
Steven Ellis - Technical Director
OpenMedia Limited - The Home of myPVR
email - steven [at] openmedia
website - http://www.openmedia.co.nz

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


ross.jemima at gmail

Nov 23, 2009, 2:56 PM

Post #4 of 15 (3030 views)
Permalink
Re: segfault after upgrade [In reply to]

2009/11/24 Dr. David J. Knowles <dknowles [at] clearfield>

> Hi,
>
> I tried an upgrade and had seg faults when running the frontend.
>
> Try typing the following in a console:
>
> dpkg --list | grep myth
>
> This will list all the installed packages relating to mythtv.
>
> Look for a package
>
> libmyth-0.21-0
>
> This is the library for the mythtv version 0.21. It does not appear to
> be uninstalled during the upgrade and messes up the 0.22 programs.
>
> If you have it uninstall it by typing:
>
> sudo apt-get remove libmyth-0.21-0
>
> This should remove the library.
>
> Reboot and see if this works.
>
> Hi David,

Thanks for the advice, I did have this happen but took care of it manually
effectively in the same way you described (used Synaptic instead). So
unless its left some files somewhere I think I've managed to get that one
sorted.

Rossco


ross.jemima at gmail

Nov 23, 2009, 3:06 PM

Post #5 of 15 (3041 views)
Permalink
Re: segfault after upgrade [In reply to]

2009/11/24 Steven Ellis <steven [at] openmedia>

> On Tue, November 24, 2009 9:12 am, Dr. David J. Knowles wrote:
> > Hi,
> >
> > I tried an upgrade and had seg faults when running the frontend.
> >
> > Try typing the following in a console:
> >
> > dpkg --list | grep myth
> >
> > This will list all the installed packages relating to mythtv.
> >
> > Look for a package
> >
> > libmyth-0.21-0
> >
> > This is the library for the mythtv version 0.21. It does not appear to
> > be uninstalled during the upgrade and messes up the 0.22 programs.
> >
> > If you have it uninstall it by typing:
> >
> > sudo apt-get remove libmyth-0.21-0
> >
> > This should remove the library.
> >
> > Reboot and see if this works.
> >
> > Good luck.
> >
> > David
> >
> > ------------------------------------------------------------------------
> > Dr. David J. Knowles <dknowles [at] clearfield> Senior Systems Architect
> > Phone (+64 9) 358 2081 Clearfield Software Ltd
> > Fax (+64 9) 358 2083 1st Floor 8-10 Whitaker Place
> > Mob (+64 21) 75 9090 P O Box 3901 Auckland, New Zealand
> > ------------------------------------------------------------------------
> >
> >
> >
> > Ross and Jemima Knudsen wrote:
> >> Hi all,
> >>
> >> Well I finally decided to give 0.22 a go. I upgraded it last night but
> >> am now having problems with the backend. I have tried reinstalling
> >> those packages a couple of times but with no luck. I'm using JYA's
> >> release repo on Ubuntu 9.04 AMD64. Starting the frontend results in it
> >> complaining that the backend is not available and to check my IP
> >> addresses etc. Sure enough the backend process is not running and
> >> manually forcing it to restart results in a segfault:
> >>
> >> mythserver kernel: [ 1410.241167] mythbackend[7123]: segfault at
> >> 7fff98da1e18 ip 00007f2189fcdb37 sp 00007fff98da1e00 error 6 in
> >> libQtCore.so.4.5.0[7f2189f14000+240000]
> >>
> >> Looks to be some error with libQtCore, and its probably something
> >> straight forward but what have I missed?
> >>
> >> Regards
> >> Rossco
>
> I've had some similar issues with segfaults. Here are some recent ones
>
> dmesg | grep segfault
>
>
> [ 261.483550] mythbackend[3089]: segfault at 7d7b7a82 ip 016bc448 sp
> bfdfba6c error 6 in libc-2.10.1.so[164f000+13e000]
> [112287.612306] mythbackend[18637]: segfault at 7f7f7f87 ip 03bc4448 sp
> bfd97f7c error 6 in libc-2.10.1.so[3b57000+13e000]
> [562794.317013] mythfrontend.re[7947]: segfault at 69 ip 00c08309 sp
> 7f6f2f50 error 6 in libmythtv-0.22.so.0.22.0[764000+a6c000]
> [562844.434071] mythfrontend.re[8124]: segfault at 69 ip 00b48309 sp
> ae73ff50 error 6 in libmythtv-0.22.so.0.22.0[6a4000+a6c000]
> [613620.761031] mythbackend[13037]: segfault at 8ed6c38 ip 08e0c65e sp
> bf8a7c10 error 7 in libmyth-0.22.so.0.22.0[8bce000+2fe000]
> [703906.381211] mythbackend[11350]: segfault at 89bfe9c ip 089beb80 sp
> bff7a2b0 error 7 in libnvidia-tls.so.185.18.36[89be000+1000]
> [972438.686849] mythbackend[2416]: segfault at 8f47000 ip 089edeef sp
> bff82970 error 6 in libmythavcodec-0.22.so.0.22.0[898b000+3f4000]
>
> This host wasn't upgraded from an earlier Mythbuntu, but it did start out
> with the beta install of 9.10
>
> Currently has the following
>
> dpkg -l libmyth\*
> Desired=Unknown/Install/Remove/Purge/Hold
> |
>
> Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version
> Description
>
> +++-=======================================-=======================================-==============================================================================================
> ii libmyth-0.22-0 0.22.0+fixes22594-0ubuntu1
> Common library code for MythTV and add-on modules (runtime)
> ii libmyth-perl 0.22.0+fixes22594-0ubuntu1
> A PERL library to access some MythTV features
> ii libmyth-python 0.22.0+fixes22594-0ubuntu1
> A python library to access some MythTV features


Hi Steven,

Thanks for your comments. Looks like it wasn't smooth sailing into 0.22 for
a few people. I did some googling and looks like my error isn't isolated:

http://www.gossamer-threads.com/lists/mythtv/dev/370726

http://www.gossamer-threads.com/lists/mythtv/users/407927?page=last

The last guy tried killing all the channels and rescanning. I'll give it a
go tonight and hopefully it fixes it!


jyavenard at gmail

Nov 23, 2009, 3:51 PM

Post #6 of 15 (3030 views)
Permalink
Re: segfault after upgrade [In reply to]

Hi

2009/11/24 Ross and Jemima Knudsen <ross.jemima [at] gmail>:
>>
>> libmyth-0.21-0
>>
>> This is the library for the mythtv version 0.21. It does not appear to
>> be uninstalled during the upgrade and messes up the 0.22 programs.

No it doesn't..

0.22 programs explicitely look for libmyth-0.22 and not libmyth-0.21.

You can have both installed without problems.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


g.woollett at irl

Nov 23, 2009, 5:46 PM

Post #7 of 15 (3015 views)
Permalink
Re: segfault after upgrade [In reply to]

I'll add another me too.
I tried upgrading from jya 0.21 to 0.22 on Ubuntu 9.04. mythfrontend
would segfault on startup.
Ended up installing 9.1 and 0.22 - now have a stable system. Apart from
my HVR4000 that now appears to be broken. :-(
It's recognized by the kernel, but fails to find any channels.



_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Nov 23, 2009, 5:58 PM

Post #8 of 15 (3021 views)
Permalink
Re: segfault after upgrade [In reply to]

On Tue, Nov 24, 2009 at 2:46 PM, Graeme Woollett <g.woollett [at] irl> wrote:
> I'll add another me too.
> I tried upgrading from jya 0.21 to 0.22 on Ubuntu 9.04.  mythfrontend
> would segfault on startup.
> Ended up installing 9.1 and 0.22 - now have a stable system.  Apart from
> my HVR4000 that now appears to be broken. :-(
> It's recognized by the kernel, but fails to find any channels.

I read somewhere that segfaults could be caused by having old 0.21
plugins present. Like mythstream was (I think) one of the culprits.
Can't find the reference now.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


jyavenard at gmail

Nov 23, 2009, 7:11 PM

Post #9 of 15 (3005 views)
Permalink
Re: segfault after upgrade [In reply to]

Hi

2009/11/24 Graeme Woollett <g.woollett [at] irl>:
> I'll add another me too.
> I tried upgrading from jya 0.21 to 0.22 on Ubuntu 9.04.  mythfrontend
> would segfault on startup.
> Ended up installing 9.1 and 0.22 - now have a stable system.  Apart from
> my HVR4000 that now appears to be broken. :-(
> It's recognized by the kernel, but fails to find any channels.

Are you using nvidia drivers 180.60 by any chance?

With 180.60 ; libGL will segfault about 3 out of 4 times when starting
up. Once started it's rock solid..

Jean-Yves

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


graeme.joy at paradise

Nov 23, 2009, 9:28 PM

Post #10 of 15 (3002 views)
Permalink
Re: segfault after upgrade [In reply to]

> Are you using nvidia drivers 180.60 by any chance?
>
> With 180.60 ; libGL will segfault about 3 out of 4 times when starting
> up. Once started it's rock solid..
>
> Jean-Yves
>
Yes I was. :-)


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


barryc at bcsystems

Nov 25, 2009, 12:55 PM

Post #11 of 15 (2944 views)
Permalink
Re: segfault after upgrade [In reply to]

2009/11/24 Graeme Woollett <graeme.joy [at] paradise>:
>
>> Are you using nvidia drivers 180.60 by any chance?
>>
>> With 180.60 ; libGL will segfault about 3 out of 4 times when starting
>> up. Once started it's rock solid..
>>
>> Jean-Yves
>>
> Yes I was. :-)
>
Is it ok to use 185 now ? I noticed it came up on a standard karmic
Koala (9.10) install of myth the other day...



--

Barry Clearwater
Managing director
BC Systems Consultancy Limited
___________________________
18 Shaw Street
Mosgiel
Dunedin 9024
Phone: +64 3 489 3915
Mobile: +64 27 221 9338
Email: barryc [at] bcsystems

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


jyavenard at gmail

Nov 25, 2009, 1:19 PM

Post #12 of 15 (2944 views)
Permalink
Re: segfault after upgrade [In reply to]

2009/11/26 Barry Clearwater <barryc [at] bcsystems>:

> Is it ok to use 185 now ? I noticed it came up on a standard karmic
> Koala (9.10) install of myth the other day...

190.42 is the latest stable...

195.22 is in beta

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


ross.jemima at gmail

Nov 26, 2009, 3:12 PM

Post #13 of 15 (2903 views)
Permalink
Re: segfault after upgrade [In reply to]

Ok new symptoms. I tried updating to Karmic since most other people
seemed to be on it using MythtTV 0.22. After performing the upgrade and
fiddling around I think I've managed to get it to work alright. Well it
worked once ok.

The problem now seems to be Karmic related. I'm having trouble with DNS
resolution which seems to be pretty widespread. What seems to be
happening is that the DNS requests are asking for IPv6 DNS addresses and
most routers etc do not respond. So any network application (Firefox,
apt, etc) fails to resolve domains at all. From what I could google
there doesn't seem to be a fix for it yet. Has anyone else had this
problem? I'm not sure if this affects myth or not but the backend keeps
segfaulting and the systems keeps trying to respawn it (according to the
logs).

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


ross.jemima at gmail

Nov 27, 2009, 12:41 AM

Post #14 of 15 (2884 views)
Permalink
Re: segfault after upgrade [In reply to]

Ross and Jemima Knudsen wrote:
> Ok new symptoms. I tried updating to Karmic since most other people
> seemed to be on it using MythtTV 0.22. After performing the upgrade
> and fiddling around I think I've managed to get it to work alright.
> Well it worked once ok.
>
> The problem now seems to be Karmic related. I'm having trouble with
> DNS resolution which seems to be pretty widespread. What seems to be
> happening is that the DNS requests are asking for IPv6 DNS addresses
> and most routers etc do not respond. So any network application
> (Firefox, apt, etc) fails to resolve domains at all. From what I
> could google there doesn't seem to be a fix for it yet. Has anyone
> else had this problem? I'm not sure if this affects myth or not but
> the backend keeps segfaulting and the systems keeps trying to respawn
> it (according to the logs).
Ok forget that I reverted back to Jaunty. I'll wait and see if they get
that fixed before trying an upgrade. Now I'm getting problems getting
everything working again. I've managed to recover my database but I'm
having some trouble getting the nvidia driver working. Going to the
nvidia config utility tells me that I'm not using it. But then going to
hardware drivers it tells me that another version of this driver is in
use. Packages installed are:

nvidia-190-kernel-source
nvidia-190-libvdpau
nvidia-190-modaliases
nvidia-glx-190
nvidia-glx-190-dev
vdpau-driver-all
libvdpau1

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


ross.jemima at gmail

Nov 27, 2009, 12:58 AM

Post #15 of 15 (2884 views)
Permalink
Re: segfault after upgrade [In reply to]

Ross and Jemima Knudsen wrote:
> Ok forget that I reverted back to Jaunty. I'll wait and see if they
> get that fixed before trying an upgrade. Now I'm getting problems
> getting everything working again. I've managed to recover my database
> but I'm having some trouble getting the nvidia driver working. Going
> to the nvidia config utility tells me that I'm not using it. But then
> going to hardware drivers it tells me that another version of this
> driver is in use. Packages installed are:
>
> nvidia-190-kernel-source
> nvidia-190-libvdpau
> nvidia-190-modaliases
> nvidia-glx-190
> nvidia-glx-190-dev
> vdpau-driver-all
> libvdpau1

Never mind me, I figured it out. Ran sudo nvidia-xconfig to update the
configuration file. upgraded to 195 driver at the same time.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.