[Development] crash in qt_mac_create_imagemask while printing from KDE application

René J.V. Bertin rjvbertin at gmail.com
Sat Jun 6 16:48:47 CEST 2015


Hello,

Is there anything that can be done with a backtrace like the one below that would make it worthwhile to file a bug report?
Some prodding after liberal use of `volatile` in qt_mac_create_imagemask suggests that px->pixels==NULL 

R.

(lldb) bt all
* thread #1: tid = 0x6280a, 0x00007fff8914fe20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff8914fe20 libsystem_kernel.dylib`__wait4 + 8
    frame #1: 0x000000010dab494e libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) [inlined] startProcessInternal(argc=<unavailable>, directly=<unavailable>) + 265 at kcrash.cpp:556
    frame #2: 0x000000010dab4845 libkdeui.5.dylib`KCrash::startProcess(argc=<unavailable>, argv=<unavailable>, waitAndExit=<unavailable>) + 21 at kcrash.cpp:538
    frame #3: 0x000000010dab3a79 libkdeui.5.dylib`KCrash::defaultCrashHandler(sig=<unavailable>) + 1209 at kcrash.cpp:441
    frame #4: 0x00007fff886fd5aa libsystem_platform.dylib`_sigtramp + 26
    frame #5: 0x000000010e681c21 QtGui`qt_mac_create_imagemask(pixmap=<unavailable>, sr=0x00007fff5360b620) + 1057 at qpixmap_mac.cpp:1090
    frame #6: 0x000000010e78f9ff QtGui`qt_mac_draw_pattern(info=0x00007fef4c72fa80, c=0x00007fef4c70fab0) + 1167 at qpaintengine_mac.cpp:494
    frame #7: 0x00007fff91f998e8 CoreGraphics`CGPatternDelegateDrawPattern + 66
    frame #8: 0x00000001256c775a libPDFRIP.A.dylib`PDFPatternEmitDefinition + 1299
    frame #9: 0x00000001256c79c6 libPDFRIP.A.dylib`emitPatternDefinition + 14
    frame #10: 0x00007fff8962b382 CoreFoundation`__CFSetApplyFunction_block_invoke + 18
    frame #11: 0x00007fff8960f8fc CoreFoundation`CFBasicHashApply + 124
    frame #12: 0x00007fff8962b33d CoreFoundation`CFSetApplyFunction + 173
    frame #13: 0x00000001256c7993 libPDFRIP.A.dylib`PDFPatternSetEmitDefinitions + 71
    frame #14: 0x00000001256bda0c libPDFRIP.A.dylib`emit_page_resources(PDFDocument*) + 59
    frame #15: 0x00000001256bd9b0 libPDFRIP.A.dylib`PDFDocumentEndPage + 73
    frame #16: 0x00000001256bc570 libPDFRIP.A.dylib`pdf_EndPage + 17
    frame #17: 0x00007fff8f374ea3 PrintCore`pdfSpoolingEndPage(void*, void*) + 345
    frame #18: 0x00007fff8f36c835 PrintCore`PJCEndPage(OpaquePMPrintSession*) + 40
    frame #19: 0x00007fff8f34a3b6 PrintCore`PMSessionEndPageNoDialog + 80
    frame #20: 0x000000010e58c69a QtGui`non-virtual thunk to QMacPrintEngine::newPage() + 26
    frame #21: 0x000000010e713183 QtGui`QPrinter::newPage(this=<unavailable>) + 35 at qprinter.cpp:1829
    frame #22: 0x0000000120b4ff8a libkatepartinterfaces.4.dylib`KatePrinter::print(doc=0x00007fef4c1dfff0) + 8794 at kateprinter.cpp:393
    frame #23: 0x00000001209a61da libkatepartinterfaces.4.dylib`KateDocument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [inlined] KateDocument::print() + 1994 at katedocument.cpp:1855
    frame #24: 0x00000001209a61d2 libkatepartinterfaces.4.dylib`KateDocument::qt_static_metacall(_o=0x00007fef4c1dfff0, _c=<unavailable>, _id=<unavailable>, _a=0x00007fff5360c790) + 1986 at katedocument.moc:267
    frame #25: 0x000000010f421c1b QtCore`QMetaObject::activate(sender=0x00007fef4c4621c0, m=<unavailable>, local_signal_index=<unavailable>, argv=<unavailable>) + 2363 at qobject.cpp:3638
    frame #26: 0x000000010e5c8e69 QtGui`QAction::activate(QAction::ActionEvent) [inlined] QAction::triggered(this=0x00007fef4c4621c0, _t1=false) + 233 at moc_qaction.cpp:277
    frame #27: 0x000000010e5c8e41 QtGui`QAction::activate(this=0x00007fef4c4621c0, event=<unavailable>) + 193 at qaction.cpp:1257
    frame #28: 0x000000010e57bdf1 QtGui`-[QCocoaMenuLoader qtDispatcherToQAction:] + 65
    frame #29: 0x00007fff8e9a9260 AppKit`-[NSApplication sendAction:to:from:] + 327
    frame #30: 0x00007fff8e9c41c8 AppKit`-[NSMenuItem _corePerformAction] + 394
    frame #31: 0x00007fff8e9c3f04 AppKit`-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
    frame #32: 0x00007fff8e9c307c AppKit`-[NSMenu performKeyEquivalent:] + 289
    frame #33: 0x00007fff8e9bf8e1 AppKit`-[NSApplication _handleKeyEquivalent:] + 822
    frame #34: 0x00007fff8e92eacc AppKit`-[NSApplication sendEvent:] + 3293
    frame #35: 0x000000010e57c2e1 QtGui`-[QNSApplication sendEvent:] + 97
    frame #36: 0x00007fff8e77e9f9 AppKit`-[NSApplication run] + 646
    frame #37: 0x000000010e585a7b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2059
    frame #38: 0x000000010f40547f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QFlags<QEventLoop::ProcessEventsFlag>::QFlags(this=0x00007fff00000024) + 9 at qglobal.h:2434
    frame #39: 0x000000010f405476 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QFlags<QEventLoop::ProcessEventsFlag>::QFlags(this=0x00007fff00000024) at qglobal.h:2434
    frame #40: 0x000000010f405476 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QFlags<QEventLoop::ProcessEventsFlag>::operator|(f=<unavailable>) const + 59 at qeventloop.cpp:149
    frame #41: 0x000000010f40543b QtCore`QEventLoop::exec(this=0x00007fff5360cf50, flags=(i = 0)) + 427 at qeventloop.cpp:204
    frame #42: 0x000000010f408697 QtCore`QCoreApplication::exec() + 199 at qcoreapplication.cpp:1227
    frame #43: 0x000000010c607afa kdevelop`main(argc=<unavailable>, argv=<unavailable>) + 54122 at main.cpp:582
    frame #44: 0x00007fff8915c5fd libdyld.dylib`start + 1
    frame #45: 0x00007fff8915c5fd libdyld.dylib`start + 1





More information about the Development mailing list