[mythtv-users] HELP! mythtv-setup segfaults

Scott W. Edwards scott at swesound.com
Wed Aug 2 18:44:37 UTC 2006


Hi list,

I am having a problem getting mythtv-setup to run. I have been running Myth
for several years now (Gentoo box with usually the latest SVN). This current
problem started when I did an SVN update and mythbackend died at startup due
to a mysql schema change. Well thinking that this might be the time to
update Mysql I went ahead and emerged 4.1.20 from 4.0. Big mistake. I should
have learned by now to check the Gentoo update docs, but no, not this
time... Well this broke a lot of things and took me a lot of work to get
things corrected. Along the way I dusted my mythconverg database, thus the
need to run mythtv-setup. I have set-up the initial database and can connect
with it with Mysql, so that seems fine. When I run mythtv-setup it
immediately segfaults. I have included the first and last few lines of an
strace. I can't see anything that looks wrong but maybe someone can help me
out. BTW this is SVN 10557.

I am going through withdrawal, so hopefully someone has some hints..

 

Strace:

execve("/usr/local/bin/mythtv-setup", ["mythtv-setup"], [/* 39 vars */]) 
uname({sys="Linux", node="MythTv", ...}) 
brk(0)                                  
access("/etc/ld.so.preload", R_OK)      directory)

open("/etc/ld.so.cache", O_RDONLY)      
fstat64(3, {st_mode=S_IFREG|0644, st_sizeć465, ...}) 
mmap2(NULL, 86465, PROT_READ, MAP_PRIVATE, 3, 0) 
close(3)                                
 

 

 

open("/usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1", O_RDONLY) 
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\3\0\000"..., 512)

lseek(3, 1304, SEEK_SET)                
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\2\0\0\0"..., 32) 32

fstat64(3, {st_mode=S_IFREG|0755, st_size#52, ...}) 
mmap2(NULL, 5588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 0xb5534000

madvise(0xb5534000, 5588, MADV_SEQUENTIAL|0x1) 
mmap2(0xb5535000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) 
close(3)                                
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) 
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\277"..., 512) 512

fstat64(3, {st_mode=S_IFREG|0755, st_size87533, ...}) 
mmap2(NULL, 347868, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 0xb54df000

madvise(0xb54df000, 347868, MADV_SEQUENTIAL|0x1) 
mmap2(0xb5530000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x50) 
close(3)                                
open("/usr/lib/libexpat.so.0", O_RDONLY) 
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20!\0\000"..., 512)

fstat64(3, {st_mode=S_IFREG|0755, st_size2140, ...}) 
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 0xb54de000

mmap2(NULL, 154372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 0xb54b8000

madvise(0xb54b8000, 154372, MADV_SEQUENTIAL|0x1) 
mmap2(0xb54dc000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) 
close(3)                                
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 0xb54b7000

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 0xb54b6000

mprotect(0xb5534000, 4096, PROT_READ|PROT_WRITE) 
mprotect(0xb5534000, 4096, PROT_READ|PROT_EXEC) 
mprotect(0xb5536000, 7081984, PROT_READ|PROT_WRITE) 
mprotect(0xb5536000, 7081984, PROT_READ|PROT_EXEC) 
mprotect(0xb5e5c000, 4096, PROT_READ)   
mprotect(0xb5f50000, 4096, PROT_READ)   
mprotect(0xb6040000, 380928, PROT_READ|PROT_WRITE) 
mprotect(0xb6040000, 380928, PROT_READ|PROT_EXEC) 
mprotect(0xb68d9000, 245760, PROT_READ|PROT_WRITE) 
mprotect(0xb68d9000, 245760, PROT_READ|PROT_EXEC) 
mprotect(0xb6f20000, 3526656, PROT_READ|PROT_WRITE) 
mprotect(0xb6f20000, 3526656, PROT_READ|PROT_EXEC) 
mprotect(0xb7fbf000, 4096, PROT_READ)   
set_thread_area({entry_number:-1 -> 6, base_addr:0xb54b68c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) 
munmap(0xb7f94000, 86465)               
set_tid_address(0xb54b6908)             
rt_sigaction(SIGRTMIN, {0xb5f463e0, [], SA_SIGINFO}, NULL, 8) 
rt_sigaction(SIGRT_1, {0xb5f46452, [], SA_RESTART|SA_SIGINFO}, NULL, 8) 
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) 
getrlimit(RLIMIT_STACK, {rlim_curü92*1024, rlim_max=RLIM_INFINITY}) 
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffbc23c, 35, (nil), 0}) 
open("/dev/urandom", O_RDONLY)          
read(3, "C\365\304\267", 4)             
close(3)                                
futex(0xb5d35064, FUTEX_WAKE, 2147483647) 
brk(0)                                  
brk(0x80bb000)                          
open("/dev/zero", O_RDWR)               
mmap2(NULL, 1024, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) 0xb7fa9000

close(3)                                
mmap2(NULL, 688128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)

--- SIGSEGV (Segmentation fault) @ 0 (0) ---

+++ killed by SIGSEGV +++

Process 7026 detached

 

Thanks,

Scott 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060802/f7dd2bf1/attachment-0001.htm 


More information about the mythtv-users mailing list