[mythtv] Seg fault in latest cvs (for doing just about anything)

Bruce Markey mythtv-dev@snowman.net
Sat, 21 Dec 2002 04:00:17 -0800


J.R. Hyde wrote:
> Did a make distclean and remade a debug version of mythtv after updating
> from the latest cvs. Loaded up mythbackend, no problems, loaded up
> mythfrontend, went to mythmusic... no problems yet. Went back to mythtv
> to try and test if the delete recording bug was fixed only to find out I
> can only Schedule a recording and play around in setup. Watch-TV, Watch
> a recording, Delete Recordings, and fix scheduling conflicts all seg
> fault out the moment I select them. 

I'm seeing the same things. I did catch the db alter for
videosource and looked for other config changes wrt the
settings table. Might have missed something obvious but
also bomb at util.cpp:25 .

--  bjm

// start frontend and select "Watch TV".
// backend does not report adding a player.

(gdb) run
Starting program: /usr/local/bin/mythfrontend
[New Thread 1024 (LWP 3059)]
[New Thread 2049 (LWP 3074)]
[New Thread 1026 (LWP 3075)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 3059)]
0x400b9e16 in WriteStringList (socket=0x0, list=@0xbffff258) at util.cpp:25
25          socket->writeBlock((const char *)&size, sizeof(int));
(gdb) backtrace
#0  0x400b9e16 in WriteStringList (socket=0x0, list=@0xbffff258) at 
util.cpp:25 #1  0x4008845d in MythContext::SendReceiveStringList 
(this=0x8222040,
     strlist=@0xbffff258) at mythcontext.cpp:417
#2  0x400891c7 in MythContext::RequestRecorder (this=0x8222040)
     at mythcontext.cpp:535
#3  0x08086620 in TV::LiveTV (this=0x8246958) at tv_play.cpp:101
#4  0x0805c2bb in startTV (context=0x8222040) at main.cpp:79
#5  0x0805c56c in TVMenuCallback (data=0x8222040, selection=@0x8231994)
     at main.cpp:125
#6  0x400b4bf0 in ThemedMenu::handleAction (this=0x8231858, 
action=@0x824bd68)
     at themedmenu.cpp:1257
#7  0x400b4253 in ThemedMenu::keyPressEvent (this=0x8231858, e=0xbffff710)
     at themedmenu.cpp:1179
#8  0x403cbe10 in QWidget::event () from /usr/lib/libqt-mt.so.3
#9  0x4035a773 in QApplication::internalNotify () from 
/usr/lib/libqt-mt.so.3
#10 0x40359f70 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#11 0x4030e7d6 in QETWidget::translateKeyEvent () from 
/usr/lib/libqt-mt.so.3
#12 0x4030a057 in QApplication::x11ProcessEvent () from 
/usr/lib/libqt-mt.so.3
#13 0x4030920b in QApplication::processNextEvent () from 
/usr/lib/libqt-mt.so.3
#14 0x4035bbbf in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#15 0x404bd231 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#16 0x0805d12f in RunMenu (themedir=
       {static null = {static null = <same as static member of an 
already seen ty---Type <return> to continue, or q <return> to quit---
pe>, d = 0x81f0eb8, static shared_null = 0x81f0eb8}, d = 0xbffffa98, 
static shared_null = 0x81f0eb8}, context=0x8222040) at main.cpp:203
#17 0x0805d4db in main (argc=1, argv=0xbffffb54) at main.cpp:246