Bug 257154 - Okular 0.11.2 (Maverick, KDE 4.5.3) crashed in printing dialog
Summary: Okular 0.11.2 (Maverick, KDE 4.5.3) crashed in printing dialog
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 15:23 UTC by Thomas Dreibholz
Modified: 2012-05-30 15:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.16 KB, text/plain)
2012-05-30 15:23 UTC, marsu1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2010-11-17 15:23:17 UTC
Application: okular (0.11.2)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.36dreibholz x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Okular (Maverick) has crashed in the printing dialog when trying to configure printer settings.

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

Thread 4 (Thread 0x7f53b4152710 (LWP 10521)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f53b4151a90 in ?? ()
#2  0x00007fff025ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f53b1068710 (LWP 10525)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53c9c9ce3b in wait (this=<value optimized out>, mutex=0x3703198, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3703198, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f53cac7910e in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f53c9c9c27e in QThreadPrivate::start (arg=0x3703188) at thread/qthread_unix.cpp:266
#5  0x00007f53c83ae971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f53c940991d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f53b2d7a710 (LWP 10526)):
#0  g_main_context_check (context=0x32ee4e0, max_priority=2147483647, fds=<value optimized out>, n_fds=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2653
#1  0x00007f53c52e4023 in g_main_context_iterate (context=0x32ee4e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2777
#2  0x00007f53c52e445c in g_main_context_iteration (context=0x32ee4e0, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#3  0x00007f53c9dbc1e6 in QEventDispatcherGlib::processEvents (this=0x35ffb80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f53c9d8ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f53c9d8edec in QEventLoop::exec (this=0x7f53b2d79db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f53c9c992fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f53c9d6e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x3703e50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f53c9c9c27e in QThreadPrivate::start (arg=0x3703e50) at thread/qthread_unix.cpp:266
#9  0x00007f53c83ae971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f53c940991d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f53cc1a6760 (LWP 10515)):
[KCrash Handler]
#6  QModelIndex (this=0x330cba0, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:386
#7  createIndex (this=0x330cba0, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:320
#8  QPPDOptionsModel::parent (this=0x330cba0, index=<value optimized out>) at dialogs/qprintdialog_unix.cpp:1148
#9  0x00007f53cacf475f in parent (indexes=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 mergeIndexes (indexes=<value optimized out>) at itemviews/qitemselectionmodel.cpp:819
#11 0x00007f53cacf5277 in QItemSelectionModelPrivate::_q_layoutChanged (this=0x36ee4a0) at itemviews/qitemselectionmodel.cpp:892
#12 0x00007f53cacf6906 in QItemSelectionModel::qt_metacall (this=0x330cac0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff025a6fd0) at .moc/release-shared/moc_qitemselectionmodel.cpp:140
#13 0x00007f53c9da7b27 in QMetaObject::activate (sender=0x330cba0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x330cba0) at kernel/qobject.cpp:3280
#14 0x00007f53cac1e958 in QPrintPropertiesDialog::selectPrinter (this=0x36cdc90) at dialogs/qprintdialog_unix.cpp:320
#15 0x00007f53cac1f4c9 in QUnixPrintWidgetPrivate::_q_btnPropertiesClicked (this=0x32ed220) at dialogs/qprintdialog_unix.cpp:968
#16 0x00007f53cac2294d in QUnixPrintWidget::qt_metacall (this=0x2986020, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff025a7220) at .moc/release-shared/moc_qprintdialog.cpp:77
#17 0x00007f53c9da7b27 in QMetaObject::activate (sender=0x28785e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x330cba0) at kernel/qobject.cpp:3280
#18 0x00007f53cae23402 in QAbstractButton::clicked (this=0x7fff025a6d00, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#19 0x00007f53cab1deeb in QAbstractButtonPrivate::emitClicked (this=0x32d3c10) at widgets/qabstractbutton.cpp:546
#20 0x00007f53cab1f5bb in QAbstractButtonPrivate::click (this=0x32d3c10) at widgets/qabstractbutton.cpp:539
#21 0x00007f53cab1f82c in QAbstractButton::mouseReleaseEvent (this=0x28785e0, e=0x7fff025a7b70) at widgets/qabstractbutton.cpp:1121
#22 0x00007f53ca79c04e in QWidget::event (this=0x28785e0, event=0x7fff025a7b70) at kernel/qwidget.cpp:8187
#23 0x00007f53ca745fdc in QApplicationPrivate::notify_helper (this=0x232b4c0, receiver=0x28785e0, e=0x7fff025a7b70) at kernel/qapplication.cpp:4396
#24 0x00007f53ca74c30e in QApplication::notify (this=0x7fff025aa610, receiver=0x28785e0, e=0x7fff025a7b70) at kernel/qapplication.cpp:3959
#25 0x00007f53cb499526 in KApplication::notify (this=0x7fff025aa610, receiver=0x28785e0, event=0x7fff025a7b70) at ../../kdeui/kernel/kapplication.cpp:310
#26 0x00007f53c9d8fcdc in QCoreApplication::notifyInternal (this=0x7fff025aa610, receiver=0x28785e0, event=0x7fff025a7b70) at kernel/qcoreapplication.cpp:732
#27 0x00007f53ca74adbe in sendEvent (receiver=0x28785e0, event=0x7fff025a7b70, alienWidget=0x28785e0, nativeWidget=0x2981860, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=0x28785e0, event=0x7fff025a7b70, alienWidget=0x28785e0, nativeWidget=0x2981860, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#29 0x00007f53ca7ce345 in QETWidget::translateMouseEvent (this=0x2981860, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#30 0x00007f53ca7ccc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff025a8490) at kernel/qapplication_x11.cpp:3536
#31 0x00007f53ca7f90e2 in x11EventSourceDispatch (s=0x232f300, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f53c52e0342 in g_main_dispatch (context=0x232e120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#33 g_main_context_dispatch (context=0x232e120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#34 0x00007f53c52e42a8 in g_main_context_iterate (context=0x232e120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#35 0x00007f53c52e445c in g_main_context_iteration (context=0x232e120, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#36 0x00007f53c9dbc193 in QEventDispatcherGlib::processEvents (this=0x2312e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#37 0x00007f53ca7f8a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff025a6d00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f53c9d8ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f53c9d8edec in QEventLoop::exec (this=0x7fff025a87c0, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f53cac3a7de in QDialog::exec (this=0x2981860) at dialogs/qdialog.cpp:552
#41 0x00007f53bbde407d in ?? () from /usr/lib/kde4/okularpart.so
#42 0x00007f53bbde459f in ?? () from /usr/lib/kde4/okularpart.so
#43 0x00007f53c9da7b27 in QMetaObject::activate (sender=0x29cb200, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x330cba0) at kernel/qobject.cpp:3280
#44 0x00007f53ca73e852 in QAction::triggered (this=0x7fff025a6d00, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#45 0x00007f53ca73ff5b in QAction::activate (this=0x29cb200, event=<value optimized out>) at kernel/qaction.cpp:1256
#46 0x00007f53ca742257 in QAction::event (this=0x7fff025a6d00, e=<value optimized out>) at kernel/qaction.cpp:1182
#47 0x00007f53cb3ac19d in KAction::event (this=0x7fff025a6d00, event=0x7fff025a9060) at ../../kdeui/actions/kaction.cpp:131
#48 0x00007f53ca745fdc in QApplicationPrivate::notify_helper (this=0x232b4c0, receiver=0x29cb200, e=0x7fff025a9060) at kernel/qapplication.cpp:4396
#49 0x00007f53ca74baed in QApplication::notify (this=0x7fff025aa610, receiver=0x29cb200, e=0x7fff025a9060) at kernel/qapplication.cpp:4277
#50 0x00007f53cb499526 in KApplication::notify (this=0x7fff025aa610, receiver=0x29cb200, event=0x7fff025a9060) at ../../kdeui/kernel/kapplication.cpp:310
#51 0x00007f53c9d8fcdc in QCoreApplication::notifyInternal (this=0x7fff025aa610, receiver=0x29cb200, event=0x7fff025a9060) at kernel/qcoreapplication.cpp:732
#52 0x00007f53ca7817d6 in sendEvent (this=<value optimized out>, e=0x7fff025a9660) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff025a9660) at kernel/qshortcutmap.cpp:879
#54 0x00007f53ca7835e7 in QShortcutMap::tryShortcutEvent (this=0x232b5e8, o=<value optimized out>, e=0x7fff025a9660) at kernel/qshortcutmap.cpp:364
#55 0x00007f53ca74d6e4 in QApplication::notify (this=0x7fff025aa610, receiver=0x2974de0, e=0x7fff025a9660) at kernel/qapplication.cpp:3840
#56 0x00007f53cb499526 in KApplication::notify (this=0x7fff025aa610, receiver=0x2974de0, event=0x7fff025a9660) at ../../kdeui/kernel/kapplication.cpp:310
#57 0x00007f53c9d8fcdc in QCoreApplication::notifyInternal (this=0x7fff025aa610, receiver=0x2974de0, event=0x7fff025a9660) at kernel/qcoreapplication.cpp:732
#58 0x00007f53ca7f34ba in QKeyMapper::sendKeyEvent (keyWidget=0x2974de0, grab=<value optimized out>, type=QEvent::KeyPress, code=80, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1867
#59 0x00007f53ca7f5ac0 in QKeyMapperPrivate::translateKeyEvent (this=0x23696e0, keyWidget=0x2974de0, event=<value optimized out>, grab=160) at kernel/qkeymapper_x11.cpp:1837
#60 0x00007f53ca7cccb4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff025aa230) at kernel/qapplication_x11.cpp:3429
#61 0x00007f53ca7f90e2 in x11EventSourceDispatch (s=0x232f300, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#62 0x00007f53c52e0342 in g_main_dispatch (context=0x232e120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#63 g_main_context_dispatch (context=0x232e120) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#64 0x00007f53c52e42a8 in g_main_context_iterate (context=0x232e120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#65 0x00007f53c52e445c in g_main_context_iteration (context=0x232e120, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#66 0x00007f53c9dbc193 in QEventDispatcherGlib::processEvents (this=0x2312e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#67 0x00007f53ca7f8a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff025a6d00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f53c9d8ea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#69 0x00007f53c9d8edec in QEventLoop::exec (this=0x7fff025aa560, flags=) at kernel/qeventloop.cpp:201
#70 0x00007f53c9d92ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#71 0x000000000040807c in _start ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-11-18 00:40:28 UTC
Hi, this is a crash happening inside the Qt printing dialog, you should report a bug at http://bugreports.qt.nokia.com/

Thanks for using Okular
Comment 2 marsu1 2012-05-30 15:23:55 UTC
Created attachment 71440 [details]
New crash information added by DrKonqi

okular (0.14.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed: I wanted to change the print mode from greyscale to colour when the application crashed

-- Backtrace (Reduced):
#6  QModelIndex (amodel=0x18ddf20, this=0x7fff352b98e0, adata=0x1000000048, acolumn=0, arow=) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:390
#7  createIndex (adata=0x1000000048, acolumn=0, arow=) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:324
#8  QPPDOptionsModel::parent (this=0x18ddf20, index=<optimized out>) at dialogs/qprintdialog_unix.cpp:1148
#9  0x00007f999f3265a3 in parent (this=<optimized out>) at kernel/qabstractitemmodel.h:393
#10 QPersistentModelIndex::parent (this=<optimized out>) at kernel/qabstractitemmodel.cpp:347