Results 1 to 2 of 2

Thread: Intermittent crashes printing from Mac OS X using Qt 4.8.1

  1. #1
    Join Date
    Sep 2011
    Posts
    37
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Intermittent crashes printing from Mac OS X using Qt 4.8.1

    I am getting some crashes printing or exporting PDFs from the Mac version of my product. The users tell me the crashes are intermittent (i.e. will crash sometimes, but not others). No problems with the Windows version.

    The crash stack traces look like this:

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 ??? 0x0000025b00000001 0 + 2589865279489
    1 com.apple.print.framework.PrintCore 0x00007fff8c2aadb4 OpaquePMPageFormat::PJCValidPageFormatKey(OpaquePM PageFormat*) + 34
    2 com.apple.print.framework.PrintCore 0x00007fff8c2bd9ae PMGetAdjustedPageRect + 21
    3 QtGui 0x0000000100d9697c QDesktopWidget::resizeEvent(QResizeEvent*) + 33644
    4 PerfectTablePlan 0x00000001002ee0e2 Ui_TPExportPDFDlg::setupUi(QDialog*) + 5442


    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 ??? 000000000000000000 0 + 0
    1 com.apple.print.framework.PrintCore 0x00007fff8e4aadb4 OpaquePMPageFormat::PJCValidPageFormatKey(OpaquePM PageFormat*) + 34
    2 com.apple.print.framework.PrintCore 0x00007fff8e4ad24b PMGetUnadjustedPaperRect + 21
    3 QtGui 0x0000000100d96e12 QDesktopWidget::resizeEvent(QResizeEvent*) + 34818
    4 QtGui 0x0000000100d98398 QDesktopWidget::resizeEvent(QResizeEvent*) + 40328
    5 QtGui 0x0000000100f596da QPrinter:aperSize() const + 42
    6 PerfectTablePlan 0x00000001001e70c8 QList<QFileInfo>:perator+=(QList<QFileInfo> const


    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 ??? 0x0000000101f83d80 0 + 4328013184
    1 com.apple.print.framework.PrintCore 0x00007fff8ea2024b PMGetUnadjustedPaperRect + 21
    2 QtGui 0x0000000100d96e12 QDesktopWidget::resizeEvent(QResizeEvent*) + 34818
    3 QtGui 0x0000000100d98398 QDesktopWidget::resizeEvent(QResizeEvent*) + 40328
    4 QtGui 0x0000000100f596da QPrinter:aperSize() const + 42
    5 PerfectTablePlan 0x000000010026ad26 Ui_TPStationeryViewFilter::setupUi(QWidget*) + 17686

    They all seem to involve a call to PMGetAdjustedPageRect. I'm not sure if it is related to this bug:
    https://bugreports.qt-project.org/browse/QTBUG-21576

    Is anyone else seeing something similar? Any idea of what the problem might be?

    best regards

    Andy Brice

  2. #2

    Default Re: Intermittent crashes printing from Mac OS X using Qt 4.8.1

    I'm trying to use Qt 4.8.1 on Windows 7 with Illustrator CS 5. When I quit Illustrator, the application crashes. If I remove the instanciation of the QApplication, Illustrator closes properly.



    Is it possible to share some small example which runs on Windows and MacOS X ?

Similar Threads

  1. QT application crashes.
    By coding_neo in forum Qt Programming
    Replies: 3
    Last Post: 24th October 2011, 13:30
  2. My QTCPServer crashes
    By Mr_Burns in forum Newbie
    Replies: 6
    Last Post: 23rd May 2011, 20:17
  3. app crashes again
    By sophister in forum Qt Programming
    Replies: 7
    Last Post: 15th June 2009, 10:01
  4. Replies: 5
    Last Post: 5th March 2009, 01:38
  5. Uic3 crashes...
    By amcdaniel in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2007, 22:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.