Bug 357826 - Printer Settings crash when uninstalling printer immediately after installing it
Summary: Printer Settings crash when uninstalling printer immediately after installing it
Status: RESOLVED DUPLICATE of bug 348414
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.4.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-11 00:02 UTC by syl-shirts
Modified: 2016-04-06 23:52 UTC (History)
0 users

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 syl-shirts 2016-01-11 00:02:21 UTC
Application: systemsettings5 (5.4.1)

Qt Version: 5.5.0
Operating System: Linux 4.1.12-1-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I installed an HP Photosmart 6515 printer as the first printer for a fresh openSUSE Leap 42.1 64-bit installation under VirtualBox 5.0.12.

The settings were: AppSocket/HP JetDirect, port 9100, manually entered IP address
Driver: HP Photosmart 6510 Series, hpcups 3.14.6 driver

While still in the Printer Settings app, I chose to uninstall this printer.

This caused "Configure Desktop"/System Settings to crash.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f74f3335780 (LWP 2051))]

Thread 6 (Thread 0x7f74e0ded700 (LWP 2052)):
#0  0x00007f74ef0aec1d in poll () from /lib64/libc.so.6
#1  0x00007f74ebe93422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f74ebe9500f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f74e3141c29 in QXcbEventReader::run (this=0x1cde990) at qxcbconnection.cpp:1214
#4  0x00007f74ef7a555f in QThreadPrivate::start (arg=0x1cde990) at thread/qthread_unix.cpp:331
#5  0x00007f74eb61e0a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f74ef0b704d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f74cbd87700 (LWP 2055)):
#0  0x00007f74eb62205f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f74d27b6e83 in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007f74d27b69f7 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f74eb61e0a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f74ef0b704d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f74cb586700 (LWP 2056)):
#0  0x00007f74eb62205f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f74d27b6e83 in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007f74d27b69f7 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f74eb61e0a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f74ef0b704d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f74b7fff700 (LWP 1954)):
#0  0x00007f74ef0aec1d in poll () from /lib64/libc.so.6
#1  0x00007f74eb101e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f74eb101f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f74ef9d6a5b in QEventDispatcherGlib::processEvents (this=0x7f74ac1709a0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f74ef97da63 in QEventLoop::exec (this=this@entry=0x7f74b7ffee30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f74ef7a084a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f74edd315f8 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f74ef7a555f in QThreadPrivate::start (arg=0x30b6180) at thread/qthread_unix.cpp:331
#8  0x00007f74eb61e0a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f74ef0b704d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f74bd5b6700 (LWP 1955)):
#0  0x00007f74ef0aec1d in poll () from /lib64/libc.so.6
#1  0x00007f74eb101e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f74eb101f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f74ef9d6a5b in QEventDispatcherGlib::processEvents (this=0x7f74b0012460, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f74ef97da63 in QEventLoop::exec (this=this@entry=0x7f74bd5b5e10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f74ef7a084a in QThread::exec (this=this@entry=0x2c83f40) at thread/qthread.cpp:503
#6  0x00007f74a14f4b77 in KCupsConnection::run (this=0x2c83f40) at /usr/src/debug/print-manager-15.08.1/libkcups/KCupsConnection.cpp:303
#7  0x00007f74ef7a555f in QThreadPrivate::start (arg=0x2c83f40) at thread/qthread_unix.cpp:331
#8  0x00007f74eb61e0a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f74ef0b704d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f74f3335780 (LWP 2051)):
[KCrash Handler]
#6  0x00007f74db6cc1d4 in KNotification::flags (this=this@entry=0x3258530) at /usr/src/debug/knotifications-5.15.0/src/knotification.cpp:233
#7  0x00007f74db6e8c67 in NotifyByAudio::onAudioFinished (this=0x2a6fff0) at /usr/src/debug/knotifications-5.15.0/src/notifybyaudio.cpp:140
#8  0x00007f74db6ee8c5 in NotifyByAudio::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/knotifications-5.15.0/build/src/moc_notifybyaudio.cpp:83
#9  0x00007f74ef9af996 in QMetaObject::activate (sender=0x35dabc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3718
#10 0x00007f74ef9affb7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f74daf6d500 <Phonon::MediaObject::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3583
#11 0x00007f74dad336a3 in Phonon::MediaObject::finished (this=<optimized out>) at /usr/src/debug/phonon-4.8.3/build/phonon/moc_mediaobject.cpp:426
#12 0x00007f74dad35e75 in Phonon::MediaObject::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/phonon-4.8.3/build/phonon/moc_mediaobject.cpp:183
#13 0x00007f74ef9b0796 in QObject::event (this=0x35dabc0, e=<optimized out>) at kernel/qobject.cpp:1246
#14 0x00007f74f1499e8c in QApplicationPrivate::notify_helper (this=this@entry=0x1cbe990, receiver=receiver@entry=0x35dabc0, e=e@entry=0x351e070) at kernel/qapplication.cpp:3717
#15 0x00007f74f149ecd8 in QApplication::notify (this=0x7fff1b901250, receiver=0x35dabc0, e=0x351e070) at kernel/qapplication.cpp:3500
#16 0x00007f74ef97fba5 in QCoreApplication::notifyInternal (this=0x7fff1b901250, receiver=0x35dabc0, event=event@entry=0x351e070) at kernel/qcoreapplication.cpp:965
#17 0x00007f74ef981d67 in sendEvent (event=0x351e070, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1cbdfe0) at kernel/qcoreapplication.cpp:1593
#19 0x00007f74ef982318 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#20 0x00007f74ef9d75c3 in postEventSourceDispatch (s=0x1d1dcd0) at kernel/qeventdispatcher_glib.cpp:271
#21 0x00007f74eb101c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f74eb101ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f74eb101f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f74ef9d6a3c in QEventDispatcherGlib::processEvents (this=0x1d12ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#25 0x00007f74ef97da63 in QEventLoop::exec (this=0x319a1d8, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#26 0x00007f74a14fc4df in KCupsRequest::waitTillFinished (this=<optimized out>) at /usr/src/debug/print-manager-15.08.1/libkcups/KCupsRequest.cpp:626
#27 0x00007f74a1741d93 in PrintKCM::on_removeTB_clicked (this=0x32434f0) at /usr/src/debug/print-manager-15.08.1/printer-manager-kcm/PrintKCM.cpp:301
#28 0x00007f74a174630d in PrintKCM::qt_static_metacall (_o=_o@entry=0x32434f0, _id=_id@entry=3, _a=_a@entry=0x7fff1b900450, _c=QMetaObject::InvokeMetaMethod) at /usr/src/debug/print-manager-15.08.1/build/printer-manager-kcm/moc_PrintKCM.cpp:113
#29 0x00007f74a17464f3 in qt_static_metacall (_a=0x7fff1b900450, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0x32434f0) at /usr/src/debug/print-manager-15.08.1/build/printer-manager-kcm/moc_PrintKCM.cpp:150
#30 PrintKCM::qt_metacall (this=0x32434f0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff1b900450) at /usr/src/debug/print-manager-15.08.1/build/printer-manager-kcm/moc_PrintKCM.cpp:151
#31 0x00007f74ef9afa91 in QMetaObject::activate (sender=sender@entry=0x30944b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff1b900450) at kernel/qobject.cpp:3733
#32 0x00007f74ef9affb7 in QMetaObject::activate (sender=sender@entry=0x30944b0, m=m@entry=0x7f74f1ba76c0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff1b900450) at kernel/qobject.cpp:3583
#33 0x00007f74f181e112 in QAbstractButton::clicked (this=this@entry=0x30944b0, _t1=false) at .moc/moc_qabstractbutton.cpp:303
#34 0x00007f74f1593466 in QAbstractButtonPrivate::emitClicked (this=0x322ce80) at widgets/qabstractbutton.cpp:534
#35 0x00007f74f159409e in QAbstractButtonPrivate::click (this=0x322ce80) at widgets/qabstractbutton.cpp:527
#36 0x00007f74f1594214 in QAbstractButton::mouseReleaseEvent (this=0x30944b0, e=0x7fff1b900950) at widgets/qabstractbutton.cpp:1132
#37 0x00007f74f1652afa in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:609
#38 0x00007f74f14da2b1 in QWidget::event (this=this@entry=0x30944b0, event=0x7fff1b900950) at kernel/qwidget.cpp:8668
#39 0x00007f74f1595164 in QAbstractButton::event (this=this@entry=0x30944b0, e=e@entry=0x7fff1b900950) at widgets/qabstractbutton.cpp:1089
#40 0x00007f74f1652bd9 in QToolButton::event (this=0x30944b0, event=0x7fff1b900950) at widgets/qtoolbutton.cpp:965
#41 0x00007f74f1499e8c in QApplicationPrivate::notify_helper (this=this@entry=0x1cbe990, receiver=receiver@entry=0x30944b0, e=e@entry=0x7fff1b900950) at kernel/qapplication.cpp:3717
#42 0x00007f74f149f2db in QApplication::notify (this=<optimized out>, receiver=0x30944b0, e=0x7fff1b900950) at kernel/qapplication.cpp:3277
#43 0x00007f74ef97fba5 in QCoreApplication::notifyInternal (this=0x7fff1b901250, receiver=receiver@entry=0x30944b0, event=event@entry=0x7fff1b900950) at kernel/qcoreapplication.cpp:965
#44 0x00007f74f149e1a1 in sendSpontaneousEvent (event=0x7fff1b900950, receiver=0x30944b0) at ../../src/corelib/kernel/qcoreapplication.h:227
#45 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x30944b0, event=event@entry=0x7fff1b900950, alienWidget=alienWidget@entry=0x30944b0, nativeWidget=0x30325b0, buttonDown=buttonDown@entry=0x7f74f1bb66a0 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:2771
#46 0x00007f74f14f325b in QWidgetWindow::handleMouseEvent (this=this@entry=0x303b4e0, event=event@entry=0x7fff1b900da0) at kernel/qwidgetwindow.cpp:555
#47 0x00007f74f14f5453 in QWidgetWindow::event (this=0x303b4e0, event=0x7fff1b900da0) at kernel/qwidgetwindow.cpp:210
#48 0x00007f74f1499e8c in QApplicationPrivate::notify_helper (this=this@entry=0x1cbe990, receiver=receiver@entry=0x303b4e0, e=e@entry=0x7fff1b900da0) at kernel/qapplication.cpp:3717
#49 0x00007f74f149ecd8 in QApplication::notify (this=0x7fff1b901250, receiver=0x303b4e0, e=0x7fff1b900da0) at kernel/qapplication.cpp:3500
#50 0x00007f74ef97fba5 in QCoreApplication::notifyInternal (this=0x7fff1b901250, receiver=receiver@entry=0x303b4e0, event=event@entry=0x7fff1b900da0) at kernel/qcoreapplication.cpp:965
#51 0x00007f74f0d063b4 in sendSpontaneousEvent (event=0x7fff1b900da0, receiver=0x303b4e0) at ../../src/corelib/kernel/qcoreapplication.h:227
#52 QGuiApplicationPrivate::processMouseEvent (e=0x2e33180) at kernel/qguiapplication.cpp:1790
#53 0x00007f74f0d07bc5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x2e33180) at kernel/qguiapplication.cpp:1582
#54 0x00007f74f0cecd68 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:608
#55 0x00007f74e316cf20 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#56 0x00007f74eb101c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f74eb101ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f74eb101f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f74ef9d6a3c in QEventDispatcherGlib::processEvents (this=0x1d12ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#60 0x00007f74ef97da63 in QEventLoop::exec (this=this@entry=0x7fff1b901120, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#61 0x00007f74ef9855d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#62 0x00007f74f0cfe3ac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528
#63 0x00007f74f1496615 in QApplication::exec () at kernel/qapplication.cpp:2977
#64 0x00000000004103cf in main (argc=1, argv=<optimized out>) at /usr/src/debug/systemsettings-5.4.2/app/main.cpp:55

Possible duplicates by query: bug 357668, bug 354518, bug 354451, bug 353597, bug 351073.

Reported using DrKonqi
Comment 1 syl-shirts 2016-01-11 00:14:10 UTC
Addition info:
I had set Name to "Photosmart6515", Description to "Photosmart 6515" and left Location blank.

I also unchecked "Share this printer"

Between creating and trying to remove the printer I had clicked on the "Configure" button w/o changing any settings and then clicked the "Maintenance" button w/o selecting "Print Test Page" (I clicked elsewhere in the window to dismiss selection).

At this point I clicked "Remove Printer"
Comment 2 Christoph Feck 2016-04-06 23:52:36 UTC

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