Bug 235647 - Okular crash when printing
Summary: Okular crash when printing
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 240699 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-28 18:41 UTC by mariamarkt
Modified: 2012-07-11 09:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.79 KB, text/plain)
2012-07-11 09:40 UTC, Carlos Quiros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariamarkt 2010-04-28 18:41:54 UTC
Application: okular (0.10.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.11-99.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
when trying to print any document okular crash, my hp1005 printer is a network connected by cups. I tried to restart my fedora system with the same result.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fa49b81d840 (LWP 2984))]

Thread 3 (Thread 0x7fa49151b710 (LWP 2997)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000307be7189b in wait (this=<value optimized out>, mutex=0x1fb40b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1fb40b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000307dc61856 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x000000307be709a5 in QThreadPrivate::start (arg=0x1fb40a8) at thread/qthread_unix.cpp:248
#5  0x0000003b2b206a3a in start_thread (arg=0x7fa49151b710) at pthread_create.c:297
#6  0x0000003b2aade65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa489281710 (LWP 2998)):
#0  0x0000003b2aad51c3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b2ce3ca0c in g_main_context_poll (context=0x7fa4840009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7fa4840009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x0000003b2ce3cd4a in IA__g_main_context_iteration (context=0x7fa4840009b0, may_block=1) at gmain.c:2654
#4  0x000000307bf7d0b6 in QEventDispatcherGlib::processEvents (this=0x7fa4840008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x000000307bf56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000307bf5645c in QEventLoop::exec (this=0x7fa489280d00, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000307be6e8d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x000000307bf390b8 in QInotifyFileSystemWatcherEngine::run (this=0x1fb58e0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000307be709a5 in QThreadPrivate::start (arg=0x1fb58e0) at thread/qthread_unix.cpp:248
#10 0x0000003b2b206a3a in start_thread (arg=0x7fa489281710) at pthread_create.c:297
#11 0x0000003b2aade65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa49b81d840 (LWP 2984)):
[KCrash Handler]
#5  QUnixPrintWidgetPrivate::setCupsProperties (this=0x1faee80) at dialogs/qprintdialog_unix.cpp:975
#6  0x000000307dc16a5a in QUnixPrintWidgetPrivate::setupPrinter (this=0x1faee80) at dialogs/qprintdialog_unix.cpp:1023
#7  0x000000307dc16edd in QPrintDialog::accept (this=0x1fac910) at dialogs/qprintdialog_unix.cpp:619
#8  0x000000307dc16812 in QPrintDialog::qt_metacall (this=0x1fac910, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff720850f0) at .moc/release-shared/moc_qprintdialog.cpp:155
#9  0x000000307bf6a2af in QMetaObject::activate (sender=0x1fdc5c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#10 0x000000307db5aba9 in QDialogButtonBox::qt_metacall (this=0x1fdc5c0, _c=InvokeMetaMethod, _id=4, _a=0x7fff72085280) at .moc/release-shared/moc_qdialogbuttonbox.cpp:121
#11 0x000000307bf6a2af in QMetaObject::activate (sender=0x1fdc1c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff72085280) at kernel/qobject.cpp:3293
#12 0x000000307ddddeb2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#13 0x000000307db2e8ab in QAbstractButtonPrivate::emitClicked (this=0x1fdbe90) at widgets/qabstractbutton.cpp:546
#14 0x000000307db2fb1b in QAbstractButtonPrivate::click (this=0x1fdbe90) at widgets/qabstractbutton.cpp:539
#15 0x000000307db2fd8c in QAbstractButton::mouseReleaseEvent (this=0x1fdc1c0, e=0x7fff72085bd0) at widgets/qabstractbutton.cpp:1121
#16 0x000000307d7f5b3a in QWidget::event (this=0x1fdc1c0, event=0x7fff72085bd0) at kernel/qwidget.cpp:7998
#17 0x000000307d7aa9dc in QApplicationPrivate::notify_helper (this=0x18a25c0, receiver=0x1fdc1c0, e=0x7fff72085bd0) at kernel/qapplication.cpp:4300
#18 0x000000307d7b127d in QApplication::notify (this=<value optimized out>, receiver=0x1fdc1c0, e=0x7fff72085bd0) at kernel/qapplication.cpp:3865
#19 0x000000307e606856 in KApplication::notify (this=0x7fff720883a0, receiver=0x1fdc1c0, event=0x7fff72085bd0) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#20 0x000000307bf5774c in QCoreApplication::notifyInternal (this=0x7fff720883a0, receiver=0x1fdc1c0, event=0x7fff72085bd0) at kernel/qcoreapplication.cpp:704
#21 0x000000307d7b046e in sendEvent (receiver=0x1fdc1c0, event=0x7fff72085bd0, alienWidget=0x1fdc1c0, nativeWidget=0x1fac910, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (receiver=0x1fdc1c0, event=0x7fff72085bd0, alienWidget=0x1fdc1c0, nativeWidget=0x1fac910, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#23 0x000000307d822405 in QETWidget::translateMouseEvent (this=0x1fac910, event=<value optimized out>) at kernel/qapplication_x11.cpp:4373
#24 0x000000307d821128 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff720864f0) at kernel/qapplication_x11.cpp:3506
#25 0x000000307d849d82 in x11EventSourceDispatch (s=0x18a6330, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x0000003b2ce3923e in g_main_dispatch (context=0x18a5120) at gmain.c:1960
#27 IA__g_main_context_dispatch (context=0x18a5120) at gmain.c:2513
#28 0x0000003b2ce3cc28 in g_main_context_iterate (context=0x18a5120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#29 0x0000003b2ce3cd4a in IA__g_main_context_iteration (context=0x18a5120, may_block=1) at gmain.c:2654
#30 0x000000307bf7d063 in QEventDispatcherGlib::processEvents (this=0x188ac70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x000000307d849a4e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x000000307bf56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x000000307bf5645c in QEventLoop::exec (this=0x7fff72086820, flags=...) at kernel/qeventloop.cpp:201
#34 0x000000307dc2a62e in QDialog::exec (this=0x1fac910) at dialogs/qdialog.cpp:546
#35 0x00007fa49380a4e3 in Okular::Part::slotPrint (this=0x19a6140) at /usr/src/debug/kdegraphics-4.4.2/okular/part.cpp:1951
#36 0x00007fa4938141bf in Okular::Part::qt_metacall (this=0x19a6140, _c=InvokeMetaMethod, _id=52, _a=0x7fff72086a50) at /usr/src/debug/kdegraphics-4.4.2/x86_64-redhat-linux-gnu/okular/part.moc:234
#37 0x000000307bf6a2af in QMetaObject::activate (sender=0x1c6b0a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff72086a50) at kernel/qobject.cpp:3293
#38 0x000000307d7a5b52 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#39 0x000000307d7a728b in QAction::activate (this=0x1c6b0a0, event=<value optimized out>) at kernel/qaction.cpp:1255
#40 0x000000307dba9c15 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1c6b0a0, action_e=Trigger, self=true) at widgets/qmenu.cpp:1011
#41 0x000000307dbaf3ca in QMenuPrivate::activateAction (this=0x1ca8840, action=0x1c6b0a0, action_e=Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#42 0x000000307e6cfd8e in KMenu::mouseReleaseEvent (this=0x1ca7d50, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kdeui/widgets/kmenu.cpp:471
#43 0x000000307d7f5b3a in QWidget::event (this=0x1ca7d50, event=0x7fff720876a0) at kernel/qwidget.cpp:7998
#44 0x000000307dbb097b in QMenu::event (this=0x1ca7d50, e=0x7fff720876a0) at widgets/qmenu.cpp:2414
#45 0x000000307d7aa9dc in QApplicationPrivate::notify_helper (this=0x18a25c0, receiver=0x1ca7d50, e=0x7fff720876a0) at kernel/qapplication.cpp:4300
#46 0x000000307d7b127d in QApplication::notify (this=<value optimized out>, receiver=0x1ca7d50, e=0x7fff720876a0) at kernel/qapplication.cpp:3865
#47 0x000000307e606856 in KApplication::notify (this=0x7fff720883a0, receiver=0x1ca7d50, event=0x7fff720876a0) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#48 0x000000307bf5774c in QCoreApplication::notifyInternal (this=0x7fff720883a0, receiver=0x1ca7d50, event=0x7fff720876a0) at kernel/qcoreapplication.cpp:704
#49 0x000000307d7b046e in sendEvent (receiver=0x1ca7d50, event=0x7fff720876a0, alienWidget=0x0, nativeWidget=0x1ca7d50, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#50 QApplicationPrivate::sendMouseEvent (receiver=0x1ca7d50, event=0x7fff720876a0, alienWidget=0x0, nativeWidget=0x1ca7d50, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#51 0x000000307d822845 in QETWidget::translateMouseEvent (this=0x1ca7d50, event=<value optimized out>) at kernel/qapplication_x11.cpp:4307
#52 0x000000307d821128 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff72087fc0) at kernel/qapplication_x11.cpp:3506
#53 0x000000307d849d82 in x11EventSourceDispatch (s=0x18a6330, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x0000003b2ce3923e in g_main_dispatch (context=0x18a5120) at gmain.c:1960
#55 IA__g_main_context_dispatch (context=0x18a5120) at gmain.c:2513
#56 0x0000003b2ce3cc28 in g_main_context_iterate (context=0x18a5120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#57 0x0000003b2ce3cd4a in IA__g_main_context_iteration (context=0x18a5120, may_block=1) at gmain.c:2654
#58 0x000000307bf7d063 in QEventDispatcherGlib::processEvents (this=0x188ac70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#59 0x000000307d849a4e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x000000307bf56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x000000307bf5645c in QEventLoop::exec (this=0x7fff720882f0, flags=...) at kernel/qeventloop.cpp:201
#62 0x000000307bf58749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#63 0x0000000000408039 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdegraphics-4.4.2/okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-04-28 20:05:49 UTC
Not our fault, as you can see it is crashing in QUnixPrintWidgetPrivate::setCupsProperties, that is Qt, you should report a Qt bug at the Qt bug tracker, http://bugreports.qt.nokia.com/
Comment 2 Nicolas L. 2010-06-04 11:12:34 UTC
*** Bug 240699 has been marked as a duplicate of this bug. ***
Comment 3 Carlos Quiros 2012-07-11 09:40:08 UTC
Created attachment 72448 [details]
New crash information added by DrKonqi

okular (0.12.5) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.0

- What I was doing when the application crashed:

The printer dialog crash when I enter into the printer settings and then try to print. It does not happen if I dont enter to the printer settings.  I am using QT 4.7.0 thus it might not be related to a previous report.

- Custom settings of the application:

-- Backtrace (Reduced):
#11 0x00007fd8612f02bd in QPrintDialog::accept() () from /usr/lib64/qt/lib/libQtGui.so.4
#12 0x00007fd8612ef0a2 in QPrintDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt/lib/libQtGui.so.4
[...]
#14 0x00007fd861233139 in QDialogButtonBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt/lib/libQtGui.so.4
[...]
#16 0x00007fd8614be5e2 in QAbstractButton::clicked(bool) () from /usr/lib64/qt/lib/libQtGui.so.4
[...]
#19 0x00007fd8612077bc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4