#483 PDF viewer crash

closed
nobody
texmakerx (236)
5
2012-10-17
2012-02-14
No

internal viewer crashes when opening it (Win7 64, texlive2011).

Minimal example:
\documentclass[10pt,a4paper]{article}
\begin{document}
\section{TeXstudio}
\end{document}

-> PDFLatex -> View PDF

Discussion

  • Benito van der Zander

    Does not happen on Linux.

    But you could debug it yourself...

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-02-21

    This only happens with Qt 4.8.0 (not with 4.7.x).

    segmentation fault in pdfrenderengine.cpp l.103. The image passed to the QPainter constuctor appears to be valid.

    Stack:
    0 ZrsR11QDataStreamR12QPaintBuffer H:\texstudio\texstudio-build-desktop-Qt_4_8_0_for_Desktop_-MinGWQt_SDKDebug\QtGui4.dll 0 0x151654a6
    1 ZrsR11QDataStreamR12QPaintBuffer H:\texstudio\texstudio-build-desktop-Qt_4_8_0_for_Desktop
    -_MinGWQt_SDKDebug\QtGui4.dll 0 0x1516d8e8
    2 QPainter::begin qpainter.cpp 1881 0x5603772
    3 QPainter::QPainter qpainter.cpp 1506 0x560214c
    4 PDFRenderEngine::run pdfrenderengine.cpp 103 0x5bc173
    5 QThreadPrivate::start qthread_win.cpp 331 0x6a117d99
    6 msvcrt!_itow_s C:\Windows\syswow64\msvcrt.dll 0 0x766f1287
    7 msvcrt!_endthreadex C:\Windows\syswow64\msvcrt.dll 0 0x766f1328
    8 KERNEL32!BaseCleanupAppcompatCacheSupport C:\Windows\syswow64\kernel32.dll 0 0x7740339a
    9 ?? 0 0x1b105fe8
    10 ntdll!RtlpNtSetValueKey C:\Windows\system32\ntdll.dll 0 0x77df9ef2
    11 ?? 0 0x1b105fe8
    12 ntdll!RtlpNtSetValueKey C:\Windows\system32\ntdll.dll 0 0x77df9ec5
    13 msvcrt!_endthreadex C:\Windows\syswow64\msvcrt.dll 0 0x766f12e5
    14 ?? 0

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-04-18

    Also crashes with Qt. 4.8.1. This needs some more effort to track down the problem.

    For the moment, I'll stick to 4.7.4.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-09-05

    Works, when using the correct Qt dlls (4.8.x). Sorry for the noise.

     

Log in to post a comment.