[mythtv] backend crash, gdb bt included
Stefan Frank
sfr+lists at 6913304088794.gnuu.de
Sat Jul 5 16:19:49 EDT 2003
Hi, see attached the backtrace of mythbackend.
Bye, Stefan
-------------- next part --------------
Hi Isaac,
the backend died while exiting live-tv on a remote frontend
(a laptop, with soundcard obviously ;-)) runing mdz's 0.10 debian packages.
The system was otherwise idle (no other remote frontend connected)
with the local frontend sitting in the main menu.
Before the crash, all i did was to switch channels a few times and
watching them for a few seconds each.
On every channel-change the backend logged a message saying:
only 1024 of 4084 read from /dev/dsp.
And s/t about an interrupted system call.
But it would continue anyway, until the crash.
This message is from what i remember, so might not be 100% correct.
Note the backend's last message about the unknown command.
Let me know if you need more information.
Bye, Stefan
strange error flushing buffer ...
2003-07-05 14:59:06 unknown command: ??ERY_RECORDER
Program received signal SIGINT, Interrupt.
[Switching to Thread 622631 (LWP 24575)]
0x40a639c4 in read () from /lib/libc.so.6
(gdb)
(gdb) thread apply all bt full
Thread 40 (Thread 622631 (LWP 24575)):
#0 0x40a639c4 in read () from /lib/libc.so.6
No symbol table info available.
#1 0x40895b50 in __JCR_LIST__ () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40890f53 in read () from /lib/libpthread.so.0
No symbol table info available.
#3 0x080df22e in NuppelVideoRecorder::doAudioThread() (this=0x87d4638) at NuppelVideoRecorder.cpp:1703
afmt = 16
trigger = 1
afd = 20
act = 253
lastread = 4096
frag = 524298
blocksize = 4096
buffer = (
unsigned char *) 0x8b01288 " ???,?G???H?L???\f?D?!?\027?????\031?O???????h?????K???X?h?????c???\020?\234?\204?1?????\027?\205?????\227?\216?c?\213?????u???\235?????\213?j\002\\\003?\004\211\a\002\004)\006\225\004?\0064\n?\017J\016\006\026?\r?\024k\016?\025?\016?\026\224\f\205\023?\vc\022\036\016?\025\226\017\023\0300\020?\030?\020?\031\212\020\177\031\r\021R\032\232\022c\034\024\024?\036?\024?\037Z\025\220 .\026?!?\025\226!?\026X#"...
ispace = {fragments = 0, fragstotal = 8, fragsize = 1024, bytes = 0}
anow = {tv_sec = 1057410034, tv_usec = 760310}
#4 0x080dedbb in NuppelVideoRecorder::AudioThread(void*) (param=0x87d4638) at NuppelVideoRecorder.cpp:1606
nvr = (NuppelVideoRecorder *) 0x87d4638
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7 0xbadffbe0 in ?? ()
No symbol table info available.
Thread 39 (Thread 606246 (LWP 22438)):
#0 0x40a45e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x40890d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a6a10a in usleep () from /lib/libc.so.6
No symbol table info available.
#3 0x080e0d94 in NuppelVideoRecorder::doWriteThread() (this=0x87d4638) at NuppelVideoRecorder.cpp:2381
action = ACTION_NONE
firsttimecode = -1
#4 0x080ded99 in NuppelVideoRecorder::WriteThread(void*) (param=0x87d4638) at NuppelVideoRecorder.cpp:1597
nvr = (NuppelVideoRecorder *) 0x87d4638
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7 0xbafffbe0 in ?? ()
No symbol table info available.
Thread 38 (Thread 589861 (LWP 3237)):
#0 0x40a69304 in ioctl () from /lib/libc.so.6
No symbol table info available.
#1 0x087d4638 in ?? ()
No symbol table info available.
#2 0x080ddcd4 in NuppelVideoRecorder::DoMJPEG() (this=0x87d4638) at NuppelVideoRecorder.cpp:1162
bparm = {major_version = 0, minor_version = -559038737, input = 2,
norm = 0, decimation = 2, HorDcm = 2, VerDcm = 1, TmpDcm = 2,
field_per_buff = 1, img_x = 8, img_y = 0, img_width = 704, img_height = 288,
quality = 100, odd_even = 0, APPn = 0, APP_len = 0,
APP_data = '\0' <repeats 59 times>, COM_len = 0,
COM_data = '\0' <repeats 59 times>, jpeg_markers = 24, VFIFO_FB = 1,
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---
reserved = '\0' <repeats 311 times>}
breq = {count = 64, size = 262144}
MJPG_buff = (uint8_t *) 0x41b2d000 <Address 0x41b2d000 out of bounds>
bsync = {frame = 44, length = 52869, seq = 2540, timestamp = {
tv_sec = 1057410034, tv_usec = 720690}}
#3 0x080dce13 in NuppelVideoRecorder::StartRecording() (this=0x87d4638) at NuppelVideoRecorder.cpp:768
vcap = {driver = '\0' <repeats 15 times>,
card = '\0' <repeats 31 times>, bus_info = '\0' <repeats 31 times>,
version = 0, capabilities = 0, reserved = {0, 0, 0, 0}}
vc = {name = "mgacap-0", '\0' <repeats 23 times>, type = 12443,
channels = 3, audios = 1, maxwidth = 720, maxheight = 588, minwidth = 8,
minheight = 8}
mm = {frame = 0, height = 0, width = 0, format = 0}
vm = {size = 0, frames = 0, offsets = {0 <repeats 32 times>}}
vchan = {channel = 0, name = '\0' <repeats 31 times>, tuners = 0,
flags = 0, type = 0, norm = 0}
va = {audio = 0, volume = 0, bass = 0, treble = 0, flags = 0,
name = '\0' <repeats 15 times>, mode = 0, balance = 0, step = 0}
vt = {tuner = 0, name = '\0' <repeats 31 times>, rangelow = 0,
rangehigh = 0, flags = 0, mode = 0, signal = 0}
frame = 1082718632
buf = (unsigned char *) 0x4002e000 "\022"
channel = 0
volume = 0
#4 0x080b2812 in SpawnEncode(void*) (param=0x87d4638) at tv_rec.cpp:33
---Type <return> to continue, or q <return> to quit---
nvr = (class RecorderBase *) 0x87d4638
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7 0xbb1ffbe0 in ?? ()
No symbol table info available.
Thread 37 (Thread 573476 (LWP 2617)):
#0 0x40a45e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x40890d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a6a10a in usleep () from /lib/libc.so.6
No symbol table info available.
#3 0x080c1343 in TVRec::DoReadThread() (this=0x83823c0) at tv_rec.cpp:2013
ret = 128000
buffer = 0x8795e30 "\223\220I???~+:\213\232\2373Z\237??%?()>?\035tO\177`\203??W\n?#?\001\230{\037_??@\232?RK&R=?\"7?\0223\236@?\237??rJ???E??\a?\211?\"?\232 ??{????$6:\216x\030?"
#4 0x080c1439 in TVRec::ReadThread(void*) (param=0x83823c0) at tv_rec.cpp:2035
thetv = (TVRec *) 0x83823c0
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7 0xbb3ffbe0 in ?? ()
No symbol table info available.
Thread 36 (Thread 557091 (LWP 20951)):
#0 0x40a45e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x40890d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a6a10a in usleep () from /lib/libc.so.6
No symbol table info available.
#3 0x0809b623 in ThreadedFileWriter::DiskLoop() (this=0x41115528) at RingBuffer.cpp:192
size = 0
#4 0x0809b159 in ThreadedFileWriter::boot_writer(void*) (wotsit=0x41115528) at RingBuffer.cpp:79
---Type <return> to continue, or q <return> to quit---
fw = (ThreadedFileWriter *) 0x41115528
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7 0xbb5ffbe0 in ?? ()
No symbol table info available.
Thread 9 (Thread 114696 (LWP 18805)):
#0 0x409d2ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x4088ef35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4088bf05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x4071082f in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x080786ec in ProcessRequestThread::run() (this=0x838b868) at mainserver.cpp:57
No locals.
#5 0x404a8dfe in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8 0xbebffbe0 in ?? ()
No symbol table info available.
Thread 8 (Thread 98311 (LWP 32657)):
#0 0x409d2ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x4088ef35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4088bf05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x4071082f in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x080786ec in ProcessRequestThread::run() (this=0x838b7c8) at mainserver.cpp:57
No locals.
#5 0x404a8dfe in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8 0xbedffbe0 in ?? ()
No symbol table info available.
Thread 7 (Thread 81926 (LWP 22339)):
#0 0x409d2ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x4088ef35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4088bf05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x4071082f in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x080786ec in ProcessRequestThread::run() (this=0x838b600) at mainserver.cpp:57
No locals.
#5 0x404a8dfe in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8 0xbefffbe0 in ?? ()
No symbol table info available.
Thread 6 (Thread 65541 (LWP 26777)):
#0 0x409d2ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x4088ef35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4088bf05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x4071082f in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x080786ec in ProcessRequestThread::run() (this=0x8382358) at mainserver.cpp:57
No locals.
#5 0x404a8dfe in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#8 0xbf1ffbe0 in ?? ()
No symbol table info available.
Thread 5 (Thread 49156 (LWP 1869)):
#0 0x409d2ad2 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1 0x4088ef35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4088bf05 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3 0x4071082f in QWaitCondition::wait(unsigned long) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4 0x080786ec in ProcessRequestThread::run() (this=0x8386980) at mainserver.cpp:57
No locals.
#5 0x404a8dfe in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#8 0xbf3ffbe0 in ?? ()
No symbol table info available.
Thread 4 (Thread 32771 (LWP 32088)):
#0 0x40a45e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x40890d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a45e10 in sleep () from /lib/libc.so.6
No symbol table info available.
#3 0x080807ae in Scheduler::RunScheduler() (this=0x838b388) at scheduler.cpp:1223
prerollseconds = 120
secsleft = -1084228908
resetIter = false
nexttv = (EncoderLink *) 0x0
nextRecording = (ProgramInfo *) 0x0
---Type <return> to continue, or q <return> to quit---
nextrectime = {d = {jd = 0}, t = {ds = 0}}
curtime = {d = {jd = 2452826}, t = {ds = 54034155}}
lastupdate = {d = {jd = 2452826}, t = {ds = 53703380}}
recIter = {<_List_iterator_base> = {
_M_node = 0x8350a90}, <No data fields>}
#4 0x080807cd in Scheduler::SchedulerThread(void*) (param=0x838b388) at scheduler.cpp:1230
sched = (Scheduler *) 0x838b388
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7 0xbf5ffbe0 in ?? ()
No symbol table info available.
Thread 3 (Thread 16386 (LWP 26514)):
#0 0x40a45e81 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x40890d0d in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x40a6a10a in usleep () from /lib/libc.so.6
No symbol table info available.
#3 0x080b88ed in TVRec::RunTV() (this=0x83823c0) at tv_rec.cpp:829
No locals.
#4 0x080b888d in TVRec::EventThread(void*) (param=0x83823c0) at tv_rec.cpp:811
thetv = (TVRec *) 0x83823c0
#5 0x4088cd53 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x4088cd99 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#7 0xbf7ffbe0 in ?? ()
No symbol table info available.
Thread 2 (Thread 32769 (LWP 14017)):
#0 0x40a68248 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x4088ca8e in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2 0x4088cc55 in __pthread_manager_event () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3 0x408934a0 in __pthread_initial_thread () from /lib/libpthread.so.0
No symbol table info available.
Thread 1 (Thread 16384 (LWP 1719)):
#0 0x40a69a9e in select () from /lib/libc.so.6
No symbol table info available.
#1 0x4087b544 in typeinfo for QCommonStyle () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x0834cc40 in ?? ()
No symbol table info available.
#3 0x00000013 in ?? ()
No symbol table info available.
#4 0x404c477b in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5 0x404c4638 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x404b33b8 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7 0x080653a4 in main (argc=1, argv=0xbffff764) at main.cpp:305
a = <incomplete type>
logfile = {static null = {
static null = <same as static member of an already seen type>,
d = 0x834aa50, static shared_null = 0x834aa50}, d = 0x83505d8,
static shared_null = 0x834aa50}
daemonize = false
printsched = false
logfd = -1
pidfs = <incomplete type>
db = (struct QSqlDatabase *) 0x8357ec0
subthread = (struct QSqlDatabase *) 0x8352710
transthread = (struct QSqlDatabase *) 0x8352740
---Type <return> to continue, or q <return> to quit---
port = 6543
statusport = 6544
myip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x834aa50, static shared_null = 0x834aa50}, d = 0x8381fe0,
static shared_null = 0x834aa50}
masterip = {static null = {
static null = <same as static member of an already seen type>,
d = 0x834aa50, static shared_null = 0x834aa50}, d = 0x83826b8,
static shared_null = 0x834aa50}
ismaster = true
nfsfd = 10
#0 0x40a639c4 in read () from /lib/libc.so.6
More information about the mythtv-dev
mailing list