Bug 272594 - Okular crashed when opening print dialog while another printing is not finished
Summary: Okular crashed when opening print dialog while another printing is not finished
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 06:11 UTC by tohyf
Modified: 2014-06-02 19:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tohyf 2011-05-06 06:11:21 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-31-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
While a document was being printed by okular, and I clicked the print dialog once again, okular crashed...

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

Thread 4 (Thread 0xb23d5b70 (LWP 3544)):
#0  0x00502422 in __kernel_vsyscall ()
#1  0x00d95971 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x0107b61c in QProcessManager::run (this=0x11b4890) at io/qprocess_unix.cpp:245
#3  0x00f9d32e in QThreadPrivate::start (arg=0x11b4890) at thread/qthread_unix.cpp:248
#4  0x00a0e96e in start_thread (arg=0xb23d5b70) at pthread_create.c:300
#5  0x00d9ca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb2bd6b70 (LWP 3848)):
#0  0x00502422 in __kernel_vsyscall ()
#1  0x00a13015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00da99dd in __pthread_cond_wait (cond=0x8dcd8d0, mutex=0x8dcd8b8) at forward.c:139
#3  0x00f9e287 in QWaitConditionPrivate::wait (this=0x8e14fb0, mutex=0x8e14fac, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8e14fb0, mutex=0x8e14fac, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x05e2bd52 in QFileInfoGatherer::run (this=0x8e14fa4) at dialogs/qfileinfogatherer.cpp:203
#6  0x00f9d32e in QThreadPrivate::start (arg=0x8e14fa4) at thread/qthread_unix.cpp:248
#7  0x00a0e96e in start_thread (arg=0xb2bd6b70) at pthread_create.c:300
#8  0x00d9ca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4b2cb70 (LWP 3849)):
#0  0x00502422 in __kernel_vsyscall ()
#1  0x00d8eb86 in *__GI___poll (fds=0xe24ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x07f7f4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x07f720ac in ?? () from /lib/libglib-2.0.so.0
#4  0x07f724b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x010cb60f in QEventDispatcherGlib::processEvents (this=0x8e64f40, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x0109e059 in QEventLoop::processEvents (this=0xb4b2c290, flags=) at kernel/qeventloop.cpp:149
#7  0x0109e4aa in QEventLoop::exec (this=0xb4b2c290, flags=...) at kernel/qeventloop.cpp:201
#8  0x00f9a5a8 in QThread::exec (this=0x8ccdb08) at thread/qthread.cpp:487
#9  0x0107dc1b in QInotifyFileSystemWatcherEngine::run (this=0x8ccdb08) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00f9d32e in QThreadPrivate::start (arg=0x8ccdb08) at thread/qthread_unix.cpp:248
#11 0x00a0e96e in start_thread (arg=0xb4b2cb70) at pthread_create.c:300
#12 0x00d9ca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7711930 (LWP 3496)):
[KCrash Handler]
#6  0x05aee513 in QCUPSSupport::printerOption (this=0x8825508, key=...) at painting/qcups.cpp:251
#7  0x05dcf565 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x8a53908, index=0) at dialogs/qprintdialog_unix.cpp:796
#8  0x05dd01c5 in QUnixPrintWidgetPrivate (this=0x8a53908, p=0x87a07d8) at dialogs/qprintdialog_unix.cpp:703
#9  0x05dd0507 in QUnixPrintWidget (this=0x87a07d8, printer=0x0, parent=0x8b87330) at dialogs/qprintdialog_unix.cpp:995
#10 0x05dd058d in QPrintDialogPrivate::init (this=0x8d76950) at dialogs/qprintdialog_unix.cpp:385
#11 0x05dd0c5b in QPrintDialog (this=0x8b87330, printer=0xbfec0830, parent=0x8586240) at dialogs/qprintdialog_unix.cpp:581
#12 0x0024e4a8 in KdePrint::createPrintDialog (printer=0xbfec0830, pageSelectPolicy=KdePrint::ApplicationSelectsPages, customTabs=..., parent=0x8586240) at ../../kdeui/dialogs/kdeprintdialog.cpp:44
#13 0x0024e983 in KdePrint::createPrintDialog (printer=0xbfec0830, customTabs=..., parent=0x8586240) at ../../kdeui/dialogs/kdeprintdialog.cpp:81
#14 0x0127c01c in ?? () from /usr/lib/kde4/okularpart.so
#15 0x01287dc0 in ?? () from /usr/lib/kde4/okularpart.so
#16 0x010a4c9a in QMetaObject::metacall (object=0x857f650, cl=100776271, idx=139982416, argv=0xbfec0848) at kernel/qmetaobject.cpp:237
#17 0x010b33d5 in QMetaObject::activate (sender=0x870fdc0, m=0x61d4d58, local_signal_index=1, argv=0xbfec0998) at kernel/qobject.cpp:3293
#18 0x058a5bd9 in QAction::triggered (this=0x870fdc0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#19 0x058a7dcc in QAction::activate (this=0x870fdc0, event=QAction::Trigger) at kernel/qaction.cpp:1255
#20 0x05d4b60c in QMenuPrivate::activateCausedStack (this=0x87a75b0, causedStack=..., action=0x870fdc0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#21 0x05d51abb in QMenuPrivate::activateAction (this=0x87a75b0, action=0x870fdc0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#22 0x05d52ac7 in QMenu::mouseReleaseEvent (this=0x8579330, e=0xbfec1230) at widgets/qmenu.cpp:2312
#23 0x003e6745 in KMenu::mouseReleaseEvent (this=0x8579330, e=0xbfec1230) at ../../kdeui/widgets/kmenu.cpp:471
#24 0x0590a7f8 in QWidget::event (this=0x8579330, event=0xbfec1230) at kernel/qwidget.cpp:7998
#25 0x05d540cc in QMenu::event (this=0x8579330, e=0xbfec1230) at widgets/qmenu.cpp:2414
#26 0x058ac4dc in QApplicationPrivate::notify_helper (this=0x84cf3b0, receiver=0x8579330, e=0xbfec1230) at kernel/qapplication.cpp:4300
#27 0x058b39f7 in QApplication::notify (this=0xbfec1b40, receiver=0x8579330, e=0xbfec1230) at kernel/qapplication.cpp:3865
#28 0x002f040a in KApplication::notify (this=0xbfec1b40, receiver=0x8579330, event=0xbfec1230) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0109fa3b in QCoreApplication::notifyInternal (this=0xbfec1b40, receiver=0x8579330, event=0xbfec1230) at kernel/qcoreapplication.cpp:704
#30 0x058b2952 in QCoreApplication::sendEvent (receiver=0x8579330, event=0xbfec1230, alienWidget=0x0, nativeWidget=0x8579330, buttonDown=0x61f0058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x8579330, event=0xbfec1230, alienWidget=0x0, nativeWidget=0x8579330, buttonDown=0x61f0058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#32 0x0593e5cf in QETWidget::translateMouseEvent (this=0x8579330, event=0xbfec174c) at kernel/qapplication_x11.cpp:4302
#33 0x0593d511 in QApplication::x11ProcessEvent (this=0xbfec1b40, event=0xbfec174c) at kernel/qapplication_x11.cpp:3379
#34 0x0596c60a in x11EventSourceDispatch (s=0x84d25e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x07f6e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x07f722d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x07f724b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x010cb5d5 in QEventDispatcherGlib::processEvents (this=0x84bab60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x0596c135 in QGuiEventDispatcherGlib::processEvents (this=0x84bab60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x0109e059 in QEventLoop::processEvents (this=0xbfec1a44, flags=) at kernel/qeventloop.cpp:149
#41 0x0109e4aa in QEventLoop::exec (this=0xbfec1a44, flags=...) at kernel/qeventloop.cpp:201
#42 0x010a269f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x058ac577 in QApplication::exec () at kernel/qapplication.cpp:3579
#44 0x0804ef09 in _start ()

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

Possible duplicates by query: bug 242472.

Reported using DrKonqi
Comment 1 Fabio D'Urso 2014-05-08 13:45:45 UTC
It looks like the crash is not happening in okular's code, so I'm marking it as INVALID.
By the way, can you still reproduce it on a newer installation?
Thanks for caring about Okular :)