[mythtv] ASSERT failure in QList<T>::operator[]: "index out of range"

Paul Harrison mythtv at dsl.pipex.com
Fri Apr 25 18:03:24 UTC 2008


cal wrote:
> I haven't spotted anything in recent dev/ticket traffic that seems related,
> so I just might be alone with this one. At trunk 17144, I'm getting an
> "index out of range" QList assert in a couple of places. One example is 
>
>  Utilities/Setup -> Setup -> General -> <Esc>
>
> resulting in -
> {{{
> 2008-04-25 17:27:59.454 MythSocket(16af5a0:44): new socket
> 2008-04-25 17:27:59.456 Connecting to backend server: 192.168.1.2:6543 (try 1 of 5)
> 2008-04-25 17:27:59.456 MythSocket(16a1910:46): new socket
> 2008-04-25 17:27:59.457 MythSocket(16a1910:46): attempting connect() to (192.168.1.2:6543)
> 2008-04-25 17:27:59.457 MythSocket(16a1910:46): state change Idle -> Connected
> 2008-04-25 17:27:59.457 write -> 46 21      MYTH_PROTO_VERSION 40
> 2008-04-25 17:28:06.457 MythSocket(16a1910:46): readStringList: Error, timeout (quick).
> 2008-04-25 17:28:06.457 MythSocket(16a1910:46): state change Connected -> Idle
> ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/local/qt4/include/QtCore/qlist.h, line 399
> }}}
>
> I'm quite happy to ignore it and just wait for it to go away, but if anyone
> spots a genuine issue in it, well that's cool too, happy to help in any way.
>
> cheers, Cal
>
>
>   

I cannot reproduce that one here but I saw a similar ASSERT myself in 
MythGallery but that one has already been fixed. They only happen with a 
debug build but they do need fixing. We would need a backtrace to know 
exactly where the ASSERT is being triggered so it can be fixed though.

Paul H.


More information about the mythtv-dev mailing list