[mythtv] More information on mythfrontend SEGFAULT crash.
Martin Moeller
martin at martinm-76.dk
Sat Sep 4 17:06:28 EDT 2004
Hi again.
I have now gathered some more information on the problem and I guess I
have a fairly good idea of where it is now. Just not sure *why* it is.
It seems related to the OpenGL vsync code and I'm guessing my somewhat
old nvidia driver could be a problem:
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.5336
Module class: XFree86 Video Driver
I am going to retry this with the latest driver, but just in case, here
are the things I gathered from two runs of mythfrontend.
mythfrontend.log : mythfrontend -v all invocation.
mythfrontend-gdb.log : gdb mythfrontend -> handle SIGPIPE nostop ->
thread apply all bt full
Does this make sense to anyone? I know there was a lot of work on the
sync thing a while back...
--
Martin Moeller <martin at martinm-76.dk>
-------------- next part --------------
2004-09-04 22:47:25 Connecting to backend server: 192.168.33.11:6543 (try 1 of 5)
2004-09-04 22:47:25 Using protocol version 13
2004-09-04 22:47:25 Using protocol version 13
2004-09-04 22:47:25 Using protocol version 13
[New Thread 1205959600 (LWP 28794)]
2004-09-04 22:47:27 Opening OSS audio device '/dev/dsp'.
2004-09-04 22:47:27 Audio fragment size: 4096
[New Thread 1214155696 (LWP 28796)]
2004-09-04 22:47:27 Using XV port 140
Found 2 Xinerama Screens.
Using screen 1, 1024x768+1280+0
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 141
Minor opcode: 14
Resource id: 0x1d0
Couldn't get the color key color, and we need it.
You likely won't get any video.
2004-09-04 22:47:28 Changing from None to WatchingLiveTV
[New Thread 1226349488 (LWP 28797)]
nVidiaVideoSync::: Afbrudt systemkald
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1203735472 (LWP 28788)]
0x40b29ef7 in ?? () from /usr/lib/tls/libGL.so.1
(gdb) thread apply all bt full
[New Thread 1208060848 (LWP 28795)]
Thread 6 (Thread 1208060848 (LWP 28795)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0x48018978 in ?? ()
No symbol table info available.
#2 0x404f1dc0 in __JCR_LIST__ () from /usr/local/lib/libmythtv-0.15.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
#4 0x41704b56 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#5 0x4172ec7a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#6 0x4025f3d3 in RingBuffer::ReadAheadThread (this=0x83d7318)
at RingBuffer.cpp:742
totfree = 2407038
ret = 128000
used = 157136
#7 0x4025f2f4 in RingBuffer::startReader (type=0x83d7318)
at RingBuffer.cpp:718
rbuffer = (RingBuffer *) 0x83d7318
#8 0x4158b9dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9 0x41734ffa in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 2 (Thread 1203735472 (LWP 28788)):
#0 0x40b29ef7 in ?? () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#1 0x08885158 in ?? ()
No symbol table info available.
#2 0x0879c660 in ?? ()
No symbol table info available.
#3 0x4a200c80 in ?? ()
No symbol table info available.
#4 0x49250000 in ?? ()
No symbol table info available.
#5 0x40b2f928 in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#6 0x08885158 in ?? ()
No symbol table info available.
#7 0x08885128 in ?? ()
No symbol table info available.
#8 0x08885158 in ?? ()
No symbol table info available.
#9 0x0879c660 in ?? ()
No symbol table info available.
#10 0x08885158 in ?? ()
No symbol table info available.
#11 0x40b2b091 in ?? () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#12 0x08885158 in ?? ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
#14 0x08885128 in ?? ()
No symbol table info available.
#15 0x08885158 in ?? ()
No symbol table info available.
#16 0x0879c660 in ?? ()
No symbol table info available.
#17 0x08885158 in ?? ()
No symbol table info available.
#18 0x00bf86a8 in ?? ()
No symbol table info available.
#19 0x40b35f46 in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#20 0x08885128 in ?? ()
No symbol table info available.
#21 0x08885128 in ?? ()
No symbol table info available.
#22 0x08885158 in ?? ()
No symbol table info available.
#23 0x0879c660 in ?? ()
No symbol table info available.
#24 0x47bf8718 in ?? ()
No symbol table info available.
#25 0x40b4a328 in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#26 0x087b4fe0 in ?? ()
No symbol table info available.
#27 0x08885128 in ?? ()
No symbol table info available.
#28 0x08885128 in ?? ()
No symbol table info available.
#29 0x00000000 in ?? ()
No symbol table info available.
#30 0x40b3237b in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#31 0x08885128 in ?? ()
No symbol table info available.
#32 0x00000000 in ?? ()
No symbol table info available.
#33 0x08805f68 in ?? ()
No symbol table info available.
#34 0x00000000 in ?? ()
No symbol table info available.
#35 0x40b4a5b1 in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#36 0x08885128 in ?? ()
No symbol table info available.
#37 0x40b60aa0 in ?? () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#38 0x0879c660 in ?? ()
No symbol table info available.
#39 0x0879c660 in ?? ()
No symbol table info available.
#40 0x40b3220e in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#41 0x0879c660 in ?? ()
No symbol table info available.
#42 0x40b3564e in glXChannelRectSyncSGIX () from /usr/lib/tls/libGL.so.1
No symbol table info available.
#43 0x0879c660 in ?? ()
No symbol table info available.
#44 0x41584cd0 in __JCR_LIST__ () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#45 0x087a0cd8 in ?? ()
No symbol table info available.
#46 0x4149e9ca in XCloseDisplay () from /usr/X11R6/lib/libX11.so.6
No symbol table info available.
#47 0x00000001 in ?? ()
No symbol table info available.
Thread 1 (Thread 1104403584 (LWP 28762)):
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xbfffe238 in ?? ()
No symbol table info available.
#2 0x40a056a0 in __JCR_LIST__ () from /usr/local/lib/libmyth-0.15.so.0
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
#4 0x41704b56 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#5 0x4172ec7a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#6 0x08065d79 in startTV () at main.cpp:282
tv = (class TV *) 0x834b410
timer = {ds = 82045951}
tryTV = false
tryRecorder = false
quitAll = false
showDialogs = true
#7 0x08065ef3 in TVMenuCallback (data=0x82ffbc8, selection=@0x83a4c6c)
at main.cpp:320
sel = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x83e5070,
static shared_null = 0x81de0d8}
#8 0x408f2c91 in ThemedMenuPrivate::handleAction (this=0x83a4b70,
action=@0x83a7818) at themedmenu.cpp:2140
No locals.
#9 0x408f10a1 in ThemedMenuPrivate::keyPressHandler (this=0x83a4b70,
e=0xbfffea80) at themedmenu.cpp:1950
it = {node = 0x83a7810}
action = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x831ee38,
static shared_null = 0x81de0d8}
i = 0
lastbutton = (ThemedButton *) 0x83b0dc8
oldrow = 0
handled = true
actions = {<QValueList<QString>> = {sh = 0x83e77d8}, <No data fields>}
#10 0x408f42ed in ThemedMenu::keyPressEvent (this=0x83cbea0, e=0xbfffea80)
at themedmenu.cpp:2333
No locals.
#11 0x40eb3b4e in QWidget::event () from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#12 0x40e10f34 in QApplication::internalNotify ()
from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#13 0x40e12e84 in QApplication::notify () from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#14 0x40d9efc4 in QETWidget::translateKeyEvent ()
from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#15 0x40daa51e in QApplication::x11ProcessEvent ()
from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#16 0x40dbb799 in QEventLoop::processEvents ()
from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#17 0x40e2a68a in QEventLoop::enterLoop ()
from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#18 0x40e12a30 in QApplication::enter_loop ()
from /usr/local/Qt//lib/libqt-mt.so.3
No symbol table info available.
#19 0x409564e9 in MythDialog::exec (this=0x83cbea0) at mythdialogs.cpp:834
res = 1083532398
#20 0x08067572 in RunMenu (themedir=
{static null = {static null = <same as static member of an already seen type>, d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x83e5100, static shared_null = 0x81de0d8}) at main.cpp:475
exitstatus = 0
#21 0x0806c080 in main (argc=1, argv=0xbffff1f4) at main.cpp:946
lcd_host = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x83ddd28,
static shared_null = 0x81de0d8}
lcd_port = 13666
a = <incomplete type>
logfile = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x82ff3f8,
static shared_null = 0x81de0d8}
verboseString = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x82ff900,
static shared_null = 0x81de0d8}
pluginname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x82ff928,
static shared_null = 0x81de0d8}
finfo = {fn = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x82ff990,
static shared_null = 0x81de0d8}, fic = 0x0, cache = true, symLink = false}
binname = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x82ff9a8,
static shared_null = 0x81de0d8}
logfd = -1
fileprefix = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x82ffaa8,
static shared_null = 0x81de0d8}
dir = <incomplete type>
db = (struct QSqlDatabase *) 0x8307780
themename = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x83ea868,
static shared_null = 0x81de0d8}
randomtheme = false
themedir = {static null = {
static null = <same as static member of an already seen type>,
d = 0x81de0d8, static shared_null = 0x81de0d8}, d = 0x83e5100,
static shared_null = 0x81de0d8}
mainWindow = (class MythMainWindow *) 0x8310d78
pmanager = (MythPluginManager *) 0x83e8098
mon = (class MediaMonitor *) 0x0
exitstatus = -1073745956
#0 0x40b29ef7 in ?? () from /usr/lib/tls/libGL.so.1
-------------- next part --------------
Standard run, all verbose messages enabled:
===========================================
2004-09-04 22:43:49 Connecting to backend server: 192.168.33.11:6543 (try 1 of 5)
2004-09-04 22:43:49 21 MYTH_PROTO_VERSION 13
2004-09-04 22:43:49 Using protocol version 13
2004-09-04 22:43:49 24 ANN Playback monsterpc 0
2004-09-04 22:43:49 29 GET_NEXT_FREE_RECORDER[]:[]-1
2004-09-04 22:43:49 21 MYTH_PROTO_VERSION 13
2004-09-04 22:43:49 21 MYTH_PROTO_VERSION 13
2004-09-04 22:43:49 Using protocol version 13
2004-09-04 22:43:49 24 ANN Playback monsterpc 1
2004-09-04 22:43:49 Using protocol version 13
2004-09-04 22:43:49 24 ANN Playback monsterpc 0
2004-09-04 22:43:49 44 QUERY_RECORDER 1[]:[]SETUP_RING_BUFFER[]:[]0
2004-09-04 22:43:50 24 ANN Playback monsterpc 0
2004-09-04 22:43:50 26 ANN RingBuffer monsterpc 1
2004-09-04 22:43:50 33 QUERY_RECORDER 1[]:[]SPAWN_LIVETV
2004-09-04 22:43:50 33 QUERY_RECORDER 1[]:[]IS_RECORDING
2004-09-04 22:43:50 34 QUERY_RECORDER 1[]:[]GET_FRAMERATE
2004-09-04 22:43:50 37 QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO
2004-09-04 22:43:50 Output filters for this channel are: ''
2004-09-04 22:43:50 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-09-04 22:43:50 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2004-09-04 22:43:50 66 QUERY_RECORDER 1[]:[]SEEK_RINGBUF[]:[]0[]:[]0[]...
2004-09-04 22:43:50 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-09-04 22:43:50 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2004-09-04 22:43:50 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-09-04 22:43:50 detectInterlace(Detect Scan, Detect Scan, 25, 288) ->Interlaced Scan
2004-09-04 22:43:50 Interlaced: Interlaced Scan video_height: 288 fps: 25
2004-09-04 22:43:51 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2004-09-04 22:43:51 Estimated bitrate = 0
2004-09-04 22:43:51 66 QUERY_RECORDER 1[]:[]SEEK_RINGBUF[]:[]0[]:[]84[...
2004-09-04 22:43:51 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-09-04 22:43:51 39 QUERY_RECORDER 1[]:[]GET_FRAMES_WRITTEN
2004-09-04 22:43:51 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2004-09-04 22:43:51 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-09-04 22:43:51 Filling position map from 0 to 33
2004-09-04 22:43:51 51 QUERY_RECORDER 1[]:[]FILL_POSITION_MAP[]:[]0[]:...
2004-09-04 22:43:51 Position map filled from Encoder to: 1
2004-09-04 22:43:51 SyncPositionMap liveTV, from Encoder: 2 entries
2004-09-04 22:43:51 detectInterlace(Ignore Scan, Interlaced Scan, 25, 288) ->Interlaced Scan
2004-09-04 22:43:51 Interlaced: Interlaced Scan video_height: 288 fps: -1
2004-09-04 22:43:51 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2004-09-04 22:43:51 53 QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2004-09-04 22:43:51 Commercial Detection initialized: width = 352, height = 288, fps = 25, method = 3
2004-09-04 22:43:51 Killing AudioOutputDSP
2004-09-04 22:43:51 Opening OSS audio device '/dev/dsp'.
2004-09-04 22:43:51 Audio fragment size: 4096
2004-09-04 22:43:51 kickoffOutputAudioLoop: pid = 28468
2004-09-04 22:43:51 Ending reconfigure
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 Using XV port 140
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
Found 2 Xinerama Screens.
Using screen 1, 1024x768+1280+0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 141
Minor opcode: 14
Resource id: 0x1d0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
Couldn't get the color key color, and we need it.
You likely won't get any video.
2004-09-04 22:43:51 Image size. dispxoff 0, dispyoff: 1, dispwoff: 1024, disphoff: 766
2004-09-04 22:43:51 Image size. imgx 0, imgy: 0, imgw: 352, imgh: 288
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
2004-09-04 22:43:51 audio thread waiting for buffer to fill fragment_size=4096, audiolen=0
....
....
....
2004-09-04 22:44:01 Killing AudioOutputDSP
2004-09-04 22:44:01 kickoffOutputAudioLoop exiting
Lagersegmentfejl
More information about the mythtv-dev
mailing list