[mythtv] 0.14: Watch recorded show + press num key = segfault

Fredrik Abrahamson mythtv-dev at fredrik.ca
Wed Feb 11 22:23:17 EST 2004

Good day,

I'm fairly new to this list. I have just built a Pundit-based Myth system,
and it is awesome! I'm really impressed by the stability of the software
and the vast number of features. I don't miss my old AIW 7500-based Multi
Media Center PVR at all... :-)

Well, despite the stability of the software, I have found what very much
looks like a bug:

1. Start backend and frontend
2. Watch a recorded tv show
3. Press any numerical key other than 0
4. *boom* - frontend segfaults with the following stack trace:

(gdb) where
#0  0x401e9642 in RemoteEncoder::CheckChannelPrefix(QString, bool&) ()
   from /usr/lib/libmythtv-0.14.so.0
#1  0x40222485 in TV::ChannelKey(int) () from /usr/lib/libmythtv-0.14.so.0
#2  0x4021c61a in TV::ProcessKeypress(QKeyEvent*) ()
   from /usr/lib/libmythtv-0.14.so.0
#3  0x4021a2d0 in TV::RunTV() () from /usr/lib/libmythtv-0.14.so.0
#4  0x4021a00e in TV::EventThread(void*) () from /usr/lib/libmythtv-0.14.so.0
#5  0x40aa5f50 in pthread_start_thread () from /lib/libpthread.so.0
#6  0x40aa6052 in pthread_start_thread_event () from /lib/libpthread.so.0
#7  0x4136181a in clone () from /lib/libc.so.6

The problem is that when TV::ChannelKey() calls
activerecorder->CheckChannelPrefix(), activerecorder is null, so
CheckChannelPrefix() segfaults as soon as it tries to access any of its
member variables.

I'm running mythtv 0.14-r1 on a gentoo 1.4 based Pundit system with kernel
2.4.20, WinFast 2000 XP Deluxe, P4 2.6GHz, 512 MB RAM.

Has anyone else seen this behavior before? Can anyone else reproduce it?
Lemme know if you need more details.


/Fredrik Abrahamson, Ottawa, ON

More information about the mythtv-dev mailing list