Bug 361364

Summary: Problems in scanning, using Canoscan 8800F
Product: [Frameworks and Libraries] libksane Reporter: Peter Nichol <pete1>
Component: generalAssignee: Kåre Särs <kare.sars>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Nichol 2016-04-04 00:04:43 UTC
Application: scangui (4.6.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-29-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: scanning glass plate negatives using AquireImages programme, the transparency selection with 2400dpi, colours inverted and greyscale

- Unusual behavior- I noticed: the scan finished much quicker than it should have done. The image produced was only a small section of the negative selected. This has happened at least a dozen times.
System is OpenSuse v 13.2

The crash can be reproduced sometimes.

-- Backtrace:
Application: Acquire images (scangui), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb11aeac800 (LWP 4729))]

Thread 4 (Thread 0x7fb105623700 (LWP 4732)):
#0  0x00007fb117c1abdd in poll () at /lib64/libc.so.6
#1  0x00007fb1115a4268 in  () at /usr/lib64/libusb-1.0.so.0
#2  0x00007fb1145d90a4 in start_thread () at /lib64/libpthread.so.0
#3  0x00007fb117c2300d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb107db5700 (LWP 4733)):
#0  0x00007fb1145da4c2 in pthread_join () at /lib64/libpthread.so.0
#1  0x00007fb1176da979 in sanei_thread_waitpid (pid=pid@entry=140398185936640, status=status@entry=0x7fb107db4c5c) at sanei_thread.c:503
#2  0x00007fb104c01217 in terminate_reader_task (ss=0x1595c70, exit_code=0x0) at pixma.c:1097
#3  0x00007fb104c013ae in read_image (ss=ss@entry=0x1595c70, buf=buf@entry=0x16ba300, size=size@entry=100000, readlen=readlen@entry=0x7fb107db4cd8) at pixma.c:1207
#4  0x00007fb104c0286b in sane_pixma_read (readlen=0x7fb107db4cd8, size=100000, buf=0x16ba300, ss=0x1595c70) at pixma.c:1184
#5  0x00007fb104c0286b in sane_pixma_read (h=<optimized out>, buf=0x16ba300 "", maxlen=100000, len=0x7fb107db4d9c) at pixma.c:1562
#6  0x00007fb11a88eda7 in  () at /usr/lib64/libksane.so.0
#7  0x00007fb11a88f230 in  () at /usr/lib64/libksane.so.0
#8  0x00007fb11826f79f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007fb1145d90a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb117c2300d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb0fffff700 (LWP 4734)):
#0  0x00007fb117c16cad in read () at /lib64/libc.so.6
#1  0x00007fb11159e262 in  () at /usr/lib64/libusb-1.0.so.0
#2  0x00007fb11159ed03 in libusb_handle_events_timeout_completed () at /usr/lib64/libusb-1.0.so.0
#3  0x00007fb11159ee00 in libusb_handle_events_completed () at /usr/lib64/libusb-1.0.so.0
#4  0x00007fb11159f651 in  () at /usr/lib64/libusb-1.0.so.0
#5  0x00007fb11159f729 in  () at /usr/lib64/libusb-1.0.so.0
#6  0x00007fb11159fad4 in libusb_interrupt_transfer () at /usr/lib64/libusb-1.0.so.0
#7  0x00007fb1176d5dc2 in sanei_usb_read_int (dn=<optimized out>, buffer=buffer@entry=0x7fb0ffffec40 "\020\355\377\377\260\177", size=size@entry=0x7fb0ffffebe8) at sanei_usb.c:2737
#8  0x00007fb104c04473 in sanei_pixma_wait_interrupt (io=0x13c1980, buf=buf@entry=0x7fb0ffffec40, size=size@entry=64, timeout=<optimized out>, timeout@entry=0) at pixma_io_sanei.c:576
#9  0x00007fb104c0a5c5 in handle_interrupt (s=s@entry=0x158c0e0, timeout=timeout@entry=0) at pixma_mp810.c:1094
#10 0x00007fb104c0b04a in mp810_scan (s=0x158c0e0) at pixma_mp810.c:2049
#11 0x00007fb104c05c24 in sanei_pixma_scan (s=0x158c0e0, sp=sp@entry=0x1595c80) at pixma_common.c:850
#12 0x00007fb104c00f25 in reader_loop (ss=0x1595c70) at pixma.c:1016
#13 0x00007fb104c01115 in reader_thread (arg=0x1595c70) at pixma.c:1076
#14 0x00007fb1176da71e in local_thread (arg=0x7fb1178f7e00 <td>) at sanei_thread.c:355
#15 0x00007fb1145d90a4 in start_thread () at /lib64/libpthread.so.0
#16 0x00007fb117c2300d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb11aeac800 (LWP 4729)):
[KCrash Handler]
#5  0x00007fb1189ae5fa in  () at /usr/lib64/libQtGui.so.4
#6  0x00007fb1189a9c25 in  () at /usr/lib64/libQtGui.so.4
#7  0x00007fb118a708c0 in  () at /usr/lib64/libQtGui.so.4
#8  0x00007fb1189fe740 in QPainter::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) () at /usr/lib64/libQtGui.so.4
#9  0x00007fb11a88091e in  () at /usr/lib64/libksane.so.0
#10 0x00007fb118eaf7f8 in QGraphicsView::paintEvent(QPaintEvent*) () at /usr/lib64/libQtGui.so.4
#11 0x00007fb1189059f0 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#12 0x00007fb118ca25ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#13 0x00007fb118eae429 in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#14 0x00007fb118371416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#15 0x00007fb1188b674c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#16 0x00007fb1188bccad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#17 0x00007fb119a97e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#18 0x00007fb1183712ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#19 0x00007fb118900111 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#20 0x00007fb118900b40 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#21 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#22 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#23 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#24 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#25 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#26 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#27 0x00007fb1188ffccc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#28 0x00007fb118900b40 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#29 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#30 0x00007fb1188ffccc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#31 0x00007fb118900b40 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#32 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#33 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#34 0x00007fb1189009af in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#35 0x00007fb1188ffccc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#36 0x00007fb118900b40 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#37 0x00007fb1188ffccc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#38 0x00007fb118900b40 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#39 0x00007fb1188ffccc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#40 0x00007fb118abecce in  () at /usr/lib64/libQtGui.so.4
#41 0x00007fb1188f55c0 in QWidgetPrivate::syncBackingStore() () at /usr/lib64/libQtGui.so.4
#42 0x00007fb11890556a in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#43 0x00007fb1188b676c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#44 0x00007fb1188bccad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#45 0x00007fb119a97e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#46 0x00007fb1183712ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#47 0x00007fb11837457d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#48 0x00007fb11839e8fe in  () at /usr/lib64/libQtCore.so.4
#49 0x00007fb112d65a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#50 0x00007fb112d65c48 in  () at /usr/lib64/libglib-2.0.so.0
#51 0x00007fb112d65cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#52 0x00007fb11839e0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#53 0x00007fb118953676 in  () at /usr/lib64/libQtGui.so.4
#54 0x00007fb11836fe6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#55 0x00007fb118370165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#56 0x00007fb1183755b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#57 0x0000000000406d91 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-4.6.0/extra/kipi-plugins/acquireimages/scangui.cpp:82

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:52:02 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:40:41 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 3 Bug Janitor Service 2018-12-02 03:46:48 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!