https://bugs.kde.org/show_bug.cgi?id=430737
Bug ID: 430737 Summary: crashed after deleting job because of unrecognized location of the printer Product: print-manager Version: unspecified Platform: Neon Packages OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: dantt...@gmail.com Reporter: prote...@hotmail.it Target Milestone: --- Application: kde-print-queue (20.12.0) Qt Version: 5.15.2 Frameworks Version: 5.77.0 Operating System: Linux 5.4.0-58-generic x86_64 Windowing system: X11 Distribution: KDE neon User Edition 5.20 -- Information about the crash: - What I was doing when the application crashed: I was deleting a job because of unrecognized location of the MFC-L2700DW printer. I've just changed the way the printer link to the router to fix this issue. Implicitclass driver looks like to have problems. The crash can be reproduced sometimes. -- Backtrace: Application: Coda di stampa (kde-print-queue), signal: Segmentation fault [New LWP 3005] [New LWP 3006] [New LWP 3007] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f13928b5aff in __GI___poll (fds=0x7ffe6db6ba68, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29 [Current thread is 1 (Thread 0x7f1392b7bac0 (LWP 3004))] Thread 4 (Thread 0x7f138744e700 (LWP 3007)): #0 0x00007f139153e72d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f1391540185 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f1391541aff in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f1391542152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f13915422e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f1392e8dfbb in QEventDispatcherGlib::processEvents (this=0x7f1378000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #6 0x00007f1392e321ab in QEventLoop::exec (this=this@entry=0x7f138744daa0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #7 0x00007f1392c4ca12 in QThread::exec (this=this@entry=0x55d5bbfaced0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #8 0x00007f13943db07c in KCupsConnection::run (this=0x55d5bbfaced0) at ./libkcups/KCupsConnection.cpp:303 #9 0x00007f1392c4dbac in QThreadPrivate::start (arg=0x55d5bbfaced0) at thread/qthread_unix.cpp:329 #10 0x00007f1392151609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f13928c2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f1387c4f700 (LWP 3006)): #0 0x00007f1392c4e0d0 in QMutex::lock (this=this@entry=0x55d5bbfa0040) at /usr/include/c++/9/bits/atomic_base.h:769 #1 0x00007f1392e8deb2 in QMutexLocker::QMutexLocker (m=0x55d5bbfa0040, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:233 #2 QThreadData::canWaitLocked (this=0x55d5bbfa0010) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:272 #3 postEventSourcePrepare (s=0x7f1380004bb0, timeout=0x7f1387c4e8e4) at kernel/qeventdispatcher_glib.cpp:260 #4 0x00007f139154172f in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f13915420db in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007f13915422e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007f1392e8dfbb in QEventDispatcherGlib::processEvents (this=0x7f1380000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #8 0x00007f1392e321ab in QEventLoop::exec (this=this@entry=0x7f1387c4eab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #9 0x00007f1392c4ca12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #10 0x00007f13924b8f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #11 0x00007f1392c4dbac in QThreadPrivate::start (arg=0x7f139253cd80) at thread/qthread_unix.cpp:329 #12 0x00007f1392151609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #13 0x00007f13928c2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f138dc57700 (LWP 3005)): #0 0x00007f13928b5aff in __GI___poll (fds=0x7f138dc569e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f1391e73c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f1391e7590a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f138e1cfd58 in QXcbEventQueue::run (this=0x55d5bbed1300) at qxcbeventqueue.cpp:228 #4 0x00007f1392c4dbac in QThreadPrivate::start (arg=0x55d5bbed1300) at thread/qthread_unix.cpp:329 #5 0x00007f1392151609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f13928c2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f1392b7bac0 (LWP 3004)): [KCrash Handler] #4 QStandardItem::text (this=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtGui/qstandarditemmodel.h:75 #5 PrintQueueUi::modifyJob (this=0x55d5bbfff210, action=action@entry=0, destName=...) at ./printqueue/PrintQueueUi.cpp:489 #6 0x000055d5bbad520d in PrintQueueUi::cancelJob (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257 #7 0x00007f1392e6a6be in QtPrivate::QSlotObjectBase::call (a=0x7ffe6db6c450, r=0x55d5bbfff210, this=0x55d5bc02fbf0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #8 doActivate<false> (sender=0x55d5bc027370, signal_index=9, argv=0x7ffe6db6c450) at kernel/qobject.cpp:3886 #9 0x00007f1392e63a87 in QMetaObject::activate (sender=sender@entry=0x55d5bc027370, m=m@entry=0x7f1393e24600 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe6db6c450) at kernel/qobject.cpp:3946 #10 0x00007f1393a05b56 in QAbstractButton::clicked (this=this@entry=0x55d5bc027370, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #11 0x00007f1393a05d7e in QAbstractButtonPrivate::emitClicked (this=0x55d5bc0273b0) at widgets/qabstractbutton.cpp:415 #12 0x00007f1393a07253 in QAbstractButtonPrivate::click (this=0x55d5bc0273b0) at widgets/qabstractbutton.cpp:408 #13 0x00007f1393a07415 in QAbstractButton::mouseReleaseEvent (this=0x55d5bc027370, e=0x7ffe6db6c9c0) at widgets/qabstractbutton.cpp:1044 #14 0x00007f1393950c06 in QWidget::event (this=0x55d5bc027370, event=0x7ffe6db6c9c0) at kernel/qwidget.cpp:8663 #15 0x00007f139390ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d5bc027370, e=0x7ffe6db6c9c0) at kernel/qapplication.cpp:3632 #16 0x00007f1393916e77 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3076 #17 0x00007f1392e3369a in QCoreApplication::notifyInternal2 (receiver=0x55d5bc027370, event=0x7ffe6db6c9c0) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #18 0x00007f13939160a7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55d5bc027370, event=event@entry=0x7ffe6db6c9c0, alienWidget=alienWidget@entry=0x55d5bc027370, nativeWidget=0x55d5bbfff210, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #19 0x00007f139396be54 in QWidgetWindow::handleMouseEvent (this=0x55d5bc127e50, event=0x7ffe6db6ce40) at /usr/include/c++/9/bits/atomic_base.h:413 #20 0x00007f139396f174 in QWidgetWindow::event (event=0x7ffe6db6ce40, this=0x55d5bc127e50) at kernel/qwidgetwindow.cpp:300 #21 QWidgetWindow::event (this=0x55d5bc127e50, event=0x7ffe6db6ce40) at kernel/qwidgetwindow.cpp:239 #22 0x00007f139390ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d5bc127e50, e=0x7ffe6db6ce40) at kernel/qapplication.cpp:3632 #23 0x00007f1393916bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156 #24 0x00007f1392e3369a in QCoreApplication::notifyInternal2 (receiver=0x55d5bc127e50, event=0x7ffe6db6ce40) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #25 0x00007f13932184e8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282 #26 0x00007f1393219b55 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55d5bc0edfb0) at kernel/qguiapplication.cpp:2002 #27 0x00007f13931f17ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #28 0x00007f138e1d0d7e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #29 0x00007f1391541fbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x00007f1391542240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007f13915422e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007f1392e8dfa2 in QEventDispatcherGlib::processEvents (this=0x55d5bbf9a4b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #33 0x00007f1392e321ab in QEventLoop::exec (this=this@entry=0x55d5bc0490d8, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #34 0x00007f13943e328b in KCupsRequest::waitTillFinished (this=this@entry=0x55d5bc0490c0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:121 #35 0x000055d5bbad4c9c in PrintQueueUi::modifyJob (this=0x55d5bbfff210, action=action@entry=0, destName=...) at ./printqueue/PrintQueueUi.cpp:486 #36 0x000055d5bbad520d in PrintQueueUi::cancelJob (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257 #37 0x00007f1392e6a6be in QtPrivate::QSlotObjectBase::call (a=0x7ffe6db6d3c0, r=0x55d5bbfff210, this=0x55d5bc02fbf0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #38 doActivate<false> (sender=0x55d5bc027370, signal_index=9, argv=0x7ffe6db6d3c0) at kernel/qobject.cpp:3886 #39 0x00007f1392e63a87 in QMetaObject::activate (sender=sender@entry=0x55d5bc027370, m=m@entry=0x7f1393e24600 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe6db6d3c0) at kernel/qobject.cpp:3946 #40 0x00007f1393a05b56 in QAbstractButton::clicked (this=this@entry=0x55d5bc027370, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #41 0x00007f1393a05d7e in QAbstractButtonPrivate::emitClicked (this=0x55d5bc0273b0) at widgets/qabstractbutton.cpp:415 #42 0x00007f1393a07253 in QAbstractButtonPrivate::click (this=0x55d5bc0273b0) at widgets/qabstractbutton.cpp:408 #43 0x00007f1393a07415 in QAbstractButton::mouseReleaseEvent (this=0x55d5bc027370, e=0x7ffe6db6d930) at widgets/qabstractbutton.cpp:1044 #44 0x00007f1393950c06 in QWidget::event (this=0x55d5bc027370, event=0x7ffe6db6d930) at kernel/qwidget.cpp:8663 #45 0x00007f139390ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d5bc027370, e=0x7ffe6db6d930) at kernel/qapplication.cpp:3632 #46 0x00007f1393916e77 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3076 #47 0x00007f1392e3369a in QCoreApplication::notifyInternal2 (receiver=0x55d5bc027370, event=0x7ffe6db6d930) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #48 0x00007f13939160a7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55d5bc027370, event=event@entry=0x7ffe6db6d930, alienWidget=alienWidget@entry=0x55d5bc027370, nativeWidget=0x55d5bbfff210, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #49 0x00007f139396be54 in QWidgetWindow::handleMouseEvent (this=0x55d5bc127e50, event=0x7ffe6db6ddb0) at /usr/include/c++/9/bits/atomic_base.h:413 #50 0x00007f139396f174 in QWidgetWindow::event (event=0x7ffe6db6ddb0, this=0x55d5bc127e50) at kernel/qwidgetwindow.cpp:300 #51 QWidgetWindow::event (this=0x55d5bc127e50, event=0x7ffe6db6ddb0) at kernel/qwidgetwindow.cpp:239 #52 0x00007f139390ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d5bc127e50, e=0x7ffe6db6ddb0) at kernel/qapplication.cpp:3632 #53 0x00007f1393916bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156 #54 0x00007f1392e3369a in QCoreApplication::notifyInternal2 (receiver=0x55d5bc127e50, event=0x7ffe6db6ddb0) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #55 0x00007f13932184e8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282 #56 0x00007f1393219b55 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55d5bc1411c0) at kernel/qguiapplication.cpp:2002 #57 0x00007f13931f17ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #58 0x00007f138e1d0d7e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #59 0x00007f1391541fbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #60 0x00007f1391542240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #61 0x00007f13915422e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #62 0x00007f1392e8dfa2 in QEventDispatcherGlib::processEvents (this=0x55d5bbf9a4b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #63 0x00007f1392e321ab in QEventLoop::exec (this=this@entry=0x7ffe6db6e150, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #64 0x00007f1392e3a354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #65 0x000055d5bbad1547 in main (argc=<optimized out>, argv=<optimized out>) at ./printqueue/main.cpp:65 [Inferior 1 (process 3004) detached] Possible duplicates by query: bug 326455. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.