Bug 454409 - Skanlite crashes when it attempts to access my scanner.
Summary: Skanlite crashes when it attempts to access my scanner.
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-25 20:57 UTC by Roke Julian Lockhart Beedell
Modified: 2022-09-01 13:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.54 KB, text/plain)
2022-06-15 19:29 UTC, Roke Julian Lockhart Beedell
Details
New crash information added by DrKonqi (3.58 KB, text/plain)
2022-09-01 10:40 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-05-25 20:57:47 UTC
Application: skanlite (22.04.1)

Qt Version: 5.15.4
Frameworks Version: 5.94.0
Operating System: Linux 5.18.0-60.fc37.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 37 (Rawhide Prerelease)
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I have been able to scan 2 times, but currently Skanlite is unable to preview and reselect the device. I have not interacted with my printer since my 2nd initialisation of Skanlite. This error occured during my 3rd and subsequent initialisations.

- Custom settings of the application:
This occurred during my 3rd initialisation of Skanlite. The previous initialisation did not retain what I configured during my 1st initialisation. The 3rd initialisation retained the configuration of the 2nd initialisation.

Closure of Skanlite and subsequent disablement and enablement of my scanner has remediated this problem: I was instructed to choose the device to utilise, I am able to preview and scan, and Skanlite did not retain my previous configuration.

The crash can be reproduced every time.

-- Backtrace:
Application: Skanlite (skanlite), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f3e4b203ee5 in esci_request_status () from /usr/lib64/sane/libsane-epson2.so.1
#5  0x00007f3e4b204c5a in close_scanner () from /usr/lib64/sane/libsane-epson2.so.1
#6  0x00007f3e568114c8 in sane_dll_close () from /lib64/libsane.so.1
#7  0x00007f3e586b3a12 in KSaneIface::KSaneCore::closeDevice() () from /lib64/libKF5Sane.so.5
#8  0x00007f3e586a9aca in KSaneIface::KSaneWidget::closeDevice() () from /lib64/libKF5Sane.so.5
#9  0x00005653f0dc5d4a in Skanlite::reselectScannerDevice() ()
#10 0x00007f3e56f28216 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007f3e57aa3ca6 in QAbstractButton::clicked(bool) () from /lib64/libQt5Widgets.so.5
#12 0x00007f3e57aa3f1e in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt5Widgets.so.5
#13 0x00007f3e57aa5b5c in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#14 0x00007f3e57aa5d7b in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f3e579f2768 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f3e579afc42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f3e579b82c2 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f3e56ef4c38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007f3e579b63c2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#20 0x00007f3e57a0babc in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007f3e57a0ee80 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f3e579afc42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f3e56ef4c38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#24 0x00007f3e57330d95 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#25 0x00007f3e5730ff7c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#26 0x00007f3e526a7b7e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#27 0x00007f3e55640f9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007f3e556962a8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#29 0x00007f3e5563e930 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007f3e56f458da in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#31 0x00007f3e56ef369a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f3e56efb742 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#33 0x00005653f0dc04be in main ()
[Inferior 1 (process 32668) detached]

Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2022-06-15 19:29:25 UTC
Created attachment 149755 [details]
New crash information added by DrKonqi

skanlite (22.04.1) using Qt 5.15.4

I attempted to "Reselect scanner device". I evaluated two times time whether this caused the software to crash. It did not the second time.

-- Backtrace (Reduced):
#4  0x00007f6194f06ee5 in esci_request_status () from /usr/lib64/sane/libsane-epson2.so.1
#5  0x00007f6194f07c5a in close_scanner () from /usr/lib64/sane/libsane-epson2.so.1
#6  0x00007f619c4bc4c8 in sane_dll_close () from /lib64/libsane.so.1
#7  0x00007f619e35fa12 in KSaneIface::KSaneCore::closeDevice() () from /lib64/libKF5Sane.so.5
#8  0x00007f619e355aca in KSaneIface::KSaneWidget::closeDevice() () from /lib64/libKF5Sane.so.5
Comment 2 Kåre Särs 2022-06-16 17:06:20 UTC
Thanks for the report.

Can you install the debug symbols for sabe-backends?

Thanks,
  Kåre
Comment 3 Roke Julian Lockhart Beedell 2022-06-16 21:13:21 UTC
(In reply to Kåre Särs from comment #2):
> Can you install the debug symbols for sabe-backends?

As "http://reddit.com/comments/vdquh2/comment/icm40wf" directs?
Comment 4 Bug Janitor Service 2022-07-01 04:37:07 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
mark the bug 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 5 Kåre Särs 2022-07-01 18:20:54 UTC
(In reply to BEEDELL ROKE JULIAN LOCKHART from comment #3)
> (In reply to Kåre Särs from comment #2):
> > Can you install the debug symbols for sabe-backends?
> 
> As "http://reddit.com/comments/vdquh2/comment/icm40wf" directs?

I'm a bit uncertain as I do not use Fedora... but does look like it could work :)

Thanks,
  Kåre
Comment 6 Bug Janitor Service 2022-07-16 04:36:52 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
mark the bug 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 7 Bug Janitor Service 2022-07-31 04:35:41 UTC
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!
Comment 8 Roke Julian Lockhart Beedell 2022-09-01 10:40:42 UTC
Created attachment 151758 [details]
New crash information added by DrKonqi

skanlite (22.04.1) using Qt 5.15.5

Restarted scanner, which remediated the problem, but now it is unable to access the scanner whatsoever. Cups presents what "http://github.com/OpenPrinting/cups/issues/467" states.

-- Backtrace (Reduced):
#4  0x00007f2a039b2ea5 in esci_request_status () from /usr/lib64/sane/libsane-epson2.so.1
#5  0x00007f2a039b3c1a in close_scanner () from /usr/lib64/sane/libsane-epson2.so.1
#6  0x00007f2a1df954d8 in sane_dll_close () from /lib64/libsane.so.1
#7  0x00007f2a1fe82a12 in KSaneIface::KSaneCore::closeDevice() () from /lib64/libKF5Sane.so.5
#8  0x00007f2a1fe78aca in KSaneIface::KSaneWidget::closeDevice() () from /lib64/libKF5Sane.so.5
Comment 9 Roke Julian Lockhart Beedell 2022-09-01 13:20:33 UTC
(In reply to BEEDELL ROKE JULIAN LOCKHART from comment #8)
> Created attachment 151758 [details]
> New crash information added by DrKonqi
> 
> skanlite (22.04.1) using Qt 5.15.5
> 
> Restarted scanner, which remediated the problem, but now it is unable to
> access the scanner whatsoever. Cups presents what
> "http://github.com/OpenPrinting/cups/issues/467" states.
> 
> -- Backtrace (Reduced):
> #4  0x00007f2a039b2ea5 in esci_request_status () from
> /usr/lib64/sane/libsane-epson2.so.1
> #5  0x00007f2a039b3c1a in close_scanner () from
> /usr/lib64/sane/libsane-epson2.so.1
> #6  0x00007f2a1df954d8 in sane_dll_close () from /lib64/libsane.so.1
> #7  0x00007f2a1fe82a12 in KSaneIface::KSaneCore::closeDevice() () from
> /lib64/libKF5Sane.so.5
> #8  0x00007f2a1fe78aca in KSaneIface::KSaneWidget::closeDevice() () from
> /lib64/libKF5Sane.so.5

https://bugzilla.redhat.com/show_bug.cgi?id=2123313