Steven schreef:

When the livetv buffer gets full mythbackend crashes and mythfrontend freezes.

Frontend backtrace :
-

Was thinking recording to a livebuffer might be more backend related. Backend backtrace : ------------------------- ERROR: file I/O problem in 'safe_read()': Invalid argument ERROR: file I/O problem in 'safe_read()': Bad address ERROR: file I/O problem in 'safe_read()': Bad address ERROR: file I/O problem in 'safe_read()': Bad address

Program received signal SIGINT, Interrupt.
[Switching to Thread 114696 (LWP 32273)]
0x414439f3 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 14 (Thread 196621 (LWP 32509)):
#0  0x41446f1b in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x4058f3a0 in __JCR_LIST__ ()
  from /usr/lib/libmythtv-0.17.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x40411f5e in MpegRecorder::StartRecording (this=0x8106030)
   at mpegrecorder.cpp:439
       buffer = (
   unsigned char *) 0x41c9b008 '�' <repeats 64 times>
       ret = 50384
       elapsedTimer = {ds = 0}
       elapsed = 0
#4  0x403bf8c6 in SpawnEncode (param=0x8106030) at tv_rec.cpp:48
       nvr = (class RecorderBase *) 0x8106030
#5  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#6  0x414415df in pthread_start_thread_event ()
  from /lib/libpthread.so.0
No symbol table info available.
#7  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 13 (Thread 180236 (LWP 32508)):
#0  0x415f5f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x41621c3a in usleep () from /lib/libc.so.6
No symbol table info available.
#3  0x4026b68b in ThreadedFileWriter::DiskLoop (this=0x80f4150)
   at RingBuffer.cpp:276
       size = 0
       written = 106432
       timer = {ds = 43113250}
#4  0x4026ac9c in ThreadedFileWriter::boot_writer (
   wotsit=0x80f4150) at RingBuffer.cpp:120
       fw = (ThreadedFileWriter *) 0x80f4150
#5  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#6  0x414415df in pthread_start_thread_event ()
 from /lib/libpthread.so.0
No symbol table info available.
#7  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 12 (Thread 163851 (LWP 32276)):
#0  0x414439f3 in __pthread_sigsuspend ()
  from /lib/libpthread.so.0
No symbol table info available.
#1  0x41442f88 in __pthread_wait_for_restart_signal ()
  from /lib/libpthread.so.0
No symbol table info available.
#2  0x4143fcd8 in [EMAIL PROTECTED] ()
  from /lib/libpthread.so.0
No symbol table info available.
#3  0x4119a756 in QWaitCondition::wait ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808afd5 in ProcessRequestThread::run (this=0x80f1e40)
   at mainserver.cpp:69
No locals.
#5  0x40ea9833 in QThreadInstance::start ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#7  0x414415df in pthread_start_thread_event ()
  from /lib/libpthread.so.0
No symbol table info available.
#8  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 11 (Thread 147466 (LWP 32275)):
#0  0x414439f3 in __pthread_sigsuspend ()
  from /lib/libpthread.so.0
No symbol table info available.
#1  0x41442f88 in __pthread_wait_for_restart_signal ()
  from /lib/libpthread.so.0
No symbol table info available.
#2  0x4143fcd8 in [EMAIL PROTECTED] ()
  from /lib/libpthread.so.0
No symbol table info available.
#3  0x4119a756 in QWaitCondition::wait ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808afd5 in ProcessRequestThread::run (this=0x80f2fb8)
   at mainserver.cpp:69
No locals.
#5  0x40ea9833 in QThreadInstance::start ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#7  0x414415df in pthread_start_thread_event ()
  from /lib/libpthread.so.0
No symbol table info available.
#8  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 10 (Thread 131081 (LWP 32274)):
#0  0x414439f3 in __pthread_sigsuspend ()
  from /lib/libpthread.so.0
No symbol table info available.
#1  0x41442f88 in __pthread_wait_for_restart_signal ()
  from /lib/libpthread.so.0
No symbol table info available.
#2  0x4143fcd8 in [EMAIL PROTECTED] ()
 from /lib/libpthread.so.0
No symbol table info available.
#3  0x4119a756 in QWaitCondition::wait ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808afd5 in ProcessRequestThread::run (this=0x80f1de8)
   at mainserver.cpp:69
No locals.
#5  0x40ea9833 in QThreadInstance::start ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#7  0x414415df in pthread_start_thread_event ()
  from /lib/libpthread.so.0
No symbol table info available.
#8  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 9 (Thread 114696 (LWP 32273)):
#0  0x414439f3 in __pthread_sigsuspend ()
  from /lib/libpthread.so.0
No symbol table info available.
#1  0x41442f88 in __pthread_wait_for_restart_signal ()
  from /lib/libpthread.so.0
No symbol table info available.
#2  0x4143fcd8 in [EMAIL PROTECTED] ()
  from /lib/libpthread.so.0
No symbol table info available.
#3  0x4119a756 in QWaitCondition::wait ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808afd5 in ProcessRequestThread::run (this=0x80f1448)
   at mainserver.cpp:69
No locals.
#5  0x40ea9833 in QThreadInstance::start ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#7  0x414415df in pthread_start_thread_event ()
  from /lib/libpthread.so.0
No symbol table info available.
#8  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 8 (Thread 98311 (LWP 32272)):
#0  0x414439f3 in __pthread_sigsuspend ()
  from /lib/libpthread.so.0
No symbol table info available.
#1  0x41442f88 in __pthread_wait_for_restart_signal ()
  from /lib/libpthread.so.0
No symbol table info available.
#2  0x4143fcd8 in [EMAIL PROTECTED] ()
  from /lib/libpthread.so.0
No symbol table info available.
#3  0x4119a756 in QWaitCondition::wait ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0808afd5 in ProcessRequestThread::run (this=0x80f2dc8)
   at mainserver.cpp:69
No locals.
#5  0x40ea9833 in QThreadInstance::start ()
  from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4144154e in pthread_start_thread ()
  from /lib/libpthread.so.0
No symbol table info available.
#7  0x414415df in pthread_start_thread_event ()
  from /lib/libpthread.so.0
No symbol table info available.
#8  0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 7 (Thread 81926 (LWP 32271)):
#0 0x415f5f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
#2 0x415f5dbf in sleep () from /lib/libc.so.6
No symbol table info available.
#3 0x4038d55e in JobQueue::ProcessQueue (this=0x80f9010)
at jobqueue.cpp:391
delquery = {<> = {<No data fields>}, <No data fields>}
query = {<> = {<No data fields>}, <No data fields>}
chanid = {static null = {
static null = <same as static member of an already seen type>, d = 0x80c10b8, static shared_null = 0x80c10b8}, d = 0x80c10b8,
static shared_null = 0x80c10b8}
starttime = {d = {jd = 0}, t = {ds = 0}}
startts = {static null = {
static null = <same as static member of an already seen type>, d = 0x80c10b8, static shared_null = 0x80c10b8}, d = 0x80c10b8,
static shared_null = 0x80c10b8}
type = 0
id = 0
cmds = 0
flags = 0
status = 0
hostname = {static null = {
static null = <same as static member of an already seen type>, d = 0x80c10b8, static shared_null = 0x80c10b8}, d = 0x80c10b8,
static shared_null = 0x80c10b8}
sleepTime = 60
job = {sh = 0x8120410}
jobType = {sh = 0x812a860}
jobStatus = {sh = 0x80f3470}
maxJobs = 1
message = {static null = {
static null = <same as static member of an already seen type>, d = 0x80c10b8, static shared_null = 0x80c10b8}, d = 0x80c10b8,
static shared_null = 0x80c10b8}
jobs = {sh = 0x81066d8}
atMax = false
#4 0x4038a121 in JobQueue::RunQueueProcesser (this=0x80f9010)
at jobqueue.cpp:143
No locals.
#5 0x4038a14e in JobQueue::QueueProcesserThread (param=0x80f9010)
at jobqueue.cpp:149
jobqueue = (JobQueue *) 0x80f9010
#6 0x4144154e in pthread_start_thread ()
from /lib/libpthread.so.0
No symbol table info available.
#7 0x414415df in pthread_start_thread_event ()
from /lib/libpthread.so.0
No symbol table info available.
#8 0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.


Thread 6 (Thread 65541 (LWP 32270)):
#0 0x415f5f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
#2 0x415f5dbf in sleep () from /lib/libc.so.6
No symbol table info available.
#3 0x080a3621 in HouseKeeper::RunHouseKeeping (this=0x80f18d0)
at housekeeper.cpp:170
period = 1097363444
maxhr = 1094992891
minhr = 1097363444
dbTag = {static null = {
static null = <same as static member of an already seen type>, d = 0x80c10b8, static shared_null = 0x80c10b8}, d = 0x8102f78,
static shared_null = 0x80c10b8}
#4 0x080a41bb in HouseKeeper::doHouseKeepingThread (
param=0x80f18d0) at housekeeper.cpp:229
hkeeper = (HouseKeeper *) 0x80f18d0
#5 0x4144154e in pthread_start_thread ()
from /lib/libpthread.so.0
No symbol table info available.
#6 0x414415df in pthread_start_thread_event ()
from /lib/libpthread.so.0
No symbol table info available.
#7 0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.


Thread 5 (Thread 49156 (LWP 32269)):
#0 0x415f5f76 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
#2 0x415f5dbf in sleep () from /lib/libc.so.6
No symbol table info available.
#3 0x08056ba8 in AutoExpire::RunExpirer (this=0x80f0c78)
at autoexpire.cpp:127
statbuf = {f_type = 1481003842, f_bsize = 4096,
f_blocks = 26779302, f_bfree = 5742456, f_bavail = 5742456,
f_files = 92291520, f_ffree = 92034602, f_fsid = {__val = {774,
0}}, f_namelen = 255, f_spare = {4096, 0, 0, 0, 0, 0}}
freespace = 21
minFree = 3
recordfileprefix = {static null = {
static null = <same as static member of an already seen type>, d = 0x80c10b8, static shared_null = 0x80c10b8}, d = 0x80f8dc0,
static shared_null = 0x80c10b8}
#4 0x08056c31 in AutoExpire::ExpirerThread (param=0x80f0c78)
at autoexpire.cpp:134
expirer = (AutoExpire *) 0x80f0c78
#5 0x4144154e in pthread_start_thread ()
from /lib/libpthread.so.0
No symbol table info available.
#6 0x414415df in pthread_start_thread_event ()
from /lib/libpthread.so.0
No symbol table info available.
#7 0x41627b8a in clone () from /lib/libc.so.6
No symbol table info available.


Thread 4 (Thread 32771 (LWP 32268)):
#0  0x414478b6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x414434ca in __pthread_timedsuspend_new ()
  from /lib/libpthread.so.0
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0xbf5ff65c in ?? ()
No symbol table info available.
#5  0x413565b4 in ?? () from /usr/lib/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x00000000 in ?? ()
No symbol table info available.
#7  0x3b9aaac0 in ?? ()
No symbol table info available.
#8  0x4211d5d8 in ?? ()
No symbol table info available.
#9  0x0007f83d in ?? ()
No symbol table info available.
#10 0x41449ff4 in ?? () from /lib/libpthread.so.0
No symbol table info available.
#11 0x4144aa0c in __pthread_suspend () from /lib/libpthread.so.0
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.
#13 0xbf5ff774 in ?? ()
No symbol table info available.
#14 0xbf5ff59c in ?? ()
No symbol table info available.
#15 0x414433ee in __pthread_timedsuspend_new ()
  from /lib/libpthread.so.0
No symbol table info available.
#16 0x80000000 in ?? ()
No symbol table info available.
#17 0x00000000 in ?? ()
No symbol table info available.
#18 0xbf5ff600 in ?? ()
No symbol table info available.
#19 0x41441c6a in pthread_mutex_unlock ()
  from /lib/libpthread.so.0
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
#0  0x414439f3 in __pthread_sigsuspend ()
  from /lib/libpthread.so.0
---------------------------------




_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to