Bug 294737 - Fall with the Scan
Summary: Fall with the Scan
Status: RESOLVED WORKSFORME
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-02-24 09:35 UTC by Reinhard
Modified: 2018-10-27 04:06 UTC (History)
0 users

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 Reinhard 2012-02-24 09:35:44 UTC
Application: skanlite (0.7)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.11-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Fall with the Scan

After calls of the scan programme and adjusting of the scan mode on 'gray step' and scan resolution on '150 DPI' the process is broken off. This recurs regularly. So with black-and-white Scan the programme falls.
With setting Scan mode 'color' and scan resolution '600 DPI' it is explained scan. So there functions of the Scan.

The crash can be reproduced every time.

-- Backtrace:
Application: Skanlite (skanlite), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f53c8134760 (LWP 6886))]

Thread 3 (Thread 0x7f53b7715700 (LWP 6888)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff69e2e7a1 in ?? ()
#2  0x00007f53c0fc22b3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f53c67b72b2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f53c687a31d in QTimerInfoList::updateCurrentTime (this=0x7f53b00ff120) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f53c687a695 in QTimerInfoList::timerWait (this=0x7f53b00ff120, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f53c687915c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f53b7714c4c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f53c6879205 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f53c0d11087 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#10 0x00007f53c0d11fa9 in ?? () from /lib64/libglib-2.0.so.0
#11 0x00007f53c0d12650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#12 0x00007f53c6879956 in QEventDispatcherGlib::processEvents (this=0x774c20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f53c684e032 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f53c684e245 in QEventLoop::exec (this=0x7f53b7714de0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f53c67631e4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#16 0x00007f53c682f948 in QInotifyFileSystemWatcherEngine::run (this=0x7203e0) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007f53c6765a5e in QThreadPrivate::start (arg=0x7203e0) at thread/qthread_unix.cpp:285
#18 0x00007f53c64d6a3f in start_thread () from /lib64/libpthread.so.0
#19 0x00007f53c529171d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f53b5877700 (LWP 6899)):
[KCrash Handler]
#6  handle_bulk_completion (ctx=0x73b020, fds=<value optimized out>, nfds=3, num_ready=0) at os/linux_usbfs.c:1791
#7  reap_for_handle (ctx=0x73b020, fds=<value optimized out>, nfds=3, num_ready=0) at os/linux_usbfs.c:2091
#8  op_handle_events (ctx=0x73b020, fds=<value optimized out>, nfds=3, num_ready=0) at os/linux_usbfs.c:2129
#9  0x00007f53bd91552a in handle_events (ctx=0x73b020, tv=<value optimized out>) at io.c:1867
#10 0x00007f53bd915f43 in libusb_handle_events_timeout (ctx=0x73b020, tv=<value optimized out>) at io.c:1938
#11 0x00007f53bd915fcd in libusb_handle_events (ctx=<value optimized out>) at io.c:1981
#12 0x00007f53bd9167a5 in libusb_control_transfer (dev_handle=0x6ae990, bmRequestType=<value optimized out>, bRequest=<value optimized out>, wValue=135, wIndex=0, data=0x7f53b5875b1c "\024", wLength=1, timeout=30000) at sync.c:105
#13 0x00007f53be38a03b in usb_control_msg (dev=<value optimized out>, bmRequestType=<value optimized out>, bRequest=<value optimized out>, wValue=<value optimized out>, wIndex=<value optimized out>, bytes=<value optimized out>, size=1, timeout=30000) at core.c:841
#14 0x00007f53c2d2a3b0 in sanei_usb_control_msg (dn=1, rtype=64, req=12, value=135, index=0, len=1, data=0x7f53b5875b1c "\024") at sanei_usb.c:2490
#15 0x00007f53b6bd5d1b in parusb_write_reg (fd=<value optimized out>, bReg=<value optimized out>, bValue=20 '\024') at niash_xfer.c:182
#16 0x00007f53b6bd5eb2 in NiashReadReg (iHandle=1, bReg=32 ' ', pbData=0x7f53b5875b8e "?B") at niash_xfer.c:222
#17 0x00007f53b6bd60f3 in XferBufferGetLine (iHandle=1, p=0x7f53b5875c60, pabLine=0x8bd93c "", fReturn=<value optimized out>) at niash_core.c:759
#18 0x00007f53b6bd687e in CircBufferFill (iHandle=1, p=0x7f53b5875c60, iWidth=<value optimized out>, iHeight=<value optimized out>, iMisAlignment=<value optimized out>, iReversedHead=1, iScaleDownDpi=1, iScaleDownLpi=1) at niash_core.c:817
#19 CircBufferInit (iHandle=1, p=0x7f53b5875c60, iWidth=<value optimized out>, iHeight=<value optimized out>, iMisAlignment=<value optimized out>, iReversedHead=1, iScaleDownDpi=1, iScaleDownLpi=1) at niash_core.c:1082
#20 0x00007f53b6bd77ef in SimpleCalibExt (pHWPar=0x847200, pabCalWhite=0x7f53b5876da0 "P\342\254\307S\177", pabCalibTable=0x7f53b6de1820 "") at niash_core.c:1281
#21 0x00007f53b6bd93e2 in _WaitForLamp (h=0x846d60) at niash.c:417
#22 sane_niash_start (h=0x846d60) at niash.c:1299
#23 0x00007f53c78b4772 in KSaneIface::KSaneScanThread::run (this=0x873700) at /usr/src/debug/kdegraphics-4.6.0/libs/libksane/libksane/ksane_scan_thread.cpp:98
#24 0x00007f53c6765a5e in QThreadPrivate::start (arg=0x873700) at thread/qthread_unix.cpp:285
#25 0x00007f53c64d6a3f in start_thread () from /lib64/libpthread.so.0
#26 0x00007f53c529171d in clone () from /lib64/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f53c8134760 (LWP 6886)):
#0  0x00007f53c64db38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f53c676614b in wait (this=<value optimized out>, mutex=0x763840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x763840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f53c6765200 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:683
#4  0x00007f53c68231b0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x774ad0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:440
#5  0x00007f53c6823289 in QFileSystemWatcher::~QFileSystemWatcher (this=0x774ad0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:456
#6  0x00007f53c68611b4 in QObjectPrivate::deleteChildren (this=0x763650) at kernel/qobject.cpp:1949
#7  0x00007f53c6865e52 in QObject::~QObject (this=0x69f8a0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#8  0x00007f53c3ce97a9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x69f8a0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007f53c51f35a1 in __run_exit_handlers () from /lib64/libc.so.6
#10 0x00007f53c51f35f5 in exit () from /lib64/libc.so.6
#11 0x00007f53c5a6a378 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:773
#12 0x00007f53c71a3ab8 in KApplication::xioErrhandler (this=0x7fff69e14310, dpy=0x660ec0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:417
#13 0x00007f53c3f7178e in _XIOError () from /usr/lib64/libX11.so.6
#14 0x00007f53c3f6f03d in _XEventsQueued () from /usr/lib64/libX11.so.6
#15 0x00007f53c3f5f8df in XEventsQueued () from /usr/lib64/libX11.so.6
#16 0x00007f53c5aa2c2c in x11EventSourceCheck (s=0x63e120) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f53c0d1184c in g_main_context_check () from /lib64/libglib-2.0.so.0
#18 0x00007f53c0d12132 in ?? () from /lib64/libglib-2.0.so.0
#19 0x00007f53c0d12650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007f53c68798ff in QEventDispatcherGlib::processEvents (this=0x621b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f53c5aa2d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f53c684e032 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f53c684e245 in QEventLoop::exec (this=0x7fff69e14260, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f53c685268b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x000000000040ac57 in _start ()

Reported using DrKonqi
Comment 1 Kåre Särs 2013-02-02 19:46:24 UTC
This looks like a sane backend (driver) bug. 

Are you able to reproduce with other scanning applications?
Comment 2 Andrew Crouthamel 2018-09-24 02:13:53 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 set the bug status 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 Andrew Crouthamel 2018-10-27 04:06:30 UTC
Dear Bug Submitter,

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!