Bug 326700 - Scanlite crashes when asked to scan on an HP scanjet 2400
Summary: Scanlite crashes when asked to scan on an HP scanjet 2400
Status: RESOLVED UPSTREAM
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 0.9
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-10-26 18:45 UTC by kikonomou
Modified: 2013-10-30 20:41 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 kikonomou 2013-10-26 18:45:00 UTC
Application: skanlite (1.0)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed: I opened the Scanlite. Without changing anything, I press the button "scan". Then the program dissapears and gets on the crash dialog. I am using Ubuntu 13.10 64bit (just upgraded to it).

The crash can be reproduced every time.

-- Backtrace:
Application: Skanlite (skanlite), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7a028667c0 (LWP 5324))]

Thread 7 (Thread 0x7f79ee62b700 (LWP 5327)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f79fc76f192 in _L_lock_1142 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f79fc76f110 in __GI___pthread_mutex_lock (mutex=0xb31c00) at pthread_mutex_lock.c:104
#3  0x00007f79fc2d4391 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f79fc292420 in g_source_attach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f79f606ff9f in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f79f6085655 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f79f6025a67 in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8  0x00007f79f60836eb in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9  0x00007f79f602683b in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007f79fc2943a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f79fc2946f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f79fc294afa in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f79f60839d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007f79fc2b90e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f79fc76cf6e in start_thread (arg=0x7f79ee62b700) at pthread_create.c:311
#16 0x00007f79ffb099cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f79ed4e9700 (LWP 5328)):
#0  0x00007f79ffb17c38 in pthread_mutex_lock (mutex=0xd0af60) at forward.c:192
#1  0x00007f79fc2d4391 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f79fc293f2b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f79fc294602 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f79fc29479c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f79fc2947e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f79fc2b90e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f79fc76cf6e in start_thread (arg=0x7f79ed4e9700) at pthread_create.c:311
#8  0x00007f79ffb099cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f79d4cac700 (LWP 5335)):
#0  0x00007f79ffafcf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f79d5ddc198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f79fc76cf6e in start_thread (arg=0x7f79d4cac700) at pthread_create.c:311
#3  0x00007f79ffb099cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f79ecce8700 (LWP 5336)):
#0  0x00007f79ffafcf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f79ef5029bc in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#2  0x00007f79ef50253b in avahi_simple_poll_run () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#3  0x00007f79ef502718 in avahi_simple_poll_iterate () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#4  0x00007f79ef50294d in avahi_simple_poll_loop () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#5  0x00007f79ef502a14 in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#6  0x00007f79fc76cf6e in start_thread (arg=0x7f79ecce8700) at pthread_create.c:311
#7  0x00007f79ffb099cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f79d753a700 (LWP 5337)):
#0  0x00007f79fc76f051 in __GI___pthread_mutex_lock (mutex=0x7f79d00672b0) at pthread_mutex_lock.c:95
#1  0x00007f79fc2d4391 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f79fc293d49 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f79fc2945b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f79fc29479c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7a00282a76 in QEventDispatcherGlib::processEvents (this=0x7f79d010ace0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7a002545ef in QEventLoop::processEvents (this=this@entry=0x7f79d7539d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7a002548e5 in QEventLoop::exec (this=this@entry=0x7f79d7539d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7a0015388f in QThread::exec (this=this@entry=0x15f2ca0) at thread/qthread.cpp:542
#9  0x00007f7a00235d13 in QInotifyFileSystemWatcherEngine::run (this=0x15f2ca0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f7a00155f2f in QThreadPrivate::start (arg=0x15f2ca0) at thread/qthread_unix.cpp:338
#11 0x00007f79fc76cf6e in start_thread (arg=0x7f79d753a700) at pthread_create.c:311
#12 0x00007f79ffb099cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f79c449f700 (LWP 5343)):
[KCrash Handler]
#6  gl646_setup_registers (depth=8, color=1, endx=10887, startx=15, linecnt=10, move=0, resolution=600, slope_table2=0x7f79d0116124, slope_table1=0x7f79d0115f24, regs=0x7f79d01159d8, dev=0x7f79d01159b0, scan_settings=...) at genesys_gl646.c:748
#7  setup_for_scan (dev=dev@entry=0x7f79d01159b0, split=split@entry=1, xcorrection=xcorrection@entry=0, ycorrection=ycorrection@entry=0, settings=...) at genesys_gl646.c:3509
#8  0x00007f79c820e9d4 in simple_scan (dev=dev@entry=0x7f79d01159b0, move=move@entry=0, forward=forward@entry=1, data=data@entry=0x7f79c449ec40, shading=0, settings=...) at genesys_gl646.c:4994
#9  0x00007f79c820f191 in gl646_offset_calibration (dev=0x7f79d01159b0) at genesys_gl646.c:4088
#10 0x00007f79c8201a56 in genesys_flatbed_calibration (dev=0x7f79d01159b0) at genesys.c:3339
#11 genesys_scanner_calibration (dev=dev@entry=0x7f79d01159b0) at genesys.c:3766
#12 0x00007f79c8208ce0 in genesys_start_scan (lamp_off=<optimized out>, dev=0x7f79d01159b0) at genesys.c:4187
#13 sane_genesys_start (handle=0x101b720) at genesys.c:7558
#14 0x00007f7a01fc14e2 in KSaneIface::KSaneScanThread::run (this=0x14b7aa0) at ../../libksane/ksane_scan_thread.cpp:98
#15 0x00007f7a00155f2f in QThreadPrivate::start (arg=0x14b7aa0) at thread/qthread_unix.cpp:338
#16 0x00007f79fc76cf6e in start_thread (arg=0x7f79c449f700) at pthread_create.c:311
#17 0x00007f79ffb099cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7a028667c0 (LWP 5324)):
#0  0x00007f79ffafb6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f79fc2d3660 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f79fc2941bc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f79fc29462b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f79fc29479c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7a00282a55 in QEventDispatcherGlib::processEvents (this=0xb0a830, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f7a00ce89d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f7a002545ef in QEventLoop::processEvents (this=this@entry=0x7fff5a784620, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7a002548e5 in QEventLoop::exec (this=this@entry=0x7fff5a784620, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7a00259e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#10 0x00007f7a00c4534c in QApplication::exec () at kernel/qapplication.cpp:3828
#11 0x000000000040a2a3 in main (argc=5, argv=0x7fff5a784858) at /build/buildd/skanlite-1.0/src/main.cpp:85

Reported using DrKonqi
Comment 1 Kåre Särs 2013-10-30 20:41:11 UTC
Thanks for the report.

This is a driver (backend) problem.

Please send a bug report to sane-devel@lists.alioth.debian.org

I think they can help you better with this problem. You can link to this bug report or copy-paste the back-trace

Regards,
  Kåre