[mythtv] Segfaults on Xebian trying to get mythgame or any plugin
working...
Robert Kohler
mythtv at rkohler.com
Thu Aug 25 05:52:42 UTC 2005
MythTV on Xbox.. plugin question...
I had it installed on my Xbox a while back, running 0.16 release... all
plugins working.
I upgrade my main FC3 system to be a backend, works fine. Records, etc.
But, now was not compatible with my Xbox, so I reloaded my XBOX OS to
Xebian 1.1.0.
I upgrade my Xbox to Xebian 1.1.0, and installed the myth-frontend
package, which gave me
mythfrontend-0.18.1-3 ...
This seems to work...
But, there is no Mythgame...
So I ventured out after not finding anything on the web, and downloaded
mythplugins-0.18, and
proceeded to compile it. After downloading many dependencies, it
finally compiled.
Now, when I place a libyyyy in the plugins directory, mythfrontend seg
faults..
See "strace" below.
I think I may be running into a problem where old definitions for my
xbox are colliding, as my old
machine name for xbox, is the same...
I logged the DB traffic too, and it seems to have it's last call be...
> 12 Query SELECT NULL
> 12 Query SELECT keylist FROM keybindings
> WHERE context = 'TV Editing' AND action = 'TOGGLEEDIT' AND hostname =
> 'xbox.rkohler.com'
> 050824 23:58:31 12 Query SELECT NULL
> 12 Query SELECT data FROM settings WHERE
> value = 'GameDBSchemaVer' AND hostname = 'xbox.rkohler.com'
> 12 Query SELECT data FROM settings WHERE
> value = 'GameDBSchemaVer' AND hostname IS NULL
I checked the DB, and had to manually update 1 table I found ...
ALTER TABLE gamemetadata ADD COLUMN rompath varchar(255) NOT NULL
default '';
ALTER TABLE gamemetadata ADD COLUMN gametype varchar(64) NOT NULL
default '';
Here is the strace of "mythfrontend"...
If the plugins directory is empty, appears to work fine.
Once I add a plugin, it panics...??
Is there a way to remove all settings for a particular "client" frontend
from the DB.
Seems to be everywhere...(at least many tables)...
Is there a list of tables I can simply "delete from TABLENAME where
hostname='xbox.rkohler.com' "?
> read(7, "\vkeybindings\7keylist\3 \0\0\1\375\3\0\0\0", 30) = 30
> read(7, "\1\0\0\3", 4) = 4
> read(7, "\376", 1) = 1
> read(7, "\2\0\0\4", 4) = 4
> read(7, "\1E", 2) = 2
> read(7, "\1\0\0\5", 4) = 4
> read(7, "\376", 1) = 1
> time([1124947505]) = 1124947505
> gettimeofday({1124947505, 95593}, NULL) = 0
> write(1, "2005-08-25 00:25:05.095 Register"..., 732005-08-25
> 00:25:05.095 Registering Internal as a media playback plugin.
> ) = 73
> access("/usr/lib/mythtv/plugins", F_OK) = 0
> lstat64("/usr/lib/mythtv/plugins", {st_mode=S_IFDIR|0755,
> st_size=4096, ...}) = 0
> open("/usr/lib/mythtv/plugins",
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 13
> fstat64(13, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl64(13, F_SETFD, FD_CLOEXEC) = 0
> getdents64(13, /* 3 entries */, 4096) = 88
> lstat64("/usr/lib/mythtv/plugins/libmythgame.so",
> {st_mode=S_IFREG|0755, st_size=1590500, ...}) = 0
> access("/usr/lib/mythtv/plugins/libmythgame.so", R_OK) = 0
> getdents64(13, /* 0 entries */, 4096) = 0
> close(13) = 0
> access("/usr/lib/mythtv/plugins/libmythgame.so", F_OK) = 0
> open("/usr/lib/mythtv/plugins/libmythgame.so", O_RDONLY) = 13
> read(13, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\305"...,
> 512) = 512
> fstat64(13, {st_mode=S_IFREG|0755, st_size=1590500, ...}) = 0
> old_mmap(NULL, 1592536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 13, 0) =
> 0x41e1d000
> old_mmap(0x41f4a000, 360448, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 13, 0x12c000) = 0x41f4a000
> close(13) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> mythtv at xbox:~$
More information about the mythtv-dev
mailing list