https://bugs.kde.org/show_bug.cgi?id=480816
Bug ID: 480816 Summary: Skanlite crashed while receiving data from the HP officejet pro 8720 after scanning job completed Classification: Applications Product: Skanlite Version: 22.12.3 Platform: openSUSE OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kare.s...@iki.fi Reporter: linux.bugtrack...@gmx.com Target Milestone: --- Application: skanlite (22.12.3) Qt Version: 5.15.8 Frameworks Version: 5.103.0 Operating System: Linux 5.14.21-150500.55.44-default x86_64 Windowing System: X11 Distribution: "openSUSE Leap 15.5" DrKonqi: 5.27.9 [KCrashBackend] -- Information about the crash: While scanning the document from thd ADR, after scanner has complited scanning and send data back to the Skanlite the application has crashed. After I checked if there are any messages on the scanner, there was no errors displayed. However, I found that by mistake I have leave the other document on the glass after my previous scanning. I do not know if this was the reason. I was trying to reproduce this issue, but I was not able to do it again, next time when I try to scan the document with this "setup" there was no issues. The crash does not seem to be reproducible. -- Backtrace: Application: Skanlite (skanlite), signal: Segmentation fault [KCrash Handler] #4 0x00007fee951b1ac5 in KSaneCore::ImageBuilder::copyToImage (this=this@entry=0x55b1fe34aa80, readData=readData@entry=0x55b1fe3323a0 '\377' <repeats 200 times>..., read_bytes=read_bytes@entry=53755) at /usr/src/debug/ksanecore-22.12.3-bp155.1.7.x86_64/src/imagebuilder.cpp:99 #5 0x00007fee951aff41 in KSaneCore::ScanThread::copyToScanData (this=this@entry=0x55b1fe332390, readBytes=53755) at /usr/src/debug/ksanecore-22.12.3-bp155.1.7.x86_64/src/scanthread.cpp:234 #6 0x00007fee951b010c in KSaneCore::ScanThread::readData (this=this@entry=0x55b1fe332390) at /usr/src/debug/ksanecore-22.12.3-bp155.1.7.x86_64/src/scanthread.cpp:210 #7 0x00007fee951b0c18 in KSaneCore::ScanThread::run (this=0x55b1fe332390) at /usr/src/debug/ksanecore-22.12.3-bp155.1.7.x86_64/src/scanthread.cpp:122 #8 0x00007fee957529fc in QThreadPrivate::start (arg=0x55b1fe332390) at thread/qthread_unix.cpp:330 #9 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #10 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7fee6affd700 (LWP 2838) "skanlite:sh5"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fdf15650) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7fee6b7fe700 (LWP 2837) "skanlite:sh4"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fdf15700) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7fee63fff700 (LWP 2836) "skanlite:sh3"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fdf16730) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fee637fe700 (LWP 2835) "skanlite:sh2"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fdf15750) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fee6bfff700 (LWP 2834) "skanlite:sh1"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fdf1bc70) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fee70c68700 (LWP 2833) "skanlite:sh0"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fde3d5e0) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fee71469700 (LWP 2832) "skanlit:disk$0"): #1 0x00007fee7cee73e9 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135 #2 0x00007fee7ce9941b in util_queue_thread_func (input=input@entry=0x55b1fdf1bdd0) at ../src/util/u_queue.c:290 #3 0x00007fee7cee7327 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67 #4 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #5 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fee87dff700 (LWP 2830) "QDBusConnection"): #1 0x00007fee934c1b49 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fee934c1c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fee959ae95c in QEventDispatcherGlib::processEvents (this=0x7fee80000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #4 0x00007fee9594a87a in QEventLoop::exec (this=this@entry=0x7fee87dfeb70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235 #5 0x00007fee95751497 in QThread::exec (this=this@entry=0x7fee96c2b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:547 #6 0x00007fee96bb12e5 in QDBusConnectionManager::run (this=0x7fee96c2b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179 #7 0x00007fee957529fc in QThreadPrivate::start (arg=0x7fee96c2b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330 #8 0x00007fee9473c6ea in start_thread () from /lib64/libpthread.so.0 #9 0x00007fee9535150f in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fee93227a00 (LWP 2829) "skanlite"): #1 0x00007fee95754da4 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:114 #2 QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:133 #3 futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219 #4 futexSemaphoreTryAcquire<false> (timeout=-1, n=n@entry=1, u=...) at thread/qsemaphore.cpp:262 #5 QSemaphore::acquire (this=this@entry=0x7ffc749a6f90, n=n@entry=1) at thread/qsemaphore.cpp:326 #6 0x00007fee959899d2 in doActivate<false> (sender=0x55b1fe0f1370, signal_index=0, argv=0x7ffc749a7010) at kernel/qobject.cpp:3904 #7 0x00007fee95982e82 in QMetaObject::activate (sender=sender@entry=0x55b1fe0f1370, m=m@entry=0x7fee95c2d7c0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc749a7010) at kernel/qobject.cpp:3983 #8 0x00007fee95982f2f in QObject::destroyed (this=this@entry=0x55b1fe0f1370, _t1=<optimized out>, _t1@entry=0x55b1fe0f1370) at .moc/moc_qobject.cpp:219 #9 0x00007fee95987805 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1010 #10 0x00007fee96c0cb09 in QDBusServiceWatcher::~QDBusServiceWatcher (this=0x55b1fe0f1370, __in_chrg=<optimized out>) at qdbusservicewatcher.cpp:260 #11 0x00007fee9597cb8b in QObjectPrivate::deleteChildren (this=0x55b1fe08f210) at kernel/qobject.cpp:2137 #12 0x00007fee9598752e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1115 #13 0x00007fee90c897e3 in OrgKdeKWinTabletModeManagerInterface::~OrgKdeKWinTabletModeManagerInterface (this=0x55b1fe0f12e0, __in_chrg=<optimized out>) at /usr/src/debug/kirigami2-5.102.0-bp155.1.7.x86_64/build/src/libkirigami/tabletmodemanager_interface.cpp:23 #14 OrgKdeKWinTabletModeManagerInterface::~OrgKdeKWinTabletModeManagerInterface (this=0x55b1fe0f12e0, __in_chrg=<optimized out>) at /usr/src/debug/kirigami2-5.102.0-bp155.1.7.x86_64/build/src/libkirigami/tabletmodemanager_interface.cpp:25 #15 0x00007fee9597cb8b in QObjectPrivate::deleteChildren (this=0x55b1fe0f1610) at kernel/qobject.cpp:2137 #16 0x00007fee9598752e in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1115 #17 0x00007fee90c7fd29 in Kirigami::TabletModeWatcherSingleton::~TabletModeWatcherSingleton (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kirigami2-5.102.0-bp155.1.7.x86_64/src/libkirigami/tabletmodewatcher.cpp:21 #18 Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kirigami2-5.102.0-bp155.1.7.x86_64/src/libkirigami/tabletmodewatcher.cpp:27 #19 0x00007fee95286b79 in __run_exit_handlers () from /lib64/libc.so.6 #20 0x00007fee95286d0a in exit () from /lib64/libc.so.6 #21 0x00007fee91cea2d5 in QXcbConnection::processXcbEvents (this=0x55b1fdd65a40, flags=flags@entry=...) at qxcbconnection.cpp:1047 #22 0x00007fee91d0f653 in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:103 #23 0x00007fee934c182b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #24 0x00007fee934c1bd0 in ?? () from /usr/lib64/libglib-2.0.so.0 #25 0x00007fee934c1c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #26 0x00007fee959ae95c in QEventDispatcherGlib::processEvents (this=0x55b1fde3c220, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #27 0x00007fee9594a87a in QEventLoop::exec (this=this@entry=0x7ffc749a7580, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235 #28 0x00007fee959540b7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375 #29 0x000055b1fc5d9581 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/skanlite-22.12.3-bp155.1.5.x86_64/src/main.cpp:91 [Inferior 1 (process 2829) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.