https://bugs.kde.org/show_bug.cgi?id=462408
Bug ID: 462408 Summary: Skanlite cashes when trying to cancel scan Classification: Applications Product: Skanlite Version: 22.08.3 Platform: OpenSUSE OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kare.s...@iki.fi Reporter: f.alexander.wi...@gmail.com Target Milestone: --- Application: skanlite (22.08.3) Qt Version: 5.15.7 Frameworks Version: 5.100.0 Operating System: Linux 6.0.8-1-default x86_64 Windowing System: Wayland Distribution: "openSUSE Tumbleweed" DrKonqi: 5.26.3 [KCrashBackend] -- Information about the crash: I was trying to cancel an in-progress scan using a MFC-J6510DW. Usually it works fine with Skanlite. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Skanlite (skanlite), signal: Segmentation fault [KCrash Handler] #4 QImage::height (this=0x0) at image/qimage.cpp:1312 #5 0x00007fe790d3b8ad in KSaneIface::KSaneWidgetPrivate::updateProgress (this=0x561187403e40, progress=100) at /home/alexander/Development/libksane/src/ksanewidget_p.cpp:1230 #6 0x00007fe790d34342 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, void (KSaneIface::KSaneWidgetPrivate::*)(int)>::call (f=(void (KSaneIface::KSaneWidgetPrivate::*)(KSaneIface::KSaneWidgetPrivate * const, int)) 0x7fe790d3b7ce <KSaneIface::KSaneWidgetPrivate::updateProgress(int)>, o=0x561187403e40, arg=0x7ffc9907dc20) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #7 0x00007fe790d33cc2 in QtPrivate::FunctionPointer<void (KSaneIface::KSaneWidgetPrivate::*)(int)>::call<QtPrivate::List<int>, void> (f=(void (KSaneIface::KSaneWidgetPrivate::*)(KSaneIface::KSaneWidgetPrivate * const, int)) 0x7fe790d3b7ce <KSaneIface::KSaneWidgetPrivate::updateProgress(int)>, o=0x561187403e40, arg=0x7ffc9907dc20) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #8 0x00007fe790d330b1 in QtPrivate::QSlotObject<void (KSaneIface::KSaneWidgetPrivate::*)(int), QtPrivate::List<int>, void>::impl (which=1, this_=0x561187408ec0, r=0x561187403e40, a=0x7ffc9907dc20, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #9 0x00007fe78f3132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffc9907dc20, r=0x561187403e40, this=0x561187408ec0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #10 doActivate<false> (sender=0x5611873ea700, signal_index=6, argv=0x7ffc9907dc20) at kernel/qobject.cpp:3919 #11 0x00007fe78fdca35c in KSaneCore::Interface::scanProgress (this=0x5611873ea700, _t1=100) at /home/alexander/Development/ksanecore/build/src/KSaneCore_autogen/EWIEGA46WW/moc_interface.cpp:250 #12 0x00007fe78fdd84c2 in KSaneCore::InterfacePrivate::imageScanFinished (this=0x5611873f7920) at /home/alexander/Development/ksanecore/src/interface_p.cpp:340 #13 0x00007fe78fdd52c6 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KSaneCore::InterfacePrivate::*)()>::call(void (KSaneCore::InterfacePrivate::*)(), KSaneCore::InterfacePrivate*, void**) (f=(void (KSaneCore::InterfacePrivate::*)(KSaneCore::InterfacePrivate * const)) 0x7fe78fdd8492 <KSaneCore::InterfacePrivate::imageScanFinished()>, o=0x5611873f7920, arg=0x7fe760003328) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #14 0x00007fe78fdd5089 in QtPrivate::FunctionPointer<void (KSaneCore::InterfacePrivate::*)()>::call<QtPrivate::List<>, void>(void (KSaneCore::InterfacePrivate::*)(), KSaneCore::InterfacePrivate*, void**) (f=(void (KSaneCore::InterfacePrivate::*)(KSaneCore::InterfacePrivate * const)) 0x7fe78fdd8492 <KSaneCore::InterfacePrivate::imageScanFinished()>, o=0x5611873f7920, arg=0x7fe760003328) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #15 0x00007fe78fdd4abd in QtPrivate::QSlotObject<void (KSaneCore::InterfacePrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x561187716b90, r=0x5611873f7920, a=0x7fe760003328, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #16 0x00007fe78f307c40 in QObject::event (this=0x5611873f7920, e=0x7fe7600032e0) at kernel/qobject.cpp:1347 #17 0x00007fe78ffa53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5611873f7920, e=0x7fe7600032e0) at kernel/qapplication.cpp:3637 #18 0x00007fe78f2dc128 in QCoreApplication::notifyInternal2 (receiver=0x5611873f7920, event=0x7fe7600032e0) at kernel/qcoreapplication.cpp:1064 #19 0x00007fe78f2df0c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5611871f2780) at kernel/qcoreapplication.cpp:1821 #20 0x00007fe78f334353 in postEventSourceDispatch (s=0x561187225730) at kernel/qeventdispatcher_glib.cpp:277 #21 0x00007fe78dc6aa90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #22 0x00007fe78dc6ae48 in ?? () from /lib64/libglib-2.0.so.0 #23 0x00007fe78dc6aedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #24 0x00007fe78f333b56 in QEventDispatcherGlib::processEvents (this=0x561187231090, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #25 0x00007fe7906256bb in KMessageBox::createKMessageBox (dialog=0x56118771ec70, buttons=0x5611875b05c0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Warning) at /usr/include/qt5/QtCore/qflags.h:121 #26 0x00007fe790626127 in KMessageBox::createKMessageBox (dialog=0x56118771ec70, buttons=0x5611875b05c0, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at /usr/src/debug/kwidgetsaddons-5.100.0/src/kmessagebox.cpp:153 #27 0x00007fe79066b968 in KMessageBox::sorryInternal(QDialog*, QString const&, QString const&, KGuiItem const&, QFlags<KMessageBox::Option>) [clone .isra.0] (dialog=dialog@entry=0x56118771ec70, text=..., buttonOk=..., options=options@entry=..., title=...) at /usr/src/debug/kwidgetsaddons-5.100.0/src/kmessagebox.cpp:1000 #28 0x00007fe790623ad3 in KMessageBox::sorry (parent=parent@entry=0x0, text=..., title=..., options=options@entry=...) at /usr/src/debug/kwidgetsaddons-5.100.0/src/kmessagebox.cpp:1007 #29 0x000056118524b71f in Skanlite::reselectScannerDevice (this=<optimized out>) at /usr/src/debug/skanlite-22.08.3/src/skanlite.cpp:299 #30 0x00007fe78f3132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffc9907e590, r=0x7ffc9907f2e0, this=0x56118776a1a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #31 doActivate<false> (sender=0x56118739ccb0, signal_index=9, argv=0x7ffc9907e590) at kernel/qobject.cpp:3919 #32 0x00007fe78f30c74f in QMetaObject::activate (sender=sender@entry=0x56118739ccb0, m=m@entry=0x7fe7904be160, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc9907e590) at kernel/qobject.cpp:3979 #33 0x00007fe790097072 in QAbstractButton::clicked (this=this@entry=0x56118739ccb0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #34 0x00007fe7900972da in QAbstractButtonPrivate::emitClicked (this=0x5611873fe050) at widgets/qabstractbutton.cpp:416 #35 0x00007fe790098b78 in QAbstractButtonPrivate::click (this=0x5611873fe050) at widgets/qabstractbutton.cpp:409 #36 0x00007fe790098d97 in QAbstractButton::mouseReleaseEvent (this=0x56118739ccb0, e=0x7ffc9907eb10) at widgets/qabstractbutton.cpp:1045 #37 0x00007fe78ffe6c38 in QWidget::event (this=0x56118739ccb0, event=0x7ffc9907eb10) at kernel/qwidget.cpp:9043 #38 0x00007fe78ffa53fe in QApplicationPrivate::notify_helper (this=this@entry=0x5611871fb640, receiver=receiver@entry=0x56118739ccb0, e=e@entry=0x7ffc9907eb10) at kernel/qapplication.cpp:3637 #39 0x00007fe78ffad922 in QApplication::notify (this=<optimized out>, receiver=0x56118739ccb0, e=<optimized out>) at kernel/qapplication.cpp:3081 #40 0x00007fe78f2dc128 in QCoreApplication::notifyInternal2 (receiver=0x56118739ccb0, event=0x7ffc9907eb10) at kernel/qcoreapplication.cpp:1064 #41 0x00007fe78ffaba9e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56118739ccb0, event=event@entry=0x7ffc9907eb10, alienWidget=<optimized out>, nativeWidget=0x7ffc9907f2e0, buttonDown=buttonDown@entry=0x7fe7904f0330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619 #42 0x00007fe78ffffa58 in QWidgetWindow::handleMouseEvent (this=0x561187766a30, event=0x7ffc9907edc0) at kernel/qwidgetwindow.cpp:683 #43 0x00007fe790002fb0 in QWidgetWindow::event (this=0x561187766a30, event=0x7ffc9907edc0) at kernel/qwidgetwindow.cpp:300 #44 0x00007fe78ffa53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561187766a30, e=0x7ffc9907edc0) at kernel/qapplication.cpp:3637 #45 0x00007fe78f2dc128 in QCoreApplication::notifyInternal2 (receiver=0x561187766a30, event=0x7ffc9907edc0) at kernel/qcoreapplication.cpp:1064 #46 0x00007fe78f77b9ad in QGuiApplicationPrivate::processMouseEvent (e=0x7fe77c006c00) at kernel/qguiapplication.cpp:2285 #47 0x00007fe78f74f37c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169 #48 0x00007fe78d3611e0 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:74 #49 0x00007fe78dc6aa90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #50 0x00007fe78dc6ae48 in ?? () from /lib64/libglib-2.0.so.0 #51 0x00007fe78dc6aedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #52 0x00007fe78f333b56 in QEventDispatcherGlib::processEvents (this=0x561187231090, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #53 0x00007fe78f2dab9b in QEventLoop::exec (this=this@entry=0x7ffc9907f0f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #54 0x00007fe78f2e2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #55 0x00007fe78f76ee4c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870 #56 0x00007fe78ffa5375 in QApplication::exec () at kernel/qapplication.cpp:2829 #57 0x0000561185245e5a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/skanlite-22.08.3/src/main.cpp:91 [Inferior 1 (process 12109) detached] The reporter indicates this bug may be a duplicate of or related to bug 458517. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.