[mythtv-users] mythbackend 0.16 dumping core

Grant Edwards grante at visi.com
Wed Sep 22 12:27:23 EDT 2004


x

I upgraded from 0.15.1 to 0.16 yesterday: built from source
under Debian unstable on a 1GHz C3 Nehemiah -- yes, I changed
settings.pro to -march=i586 ;).  Now mythbackend dumps core
when it's started by init.  If I log in via ssh and start it by
hand (by doing "/etc/init.d/mythbackend start" as root), it
usually runs OK, though I have seen it segfault then as well.

When I first built 0.16, the backend would segfault immediately
everytime it was started (before any output was produced in the
log file).  Changing from -O3 to -O2 fixed that.

The log file when it's started by init always looks like this:

Starting up as the master server.
2004-09-22 10:27:16 mythbackend version: 0.16.20040906-1 www.mythtv.org
2004-09-22 10:27:16 Enabled verbose msgs : important general
2004-09-22 10:27:18 Found changes in the todo list.
2004-09-22 10:27:19 Scheduled 71 items in 1.22854 seconds.
2004-09-22 10:27:19 Seem to be woken up by USER

Here's what GDB says about the core file:

[...]
Core was generated by /usr/local/bin/mythbackend'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libmythtv-0.16.so.0...done.
Loaded symbols for /usr/local/lib/libmythtv-0.16.so.0
[...]
Loaded symbols for /usr/local/lib/mythtv/filters/libcrop.so
Loaded symbols for /usr/local/lib/mythtv/filters/libcrop.so
#0  0x40009315 in _dl_relocate_object () from /lib/ld-linux.so.2

(gdb) bt
#0  0x40009315 in _dl_relocate_object () from /lib/ld-linux.so.2
#1  0x414ea1b3 in getutmpx () from /lib/libc.so.6
#2  0x0810ea3c in ?? ()
#3  0x00000001 in ?? ()
#4  0x00000000 in ?? ()
#5  0x4180200c in ?? ()
#6  0x002b8ac4 in ?? ()
#7  0x080b5b68 in vtable for ProgramList ()
#8  0x4001666c in _rtld_global () from /lib/ld-linux.so.2
#9  0xbe1ff754 in ?? ()
#10 0x08211358 in ?? ()
#11 0xbe1ff764 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00010001 in ?? ()
#14 0x400164a0 in ?? () from /lib/ld-linux.so.2
#15 0x0000000c in ?? ()
#16 0xbe1ff8a4 in ?? ()
#17 0xbe1ff894 in ?? ()
#18 0x00000000 in ?? ()
#19 0x001ff524 in ?? ()
#20 0x00000007 in ?? ()
#21 0x00000001 in ?? ()
#22 0x41802a28 in ?? ()
#23 0x80000001 in ?? ()
#24 0x40016c40 in ?? () from /lib/ld-linux.so.2
#25 0x402c306f in FilterManager::LoadFilterLib () from /usr/local/lib/libmythtv-0.16.so.0
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00001000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x6c080028 in ?? ()
#31 0x6f626269 in ?? ()
#32 0x69656462 in ?? ()
#33 0x732e746e in ?? ()
#34 0x410e006f in typeinfo name for QPrinter () from /usr/lib/libqt-mt.so.3
#35 0x00000001 in ?? ()
#36 0xc00400cc in ?? ()
#37 0x002bae74 in ?? ()
#38 0x41718464 in ?? () from /usr/local/lib/mythtv/filters/libconvert.so
#39 0xbe1ff5b0 in ?? ()
#40 0x400076fb in _dl_unload_cache () from /lib/ld-linux.so.2
Previous frame inner to this frame (corrupt stack?)

Any ideas what to do next (other than roll back to 0.15.1)?

-- 
Grant Edwards
grante at visi.com


More information about the mythtv-users mailing list