[mythtv] Re: Seg fault when pressing "o" on a channel with no epg-data

markus scholz macdanger at web.de
Thu May 1 17:24:23 EDT 2003


After the segfault of the frontend the backend crashes to:

(gdb) run
Starting program: /usr/local/bin/mythbackend
[New Thread 16384 (LWP 5335)]
Starting up as the master server.
Probed: /dev/video0 - Television
Probed: /dev/video0 - Composite1
Probed: /dev/video0 - S-Video
Probed: /dev/video0 - Composite3
[New Thread 32769 (LWP 5341)]
[New Thread 16386 (LWP 5342)]
[New Thread 32771 (LWP 5343)]
[New Thread 49156 (LWP 5344)]
[New Thread 65541 (LWP 5345)]
[New Thread 81926 (LWP 5346)]
[New Thread 98311 (LWP 5347)]
[New Thread 114696 (LWP 5348)]
[New Thread 131081 (LWP 5349)]

2003-05-01 16:05:24 adding: PVR as a player 1
2003-05-01 16:05:32 adding: PVR as a player 0
[New Thread 147466 (LWP 5356)]
2003-05-01 16:05:32 adding: PVR as a player 0
2003-05-01 16:05:32 adding: PVR as a remote ringbuffer
[New Thread 163851 (LWP 5357)]
Changing from None to WatchingLiveTV
[New Thread 180236 (LWP 5358)]
[New Thread 196621 (LWP 5359)]
[New Thread 213006 (LWP 5360)]
audio volume set to '32768'
strange error flushing buffer ...
Changing from WatchingLiveTV to None

2003-05-01 16:21:26 adding: PVR as a player 1
2003-05-01 16:21:30 adding: PVR as a player 0
[New Thread 229391 (LWP 5519)]
2003-05-01 16:21:31 adding: PVR as a player 0
2003-05-01 16:21:31 adding: PVR as a remote ringbuffer
[New Thread 245776 (LWP 5520)]
Changing from None to WatchingLiveTV
[New Thread 262161 (LWP 5521)]
[New Thread 278546 (LWP 5522)]
[New Thread 294931 (LWP 5523)]
strange error flushing buffer ...
Changing from WatchingLiveTV to None

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 114696 (LWP 5348)]
0x400a8c88 in WriteStringList(QSocket*, QStringList&) (socket=0x8317988,
    list=@0x8318db8) at /usr/lib/qt3/include/qmemarray.h:64
64          type *data()    const       { return (type *)QGArray::data(); }
(gdb)
(gdb)
(gdb) bt
#0  0x400a8c88 in WriteStringList(QSocket*, QStringList&) (socket=0x8317988,
    list=@0x8318db8) at /usr/lib/qt3/include/qmemarray.h:64
#1  0x08072299 in MainServer::HandleRecorderQuery(QStringList&, QStringList&, 
PlaybackSock*) (this=0xbebff71c, slist=@0x831d7fc, commands=@0x9, 
pbs=0x8318db8)
    at playbacksock.h:16
#2  0x0806a0eb in MainServer::ProcessRequest(QStringList&, QStringList&, 
PlaybackSock*) (this=0x8316818, listline=@0x831d7fc, tokens=@0x831d800, 
pbs=0x8318478)
    at mainserver.cpp:240
#3  0x0807ab0f in ProcessRequestThread::run() (this=0xbebffa4c)
    at mainserver.cpp:61
#4  0x403aea88 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
#5  0x40924c60 in pthread_start_thread () from /lib/libpthread.so.0
#6  0x40924cdf in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb)

> Hi all,
>
> when pressing "o" while watching TV to bring up the mini-epg on a channel
> with no epg-data in database I get a segfault. The same is when pressing
> "o" in a channel with epg data and then scrolling through the channels to a
> channel without epg-data:
>
> Mythfrontend backtrace:
> (gdb) run
> Starting program: /usr/local/bin/mythfrontend
> [New Thread 16384 (LWP 5351)]
> connecting to backend server: 127.0.0.1:6543
> [New Thread 32769 (LWP 5354)]
> [New Thread 16386 (LWP 5355)]
> Changing from None to WatchingLiveTV
> [New Thread 32771 (LWP 5361)]
> [New Thread 49156 (LWP 5362)]
> Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
> Using XV port 106
> [New Thread 65541 (LWP 5363)]
> [New Thread 81926 (LWP 5364)]
> QTime::setHMS Invalid time 60:00:00.000
> QDate::setYMD: Invalid date 2003-50-16
> QTime::fromString: Parameter out of range.
> QTime::setHMS Invalid time 60:00:00.000
> QDate::setYMD: Invalid date 2003-50-16
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16386 (LWP 5355)]
> 0x406ac452 in QString::operator=(QString const&) () from
> /usr/lib/libqt-mt.so.3
> (gdb) bt
> #0  0x406ac452 in QString::operator=(QString const&) ()
>    from /usr/lib/libqt-mt.so.3
> #1  0x0812d8a4 in ProgramInfo::ToMap(QSqlDatabase*, QMap<QString,
> QString>&) ( this=0x0, db=0x83bf1c0, progMap=@0xbf7ff96c) at
> programinfo.cpp:184 #2  0x08183cb8 in TV::BrowseDispInfo(int)
> (this=0x844ef78, direction=1) at tv_play.cpp:2094
> #3  0x0817add0 in TV::ProcessKeypress(int) (this=0x844ef78, keypressed=0)
>     at tv_play.cpp:803
> #4  0x0817a7b6 in TV::RunTV() (this=0xbf7ff87c) at tv_play.cpp:721
> #5  0x0817a4fd in TV::EventThread(void*) (param=0x83bf1c0) at
> tv_play.cpp:685 #6  0x40924c60 in pthread_start_thread () from
> /lib/libpthread.so.0 #7  0x40924cdf in pthread_start_thread_event () from
> /lib/libpthread.so.0 (gdb)
>
>
> Mythbackend:
>
> sorry, i could not kill the frontendtask in gdb so I had to restart my hole
> systm :-(
>
> greets markus



More information about the mythtv-dev mailing list