You are not logged in.

#1 2009-04-19 08:11:48

ben123
Member
Registered: 2009-04-19
Posts: 13

mythtv-setup segfaults on initial install

I'm installing an htpc from new from scratch using archlinux x86_64.  I'm using the current stable release kernel 2.6.29 and xorg-server 1.6.1.  I have an ati HD 3200 card, which I'm using the driver built from git (both drm and xf86-video-ati)

I'm also using the stable mythtv package there, mythtv 0.21-1, dated from 9/12/08.  mythtv-setup gave the following error:

2009-04-19 00:50:19.141 Using runtime prefix = /usr, libdir = /usr/lib
2009-04-19 00:50:19.159 DPMS is active.
2009-04-19 00:50:19.159 Unable to read configuration file mysql.txt
2009-04-19 00:50:19.159 Empty LocalHostName.
2009-04-19 00:50:19.159 Using localhost value of ruyi
2009-04-19 00:50:19.164 New DB connection, total: 1
2009-04-19 00:50:19.167 Connected to database 'mythconverg' at host: localhost
2009-04-19 00:50:19.167 Closing DB connection named 'DBManager0'
2009-04-19 00:50:19.167 Total desktop dim: 1280x720, with 1 screen[s].
2009-04-19 00:50:19.167 Connected to database 'mythconverg' at host: localhost
2009-04-19 00:50:19.168 Using screen 0, 1280x720 at 0,0
2009-04-19 00:50:19.174 New DB connection, total: 2
2009-04-19 00:50:19.175 Connected to database 'mythconverg' at host: localhost
2009-04-19 00:50:19.175 Current Schema Version: 1214
2009-04-19 00:50:19.457 Total desktop dim: 1280x720, with 1 screen[s].
2009-04-19 00:50:19.458 Using screen 0, 1280x720 at 0,0
2009-04-19 00:50:19.459 Switching to square mode (G.A.N.T)
2009-04-19 00:50:19.496 Using the Qt painter
2009-04-19 00:50:19.498 lirc init success using configuration file: /home/ben/.lircrc
2009-04-19 00:50:19.498 JoystickMenuClient Error: Joystick disabled - Failed toread /home/ben/.mythtv/joystickmenurc
Segmentation fault

The system logs show the following cause:

Apr 19 00:36:20 ruyi kernel: mythtv-setup[4663] general protection ip:7f50987550df sp:7fffa55e7f40 error:0 in libGL.so.1.2[7f509872b000+78000]

Any ideas?  libgl is about a week old.  Would I be better off building mythtv from svn?  thanks

Ben

Offline

#2 2009-04-21 11:14:05

jase
Member
From: Finland
Registered: 2008-01-20
Posts: 25

Re: mythtv-setup segfaults on initial install

I have same problem on an old system. Frontend doesnt't start after libgl-1.4 upgrade. I tried building 0.21-fixes and the original PKGBUILD from ABS but they both fail to compile. SVN trunk might work, because it uses QT4, but it's still unstable and under heavy developement.

E: Ubuntu has a bug report about the issue and so does mesa.

Last edited by jase (2009-04-21 11:34:19)

Offline

#3 2009-04-22 06:44:23

ben123
Member
Registered: 2009-04-19
Posts: 13

Re: mythtv-setup segfaults on initial install

Thanks for the link.  That was a life saver.  There's a patch that somebody posted on the bug report, and that fixed the problem.  Now mythtv works like a charm.

I've tried the svn trunk version, which didn't run into the libgl bug, but that version was unstable.  Mythbackend refused to tune to channels which it had already scanned.  Switching back to 0.21-fixes with the patched libgl made it work again.

I had upgraded from mythbuntu, and this was definitely worth the effort.

Offline

#4 2009-04-29 02:01:29

bcudda
Member
Registered: 2008-10-27
Posts: 7

Re: mythtv-setup segfaults on initial install

Just in case this helps anyone else who has this problem.
I downgraded to this version of mesa
http://arm.nrk.cc/extra::2009-2-12/os/i … pkg.tar.gz
and removed and re-installed mythtv and the frontend started right up.

Offline

Board footer

Powered by FluxBB