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

Crash on printing with kde in fedora 13

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.6.3
    • 4.6.2
    • GUI: Printing
    • None
    • Fedora 13 prerelease with KDE
    • 4d36724867d77f3c8bf31b084ef8beae3a9646b3

    Description

      Any printing to any printer (local, remote, cups-pdf) crashes any KDE application
      e.g. kmail, kate, etc.
      The crash happens after the dialog window shows up and you press the print button.

      Printing from non-kde apps is fine.

      Application: kate (3.4.2)
      KDE Platform Version: 4.4.2 (KDE 4.4.2)
      Qt Version: 4.6.2
      Operating System: Linux 2.6.33.3-79.fc13.i686.PAE i686
      Distribution (Platform): Fedora RPMs

      – Information about the crash:

      – Backtrace:
      Application: Kate (kate), signal: Segmentation fault
      [Current thread is 1 (Thread 0xb78ba780 (LWP 8968))]

      Thread 3 (Thread 0xb4fe8b70 (LWP 8975)):
      #0 0x0065c424 in __kernel_vsyscall ()
      #1 0x006ed23c in pthread_cond_wait@@GLIBC_2.3.2 () at
      ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
      #2 0x05b01e8f in wait (this=0x99dbae8, mutex=0x99dbae4, time=4294967295) at
      thread/qwaitcondition_unix.cpp:87
      #3 QWaitCondition::wait (this=0x99dbae8, mutex=0x99dbae4, time=4294967295) at
      thread/qwaitcondition_unix.cpp:159
      #4 0x0694db62 in QFileInfoGatherer::run (this=0x99dbadc) at
      dialogs/qfileinfogatherer.cpp:203
      #5 0x05b00fef in QThreadPrivate::start (arg=0x99dbadc) at
      thread/qthread_unix.cpp:248
      #6 0x006e9919 in start_thread (arg=0xb4fe8b70) at pthread_create.c:301
      #7 0x001ede5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

      Thread 2 (Thread 0xb43ffb70 (LWP 8976)):
      #0 0x00703df6 in clock_gettime (clock_id=1, tp=0xb43fef38) at
      ../sysdeps/unix/clock_gettime.c:100
      #1 0x05c1c92b in qt_gettime () at kernel/qcore_unix.cpp:111
      #2 0x05c21016 in QTimerInfoList::updateCurrentTime (this=0xb3801834) at
      kernel/qeventdispatcher_unix.cpp:340
      #3 0x05c2105b in QTimerInfoList::timerWait (this=0xb3801834, tm=...) at
      kernel/qeventdispatcher_unix.cpp:443
      #4 0x05c1f8e8 in timerSourcePrepareHelper (src=<value optimized out>,
      timeout=0xb43ff04c) at kernel/qeventdispatcher_glib.cpp:136
      #5 0x05c1f97d in timerSourcePrepare (source=0xb3801800, timeout=<value
      optimized out>) at kernel/qeventdispatcher_glib.cpp:169
      #6 0x0076ca6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
      #7 0x0076ce81 in ?? () from /lib/libglib-2.0.so.0
      #8 0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #9 0x05c1f6df in QEventDispatcherGlib::processEvents (this=0xb3800468,
      flags=...) at kernel/qeventdispatcher_glib.cpp:414
      #10 0x05bf5bfa in QEventLoop::processEvents (this=0xb43ff210, flags=...) at
      kernel/qeventloop.cpp:149
      #11 0x05bf5f3a in QEventLoop::exec (this=0xb43ff210, flags=...) at
      kernel/qeventloop.cpp:201
      #12 0x05afec19 in QThread::exec (this=0x99da140) at thread/qthread.cpp:487
      #13 0x05bd7e9c in QInotifyFileSystemWatcherEngine::run (this=0x99da140) at
      io/qfilesystemwatcher_inotify.cpp:248
      #14 0x05b00fef in QThreadPrivate::start (arg=0x99da140) at
      thread/qthread_unix.cpp:248
      #15 0x006e9919 in start_thread (arg=0xb43ffb70) at pthread_create.c:301
      #16 0x001ede5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

      Thread 1 (Thread 0xb78ba780 (LWP 8968)):
      [KCrash Handler]
      #6 0x068f7b90 in QUnixPrintWidgetPrivate::setCupsProperties (this=0x99d7678)
      at dialogs/qprintdialog_unix.cpp:1001
      #7 0x068fadb2 in QUnixPrintWidgetPrivate::setupPrinter (this=0x99d7678) at
      dialogs/qprintdialog_unix.cpp:1049
      #8 0x068fb2a6 in QPrintDialog::accept (this=0x99d52e0) at
      dialogs/qprintdialog_unix.cpp:645
      #9 0x068f914e in QPrintDialogPrivate::_q_checkFields (this=0x99d7158) at
      dialogs/qprintdialog_unix.cpp:483
      #10 0x068f91d2 in QPrintDialog::qt_metacall (this=0x99d52e0,
      _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe6269c) at
      .moc/release-shared/moc_qprintdialog.cpp:155
      #11 0x05bfbefb in QMetaObject::metacall (object=0x99d52e0,
      cl=QMetaObject::InvokeMetaMethod, idx=39, argv=0xbfe6269c) at
      kernel/qmetaobject.cpp:237
      #12 0x05c0ad1f in QMetaObject::activate (sender=0x99f5380, m=0x6d0cac8,
      local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3293
      #13 0x06826c88 in QDialogButtonBox::accepted (this=0x99f5380) at
      .moc/release-shared/moc_qdialogbuttonbox.cpp:171
      #14 0x06826f38 in QDialogButtonBoxPrivate::_q_handleButtonClicked
      (this=0x99f3cc8) at widgets/qdialogbuttonbox.cpp:1134
      #15 0x06828e26 in QDialogButtonBox::qt_metacall (this=0x99f5380,
      _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe62838) at
      .moc/release-shared/moc_qdialogbuttonbox.cpp:121
      #16 0x05bfbefb in QMetaObject::metacall (object=0x99f5380,
      cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfe62838) at
      kernel/qmetaobject.cpp:237
      #17 0x05c0ad1f in QMetaObject::activate (sender=0x99f4f08, m=0x6d1a384,
      local_signal_index=2, argv=0xbfe62838) at kernel/qobject.cpp:3293
      #18 0x06ae349a in QAbstractButton::clicked (this=0x99f4f08, _t1=false) at
      .moc/release-shared/moc_qabstractbutton.cpp:206
      #19 0x067f60ba in QAbstractButtonPrivate::emitClicked (this=0x99f5470) at
      widgets/qabstractbutton.cpp:546
      #20 0x067f7405 in QAbstractButtonPrivate::click (this=0x99f5470) at
      widgets/qabstractbutton.cpp:539
      #21 0x067f76ce in QAbstractButton::mouseReleaseEvent (this=0x99f4f08,
      e=0xbfe62f80) at widgets/qabstractbutton.cpp:1121
      #22 0x06470bdd in QWidget::event (this=0x99f4f08, event=0xbfe62f80) at
      kernel/qwidget.cpp:7998
      #23 0x067f5f5f in QAbstractButton::event (this=0x99f4f08, e=0xbfe62f80) at
      widgets/qabstractbutton.cpp:1080
      #24 0x06893e53 in QPushButton::event (this=0x99f4f08, e=0xbfe62f80) at
      widgets/qpushbutton.cpp:679
      #25 0x0641dddc in QApplicationPrivate::notify_helper (this=0x91f7610,
      receiver=0x99f4f08, e=0xbfe62f80) at kernel/qapplication.cpp:4300
      #26 0x064253de in QApplication::notify (this=0xbfe651a4, receiver=0x99f4f08,
      e=0xbfe62f80) at kernel/qapplication.cpp:3865
      #27 0x06ef3c4b in KApplication::notify (this=0xbfe651a4, receiver=0x99f4f08,
      event=0xbfe62f80) at
      /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
      #28 0x05bf7523 in QCoreApplication::notifyInternal (this=0xbfe651a4,
      receiver=0x99f4f08, event=0xbfe62f80) at kernel/qcoreapplication.cpp:704
      #29 0x06424148 in sendEvent (receiver=0x99f4f08, event=0xbfe62f80,
      alienWidget=0x99f4f08, nativeWidget=0x99d52e0, buttonDown=0x6d22b18,
      lastMouseReceiver=..., spontaneous=true)
      at ../../src/corelib/kernel/qcoreapplication.h:215
      #30 QApplicationPrivate::sendMouseEvent (receiver=0x99f4f08, event=0xbfe62f80,
      alienWidget=0x99f4f08, nativeWidget=0x99d52e0, buttonDown=0x6d22b18,
      lastMouseReceiver=..., spontaneous=true)
      at kernel/qapplication.cpp:2965
      #31 0x064a1500 in QETWidget::translateMouseEvent (this=0x99d52e0,
      event=0xbfe6349c) at kernel/qapplication_x11.cpp:4373
      #32 0x064a0953 in QApplication::x11ProcessEvent (this=0xbfe651a4,
      event=0xbfe6349c) at kernel/qapplication_x11.cpp:3384
      #33 0x064cc95a in x11EventSourceDispatch (s=0x91f7c80, callback=0,
      user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
      #34 0x00769525 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #35 0x0076d268 in ?? () from /lib/libglib-2.0.so.0
      #36 0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #37 0x05c1f6a6 in QEventDispatcherGlib::processEvents (this=0x91dd530,
      flags=...) at kernel/qeventdispatcher_glib.cpp:412
      #38 0x064cc546 in QGuiEventDispatcherGlib::processEvents (this=0x91dd530,
      flags=...) at kernel/qguieventdispatcher_glib.cpp:204
      #39 0x05bf5bfa in QEventLoop::processEvents (this=0xbfe63790, flags=...) at
      kernel/qeventloop.cpp:149
      #40 0x05bf5f3a in QEventLoop::exec (this=0xbfe63790, flags=...) at
      kernel/qeventloop.cpp:201
      #41 0x06911a24 in QDialog::exec (this=0x99d52e0) at dialogs/qdialog.cpp:546
      #42 0x068f617e in QPrintDialog::exec (this=0x99d52e0) at
      dialogs/qprintdialog_unix.cpp:639
      #43 0x0121dfa9 in KatePrinter::print (doc=0x93b9f50) at
      /usr/src/debug/kdelibs-4.4.2/kate/utils/kateprinter.cpp:86
      #44 0x011061c2 in print (this=0x93b9f50, _c=QMetaObject::InvokeMetaMethod,
      _id=54, _a=0xbfe63ff8) at
      /usr/src/debug/kdelibs-4.4.2/kate/document/katedocument.cpp:1999
      #45 KateDocument::qt_metacall (this=0x93b9f50,
      _c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfe63ff8) at
      /usr/src/debug/kdelibs-4.4.2/i686-redhat-linux-gnu/kate/katedocument.moc:363
      #46 0x05bfbefb in QMetaObject::metacall (object=0x93b9f50,
      cl=QMetaObject::InvokeMetaMethod, idx=86, argv=0xbfe63ff8) at
      kernel/qmetaobject.cpp:237
      #47 0x05c0ad1f in QMetaObject::activate (sender=0x968acd8, m=0x6d078b8,
      local_signal_index=1, argv=0xbfe63ff8) at kernel/qobject.cpp:3293
      #48 0x064184ca in QAction::triggered (this=0x968acd8, _t1=false) at
      .moc/release-shared/moc_qaction.cpp:263
      #49 0x06419e5c in QAction::activate (this=0x968acd8, event=QAction::Trigger) at
      kernel/qaction.cpp:1255
      #50 0x0687fe3d in QMenuPrivate::activateCausedStack (this=0x95e7c90,
      causedStack=..., action=0x968acd8, action_e=QAction::Trigger, self=true) at
      widgets/qmenu.cpp:1011
      #51 0x06885f4b in QMenuPrivate::activateAction (this=0x95e7c90,
      action=0x968acd8, action_e=QAction::Trigger, self=true) at
      widgets/qmenu.cpp:1103
      #52 0x0688944f in QMenu::mouseReleaseEvent (this=0x95cd490, e=0xbfe648a0) at
      widgets/qmenu.cpp:2312
      #53 0x06fd6ed6 in KMenu::mouseReleaseEvent (this=0x95cd490, e=0xbfe648a0) at
      /usr/src/debug/kdelibs-4.4.2/kdeui/widgets/kmenu.cpp:471
      #54 0x06470bdd in QWidget::event (this=0x95cd490, event=0xbfe648a0) at
      kernel/qwidget.cpp:7998
      #55 0x068877ec in QMenu::event (this=0x95cd490, e=0xbfe648a0) at
      widgets/qmenu.cpp:2414
      #56 0x0641dddc in QApplicationPrivate::notify_helper (this=0x91f7610,
      receiver=0x95cd490, e=0xbfe648a0) at kernel/qapplication.cpp:4300
      #57 0x064253de in QApplication::notify (this=0xbfe651a4, receiver=0x95cd490,
      e=0xbfe648a0) at kernel/qapplication.cpp:3865
      #58 0x06ef3c4b in KApplication::notify (this=0xbfe651a4, receiver=0x95cd490,
      event=0xbfe648a0) at
      /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
      #59 0x05bf7523 in QCoreApplication::notifyInternal (this=0xbfe651a4,
      receiver=0x95cd490, event=0xbfe648a0) at kernel/qcoreapplication.cpp:704
      #60 0x06424148 in sendEvent (receiver=0x95cd490, event=0xbfe648a0,
      alienWidget=0x0, nativeWidget=0x95cd490, buttonDown=0x6d22b18,
      lastMouseReceiver=..., spontaneous=true)
      at ../../src/corelib/kernel/qcoreapplication.h:215
      #61 QApplicationPrivate::sendMouseEvent (receiver=0x95cd490, event=0xbfe648a0,
      alienWidget=0x0, nativeWidget=0x95cd490, buttonDown=0x6d22b18,
      lastMouseReceiver=..., spontaneous=true)
      at kernel/qapplication.cpp:2965
      #62 0x064a1a4a in QETWidget::translateMouseEvent (this=0x95cd490,
      event=0xbfe64dbc) at kernel/qapplication_x11.cpp:4307
      #63 0x064a0953 in QApplication::x11ProcessEvent (this=0xbfe651a4,
      event=0xbfe64dbc) at kernel/qapplication_x11.cpp:3384
      #64 0x064cc95a in x11EventSourceDispatch (s=0x91f7c80, callback=0,
      user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
      #65 0x00769525 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #66 0x0076d268 in ?? () from /lib/libglib-2.0.so.0
      #67 0x0076d449 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #68 0x05c1f6a6 in QEventDispatcherGlib::processEvents (this=0x91dd530,
      flags=...) at kernel/qeventdispatcher_glib.cpp:412
      #69 0x064cc546 in QGuiEventDispatcherGlib::processEvents (this=0x91dd530,
      flags=...) at kernel/qguieventdispatcher_glib.cpp:204
      #70 0x05bf5bfa in QEventLoop::processEvents (this=0xbfe650b4, flags=...) at
      kernel/qeventloop.cpp:149
      #71 0x05bf5f3a in QEventLoop::exec (this=0xbfe650b4, flags=...) at
      kernel/qeventloop.cpp:201
      #72 0x05bf8607 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
      #73 0x0641de88 in QApplication::exec () at kernel/qapplication.cpp:3579
      #74 0x00ded88d in kdemain () from /usr/lib/libkdeinit4_kate.so
      #75 0x0804869c in _start ()

      Reported using DrKonqi

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

      Attachments

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

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            vrossum Mark van rossum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes