Page 1 of 1

MythTV segfaults

PostPosted: Oct 5th, '12, 23:51
by mark9117
This is a brand new installation on my HTPC. I upgraded from Mageia One which was working fine. Now, I've tried to reinstall MythTV and when I try to run mythtv-setup (or mythfrontend, or mythbackend) I get a segfault. Even with the -v flag I don't get much info.

Code: Select all
mythtv-setup -v
2012-10-05 15:49:28.930499 C  mythtv-setup version:  [0.25-20120418.3.mga2.tainted] www.mythtv.org
2012-10-05 15:49:28.930531 N  Enabled verbose msgs:  general
2012-10-05 15:49:28.930568 N  Setting Log Level to LOG_INFO
2012-10-05 15:49:28.930651 I  Added logging to the console
2012-10-05 15:49:28.930681 I  Added database logging to table logging
2012-10-05 15:49:28.930798 N  Setting up SIGHUP handler
2012-10-05 15:49:28.931025 N  Using runtime prefix = /usr
2012-10-05 15:49:28.931053 N  Using configuration directory = /root/.mythtv
2012-10-05 15:49:28.931283 I  Assumed character encoding: en_US.UTF-8
2012-10-05 15:49:28.931737 E  Unable to read configuration file mysql.txt
2012-10-05 15:49:28.931902 E  DBHostName is not set in config.xml
2012-10-05 15:49:28.931962 N  Empty LocalHostName.
2012-10-05 15:49:28.931978 I  Using localhost value of pvr
Segmentation fault


Nothing is showing up in the mythtv logs. Syslog isn't much help:

Code: Select all
Oct  5 15:50:39 pvr kernel: [ 3800.198259] mythtv-setup[12914]: segfault at 10 ip b6c49f43 sp bfdefa80 error 4 in libmythbase-0.25.so.0.25.0[b6bbc000+1b0000]


Still trawling Google on this, but I'm not finding much assistance.

Any clues?

Thanks.

Re: MythTV segfaults

PostPosted: Oct 6th, '12, 08:25
by doktor5000
Try to run it inside the gdb debugger, install all relevant -debug packages and open up a bug report with the backtrace from gdb: https://wiki.mageia.org/en/Debugging_software_crashes

Re: MythTV segfaults

PostPosted: Oct 6th, '12, 19:09
by mark9117
doktor5000 wrote:Try to run it inside the gdb debugger, install all relevant -debug packages and open up a bug report with the backtrace from gdb: https://wiki.mageia.org/en/Debugging_software_crashes


Done. Thanks.

http://sourceware.org/bugzilla/show_bug.cgi?id=14677

Mark

Re: MythTV segfaults

PostPosted: Oct 6th, '12, 21:16
by doktor5000
Actually you should have probably first reported it to Mageia bugzilla: https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: MythTV segfaults

PostPosted: Oct 7th, '12, 01:24
by mark9117
Hey, I was just following the instructions in gdb.

Okay, I'm off to open an account there and then cut and paste.


Mark

Re: MythTV segfaults

PostPosted: Oct 7th, '12, 02:00
by mark9117

Re: MythTV segfaults

PostPosted: Oct 7th, '12, 19:44
by djennings
there is an updated mythtv in the updates/testing repository which I think you will find resolves your segfault. It has been stuck in testing for some time due to some other unresolved issues.

Re: MythTV segfaults

PostPosted: Oct 7th, '12, 19:58
by mark9117
OKay, as soon as I get the chance (Tuesday?) I'll enable that repo and see if that installs and/or resolves this thing.

Thank you for the tip djennings!


Mark

Re: MythTV segfaults

PostPosted: Oct 7th, '12, 20:07
by mark9117
Just got a message from the bug guys. Looks like there is a dup bug and the culprit may be desktop effects. When I get a chance, I'll disable desktop effects and try and run Mythtv-setup again.

Just wanted to get it on the record because it may be Tuesday before I can get to it.

Mark

Re: MythTV segfaults

PostPosted: Oct 10th, '12, 01:19
by mark9117
Okay, I disabled desktop effects and still no joy. Updating the bug and considering downloading the packages in testing.

Mark

Re: MythTV segfaults

PostPosted: Oct 10th, '12, 09:11
by djennings

Re: MythTV segfaults

PostPosted: Oct 10th, '12, 17:34
by mark9117
I installed the packages from updates/testing and that runs. Still configuring but this one may be resolved.

Thanks for the help guys. I'll know more this weekend.

Mark