Bug 364187 - Skanlite freezes at some point
Summary: Skanlite freezes at some point
Status: RESOLVED WORKSFORME
Alias: None
Product: Skanlite
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 16:03 UTC by Aleix Pol
Modified: 2020-11-24 11:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix Pol 2016-06-10 16:03:32 UTC
After selecting the device, it takes a while for it, but it ends up freezing. Here's a backtrace:
Thread 1 "skanlite" received signal SIGINT, Interrupt.
0x00007ffff362468d in poll () from /usr/lib/libc.so.6
(gdb) where
#0  0x00007ffff362468d in poll () from /usr/lib/libc.so.6
#1  0x00007fffec88c235 in ?? () from /usr/lib/libusb-1.0.so.0
#2  0x00007fffec88d1c3 in libusb_handle_events_timeout_completed () from /usr/lib/libusb-1.0.so.0
#3  0x00007fffec88d300 in libusb_handle_events_completed () from /usr/lib/libusb-1.0.so.0
#4  0x00007fffec88dbf1 in ?? () from /usr/lib/libusb-1.0.so.0
#5  0x00007fffec88dcd9 in ?? () from /usr/lib/libusb-1.0.so.0
#6  0x00007fffec88e09f in libusb_bulk_transfer () from /usr/lib/libusb-1.0.so.0
#7  0x00007ffff33213bb in sanei_usb_read_bulk () from /usr/lib/libsane.so.1
#8  0x00007fffcbddeb10 in sanei_pixma_read () from /usr/lib/sane/libsane-pixma.so.1
#9  0x00007fffcbddf73f in sanei_pixma_cmd_transaction () from /usr/lib/sane/libsane-pixma.so.1
#10 0x00007fffcbddf8e7 in sanei_pixma_exec () from /usr/lib/sane/libsane-pixma.so.1
#11 0x00007fffcbde0c7a in ?? () from /usr/lib/sane/libsane-pixma.so.1
#12 0x00007fffcbde0cda in ?? () from /usr/lib/sane/libsane-pixma.so.1
#13 0x00007fffcbde007a in sanei_pixma_wait_event () from /usr/lib/sane/libsane-pixma.so.1
#14 0x00007fffcbddb13b in ?? () from /usr/lib/sane/libsane-pixma.so.1
#15 0x00007fffcbddc5f2 in sane_pixma_control_option () from /usr/lib/sane/libsane-pixma.so.1
#16 0x00007ffff7bb6e52 in KSaneIface::KSaneOptSlider::readValue (this=0x842a30) at /home/apol/devel/frameworks/libksane/src/options/ksaneoptslider.cpp:71
#17 0x00007ffff7bad8f8 in KSaneIface::KSaneWidgetPrivate::pollPollOptions (this=0x70f560) at /home/apol/devel/frameworks/libksane/src/ksanewidget_p.cpp:1172
#18 0x00007ffff7bbc3ad in KSaneIface::KSaneWidgetPrivate::qt_static_metacall (_o=0x70f560, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fffffffd620) at src/moc_ksanewidget_p.cpp:151
#19 0x00007ffff4427fc9 in QMetaObject::activate (sender=sender@entry=0x70f778, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3740
#20 0x00007ffff44288e7 in QMetaObject::activate (sender=sender@entry=0x70f778, m=m@entry=0x7ffff4644c40 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0)
    at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3602
#21 0x00007ffff449dfd0 in QTimer::timeout (this=this@entry=0x70f778) at .moc/moc_qtimer.cpp:198
#22 0x00007ffff4434858 in QTimer::timerEvent (this=0x70f778, e=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qtimer.cpp:254
#23 0x00007ffff4428d5b in QObject::event (this=0x70f778, e=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:1285
#24 0x00007ffff4cce2cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x70f778, e=0x7fffffffd990) at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3799
#25 0x00007ffff4cd5461 in QApplication::notify (this=0x7fffffffe1b0, receiver=0x70f778, e=0x7fffffffd990) at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3556
#26 0x00007ffff43fe1a8 in QCoreApplication::notifyInternal2 (receiver=0x70f778, event=event@entry=0x7fffffffd990) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:988
#27 0x00007ffff444e77e in QCoreApplication::sendEvent (event=0x7fffffffd990, receiver=<optimized out>) at ../../include/QtCore/../../../../frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.h:231
#28 QTimerInfoList::activateTimers (this=0x6924d0) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:644
#29 0x00007ffff444eca1 in timerSourceDispatch (source=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:182
#30 0x00007fffedcb2dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007fffedcb3040 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007fffedcb30ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007ffff444f75f in QEventDispatcherGlib::processEvents (this=0x68f940, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#34 0x00007ffff43fc72a in QEventLoop::exec (this=this@entry=0x7fffffffdbd0, flags=..., flags@entry=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:210
#35 0x00007ffff440482d in QCoreApplication::exec () at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1261
#36 0x000000000040d485 in main (argc=1, argv=0x7fffffffe2c8) at /home/apol/devel/frameworks/skanlite/src/main.cpp:100


Reproducible: Always




If I press scan really fast, it seems to work.
Comment 1 Justin Zobel 2020-11-24 05:21:04 UTC
Aleix, does this issue still exist?
Comment 2 Aleix Pol 2020-11-24 11:44:18 UTC
No, works now. Thanks!