Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#6722 closed defect (duplicate)

Segfault during playback (Revision: 20854)

Reported by: bradley.kite@… Owned by: Janne Grunau
Priority: minor Milestone: 0.22
Component: MythTV - Video Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Janne Grunau)

I got this segfault while playing back a recording.

Current language:  auto; currently c

Thread 15 (process 32417):
#0  0x00007f40f3dc84a2 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40fa32d7c4 in MythSocketThread::run (this=0x7f40fa567040) at mythsocket.cpp:919
	it = {i = 0x9b16a0}
	rval = 1
	rfds = {fds_bits = {671088640, 0 <repeats 15 times>}}
	sock = (MythSocket *) 0x7f40e803c000
	maxfd = 29
	found = false
#2  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 14 (process 32416):
#0  0x00007f40f3dc84a2 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40fa6c6786 in LIRC::run (this=0x995b40) at lirc.cpp:448
	readfds = {fds_bits = {4194304, 0 <repeats 15 times>}}
	timeout = {tv_sec = 1, tv_usec = 33901}
	ret = 0
	codes = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x8cfa10}, d = 0x8cfa10}}
#2  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 13 (process 32415):
#0  0x00007f40f49f1a09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f40f555c545 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007f40faa451ae in MythContext::waitPrivRequest (this=0x884460) at mythcontext.cpp:2096
No locals.
#3  0x00000000004384c3 in run_priv_thread (data=0x0) at main.cpp:928
No locals.
#4  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 12 (process 32405):
#0  0x00007f40f3dc65d6 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40f4c3c5e4 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f40f4c3cc9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f40f564b73e in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#4  0x00007f40f5625d45 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x00007f40f5625ec6 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#6  0x00007f40f555949c in QThread::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#7  0x00007f40fae850c9 in WorkerThread::run (this=0x889a40) at threadpool.cpp:265
No locals.
#8  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 11 (process 32423):
#0  0x00007f40f49f1a09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f40f555c545 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x0000000000503cba in NetworkControl::RunCommandThread (this=0x9f9470) at networkcontrol.cpp:243
	command = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d7d00, static codecForCStrings = 0x0}
#3  0x0000000000503dd7 in NetworkControl::CommandThread (param=0x9f9470) at networkcontrol.cpp:230
	networkControl = (class NetworkControl *) 0x9f9470
#4  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 10 (process 32385):
#0  0x00007f40f49f1c8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f40f555c527 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007f40fc8fb56c in TV::StartTV (tvrec=0x0, startInGuide=false, inPlaylist=false, initByNetworkCommand=false) at tv_play.cpp:323
	locker = {{mtx = 0x3ac2539, val = 61613369}}
	state = kState_WatchingLiveTV
	is_err = false
	is_none = false
	timeout = 20
	st = {m_timer = {mds = 24552550}, m_running = true}
	is_started = true
	mctx = (const PlayerContext *) 0x7f40f5c32c39
	tv = (class TV *) 0x3ac2020
	quitAll = false
	showDialogs = true
	playCompleted = false
	curProgram = (ProgramInfo *) 0x0
	nvpError = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d7d00, static codecForCStrings = 0x0}
	allowrerecord = false
	deleterecording = false
#3  0x000000000043af35 in startTVNormal () at main.cpp:392
No locals.
#4  0x0000000000443f1b in TVMenuCallback (data=0x884460, selection=@0xa12f18) at main.cpp:419
	sel = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x990750, static codecForCStrings = 0x0}
#5  0x00007f40fa65857a in MythThemedMenu::handleAction (this=0xa12df0, action=@0x50e73e8) at myththemedmenu.cpp:821
	cbs = (MythUIMenuCallbacks *) 0x898780
#6  0x00007f40fa65883d in MythThemedMenu::buttonAction (this=0xa12df0, item=0x26aa810) at myththemedmenu.cpp:691
	button = {type = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x2af0a10, static codecForCStrings = 0x0}, action = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x50e73d0}, d = 0x50e73d0}}, <No data fields>}, text = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa72ce0, static codecForCStrings = 0x0}, description = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x2af6e10, static codecForCStrings = 0x0}, icon = 0x7f40fa6d6ea6, active = 96}
	it = {i = 0x50e73e8}
#7  0x00007f40fa6d1149 in MythThemedMenu::qt_metacall (this=0xa12df0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff053d12d0) at moc_myththemedmenu.cpp:70
No locals.
#8  0x00007f40f5637a4a in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007f40fa6d2f42 in MythUIButtonList::itemClicked (this=0xa52430, _t1=0x26aa810) at moc_mythuibuttonlist.cpp:96
	_a = {0x0, 0x7fff053d12c0}
#10 0x00007f40fa670aac in MythUIButtonList::keyPressEvent (this=0xa52430, e=0x7fff053d1a40) at mythuibuttonlist.cpp:843
	item = (MythUIButtonListItem *) 0x26aa810
	action = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f40e8003950, static codecForCStrings = 0x0}
	i = 0
	actions = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xa06560}, d = 0xa06560}}, <No data fields>}
	handled = true
#11 0x00007f40fa658931 in MythThemedMenu::keyPressEvent (this=0xa12df0, event=0x7fff053d1a40) at myththemedmenu.cpp:210
	type = (class MythUIType *) 0xa52430
	actions = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fff053d1a40}, d = 0x7fff053d1a40}}, <No data fields>}
	fullexit = 96
	handled = 250
#12 0x00007f40fa5f7aca in MythMainWindow::eventFilter (this=0x8f7460, e=0x7fff053d1a40) at mythmainwindow.cpp:1377
	top = (class MythScreenType *) 0xa12df0
	ke = (struct QKeyEvent *) 0x7fff053d1a40
	it = (class MythScreenStack **) 0x7f40e9160228
	ge = (MythGestureEvent *) 0x7fff00000001
#13 0x00007f40f5626ebd in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#14 0x00007f40f7412eff in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#15 0x00007f40f741a192 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#16 0x00007f40f5626953 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#17 0x00007f40faa787bb in QCoreApplication::sendEvent (receiver=0x8f7460, event=0x7fff053d1a40) at /usr/include/qt4/QtCore/qcoreapplication.h:213
No locals.
#18 0x00007f40fa5fcaf0 in MythMainWindow::customEvent (this=0x8f7460, ce=0x361a9a0) at mythmainwindow.cpp:1559
	key = <incomplete type>
	key_target = (struct QObject *) 0x0
	lke = (LircKeycodeEvent *) 0x361a9a0
#19 0x00007f40f5635ea5 in QObject::event () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#20 0x00007f40f745870d in QWidget::event () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#21 0x00007f40fa5fd5f9 in MythMainWindow::event (this=0x8f7460, e=0x361a9a0) at mythmainwindow.cpp:703
No locals.
#22 0x00007f40f7412f2e in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#23 0x00007f40f7419d8e in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#24 0x00007f40f5626953 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#25 0x00007f40f5627a2a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#26 0x00007f40f564b273 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#27 0x00007f40f4c394b2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x00007f40f4c3c795 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x00007f40f4c3cc9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x00007f40f564b73e in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#31 0x00007f40f7492aff in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#32 0x00007f40f5625d45 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#33 0x00007f40f5625ec6 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#34 0x00007f40f5627d39 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#35 0x000000000044235e in main (argc=1, argv=0x7fff053d3758) at main.cpp:1470
	bPromptForBackend = false
	bBypassAutoDiscovery = false
	upgradeAllowed = false
	cmdline_err = false
	cmdline = {parseTypes = 255, settingsOverride = {{d = 0x7d7d20, e = 0x7d7d20}}, settingsQuery = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7d8620}, d = 0x7d8620}}, <No data fields>}, display = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d7d00, static codecForCStrings = 0x0}, geometry = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d7d00, static codecForCStrings = 0x0}, wantsToExit = false}
	a = <incomplete type>
	pluginname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d7d00, static codecForCStrings = 0x0}
	finfo = {d_ptr = 0x87a000}
	binname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x87a1b0, static codecForCStrings = 0x0}
	ResetSettings = false
	settingsOverride = {{d = 0x7d7d20, e = 0x7d7d20}}
	pa_ret = 0
	callCleanup = {m_cleanFunction = 0x444d56 <(anonymous namespace)::cleanup()>}
	settingsQuery = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7d8620}, d = 0x7d8620}}, <No data fields>}
	fileprefix = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x884ed0, static codecForCStrings = 0x0}
	dir = {d_ptr = 0x90ed30}
	geometry = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d7d00, static codecForCStrings = 0x0}
	priv_thread = 139916721178960
	priv_thread_created = true
	status = 0
	themename = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa13460, static codecForCStrings = 0x0}
	randomtheme = false
	themedir = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa12cb0, static codecForCStrings = 0x0}
	mainWindow = (class MythMainWindow *) 0x8f7460
	pmanager = (MythPluginManager *) 0x7f40e885bad0
	mon = (class MediaMonitor *) 0x7f40e88528b0
	networkControl = (class NetworkControl *) 0x9f9470

Thread 9 (process 32588):
#0  0x00007f40f3dc65d6 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40f4c3c5e4 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f40f4c3cc9b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f40f564b73e in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#4  0x00007f40f5625d45 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x00007f40f5625ec6 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#6  0x00007f40f555949c in QThread::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#7  0x00007f40fc8d6cdf in TV::run (this=0x3ac2020) at tv_play.cpp:2197
	mctx = (PlayerContext *) 0x0
	ctx = (const PlayerContext *) 0x0
#8  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 8 (process 32593):
#0  0x00007f40f3da1491 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40f3dc8c54 in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x00007f40fc5f3bb5 in RingBuffer::safe_read (this=0x512a3a0, fd=64, data=0x727b768, sz=655360) at RingBuffer.cpp:482
	ret = 0
	tot = 0
	errcnt = 0
	zerocnt = 3
#3  0x00007f40fc5f4f8e in RingBuffer::ReadAheadThread (this=0x512a3a0) at RingBuffer.cpp:876
	totfree = 655360
	ret = 0
	used = 213401
	loops = 0
	lastread = {tv_sec = 1247468131, tv_usec = 724900}
	now = {tv_sec = 1247468131, tv_usec = 724900}
	KB640 = 655360
	readtimeavg = 236
	readinterval = 300
#4  0x00007f40fc5f53cf in RingBuffer::StartReader (type=0x512a3a0) at RingBuffer.cpp:758
	rbuffer = (RingBuffer *) 0x512a3a0
#5  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (process 32407):
#0  0x00007f40f3dc84a2 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40fae72b4b in SSDP::run (this=0x88d9a0) at ssdp.cpp:231
	nMaxSocket = 19
	read_set = {fds_bits = {917504, 0 <repeats 15 times>}}
	timeout = {tv_sec = 0, tv_usec = 15453}
#2  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (process 32591):
#0  0x00007f40f3dc65d6 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40f7dae70a in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
No symbol table info available.
#2  0x00007f40f149232d in ?? () from //usr/lib64/opengl/nvidia/lib/libGLcore.so.1
No symbol table info available.
#3  0x00007f40f7dcdb80 in glXWaitVideoSyncSGI () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
No symbol table info available.
#4  0x00007f40fca3b1a7 in OpenGLVideoSync::WaitForFrame (this=0x66e6d00, sync_delay=0) at vsync.cpp:516
	msg1 = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f40eac07d00, static codecForCStrings = 0x0}
	msg2 = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f40e99183b0, static codecForCStrings = 0x0}
	vo = (class VideoOutput *) 0x360a4a0
	err = 0
	frameNum = 1768013
	ctx_lock = {m_ctx = 0x3e4cc60}
#5  0x00007f40fc938c3b in NuppelVideoPlayer::AVSync (this=0x2d69b90) at NuppelVideoPlayer.cpp:2518
	diverge = -0.883875012
	buffer = (VideoFrame *) 0x5963248
	ps = kScan_Intr2ndField
#6  0x00007f40fc93be80 in NuppelVideoPlayer::DisplayNormalFrame (this=0x2d69b90) at NuppelVideoPlayer.cpp:2909
	frame = (VideoFrame *) 0x5963248
	ps = kScan_Interlaced
#7  0x00007f40fc93cc08 in NuppelVideoPlayer::OutputVideoLoop (this=0x2d69b90) at NuppelVideoPlayer.cpp:3048
	temp_speed = 1
	fr_int = 40000
	rf_int = 20000
#8  0x00007f40fc93cd4c in NuppelVideoPlayer::kickoffOutputVideoLoop (player=0x2d69b90) at NuppelVideoPlayer.cpp:3126
	nvp = (NuppelVideoPlayer *) 0x2d69b90
	video_thread_pool = (void *) 0x0
#9  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (process 32418):
#0  0x00007f40f3dc84a2 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f40f560b11e in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (process 32406):
#0  0x00007f40f49f1c8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f40f555b505 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007f40f555b65e in QThread::msleep () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007f40fae76635 in TaskQueue::run (this=0x88c740) at taskqueue.cpp:127
	ttNow = {tv_sec = 1247468131, tv_usec = 764581}
	pTask = (Task *) 0x0
#4  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (process 32594):
#0  0x00007f40f49f1c8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f40f555b505 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007f40f555b5c0 in QThread::usleep () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007f40faa0be39 in AudioOutputBase::OutputAudioLoop (this=0x7f40ca8c0a50) at audiooutputbase.cpp:1218
	space_on_soundcard = 4828
	last_space_on_soundcard = 4828
	zeros = 0x7f40d652eff0 ""
	fragment = 0x7f40d652d7e0 "\202þPýUþßüùý[ü½ý7ü±ýQü\215ý\"üKýÈû\001ý£ûªü\214ûcübûRüUû_ümûoü\202û{ükû}ü3ûsü\017û\\üÿú<üìú6ü÷úQü/ûuüeû¦ü¡ûîüñûEý8ü¥ý\211üóýçü\035þ6ýWþ\234ý¨þ\037þÁþRþµþKþËþsþâþ\226þÎþ{þ½þvþºþ\231þ£þ©þ\213þ­þxþ²þ\\þ¶þNþ¾þZþ³þlþ\222þeþrþ7þNþ\004þ0þ\aþDþ0þRþFþ*þYþ\033þ"...
	e = {<MythEvent> = {<> = {<No data fields>}, message = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3340}, alloc = 0, size = 0, data = 0x7d7d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1994}, alloc = 0, size = 0, data = 0x7f40f58fd7fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, extradata = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8893}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}, <No data fields>}}, error_msg = 0x0, elasped_seconds = 0, written_bytes = 0, brate = 0, freq = 0, prec = 0, chan = 0}
#4  0x00007f40faa0c4fe in AudioOutputBase::run (this=0x7f40ca8c0a50) at audiooutputbase.cpp:1311
No locals.
#5  0x00007f40f555bd20 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#6  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (process 32592):
#0  0x00007f40f49f1c8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f40f555c527 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007f40fcb1392c in MHIContext::RunMHEGEngine (this=0x66dcc40) at mhi.cpp:241
	toWait = 1000
	key = 0
	mutex = {d = 0x66dca80}
#3  0x00007f40fcb1398f in MHIContext::StartMHEGEngine (param=0x66dcc40) at mhi.cpp:203
	context = (MHIContext *) 0x66dcc40
#4  0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (process 32589):
#0  0x00007f40fbf6f009 in mpegts_push_data (opaque=0x7f40c81827a0, buf=0x7f40d909b194 "Ê\002\033Nr\224\177\035×=\023M\226Â\215\237Ã2Vppxt®9\203ë\206%¶|\206i¨û8sò[µC\n*«i}\235îø\224Ôl'»1Ôyaµ¶\232Ü\220:6Ô= ÔmRC[QYmV#\002[6¶\212¶\214À\035\001ø¨0È«¨", buf_size=184, is_start=0, pos=352923940) at mpegts.c:1676
	pes = (PESContext *) 0x7f40c81827a0
	ts = (MpegTSContext *) 0x7f40c8462750
	p = (const uint8_t *) 0x7f40d909b194 "Ê\002\033Nr\224\177\035×=\023M\226Â\215\237Ã2Vppxt®9\203ë\206%¶|\206i¨û8sò[µC\n*«i}\235îø\224Ôl'»1Ôyaµ¶\232Ü\220:6Ô= ÔmRC[QYmV#\002[6¶\212¶\214À\035\001ø¨0È«¨"
	len = 12392
	code = 1
#1  0x00007f40fbf6f8c3 in handle_packet (ts=0x7f40c8462750, packet=0x7f40d909b190 "G", position=352923940) at mpegts.c:1882
	s = (AVFormatContext *) 0x7f40c817f970
	tss = (MpegTSFilter *) 0x7f40c82899c0
	len = -653676152
	pid = 201
	cc = 1
	cc_ok = 1
	afc = 1
	is_start = 0
	p = (const uint8_t *) 0x7f40d909b194 "Ê\002\033Nr\224\177\035×=\023M\226Â\215\237Ã2Vppxt®9\203ë\206%¶|\206i¨û8sò[µC\n*«i}\235îø\224Ôl'»1Ôyaµ¶\232Ü\220:6Ô= ÔmRC[QYmV#\002[6¶\212¶\214À\035\001ø¨0È«¨"
	p_end = (const uint8_t *) 0x7f40d909b24c "@\177"
	pos = 352924128
#2  0x00007f40fbf6faca in handle_packets (ts=0x7f40c8462750, nb_packets=0) at mpegts.c:1955
	s = (AVFormatContext *) 0x7f40c817f970
	pb = (ByteIOContext *) 0x7f40c8001000
	packet = "G\000É\021Ê\002\033Nr\224\177\035×=\023M\226Â\215\237Ã2Vppxt®9\203ë\206%¶|\206i¨û8sò[µC\n*«i}\235îø\224Ôl'»1Ôyaµ¶\232Ü\220:6Ô= ÔmRC[QYmV#\002[6¶\212¶\214À\035\001ø¨0È«¨\000\000\000\001\"jhp\203VéX±`Üm«A\23249£R\b`\fÃ3Ú9\200\024+a\205#\030S\003Û\"`Sm\177!u¢I\004\033øB\231ÉmfÝVý\231\224}\237u\233>Y÷T}¸J\220Ý%å\037-F\a\230>j\016\003vÁBÆ"
	packet_num = 2
	ret = 0
	pos = 352923940
#3  0x00007f40fbf70805 in mpegts_read_packet (s=0x7f40c817f970, pkt=0x7f40d909b360) at mpegts.c:2253
	ts = (MpegTSContext *) 0x7f40c8462750
	ret = 29780
	i = 0
#4  0x00007f40fbf18277 in av_read_packet (s=0x7f40c817f970, pkt=0x7f40d909b360) at utils.c:581
	pktl = (AVPacketList *) 0x0
	ret = -70319322
	i = 32576
	st = (AVStream *) 0x7f40d08b2c80
#5  0x00007f40fbf19b3d in av_read_frame_internal (s=0x7f40c817f970, pkt=0x7f40d06453a0) at utils.c:1017
	cur_pkt = {pts = -9223372036854775808, dts = -9223372036854775808, data = 0x0, size = 0, stream_index = 0, flags = 0, duration = 0, destruct = 0, priv = 0x7f40d909b3e0, pos = -1, convergence_duration = 0}
	st = (AVStream *) 0x0
	len = 29780
	ret = 7
	i = 0
#6  0x00007f40fbf1a235 in av_read_frame (s=0x7f40c817f970, pkt=0x7f40d06453a0) at utils.c:1138
	pktl = (AVPacketList *) 0x0
	eof = 0
	genpts = 0
	__PRETTY_FUNCTION__ = "av_read_frame"
#7  0x00007f40fc99d693 in AvFormatDecoder::GetFrame (this=0x7f40c847aaa0, onlyvideo=0) at avformatdecoder.cpp:3360
	ctype = 0
	audSubIdx = -1
	curstream = (AVStream *) 0x7f40c82896f0
	audIdx = 1
	subIdx = 3
	pkt = (AVPacket *) 0x7f40d06453a0
	len = 16149
	ptr = (unsigned char *) 0x7f40e95a7570 ""
	data_size = 0
	pts = 41671168
	firstloop = false
	have_err = false
	allowedquit = false
	storevideoframes = true
	skipaudio = false
	has_video = true
	ofill = 50689
	ototal = 1536000
	othresh = 1152000
	total_decoded_audio = 0
#8  0x00007f40fc9349b0 in NuppelVideoPlayer::GetFrameNormal (this=0x2d69b90, onlyvideo=0) at NuppelVideoPlayer.cpp:1515
No locals.
#9  0x00007f40fc9354ba in NuppelVideoPlayer::GetFrame (this=0x2d69b90, onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:1603
	ret = false
#10 0x00007f40fc948f3e in NuppelVideoPlayer::StartPlaying (this=0x2d69b90, openfile=false) at NuppelVideoPlayer.cpp:3800
	output_video = 139916467190096
	decoder_thread = 139916495935824
	__PRETTY_FUNCTION__ = "bool NuppelVideoPlayer::StartPlaying(bool)"
#11 0x00007f40fc96481e in SpawnDecode (param=0x2d69b90) at playercontext.cpp:26
	decoder_thread_pool = (void *) 0x0
	nvp = (class NuppelVideoPlayer *) 0x2d69b90
#12 0x00007f40f49ed097 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x00007f40f3dce77d in clone () from /lib/libc.so.6
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.

Change History (14)

comment:1 Changed 10 years ago by bradley.kite@…

Hi guys.

I'm getting this crash almost every 5 or 10 minutes. Is there any thing I can do to help try to get to the bottom of it? I don't really know where to start.

Any help/advise will be appreciated.

Regards -- Brad.

comment:2 in reply to:  1 Changed 10 years ago by markk

Status: newinfoneeded_new

Bradley

Assuming this is still an issue, the backtrace you've provided does not provide the crucial detail of where the crash is actually happening. http://www.mythtv.org/docs/mythtv-HOWTO.html#toc22.2 should help.

Additionally, providing the output of mythfrontend -v playback should help, as would any specifics on how to induce the crashes (assuming it isn't just a case of 'start playback').

rgds, Mark

comment:3 Changed 10 years ago by markk

comment:4 Changed 10 years ago by bradley.kite@…

Hi there Mark, thanks for spending the time to take a look.

In the first stack trace, the problem is in the last thread (Thread 1 (process 32589)).

This has been a problem since last ffmpeg sync - and i'm now running trunk rev. 21291.

Here is an updated stack trace, and -v playback log.

This is the actual thread where it segfaults:

Core was generated by `mythfrontend -v playback'.
Program terminated with signal 11, Segmentation fault.

(gdb) where
#0  0x00007fee95cccb83 in memcpy () from /lib/libc.so.6
#1  0x00007fee9dfadbd0 in mpegts_push_data (opaque=0x7fee8001ae10,
    buf=0x7fee76c31e84 "ýÒ\235:ÛVrçRi<ÉÅ\212\222\226Y¥\206%o\fX ~\230 \200©JAá\t¤\030¨a¤\024pa\210\212<Öê\200:Ü\004",
    buf_size=184, is_start=0, pos=67838108) at mpegts.c:1785
#2  0x00007fee9dfae4e3 in handle_packet (ts=0x7fee800fa2d0, packet=0x7fee76c31e80 "G") at mpegts.c:1995
#3  0x00007fee9dfae6f0 in handle_packets (ts=0x7fee800fa2d0, nb_packets=0) at mpegts.c:2068
#4  0x00007fee9dfaf4e7 in mpegts_read_packet (s=0x7fee8018f240, pkt=0x7fee76c32090) at mpegts.c:2382
#5  0x00007fee9df5720b in av_read_packet (s=0x7fee8018f240, pkt=0x7fee76c32090) at utils.c:581
#6  0x00007fee9df58b66 in av_read_frame_internal (s=0x7fee8018f240, pkt=0x7fee88186460) at utils.c:1016
#7  0x00007fee9df59294 in av_read_frame (s=0x7fee8018f240, pkt=0x7fee88186460) at utils.c:1137
#8  0x00007fee9ea7650f in AvFormatDecoder::GetFrame (this=0x7fee800177c0, onlyvideo=0) at avformatdecoder.cpp:3361
#9  0x00007fee9e9ff738 in NuppelVideoPlayer::GetFrameNormal (this=0x7fee8027d2a0, onlyvideo=0) at NuppelVideoPlayer.cpp:1531
#10 0x00007fee9ea0045e in NuppelVideoPlayer::GetFrame (this=0x7fee8027d2a0, onlyvideo=0, unsafe=false)
    at NuppelVideoPlayer.cpp:1619
#11 0x00007fee9ea1772a in NuppelVideoPlayer::StartPlaying (this=0x7fee8027d2a0, openfile=false) at NuppelVideoPlayer.cpp:3825
#12 0x00007fee9ea39430 in SpawnDecode (param=0x7fee8027d2a0) at playercontext.cpp:29
#13 0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
#14 0x00007fee95d1f27d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Here is the last bit of the playback log. All I do, is enter Live TV from the main menu (But this happens while watching a recording too):

2009-08-17 10:46:37.895 NVP(1): 23200 interlaced frames seen.
'video_output' mean = '40040.92', std. dev. = '8206.89', fps = '24.97'
'video_output' mean = '39874.03', std. dev. = '8506.14', fps = '25.08'
'video_output' mean = '40040.87', std. dev. = '8220.00', fps = '24.97'
'video_output' mean = '40041.04', std. dev. = '8209.48', fps = '24.97'
2009-08-17 10:46:53.895 NVP(1): 23600 interlaced frames seen.
'video_output' mean = '40040.84', std. dev. = '8216.37', fps = '24.97'
2009-08-17 10:46:56.165 [mp2 @ 0x7fee9d8ea740]Header missing
2009-08-17 10:46:56.165 AFD Error: Unknown audio decoding error

And here is the full stack trace:

(gdb) thread apply all bt full

Thread 15 (process 734):
#0  0x00007fee969636cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fee974d887b in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007fee974d8920 in QThread::usleep () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007fee9c9fdb67 in AudioOutputBase::OutputAudioLoop (this=0x7fee8288bb50) at audiooutputbase.cpp:1218
        space_on_soundcard = 2132
        last_space_on_soundcard = 2132
        zeros = 0x7fee73305f10 ""
        fragment = 0x7fee73304700 "×ö×öAø>ø_ú^ú\222ý\223ý\b\002\n\002w\az\a´\rµ\r\212\024\210\024õ\032ò\032½\037º\037ª\"«\"\a$\n$z#~#\234 \237 \004\034\002\034­\026¨\026\024\021\020\021{\vy\vl\006o\006c\002h\002Zÿ^ÿ\025ý\027ý\223û\217û°ú«úÀù¼ùý÷ü÷UõYõ,ò1òÃîÆîpëoëÙèÔè\202ç}ç¡ç\237ç{é}é9í>íyò~òvøwøtþpþÐ\003Ë\003ÿ\aû\a\234\n\235\no\vt\vs\nx\ní\aï\al\004h\004\216"
        e = {<MythEvent> = {<> = {<No data fields>}, message = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, extradata = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}, <No data fields>}}, error_msg = 0x0, elasped_seconds = 0, written_bytes = 0, brate = 0, freq = 0, prec = 0, chan = 0}
#4  0x00007fee9c9fe401 in AudioOutputBase::run (this=0x7fee8288bb50) at audiooutputbase.cpp:1311
No locals.
#5  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#6  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 14 (process 668):
#0  0x00007fee96963449 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fee974d9cb9 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x000000000052696a in NetworkControl::RunCommandThread (this=0x117b140) at networkcontrol.cpp:243
        command = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}
#3  0x0000000000526abd in NetworkControl::CommandThread (param=0x117b140) at networkcontrol.cpp:230
        networkControl = (class NetworkControl *) 0x117b140
#4  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 13 (process 660):
#0  0x00007fee95d18872 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee975908e2 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 12 (process 626):
#0  0x00007fee969636cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fee974d9c97 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007fee9e9c16bd in TV::StartTV (tvrec=0x0, startInGuide=false, inPlaylist=false, initByNetworkCommand=false) at tv_play.cpp:323
        locker = {{mtx = 0x7fee880e81a9, val = 140662461596073}}
        state = kState_WatchingLiveTV
        is_err = false
        is_none = false
        timeout = 20
        st = {m_timer = {mds = 37859156}, m_running = true}
        is_started = true
        mctx = (const PlayerContext *) 0x7fee974d8c04
        tv = (class TV *) 0x7fee880e7c90
        quitAll = false
        showDialogs = true
        playCompleted = false
        curProgram = (ProgramInfo *) 0x0
        nvpError = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}
        allowrerecord = false
        deleterecording = false
#3  0x000000000043a76a in startTVNormal () at main.cpp:392
No locals.
#4  0x0000000000445c2a in TVMenuCallback (data=0x898ec0, selection=@0x1a5b0a8) at main.cpp:419
        sel = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fee883ed570, static codecForCStrings = 0x0}
#5  0x00007fee9c63d9d9 in MythThemedMenu::handleAction (this=0x1a5af80, action=@0x7fee882a2378, password=@0x7fffa7537fa0) at myththemedmenu.cpp:847
        cbs = (MythUIMenuCallbacks *) 0x7fee8800ef60
#6  0x00007fee9c63dd73 in MythThemedMenu::buttonAction (this=0x1a5af80, item=0x1ec9c60, skipPass=false) at myththemedmenu.cpp:716
        button = {type = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3f4b8b0, static codecForCStrings = 0x0}, action = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fee882a2360}, d = 0x7fee882a2360}}, <No data fields>}, text = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3f5aa20, static codecForCStrings = 0x0}, description = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3f51c40, static codecForCStrings = 0x0}, icon = 0x7fffa75387e0, active = 60, password = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}}
        password = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}
        it = {i = 0x7fee882a2378}
#7  0x00007fee9c6c70c9 in MythThemedMenu::qt_metacall (this=0x1a5af80, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffa7538110) at moc_myththemedmenu.cpp:73
No locals.
#8  0x00007fee975bf540 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007fee9c6c8e50 in MythUIButtonList::itemClicked (this=0x1ec08f0, _t1=0x1ec9c60) at moc_mythuibuttonlist.cpp:96
        _a = {0x0, 0x7fffa7538100}
#10 0x00007fee9c65a498 in MythUIButtonList::keyPressEvent (this=0x1ec08f0, e=0x7fffa7538940) at mythuibuttonlist.cpp:843
        item = (MythUIButtonListItem *) 0x1ec9c60
        action = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x854360, static codecForCStrings = 0x0}
        i = 0
        actions = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fee880664a0}, d = 0x7fee880664a0}}, <No data fields>}
        handled = true
#11 0x00007fee9c63e842 in MythThemedMenu::keyPressEvent (this=0x1a5af80, event=0x7fffa7538940) at myththemedmenu.cpp:211
        type = (class MythUIType *) 0x1ec08f0
        actions = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}, <No data fields>}
        fullexit = true
        handled = 136
#12 0x00007fee9c5c966f in MythMainWindow::eventFilter (this=0x9445d0, e=0x7fffa7538940) at mythmainwindow.cpp:1392
        top = (class MythScreenType *) 0x1a5af80
        ke = (struct QKeyEvent *) 0x7fffa7538940
        it = (class MythScreenStack **) 0x1a69fa8
        ge = (MythGestureEvent *) 0x3
#13 0x00007fee975ac907 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#14 0x00007fee993b62bc in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#15 0x00007fee993be9da in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#16 0x00007fee975ad5ab in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#17 0x00007fee9ca78683 in QCoreApplication::sendEvent (receiver=0x9445d0, event=0x7fffa7538940) at /usr/include/qt4/QtCore/qcoreapplication.h:213
No locals.
#18 0x00007fee9c5cfa05 in MythMainWindow::customEvent (this=0x9445d0, ce=0x8fde40) at mythmainwindow.cpp:1574
        key = <incomplete type>
        key_target = (struct QObject *) 0x0
        lke = (LircKeycodeEvent *) 0x8fde40
#19 0x00007fee975bc2a5 in QObject::event () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#20 0x00007fee99402e5b in QWidget::event () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#21 0x00007fee9c5d0610 in MythMainWindow::event (this=0x9445d0, e=0x8fde40) at mythmainwindow.cpp:709
No locals.
#22 0x00007fee993b62dd in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#23 0x00007fee993bda1a in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#24 0x00007fee975ad5ab in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#25 0x00007fee975aded6 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#26 0x00007fee975d2d73 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#27 0x00007fee96badb69 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x00007fee96bb10c8 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x00007fee96bb127e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x00007fee975d29ef in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#31 0x00007fee9943bfc8 in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#32 0x00007fee975abf32 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#33 0x00007fee975ac0dc in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#34 0x00007fee975ae15c in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#35 0x0000000000443a41 in main (argc=3, argv=0x7fffa753a888) at main.cpp:1469
        bPromptForBackend = false
        bBypassAutoDiscovery = false
        upgradeAllowed = false
        cmdline_err = false
        cmdline = {parseTypes = 1535, settingsOverride = {{d = 0x810d20, e = 0x810d20}}, settingsQuery = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x811620}, d = 0x811620}}, <No data fields>}, display = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}, geometry = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}, wantsToExit = false}
        a = <incomplete type>
        pluginname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}
        finfo = {d_ptr = 0x895c50}
        binname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x8953e0, static codecForCStrings = 0x0}
        ResetSettings = false
        settingsOverride = {{d = 0x810d20, e = 0x810d20}}
        pa_ret = 0
        callCleanup = {m_cleanFunction = 0x446cf9 <cleanup>}
        settingsQuery = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x811620}, d = 0x811620}}, <No data fields>}
        fileprefix = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x83d2c0, static codecForCStrings = 0x0}
        dir = {d_ptr = 0x7fee880338c0}
        geometry = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x810d00, static codecForCStrings = 0x0}
        priv_thread = 140662447528208
        priv_thread_created = true
        status = 0
        themename = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x11b3b30, static codecForCStrings = 0x0}
        randomtheme = false
        themedir = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 2966}, alloc = 0, size = 0, data = 0x810d1a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1814}, alloc = 0, size = 0, data = 0x7fee9788581a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x11b3f70, static codecForCStrings = 0x0}
        mainWindow = (class MythMainWindow *) 0x9445d0
        pmanager = (MythPluginManager *) 0x1a64860
        mon = (class MediaMonitor *) 0x11748f0
        networkControl = (class NetworkControl *) 0x117b140

Thread 11 (process 733):
#0  0x00007fee95cee5b1 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee95d19054 in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x00007fee9e62b811 in RingBuffer::ReadAheadThread (this=0x7fee80005ce0) at RingBuffer.cpp:949
        totfree = 163839
        ret = 229376
        used = 3112961
        loops = 6
        lastread = {tv_sec = 1250502418, tv_usec = 637335}
        now = {tv_sec = 1250502418, tv_usec = 637335}
        KB640 = 655360
        readtimeavg = 377
        readinterval = 354
#3  0x00007fee9e62c00b in RingBuffer::StartReader (type=0x7fee80005ce0) at RingBuffer.cpp:896
        rbuffer = (RingBuffer *) 0x7fee80005ce0
#4  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 10 (process 632):
#0  0x00007fee969636cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fee974d887b in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007fee974d89ce in QThread::msleep () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007fee9cea2e01 in TaskQueue::run (this=0x8c3e70) at taskqueue.cpp:127
        ttNow = {tv_sec = 1250502418, tv_usec = 929359}
        pTask = (Task *) 0x0
#4  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 9 (process 731):
#0  0x00007fee95cee5b1 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee95d19054 in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x00007fee9ebb7c36 in VDPAUContext::PrepareVideo (this=0x7fee801102c0, frame=0x6f2c648, video_rect={x1 = 0, y1 = 0, x2 = 719, y2 = 575}, display_video_rect={x1 = 0, y1 = 0, x2 = 1919, y2 = 1079}, screen_size={wd = 1920, ht = 1080}, scan=kScan_Intr2ndField) at util-vdpau.cpp:1205
        locker = {{mtx = 0x7fee80110419, val = 140662327542809}}
        vdp_st = 133706888
        ok = true
        dummy = 133706888
        render = (vdpau_render_state *) 0x7fee8033d018
        video_surface = 21
        new_frame = false
        deint = true
        srcRect = {x0 = 0, y0 = 0, x1 = 720, y1 = 576}
        field = VDP_VIDEO_MIXER_PICTURE_STRUCTURE_BOTTOM_FIELD
        past_surfaces = {2194151856, 32750}
        future_surfaces = {2194151664}
        num_layers = 2657353146
        layers = {{struct_version = 1905353248, source_surface = 32750, source_rect = 0x7fee9eb09d2d, destination_rect = 0x1007fee803303d8}, {struct_version = 2580841433, source_surface = 32750, source_rect = 0x0, destination_rect = 0x7fee719160e0}}
#3  0x00007fee9ebd304b in VideoOutputVDPAU::PrepareFrame (this=0x715eb20, frame=0x6f2c648, scan=kScan_Intr2ndField) at videoout_vdpau.cpp:290
No locals.
#4  0x00007fee9ea048b1 in NuppelVideoPlayer::AVSync (this=0x7fee8027d2a0) at NuppelVideoPlayer.cpp:2533
        diverge = -0.801900029
        buffer = (VideoFrame *) 0x6f2c648
        ps = kScan_Intr2ndField
#5  0x00007fee9ea080c4 in NuppelVideoPlayer::DisplayNormalFrame (this=0x7fee8027d2a0) at NuppelVideoPlayer.cpp:2932
        frame = (VideoFrame *) 0x6f2c648
        ps = kScan_Interlaced
#6  0x00007fee9ea0910c in NuppelVideoPlayer::OutputVideoLoop (this=0x7fee8027d2a0) at NuppelVideoPlayer.cpp:3071
        temp_speed = 1
        fr_int = 40000
        rf_int = 20000
#7  0x00007fee9ea09286 in NuppelVideoPlayer::kickoffOutputVideoLoop (player=0x7fee8027d2a0) at NuppelVideoPlayer.cpp:3149
        nvp = (NuppelVideoPlayer *) 0x7fee8027d2a0
        video_thread_pool = (void *) 0x0
#8  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 8 (process 655):
#0  0x00007fee96963449 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fee974d9cb9 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007fee9ca3d618 in MythContext::waitPrivRequest (this=0x898ec0) at mythcontext.cpp:2088
No locals.
#3  0x0000000000437542 in run_priv_thread (data=0x0) at main.cpp:942
No locals.
#4  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (process 633):
#0  0x00007fee95d18872 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee9ce9e9a4 in SSDP::run (this=0x7fee88000a50) at ssdp.cpp:231
        nMaxSocket = 18
        read_set = {fds_bits = {458752, 0 <repeats 15 times>}}
        timeout = {tv_sec = 0, tv_usec = 260485}
#2  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (process 659):
#0  0x00007fee95d18872 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee9c2ed5ec in MythSocketThread::run (this=0x7fee9c5380c0) at mythsocket.cpp:996
        it = {i = 0x125d330}
        rval = 1
        rfds = {fds_bits = {335544320, 0 <repeats 15 times>}}
        sock = (MythSocket *) 0x983fc0
        maxfd = 28
        found = false
#2  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (process 728):
#0  0x00007fee95d16369 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee96bb0fa9 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fee96bb127e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007fee975d29ef in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#4  0x00007fee975abf32 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x00007fee975ac0dc in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#6  0x00007fee974d638c in QThread::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#7  0x00007fee9e9ba415 in TV::run (this=0x7fee880e7c90) at tv_play.cpp:2195
        mctx = (PlayerContext *) 0x0
        ctx = (const PlayerContext *) 0x0
#8  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (process 656):
#0  0x00007fee95d18872 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee9c6b81fd in LIRC::run (this=0x942350) at lirc.cpp:448
        readfds = {fds_bits = {524288, 0 <repeats 15 times>}}
        timeout = {tv_sec = 0, tv_usec = 109558}
        ret = 0
        codes = {{p = {static shared_null = {ref = {_q_value = 8334}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x1eb40a0}, d = 0x1eb40a0}}
#2  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (process 631):
#0  0x00007fee95d16369 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee96bb0fa9 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007fee96bb127e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007fee975d2a0e in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#4  0x00007fee975abf32 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#5  0x00007fee975ac0dc in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#6  0x00007fee974d638c in QThread::exec () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#7  0x00007fee9ceb4697 in WorkerThread::run (this=0x8caed0) at threadpool.cpp:265
No locals.
#8  0x00007fee974d8f84 in ?? () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#9  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (process 732):
#0  0x00007fee969636cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007fee974d9c97 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#2  0x00007fee9ec1d803 in MHIContext::RunMHEGEngine (this=0x6a92560) at mhi.cpp:242
        toWait = 926
        key = 0
        mutex = {d = 0x6ecdd70}
#3  0x00007fee9ec1d87f in MHIContext::StartMHEGEngine (param=0x6a92560) at mhi.cpp:204
        context = (MHIContext *) 0x6a92560
#4  0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (process 729):
#0  0x00007fee95cccb83 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fee9dfadbd0 in mpegts_push_data (opaque=0x7fee8001ae10, buf=0x7fee76c31e84 "ýÒ\235:ÛVrçRi<ÉÅ\212\222\226Y¥\206%o\fX ~\230 \200©JAá\t¤\030¨a¤\024pa\210\212<Öê\200:Ü\004", buf_size=184, is_start=0, pos=67838108) at mpegts.c:1785
        pes = (PESContext *) 0x7fee8001ae10
        ts = (MpegTSContext *) 0x7fee800fa2d0
        p = (const uint8_t *) 0x7fee76c31e84 "ýÒ\235:ÛVrçRi<ÉÅ\212\222\226Y¥\206%o\fX ~\230 \200©JAá\t¤\030¨a¤\024pa\210\212<Öê\200:Ü\004"
        len = -2011667344
        code = 32750
#2  0x00007fee9dfae4e3 in handle_packet (ts=0x7fee800fa2d0, packet=0x7fee76c31e80 "G") at mpegts.c:1995
        ret = 0
        s = (AVFormatContext *) 0x7fee8018f240
        tss = (MpegTSFilter *) 0x7fee8001af80
        len = 188
        pid = 201
        cc = 7
        cc_ok = 0
        afc = 1
        is_start = 0
        p = (const uint8_t *) 0x7fee76c31e84 "ýÒ\235:ÛVrçRi<ÉÅ\212\222\226Y¥\206%o\fX ~\230 \200©JAá\t¤\030¨a¤\024pa\210\212<Öê\200:Ü\004"
        p_end = (const uint8_t *) 0x7fee76c31f3c ""
        pos = 67838296
#3  0x00007fee9dfae6f0 in handle_packets (ts=0x7fee800fa2d0, nb_packets=0) at mpegts.c:2068
        s = (AVFormatContext *) 0x7fee8018f240
        pb = (ByteIOContext *) 0x7fee8018d860
        packet = "G\000É\027ýÒ\235:ÛVrçRi<ÉÅ\212\222\226Y¥\206%o\fX ~\230 \200©JAá\t¤\030¨a¤\024pa\210\212<Öê\200:Ü\004\0002èW×\230d\212«ß~]\027·$òÔ[bE.\034\030ÝÐ\fÞ`h\021@Ýo\227|\000«>\226\216\002d\r\001ëo\230\223[©ô\020ï\177½\000·³_³?\023®\036ùs2]~Ò\226-\r\035\033\234Mn\2072ü\212\021Í\212Oêå \026»\212\212OBuóI\017Ø\212=[\202E°\222ßUt\235æ`Ê7-$6úY\024@\220\005 \016¸ë\004î?\233\234K"
        packet_num = 1
        ret = 0
#4  0x00007fee9dfaf4e7 in mpegts_read_packet (s=0x7fee8018f240, pkt=0x7fee76c32090) at mpegts.c:2382
        ts = (MpegTSContext *) 0x7fee800fa2d0
        ret = 0
        i = 257
#5  0x00007fee9df5720b in av_read_packet (s=0x7fee8018f240, pkt=0x7fee76c32090) at utils.c:581
        pktl = (AVPacketList *) 0x0
        ret = -1647119550
        i = 32750
        st = (AVStream *) 0x7fee88df00e0
#6  0x00007fee9df58b66 in av_read_frame_internal (s=0x7fee8018f240, pkt=0x7fee88186460) at utils.c:1016
        cur_pkt = {pts = -9223372036854775808, dts = -9223372036854775808, data = 0x0, size = 0, stream_index = 0, flags = 0, duration = 0, destruct = 0, priv = 0x1000, pos = -1, convergence_duration = 0}
        st = (AVStream *) 0x0
        len = 23508
        ret = 72
        i = 0
#7  0x00007fee9df59294 in av_read_frame (s=0x7fee8018f240, pkt=0x7fee88186460) at utils.c:1137
        pktl = (AVPacketList *) 0x0
        eof = 0
        genpts = 0
        __PRETTY_FUNCTION__ = "av_read_frame"
#8  0x00007fee9ea7650f in AvFormatDecoder::GetFrame (this=0x7fee800177c0, onlyvideo=0) at avformatdecoder.cpp:3361
        ctype = 1
        audSubIdx = -1
        curstream = (AVStream *) 0x7fee8001afc0
        audIdx = 1
        subIdx = 3
        pkt = (AVPacket *) 0x7fee88186460
        len = 9337
        ptr = (unsigned char *) 0x7fee883fec30 ""
        data_size = 0
        pts = 21709882
        firstloop = true
        have_err = false
        allowedquit = false
        storevideoframes = true
        skipaudio = false
        has_video = true
        ofill = 47617
        ototal = 1536000
        othresh = 1152000
        total_decoded_audio = 0
#9  0x00007fee9e9ff738 in NuppelVideoPlayer::GetFrameNormal (this=0x7fee8027d2a0, onlyvideo=0) at NuppelVideoPlayer.cpp:1531
No locals.
#10 0x00007fee9ea0045e in NuppelVideoPlayer::GetFrame (this=0x7fee8027d2a0, onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:1619
        ret = false
#11 0x00007fee9ea1772a in NuppelVideoPlayer::StartPlaying (this=0x7fee8027d2a0, openfile=false) at NuppelVideoPlayer.cpp:3825
        output_video = 140662084303120
        decoder_thread = 140662171453712
        __PRETTY_FUNCTION__ = "bool NuppelVideoPlayer::StartPlaying(bool)"
#12 0x00007fee9ea39430 in SpawnDecode (param=0x7fee8027d2a0) at playercontext.cpp:29
        decoder_thread_pool = (void *) 0x0
        nvp = (class NuppelVideoPlayer *) 0x7fee8027d2a0
#13 0x00007fee9695f407 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00007fee95d1f27d in clone () from /lib/libc.so.6
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.

Please let me know if you need any thing else.

comment:5 Changed 10 years ago by bradley.kite@…

One thing I have noticed, which may help in trouble-shooting this, is that the segfault occurs only play-back is near the end of the recording.

For example, Live TV, or when you watch a recording as it is being recorded and skip through some adds so that it catches up with the end of the recording.

As a work-around I have just been pausing LiveTV for 5 seconds or so before watching it, or just making sure that I dont watch recordings as soon as they start.

Any way, hopefully you find this information useful.

Regards -- Brad.

comment:6 Changed 10 years ago by stuartm

Component: MythTV - GeneralMythTV - Video Playback
Owner: changed from Isaac Richards to Janne Grunau
Status: infoneeded_newnew

comment:7 Changed 10 years ago by Janne Grunau

Description: modified (diff)

can you make a small sample available?

comment:8 Changed 10 years ago by bradley.kite@…

Hi,

The segfault happened today while watching LiveTV.

The last 2MB of the recording is available here:

http://www.kitefamily.co.uk/test.mpg

I have separate front-end and back-end servers. As expected, the back-end stopped recording once the front-end segfaulted, so if the problem is caused by bad/corrupt data in the recording, then the bad/corrupt data should be within this file.

Please let me know if you need any further info. I can provide ssh access if you need to dig deeper into the actual core file.

Regards -- Brad.

comment:9 Changed 10 years ago by Janne Grunau

Status: newinfoneeded_new

I can't reproduce the segfault with the sample. could you please make a larger sample available and check that mythavtest sample.mpg segfaults.

comment:10 Changed 10 years ago by bradley.kite@…

Hi Janne

I have checked several other recordings from when this segfault occurs, and actually none of them produce a segfault with mythavtest.

Maybe somehow the player is getting ahead of itself, and its trying to memcpy() data that hasnt arrived yet?

Regards -- Brad.

comment:11 Changed 10 years ago by Janne Grunau

probably a "duplicate" of #7381, please try the patch there

comment:12 Changed 10 years ago by bradley.kite@…

Hi Janne,

I tried the patch at #7381 and it seems to have solved the problem. well, no crashes so far at least!

I had a look at the back trace on that ticket and the backtrace looks to be the same.

This can be closed as a duplicate - many thanks for the fix.

comment:13 Changed 10 years ago by sphery

Resolution: duplicate
Status: infoneeded_newclosed

Duplicate of #7381. Thanks for testing and reporting back quickly.

comment:14 Changed 10 years ago by bradley.kite@…

Maybe I reported back too quick - playback crashed again :-(

In any case, this is still a dup so I will follow #7381 for further progress.

Note: See TracTickets for help on using tickets.