Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36146

QPrinter crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.5
    • GUI: Printing
    • None
    • Fedora 20
      KDE: 4.11.5

    Description

      Opening up the print dialogue in qt apps crashes or freezes the application.

      https://bugs.kde.org/show_bug.cgi?id=329881

      • Backtrace:
        Application: Okular (okular), signal: Segmentation fault
        Using host libthread_db library "/lib64/libthread_db.so.1".
        81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
        [KCrash Handler]
        #6 0x000000000000003c in ?? ()
        #7 0x00007f4bb2792d79 in cups_dnssd_get_device (data=0x7fff6c3b7cb0, serviceName=0x275067c "EPSON WorkForce 545 @ jdom macbook", regtype=0x27506a4 "_ipps._tcp", replyDomain=0x27506b4 "local") at dest.c:2918
        #8 0x0000003a12608c96 in avahi_service_browser_event (client=client@entry=0x2749700, event=event@entry=AVAHI_BROWSER_NEW, message=message@entry=0x2738a50) at browser.c:775
        #9 0x0000003a126051ea in filter_func (bus=<optimized out>, message=0x2738a50, userdata=0x2749700) at client.c:245
        #10 0x000000384c41006e in dbus_connection_dispatch (connection=0x2749bf0) at dbus-connection.c:4631
        #11 0x0000003a1260b936 in dispatch_timeout_callback (t=<optimized out>, userdata=0x27494a0) at ../avahi-common/dbus-watch-glue.c:105
        #12 0x0000003a0c607c18 in avahi_simple_poll_dispatch (s=0x2738c90) at simple-watch.c:570
        #13 0x0000003a0c607cd5 in avahi_simple_poll_iterate (s=<optimized out>, timeout=timeout@entry=250) at simple-watch.c:605
        #14 0x00007f4bb279553e in cupsEnumDests (flags=<optimized out>, msec=<optimized out>, cancel=0x0, type=0, mask=<optimized out>, cb=0x3a325e55e0 <enum_dest_cb(void*, unsigned int, cups_dest_t*)>, user_data=0x7fff6c3b7d40) at dest.c:1057
        #15 0x0000003a325e6687 in resolveCups () at painting/qcups.cpp:159
        #16 0x0000003a325e6825 in QCUPSSupport::isAvailable () at painting/qcups.cpp:295
        #17 0x0000003a3253de8e in QPdfBaseEngine::QPdfBaseEngine (this=0x2461940, dd=..., f=...) at painting/qpdf.cpp:924
        #18 0x0000003a32553dfb in QPSPrintEngine::QPSPrintEngine (this=0x2461940, m=QPrinter::ScreenResolution) at painting/qprintengine_ps.cpp:667
        #19 0x0000003a32555fd7 in QPrinterPrivate::createDefaultEngines (this=this@entry=0x2717c20) at painting/qprinter.cpp:198
        #20 0x0000003a325578d4 in QPrinter::init (this=this@entry=0x7fff6c3b8080, mode=mode@entry=QPrinter::ScreenResolution) at painting/qprinter.cpp:679
        #21 0x0000003a32558ce5 in QPrinter::QPrinter (this=0x7fff6c3b8080, mode=QPrinter::ScreenResolution) at painting/qprinter.cpp:603
        #22 0x00007f4bb5f8d75f in Okular::Part::slotPrint (this=0x15ffb90) at /usr/src/debug/okular-4.11.5/part.cpp:2501
        #23 0x00007f4bb5f8f235 in Okular::Part::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7fff6c3b8220, _c=<optimized out>) at /usr/src/debug/okular-4.11.5/x86_64-redhat-linux-gnu/part.moc:233
        #24 0x0000003a2e398fa8 in QMetaObject::activate (sender=sender@entry=0x17fc390, m=m@entry=0x3a32e9ec40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff6c3b8220) at kernel/qobject.cpp:3547
        #25 0x0000003a323c37f2 in QAction::triggered (this=this@entry=0x17fc390, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
        #26 0x0000003a323c53a7 in QAction::activate (this=this@entry=0x17fc390, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
        #27 0x0000003a3280edcd in QMenuPrivate::activateCausedStack (this=this@entry=0x18368d0, causedStack=..., action=action@entry=0x17fc390, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
        #28 0x0000003a32813659 in QMenuPrivate::activateAction (this=0x18368d0, action=0x17fc390, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
        #29 0x0000003a328171b5 in QMenu::mouseReleaseEvent (this=this@entry=0x181c340, e=e@entry=0x7fff6c3b89d0) at widgets/qmenu.cpp:2372
        #30 0x000000397830b6cb in KMenu::mouseReleaseEvent (this=0x181c340, e=0x7fff6c3b89d0) at /usr/src/debug/kdelibs-4.11.5/kdeui/widgets/kmenu.cpp:464
        #31 0x0000003a3241cd6a in QWidget::event (this=this@entry=0x181c340, event=event@entry=0x7fff6c3b89d0) at kernel/qwidget.cpp:8376
        #32 0x0000003a3281761b in QMenu::event (this=0x181c340, e=0x7fff6c3b89d0) at widgets/qmenu.cpp:2481
        #33 0x0000003a323c9dfc in QApplicationPrivate::notify_helper (this=0x1432e70, receiver=0x181c340, e=0x7fff6c3b89d0) at kernel/qapplication.cpp:4562
        #34 0x0000003a323d08e9 in QApplication::notify (this=this@entry=0x7fff6c3b92d0, receiver=receiver@entry=0x181c340, e=e@entry=0x7fff6c3b89d0) at kernel/qapplication.cpp:4105
        #35 0x000000397824a7da in KApplication::notify (this=0x7fff6c3b92d0, receiver=0x181c340, event=0x7fff6c3b89d0) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
        #36 0x0000003a2e3845ed in QCoreApplication::notifyInternal (this=0x7fff6c3b92d0, receiver=0x181c340, event=0x7fff6c3b89d0) at kernel/qcoreapplication.cpp:949
        #37 0x0000003a323d0017 in QApplicationPrivate::sendMouseEvent (receiver=0x181c340, event=0x7fff6c3b89d0, alienWidget=0x0, nativeWidget=0x181c340, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
        #38 0x0000003a32445afc in QETWidget::translateMouseEvent (this=0x181c340, event=<optimized out>) at kernel/qapplication_x11.cpp:4472
        #39 0x0000003a3244423c in QApplication::x11ProcessEvent (this=0x7fff6c3b92d0, event=event@entry=0x7fff6c3b8d10) at kernel/qapplication_x11.cpp:3661
        #40 0x0000003a3246bc34 in x11EventSourceDispatch (s=s@entry=0x1433000, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
        #41 0x0000003a276492a6 in g_main_dispatch (context=0x1432540) at gmain.c:3066
        #42 g_main_context_dispatch (context=context@entry=0x1432540) at gmain.c:3642
        #43 0x0000003a27649628 in g_main_context_iterate (context=context@entry=0x1432540, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
        #44 0x0000003a276496dc in g_main_context_iteration (context=0x1432540, may_block=1) at gmain.c:3774
        #45 0x0000003a2e3b31a6 in QEventDispatcherGlib::processEvents (this=0x1406e80, flags=...) at kernel/qeventdispatcher_glib.cpp:427
        #46 0x0000003a3246bdb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
        #47 0x0000003a2e38312f in QEventLoop::processEvents (this=this@entry=0x7fff6c3b9100, flags=...) at kernel/qeventloop.cpp:149
        #48 0x0000003a2e38347d in QEventLoop::exec (this=this@entry=0x7fff6c3b9100, flags=...) at kernel/qeventloop.cpp:204
        #49 0x0000003a2e3889bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
        #50 0x0000003a323c846c in QApplication::exec () at kernel/qapplication.cpp:3823
        #51 0x00000000004083fe in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-4.11.5/shell/main.cpp:100

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johnlayt John Layt
            buggysoft ted chang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes