Bug 202605

Summary: Qt print dialog crash while opening properties of a lexmark printer
Product: [Unmaintained] kdelibs Reporter: Stefan Gründel <stefan.gruendel>
Component: print-dialogAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, cfeck, kdelibs-bugs
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Gründel 2009-08-05 12:46:23 UTC
Application that crashed: okular
Version of the application: 0.9
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-020631rc5-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
In a 12 page PDF document, I tried to print a certain page.  First I was in the properties of a brother printern, then I switched to the lexmark printern.  When opening the properties, okular crashed.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 0 (LWP 8466)]

Thread 4 (Thread 0x7f13453c5950 (LWP 10600)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f135772ad19 in QWaitCondition::wait (this=0x21a40b0, mutex=0x21a40a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1358d1881c in QHostInfoAgent::run (this=0x21a4090) at kernel/qhostinfo.cpp:260
#3  0x00007f1357729d35 in QThreadPrivate::start (arg=0x21a4090) at thread/qthread_unix.cpp:188
#4  0x00007f1353efc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f13560b9fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1346fbd950 (LWP 12440)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f135772ad19 in QWaitCondition::wait (this=0x24fdc18, mutex=0x24fdc10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1357163d4e in QFileInfoGatherer::run (this=0x24fdc00) at dialogs/qfileinfogatherer.cpp:207
#3  0x00007f1357729d35 in QThreadPrivate::start (arg=0x24fdc00) at thread/qthread_unix.cpp:188
#4  0x00007f1353efc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f13560b9fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1347cbb950 (LWP 12441)):
#0  0x00007f1352c1d3b1 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007f1352c1d5ff in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1352c1da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f135783caae in QEventDispatcherGlib::processEvents (this=0x2507d60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f1357811f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1204531168}) at kernel/qeventloop.cpp:149
#5  0x00007f1357812314 in QEventLoop::exec (this=0x7f1347cbb020, flags={i = 1204531248}) at kernel/qeventloop.cpp:201
#6  0x00007f1357726dc8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f13577f5818 in QInotifyFileSystemWatcherEngine::run (this=0x21b78b0) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00007f1357729d35 in QThreadPrivate::start (arg=0x21b78b0) at thread/qthread_unix.cpp:188
#9  0x00007f1353efc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f13560b9fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f135989e750 (LWP 8466)):
[KCrash Handler]
#5  QPPDOptionsModel::parent (this=0x24ccbf0, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:366
#6  0x00007f13571d44dc in mergeIndexes (indexes=@0x24bb180) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:369
#7  0x00007f13571d4d4b in QItemSelectionModelPrivate::_q_layoutChanged (this=0x24bb0d0) at itemviews/qitemselectionmodel.cpp:802
#8  0x00007f13571d9462 in QItemSelectionModel::qt_metacall (this=0x24bb0b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a6e9090)
    at .moc/release-shared/moc_qitemselectionmodel.cpp:134
#9  0x00007f1357828ea2 in QMetaObject::activate (sender=0x24ccbf0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x24cb520) at kernel/qobject.cpp:3113
#10 0x00007f135710c916 in QPPDOptionsModel::parseItems (this=0x24ccbf0) at dialogs/qprintdialog_unix.cpp:1130
#11 0x00007f135710cb3d in QPrintPropertiesDialog::selectPrinter (this=0x24bece0) at dialogs/qprintdialog_unix.cpp:318
#12 0x00007f135710d9c9 in QUnixPrintWidgetPrivate::_q_btnPropertiesClicked (this=0x24f1ef0) at dialogs/qprintdialog_unix.cpp:960
#13 0x00007f13571109fa in QUnixPrintWidget::qt_metacall (this=0x28eb840, _c=QMetaObject::InvokeMetaMethod, _id=35330448, _a=0x7fff1a6e9350) at .moc/release-shared/moc_qprintdialog.cpp:71
#14 0x00007f1357828ea2 in QMetaObject::activate (sender=0x253dc80, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x24cb520) at kernel/qobject.cpp:3113
#15 0x00007f13572b2e27 in QAbstractButton::clicked (this=0x7fff1a6e8db0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#16 0x00007f135700cc6b in QAbstractButtonPrivate::emitClicked (this=0x24e80f0) at widgets/qabstractbutton.cpp:543
#17 0x00007f135700e8c2 in QAbstractButtonPrivate::click (this=0x24e80f0) at widgets/qabstractbutton.cpp:536
#18 0x00007f135700eb15 in QAbstractButton::mouseReleaseEvent (this=0x253dc80, e=0x7fff1a6e9b20) at widgets/qabstractbutton.cpp:1115
#19 0x00007f1356ce20bf in QWidget::event (this=0x253dc80, event=0x7fff1a6e9b20) at kernel/qwidget.cpp:7549
#20 0x00007f1356c90f4d in QApplicationPrivate::notify_helper (this=0x1cdc090, receiver=0x253dc80, e=0x7fff1a6e9b20) at kernel/qapplication.cpp:4056
#21 0x00007f1356c998ea in QApplication::notify (this=<value optimized out>, receiver=0x253dc80, e=0x7fff1a6e9b20) at kernel/qapplication.cpp:3758
#22 0x00007f135865571b in KApplication::notify (this=0x7fff1a6ee5e0, receiver=0x253dc80, event=0x7fff1a6e9b20) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#23 0x00007f13578136ac in QCoreApplication::notifyInternal (this=0x7fff1a6ee5e0, receiver=0x253dc80, event=0x7fff1a6e9b20) at kernel/qcoreapplication.cpp:610
#24 0x00007f1356c98b38 in QApplicationPrivate::sendMouseEvent (receiver=0x253dc80, event=0x7fff1a6e9b20, alienWidget=0x253dc80, nativeWidget=0x210ee20, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f13576c8010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#25 0x00007f1356d02b19 in QETWidget::translateMouseEvent (this=0x210ee20, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#26 0x00007f1356d01b53 in QApplication::x11ProcessEvent (this=0x7fff1a6ee5e0, event=0x7fff1a6eb6a0) at kernel/qapplication_x11.cpp:3550
#27 0x00007f1356d2a454 in x11EventSourceDispatch (s=0x1cdfda0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f1352c1a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007f1352c1d8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f1352c1da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007f135783ca8f in QEventDispatcherGlib::processEvents (this=0x1cc2b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#32 0x00007f1356d29bdf in QGuiEventDispatcherGlib::processEvents (this=0x7fff1a6e8db0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x00007f1357811f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 443464080}) at kernel/qeventloop.cpp:149
#34 0x00007f1357812314 in QEventLoop::exec (this=0x7fff1a6eb9d0, flags={i = 443464176}) at kernel/qeventloop.cpp:201
#35 0x00007f1357127e3e in QDialog::exec (this=0x210ee20) at dialogs/qdialog.cpp:498
#36 0x00007f134b8ecb60 in ?? () from /usr/lib/kde4/okularpart.so
#37 0x00007f134b8efa75 in ?? () from /usr/lib/kde4/okularpart.so
#38 0x00007f1357828ea2 in QMetaObject::activate (sender=0x2106920, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x24cb520) at kernel/qobject.cpp:3113
#39 0x00007f1356c8af37 in QAction::triggered (this=0x7fff1a6e8db0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#40 0x00007f1356c8c3b0 in QAction::activate (this=0x2106920, event=<value optimized out>) at kernel/qaction.cpp:1160
#41 0x00007f135709352d in QMenuPrivate::activateCausedStack (this=0x211a960, causedStack=@0x7fff1a6ebd10, action=0x2106920, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#42 0x00007f135709953e in QMenuPrivate::activateAction (this=0x211a960, action=0x2106920, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1060
#43 0x00007f1358728dc1 in KMenu::mouseReleaseEvent (this=0x21369b0, e=0x7fff1a6ec6b0) at /build/buildd/kde4libs-4.3.0/kdeui/widgets/kmenu.cpp:456
#44 0x00007f1356ce20bf in QWidget::event (this=0x21369b0, event=0x7fff1a6ec6b0) at kernel/qwidget.cpp:7549
#45 0x00007f135709bd8b in QMenu::event (this=0x21369b0, e=0x7fff1a6ec6b0) at widgets/qmenu.cpp:2353
#46 0x00007f1356c90f4d in QApplicationPrivate::notify_helper (this=0x1cdc090, receiver=0x21369b0, e=0x7fff1a6ec6b0) at kernel/qapplication.cpp:4056
#47 0x00007f1356c998ea in QApplication::notify (this=<value optimized out>, receiver=0x21369b0, e=0x7fff1a6ec6b0) at kernel/qapplication.cpp:3758
#48 0x00007f135865571b in KApplication::notify (this=0x7fff1a6ee5e0, receiver=0x21369b0, event=0x7fff1a6ec6b0) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#49 0x00007f13578136ac in QCoreApplication::notifyInternal (this=0x7fff1a6ee5e0, receiver=0x21369b0, event=0x7fff1a6ec6b0) at kernel/qcoreapplication.cpp:610
#50 0x00007f1356c98b38 in QApplicationPrivate::sendMouseEvent (receiver=0x21369b0, event=0x7fff1a6ec6b0, alienWidget=0x0, nativeWidget=0x21369b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f13576c8010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#51 0x00007f1356d02cd4 in QETWidget::translateMouseEvent (this=0x21369b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#52 0x00007f1356d01b53 in QApplication::x11ProcessEvent (this=0x7fff1a6ee5e0, event=0x7fff1a6ee230) at kernel/qapplication_x11.cpp:3550
#53 0x00007f1356d2a454 in x11EventSourceDispatch (s=0x1cdfda0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x00007f1352c1a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0x00007f1352c1d8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#56 0x00007f1352c1da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0x00007f135783ca8f in QEventDispatcherGlib::processEvents (this=0x1cc2b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#58 0x00007f1356d29bdf in QGuiEventDispatcherGlib::processEvents (this=0x7fff1a6e8db0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#59 0x00007f1357811f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 443475232}) at kernel/qeventloop.cpp:149
#60 0x00007f1357812314 in QEventLoop::exec (this=0x7fff1a6ee560, flags={i = 443475312}) at kernel/qeventloop.cpp:201
#61 0x00007f13578145e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#62 0x000000000040821c in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-05 14:50:37 UTC
- Can you reproduce the crash every time ?
Thanks
Comment 2 Stefan Gründel 2009-08-05 15:02:42 UTC
No, I'm not able to reproduce it anymore.
Comment 3 Christoph Feck 2009-08-06 21:59:48 UTC
Maybe related to bug 199780? Looks like Qt has problems when CUPS parameters change.
Comment 4 Christoph Feck 2013-09-12 21:42:16 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 5 Andrew Crouthamel 2018-09-24 01:54:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 04:03:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!