Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0
-
Mac OSX Lion
Description
Both tests/auto/printsupport/kernel/qprinter/tst_qprinter.app and examples/richtext/textedit/textedit.app crash when attempting to use QPrinter with output format set to QPrinter::PdfFormat. The crash happens in the destructor of QPdfPrintEngine. This does not crash on Linux, Windows is untested.
This is probably a Beta 1 blocker as it blocks the auto tests from completing.
Here is the backtrace for textedit.app:
Process: textedit [19317]
Path: /Users/USER/*/textedit.app/Contents/MacOS/textedit
Identifier: com.yourcompany.textedit
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [277]
Date/Time: 2012-05-01 17:40:56.523 +0100
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
Interval Since Last Report: 2208909 sec
Crashes Since Last Report: 58
Per-App Interval Since Last Report: 88 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: F45F0A80-2EB3-42ED-881A-9483C3F61143
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[19317]: garbage collection is OFF
-
-
- error for object 0x100f0daa0: pointer being freed was not allocated
-
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8a8ccce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8d3997d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff8d38aa7a abort + 143
3 libsystem_c.dylib 0x00007fff8d3e984c free + 389
4 QtPrintSupport 0x0000000100045264 QPdfPrintEnginePrivate::~QPdfPrintEnginePrivate() + 212
5 QtPrintSupport 0x0000000100045152 QPdfPrintEnginePrivate::~QPdfPrintEnginePrivate() + 18
6 QtGui 0x00000001009b72f2 QPaintEngine::~QPaintEngine() + 34
7 QtPrintSupport 0x0000000100043a66 non-virtual thunk to QPdfPrintEngine::~QPdfPrintEngine() + 22
8 QtPrintSupport 0x000000010004676a QPrinter::~QPrinter() + 58
9 com.yourcompany.textedit 0x000000010000bd03 TextEdit::filePrintPdf() + 627 (textedit.cpp:544)
The same backtrace is also returned by tst_qprinter.app
Attachments
Issue Links
- relates to
-
QTBUG-25292 Fix insignificant qprinter test
- Closed