[mythtv] Mythfrontend on Windows causes Qt Assert

Graham Finlayson graham.finlayson at gmail.com
Thu Oct 16 17:12:56 UTC 2008


I should have waited 5 minutes, as I figured this out

videoout_d3d.cpp has a call to SetVideoRenderer() with the value "didect3d".
Changing this to "direct3d" solved this issue.

Graham

On Thu, Oct 16, 2008 at 3:27 PM, Graham Finlayson <
graham.finlayson at gmail.com> wrote:

> I managed to work my way through building Myth on Windows to the point that
> I can start it up. However when I try to skip forward when playing TV or
> skipping within recorded TV, I encounter a Qt assert with the following
> backtrace
>
> (gdb) Starting program: c:\msys\1.0\bin/mythfrontend.exe
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to thread 4144.0xaf8]
> 0x76b44fa9 in timeKillEvent () from C:\WINDOWS\system32\winmm.dll
> (gdb) Continuing.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x76b44fa9 in timeKillEvent () from C:\WINDOWS\system32\winmm.dll
> (gdb) Continuing.
>
> Breakpoint 1, qt_assert_x (where=0x9e8ee2b "QList<T>::operator[]",
>    what=0x9e8ee18 "index out of range",
>    file=0x9e8edb8
>
> "../../../../msys/1.0/qt-win-opensource-src-4.4.0/include/QtCore/../../src/c
> orelib/tools/qlist.h", line=401) at global/qglobal.cpp:1836
> 1836        qFatal("ASSERT failure in %s: \"%s\", file %s, line %d", where,
> what, file, line);
> (gdb) #0  qt_assert_x (where=0x9e8ee2b "QList<T>::operator[]",
>    what=0x9e8ee18 "index out of range",
>    file=0x9e8edb8
>
> "../../../../msys/1.0/qt-win-opensource-src-4.4.0/include/QtCore/../../src/c
> orelib/tools/qlist.h", line=401) at global/qglobal.cpp:1836
> #1  0x09d87f78 in QList<QString>::operator[] (this=0x15d3e9d8, i=0)
>    at
>
> ../../../../msys/1.0/qt-win-opensource-src-4.4.0/include/QtCore/../../src/co
> relib/tools/qlist.h:401
> #2  0x09b47e2e in _fu4009__verbose_mutex () at videodisplayprofile.cpp:288
> #3  0x09ca62af in VideoOutputD3D::InputChanged (this=0x192b0b58,
>    input_size=@0x191dc5c4, aspect=1.33333337, av_codec_id=kCodec_MPEG2,
>    codec_private=0x0) at videoout_d3d.cpp:121
> #4  0x09a2edc6 in NuppelVideoPlayer::ReinitVideo (this=0x191dbec8)
>    at NuppelVideoPlayer.cpp:721
> #5  0x09a2f4f9 in NuppelVideoPlayer::SetVideoParams (this=0x191dbec8,
>    width=720, height=576, fps=25, keyframedistance=1, aspect=1.33333337,
>    scan=kScan_Detect, video_codec_changed=false)
>    at NuppelVideoPlayer.cpp:1038
> #6  0x09aa060b in AvFormatDecoder::MpegPreProcessPkt (this=0x192276a0,
>    stream=0x19321da0, pkt=0x194653a8) at avformatdecoder.cpp:2367
> #7  0x09aa670f in _fu3743__verbose_mutex () at avformatdecoder.cpp:3263
> #8  0x09a21768 in NuppelVideoPlayer::GetFrameNormal (this=0x191dbec8,
>    onlyvideo=0) at NuppelVideoPlayer.cpp:1423
> #9  0x09a226ac in _fu3325__verbose_mutex () at NuppelVideoPlayer.cpp:1508
> #10 0x09a4392d in _fu3427__verbose_mutex () at NuppelVideoPlayer.cpp:3667
> #11 0x0998ab4b in SpawnDecode (param=0x191dbec8) at tv_play.cpp:525
> #12 0x611812fa in ptw32_threadStart at 4 () from c:\MinGW\bin\pthreadGC2.dll
> #13 0x77c3a3b0 in msvcrt!_endthreadex () from
> C:\WINDOWS\system32\msvcrt.dll
> #14 0x1130f910 in ?? ()
> #15 0x77c2c42e in msvcrt!malloc () from C:\WINDOWS\system32\msvcrt.dll
> #16 0x0000000c in ?? ()
> #17 0x19226788 in ?? ()
> #18 0x00000000 in ?? ()
> (gdb)
>
> As an aside, notice the timeKillEvent() SIGSEGV which don't cause a crash
> when running normally (i.e. not under GDB).
>
> Graham
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081016/25d4f8d3/attachment.htm 


More information about the mythtv-dev mailing list