[mythtv] Seg fault in AudioOutputBase::OutputAudioLoop

Richard Holgate rlholgate at gmail.com
Mon May 9 09:27:38 UTC 2005


Hi 

I'm consistently getting seg faults on a freshly built gentoo linux
system with myth 0.18, whenever I try to watch a recording or watch
live tv. The stack trace is usually as follows:


[New Thread 98310 (LWP 29614)]
2005-05-08 21:59:25.240 Using XV port 53
[New Thread 114695 (LWP 29615)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 98310 (LWP 29614)]
0xb67a9106 in nanosleep () from /lib/libc.so.6
(gdb) where
#0  0xb67a9106 in nanosleep () from /lib/libc.so.6
#1  0x00000000 in ?? ()
#2  0xb67d153c in usleep () from /lib/libc.so.6
#3  0xb74875b3 in AudioOutputBase::OutputAudioLoop () from
/usr/lib/libmyth-0.18.so.0
#4  0xb748b3bf in AudioOutputBase::kickoffOutputAudioLoop () from
/usr/lib/libmyth-0.18.so.0
#5  0xb717518e in pthread_start_thread () from /lib/libpthread.so.0
#6  0xb7175334 in pthread_start_thread_event () from /lib/libpthread.so.0
#7  0xb67d72aa in clone () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) y


If I disable OSS audio the segfault still occurs, but moves here:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 81925 (LWP 540)]
0xb6715c51 in select () from /lib/libc.so.6
(gdb) where
#0  0xb6715c51 in select () from /lib/libc.so.6
#1  0xb6f18f38 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
#2  0xb05cd7bc in ?? ()
#3  0x082399a0 in ?? ()
#4  0x00000000 in ?? ()
#5  0xb6cd2869 in QSocketDevice::waitForMore () from /usr/qt/3/lib/libqt-mt.so.3
#6  0xb73a8b81 in RemoteFile::Read () from /usr/lib/libmyth-0.18.so.0
#7  0xb7ad29c9 in RingBuffer::safe_read () from /usr/lib/libmythtv-0.18.so.0
#8  0xb7ad47b7 in RingBuffer::ReadAheadThread () from
/usr/lib/libmythtv-0.18.so.0
#9  0xb7ad3e0e in RingBuffer::startReader () from /usr/lib/libmythtv-0.18.so.0
#10 0xb70ba18e in pthread_start_thread () from /lib/libpthread.so.0
#11 0xb70ba334 in pthread_start_thread_event () from /lib/libpthread.so.0
#12 0xb671c2aa in clone () from /lib/libc.so.6
(gdb) quit


I've been working on this for a week or so, switching various compile
options on and off - both for myth and for various libraries. I have
gone to the rather extreme measure of dual-booting and completely
rebuilding my box. I now have two myth installations on the box which
both have this problem, one in the fresh build and one in the somewhat
used build. Cannot figure it out. Can anyone help?

Richard


More information about the mythtv-dev mailing list