Bug 295674 - AquireImage/XSane crashes when scanning on HP Deskjet 1050
Summary: AquireImage/XSane crashes when scanning on HP Deskjet 1050
Status: RESOLVED NOT A BUG
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 13:04 UTC by Trevor
Modified: 2012-03-11 23:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor 2012-03-10 13:04:55 UTC
Application: scangui (2.1.1)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Linux Mint 12 KDE

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

Followed same process within Aquire Images (scangui) and XSane. I aquire a preview, then select an area near the bottom right corner. When I click to scan the app crashes. I am scanning using a HP Deskjet 1050. Happens every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Acquire images (scangui), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7763740 (LWP 1791))]

Thread 4 (Thread 0xb546bb70 (LWP 1793)):
#0  0x00bfdd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x063aa7d5 in do_gettime (frac=0xb546aff0, sec=0xb546afe8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0647d4b6 in QTimerInfoList::updateCurrentTime (this=0xb4b018bc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0647d80a in QTimerInfoList::timerWait (this=0xb4b018bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0647c053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb546b0fc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0647c0ed in timerSourcePrepare (source=0xb4b01888, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0132f88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01330637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01330c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0647cb37 in QEventDispatcherGlib::processEvents (this=0xb4b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0644d1dd in QEventLoop::processEvents (this=0xb546b280, flags=...) at kernel/qeventloop.cpp:149
#12 0x0644d421 in QEventLoop::exec (this=0xb546b280, flags=...) at kernel/qeventloop.cpp:201
#13 0x0635090b in QThread::exec (this=0x884ac20) at thread/qthread.cpp:498
#14 0x0642de2d in QInotifyFileSystemWatcherEngine::run (this=0x884ac20) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x063537b3 in QThreadPrivate::start (arg=0x884ac20) at thread/qthread_unix.cpp:331
#16 0x0064ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb4abeb70 (LWP 1794)):
#0  0x00650dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x001eff14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x01e14429 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#3  0x01e13f0b in avahi_simple_poll_run () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#4  0x01e14175 in avahi_simple_poll_iterate () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#5  0x01e14356 in avahi_simple_poll_loop () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#6  0x01e14494 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#7  0x0064ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3e4eb70 (LWP 1804)):
[KCrash Handler]
#7  bb_start_scan (ps=0x8a1aad8) at scan/sane/bb_ledm.c:850
#8  0x08279ab0 in ledm_start (handle=0x8a1aad8) at scan/sane/ledm.c:781
#9  0x0826c708 in sane_hpaio_start (handle=0x8a1aad8) at scan/sane/hpaio.c:2818
#10 0x0067849f in sane_dll_start (handle=0x89e08b8) at dll.c:1263
#11 0x0067564b in sane_start (h=0x89e08b8) at dll-s.c:48
#12 0x003401fb in KSaneIface::KSaneScanThread::run (this=0x8a3ba00) at ../../libksane/ksane_scan_thread.cpp:98
#13 0x063537b3 in QThreadPrivate::start (arg=0x8a3ba00) at thread/qthread_unix.cpp:331
#14 0x0064ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7763740 (LWP 1791)):
#0  0x00c0c416 in __kernel_vsyscall ()
#1  0x001d340e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x026f1000 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0x026f160c in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0x026f16c1 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#5  0x0837b0d0 in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0x0837b4b8 in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0x0836bc88 in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#8  0x05200cc3 in x11EventSourcePrepare (s=0x86ffaa8, timeout=0xbfaff2cc) at kernel/qguieventdispatcher_glib.cpp:77
#9  0x0132f88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01330637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x01330c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0x0647cada in QEventDispatcherGlib::processEvents (this=0x86e2bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#13 0x05200e7a in QGuiEventDispatcherGlib::processEvents (this=0x86e2bb0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#14 0x0644d1dd in QEventLoop::processEvents (this=0xbfaff4a4, flags=...) at kernel/qeventloop.cpp:149
#15 0x0644d421 in QEventLoop::exec (this=0xbfaff4a4, flags=...) at kernel/qeventloop.cpp:201
#16 0x0645219d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#17 0x05146924 in QApplication::exec () at kernel/qapplication.cpp:3760
#18 0x0804d090 in main (argc=) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/acquireimages/scangui.cpp:84

Reported using DrKonqi
Comment 1 Christoph Feck 2012-03-11 12:43:50 UTC
This is most certainly a SANE bug. If this is reproducible with xsane, Please report this to SANE developers via http://www.sane-project.org/bugs.html
Comment 2 Trevor 2012-03-11 16:49:37 UTC
Reported under reference 313568;

https://alioth.debian.org/tracker/index.php?func=detail&aid=313568&group_id=30186&atid=410366

(In reply to comment #1)
> This is most certainly a SANE bug. If this is reproducible with xsane,
> Please report this to SANE developers via
> http://www.sane-project.org/bugs.html
Comment 3 Trevor 2012-03-11 23:34:26 UTC
Not able to resolve.

Date: 2012-03-11 17:08
Sender: m. allan noah

The hpaio backend is produced by the hplip project, not by the SANE project. http://hplipopensource.com/hplip-web/index.html