[mythtv] Help with mythfrontend 0.21-fixes crashing on CentOS5

Erik Sejr esejr at wildroseinternet.ca
Wed Nov 5 06:12:41 UTC 2008


Hi,
Ever since I rebuilt my media center with a clean install of CentOS 5
and got the latest version of myth from the SVN (0.21-fixes branch) I
have been having issues with mythfrontend crashing after running for a
while. The amount of time it will run seems random. Sometimes it will
run for several hours just fine, others it crashes before it can even
display anything. This happens in the middle of recording playback or
just sitting in the menu doing nothing. The only error that appears is:

ASSERT: "it.node != node" in /usr/lib64/qt-3.3/include/qvaluelist.h (301)
Segmentation fault

As required by the docs I built a debug enabled version and ran it under gdb. All I have to do to make it crash run it and wait...

Output of mythfrontend --version

MythTV Version   : 18804
MythTV Branch    : branches/release-0-21-fixes
Library API      : 0.21.20080304-1
Network Protocol : 40
Options compiled in:
 linux debug use_hidesyms using_oss using_alsa using_backend
using_frontend using_ivtv using_joystick_menu using_lirc
using_opengl_vsync using_v4l using_x11 using_xrandr using_xv using_xvmc
using_xvmc_opengl using_bindings_perl using_bindings_python using_opengl
using_ffmpeg_threads using_xvmc_pbuffer

Output of gdb (contents of gdb.txt after running as per Wiki instructions)

[Thread debugging using libthread_db enabled]
[New Thread 47948593556176 (LWP 23611)]
[New Thread 1093531968 (LWP 23614)]
[New Thread 1113545024 (LWP 23615)]
[New Thread 1124034880 (LWP 23616)]
[Detaching after fork from child process 23617. (Try `set detach-on-fork off'.)]
[Detaching after fork from child process 23619.]
[New Thread 1134524736 (LWP 23623)]
[New Thread 1145338176 (LWP 23625)]
[New Thread 1155828032 (LWP 23626)]
[Thread 1155828032 (LWP 23626) exited]
[Detaching after fork from child process 23627.]
[Detaching after fork from child process 23628.]
[Detaching after fork from child process 23629.]
[Detaching after fork from child process 23630.]
[Detaching after fork from child process 23631.]
[Detaching after fork from child process 23632.]
[Detaching after fork from child process 23633.]
[Detaching after fork from child process 23634.]
[Detaching after fork from child process 23635.]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1124034880 (LWP 23616)]
0x0000003de62381c0 in QString::QString () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3

Thread 6 (Thread 1145338176 (LWP 23625)):
#0  0x0000003ddf00cc9b in read () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0000003b31c020ac in lirc_nextcode (code=0x44446fc0) at lirc_client.c:1752
	len = <value optimized out>
	end = 0x0
	c = <value optimized out>
	packet_size = 100
	end_len = 0
#2  0x0000003b0ae32181 in LircClient::Process (this=Could not find the frame base for "LircClient::Process()".
) at lirc.cpp:81
	code = Could not find the frame base for "LircClient::Process()".

Thread 5 (Thread 1134524736 (LWP 23623)):
#0  0x0000003ddf00a4b6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0000003de62032d9 in QWaitCondition::wait () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x0000003b0acfd357 in MythContext::waitPrivRequest (this=Could not find the frame base for "MythContext::waitPrivRequest() const".
) at mythcontext.cpp:3920
No locals.
#3  0x000000000041cdee in run_priv_thread (data=0x0) at main.cpp:857
No locals.
#4  0x0000003ddf006307 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5  0x0000003dde4d1ded in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 4 (Thread 1124034880 (LWP 23616)):
#0  0x0000003de62381c0 in QString::QString () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#1  0x0000003b0be2d125 in SSDP::ProcessData (this=Could not find the frame base for "SSDP::ProcessData(QSocketDevice*)".
) at ssdp.cpp:266
	sLine = Could not find the frame base for "SSDP::ProcessData(QSocketDevice*)".

Thread 3 (Thread 1113545024 (LWP 23615)):
#0  0x0000003ddf00a6a7 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0000003de5ef8e15 in QThreadInstance::deinit () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x0000003de5ef8f7e in QThread::msleep () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x0000003b0be312cc in TaskQueue::run (this=Could not find the frame base for "TaskQueue::run()".
) at taskqueue.cpp:114
	ttNow = Could not find the frame base for "TaskQueue::run()".

Thread 2 (Thread 1093531968 (LWP 23614)):
#0  0x0000003ddf00a6a7 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0000003de6203289 in QWaitCondition::wait () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x0000003b0be3e37c in CEvent::WaitForEvent (this=Could not find the frame base for "CEvent::WaitForEvent(unsigned long)".
) at threadpool.cpp:96
	ret = Could not find the frame base for "CEvent::WaitForEvent(unsigned long)".

Thread 1 (Thread 47948593556176 (LWP 23611)):
#0  0x0000003dde4cb332 in select () from /lib64/libc.so.6
No symbol table info available.
#1  0x0000003de5eaeec9 in QEventLoop::processEvents () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x0000003de5f17801 in QEventLoop::enterLoop () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x0000003de5f176d2 in QEventLoop::exec () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x00000000004265e8 in main (argc=5, argv=0x7fffc3cb75c8) at main.cpp:1515
	bPromptForBackend = false
	bBypassAutoDiscovery = false
	upgradeAllowed = false
	geometry = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x105d1a10, static shared_null = 0x105d1a10}
	display = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x105d1a10, static shared_null = 0x105d1a10}
	a = <incomplete type>
	pluginname = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x10736e20, static shared_null = 0x105d1a10}
	settingsOverride = {sh = 0x10736f70}
	finfo = {fn = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x10736e90, static shared_null = 0x105d1a10}, fic = 0x0, cache = true, symLink = false}
	binname = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x1072b050, static shared_null = 0x105d1a10}
	ResetSettings = false
	fileprefix = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x10767da0, static shared_null = 0x105d1a10}
	dir = <incomplete type>
	priv_thread = 1134524736
	priv_thread_created = true
	status = 0
	themename = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x2aaab02345d0, static shared_null = 0x105d1a10}
	randomtheme = false
	themedir = {static null = {static null = <same as static member of an already seen type>, d = 0x105d1a10, static shared_null = 0x105d1a10}, d = 0x2aaab007eb00, static shared_null = 0x105d1a10}
	mainWindow = (class MythMainWindow *) 0x2aaab0082750
	pmanager = (MythPluginManager *) 0x2aaab0149750
	mon = (class MediaMonitor *) 0x2aaab0186fb0
	networkControl = (class NetworkControl *) 0x0
	exitstatus = 0
#0  0x0000003de62381c0 in QString::QString () from /usr/lib64/qt-3.3/lib/libqt-mt.so.3

Thanks,
Erik




More information about the mythtv-dev mailing list