Bug 242472 - okular crashed when trying to open the print dialog
Summary: okular crashed when trying to open the print dialog
Status: RESOLVED DUPLICATE of bug 233890
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: print-dialog (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 13:10 UTC by Christian Trippe
Modified: 2010-06-22 13:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Trippe 2010-06-22 13:10:07 UTC
Application: okular (0.10.80)
KDE Platform Version: 4.4.86 (KDE 4.4.86 (KDE 4.5 >= 20100616)) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-9-default i686
Distribution: "openSUSE 11.3 RC 1 (i586)"

-- Information about the crash:
I tried to open the print dialog of okular. Then okular crashed. It is possible that the server on which I want to print via cups (using cups via BrowsePoll) was not ready/still booting at that moment. So it is possible that no printer was available at that time. This is the same as in the suggested duplicate bug 233890.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb51dd710 (LWP 29764))]

Thread 4 (Thread 0xaed0eb70 (LWP 2253)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5efa0b1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb623e538 in QProcessManager::run (this=0xb637c888) at io/qprocess_unix.cpp:245
#3  0xb616504f in QThreadPrivate::start (arg=0xb637c888) at thread/qthread_unix.cpp:248
#4  0xb5994b25 in start_thread (arg=0xaed0eb70) at pthread_create.c:297
#5  0xb5f0146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb0116b70 (LWP 2512)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5999125 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb5f0f24c in __pthread_cond_wait (cond=0x8a59230, mutex=0x8a59218) at forward.c:139
#3  0xb6165710 in wait (this=0x8ca2820, mutex=0x8ca281c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8ca2820, mutex=0x8ca281c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb6cd1753 in QFileInfoGatherer::run (this=0x8ca2814) at dialogs/qfileinfogatherer.cpp:203
#6  0xb616504f in QThreadPrivate::start (arg=0x8ca2814) at thread/qthread_unix.cpp:248
#7  0xb5994b25 in start_thread (arg=0xb0116b70) at pthread_create.c:297
#8  0xb5f0146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf50fb70 (LWP 2514)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5ef675e in __poll (fds=0x8234118, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb57f21db in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb57e2286 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb57e260e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb628ad4b in QEventDispatcherGlib::processEvents (this=0x8acc688, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#6  0xb625e11d in QEventLoop::processEvents (this=0xaf50f2c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb625e319 in QEventLoop::exec (this=0xaf50f2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6162403 in QThread::exec (this=0x8ca2990) at thread/qthread.cpp:487
#9  0xb623eafd in QInotifyFileSystemWatcherEngine::run (this=0x8ca2990) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb616504f in QThreadPrivate::start (arg=0x8ca2990) at thread/qthread_unix.cpp:248
#11 0xb5994b25 in start_thread (arg=0xaf50fb70) at pthread_create.c:297
#12 0xb5f0146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb51dd710 (LWP 29764)):
[KCrash Handler]
#7  0xb699ed34 in QCUPSSupport::printerOption (this=0x893a6b0, key=...) at painting/qcups.cpp:251
#8  0xb6c7a778 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x8778af8, index=-1074064296) at dialogs/qprintdialog_unix.cpp:799
#9  0xb6c7b55b in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x8778af8, p=0x0) at dialogs/qprintdialog_unix.cpp:706
#10 0xb6c7b8bb in QUnixPrintWidget::QUnixPrintWidget (this=0x88e9038, printer=0x0, parent=0x88e9058) at dialogs/qprintdialog_unix.cpp:1031
#11 0xb6c7b94e in QPrintDialogPrivate::init (this=0x87788c0) at dialogs/qprintdialog_unix.cpp:388
#12 0xb6c7c1cc in QPrintDialog::QPrintDialog (this=0x88e9058, printer=0xbffb16f0, parent=0x8178968) at dialogs/qprintdialog_unix.cpp:584
#13 0xb71deb6c in KdePrint::createPrintDialog (printer=0xbffb16f0, pageSelectPolicy=KdePrint::ApplicationSelectsPages, customTabs=..., parent=0x8178968)
    at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/dialogs/kdeprintdialog.cpp:44
#14 0xb71dee73 in KdePrint::createPrintDialog (printer=0xbffb16f0, customTabs=..., parent=0x8178968) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/dialogs/kdeprintdialog.cpp:81
#15 0xb29f2705 in ?? () from /usr/lib/kde4/okularpart.so
#16 0xb29f2d25 in ?? () from /usr/lib/kde4/okularpart.so
#17 0xb6264efd in QMetaObject::metacall (object=0x8172c70, cl=QMetaObject::InvokeMetaMethod, idx=66, argv=0xbffb1848) at kernel/qmetaobject.cpp:237
#18 0xb6273fe8 in QMetaObject::activate (sender=0x8377ad0, m=0xb709ad28, local_signal_index=1, argv=0xbffb1848) at kernel/qobject.cpp:3295
#19 0xb6764a0d in QAction::triggered (this=0x8377ad0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0xb6764cab in QAction::activate (this=0x8377ad0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#21 0xb6bfefb5 in QMenuPrivate::activateCausedStack (this=0x84967f8, causedStack=..., action=0x8377ad0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#22 0xb6c05c87 in QMenuPrivate::activateAction (this=0x84967f8, action=0x8377ad0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#23 0xb6c07058 in QMenu::mouseReleaseEvent (this=0x8315250, e=0xbffb20b4) at widgets/qmenu.cpp:2312
#24 0xb736c80c in KMenu::mouseReleaseEvent (this=0x8315250, e=0xbffb20b4) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/widgets/kmenu.cpp:471
#25 0xb67c4f00 in QWidget::event (this=0x8315250, event=0xbffb20b4) at kernel/qwidget.cpp:8044
#26 0xb6c070dc in QMenu::event (this=0x8315250, e=0xbffb20b4) at widgets/qmenu.cpp:2421
#27 0xb676bc64 in QApplicationPrivate::notify_helper (this=0x8072020, receiver=0x8315250, e=0xbffb20b4) at kernel/qapplication.cpp:4302
#28 0xb6774750 in QApplication::notify (this=0xbffb1dcc, receiver=0x8315250, e=0xbffb20b4) at kernel/qapplication.cpp:3867
#29 0xb7283611 in KApplication::notify (this=0xbffb2980, receiver=0x8315250, event=0xbffb20b4) at /usr/src/debug/kdelibs-4.4.86svn1138650/kdeui/kernel/kapplication.cpp:302
#30 0xb625ee0e in QCoreApplication::notifyInternal (this=0xbffb2980, receiver=0x8315250, event=0xbffb20b4) at kernel/qcoreapplication.cpp:726
#31 0xb676cc4c in sendSpontaneousEvent (receiver=0x8315250, event=0xbffb20b4, alienWidget=0x0, nativeWidget=0x8315250, buttonDown=0xb70b6078, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#32 QApplicationPrivate::sendMouseEvent (receiver=0x8315250, event=0xbffb20b4, alienWidget=0x0, nativeWidget=0x8315250, buttonDown=0xb70b6078, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#33 0xb67f4766 in QETWidget::translateMouseEvent (this=0x8315250, event=0xbffb25cc) at kernel/qapplication_x11.cpp:4314
#34 0xb67f373e in QApplication::x11ProcessEvent (this=0xbffb2980, event=0xbffb25cc) at kernel/qapplication_x11.cpp:3391
#35 0xb681c570 in x11EventSourceDispatch (s=0x8075340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb57e1b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb57e2350 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb57e260e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb628ad4b in QEventDispatcherGlib::processEvents (this=0x8071fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#40 0xb681c19a in QGuiEventDispatcherGlib::processEvents (this=0x8071fe0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb625e11d in QEventLoop::processEvents (this=0xbffb2884, flags=...) at kernel/qeventloop.cpp:149
#42 0xb625e319 in QEventLoop::exec (this=0xbffb2884, flags=...) at kernel/qeventloop.cpp:201
#43 0xb6262c70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#44 0xb6769164 in QApplication::exec () at kernel/qapplication.cpp:3581
#45 0x0804ef28 in _start ()

This bug may be a duplicate of or related to bug 233890.

Possible duplicates by query: bug 233890.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-22 13:24:27 UTC

*** This bug has been marked as a duplicate of bug 233890 ***