Bug 359630 - scangui scanning network wlan newdevice samsung
Summary: scangui scanning network wlan newdevice samsung
Status: REPORTED
Alias: None
Product: libksane
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-21 11:47 UTC by sebastian111982md
Modified: 2021-03-10 00:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sebastian111982md 2016-02-21 11:47:57 UTC
Application: scangui (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-73-generic x86_64
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
sorry, for my bad English, I'm german.

New multi function device from Samsung it is a Laser-printer / scaner device

WLAN connection already exist... and using the printer is also confirmed

Software use: the UNIFIED LINUX DRIVER 1.00.36 (uld) installation scripts for printer and scanner was used. (registering/an deregistering devices [scanner] in xsane.

Application crashed by clicking on preview/scan buttom. Scan begins, but faild / Hardare stopped and goes back in start position. every time

very new Device from Samsung.

The crash can be reproduced every time.

-- Backtrace:
Application: Bilder scannen (scangui), signal: Floating point exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f98e46fd840 (LWP 17267))]

Thread 5 (Thread 0x7f98d0834700 (LWP 17269)):
#0  0x00007f98e14ab12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98d0843248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f98dcf95182 in start_thread (arg=0x7f98d0834700) at pthread_create.c:312
#3  0x00007f98e14b847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f98cb959700 (LWP 17270)):
#0  0x00007f98e14ab12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98dc674fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f98dc6750ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f98e1c317be in QEventDispatcherGlib::processEvents (this=0x7f98c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f98e1c030af in QEventLoop::processEvents (this=this@entry=0x7f98cb958d60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f98e1c033a5 in QEventLoop::exec (this=this@entry=0x7f98cb958d60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f98e1affc5f in QThread::exec (this=this@entry=0x19bafc0) at thread/qthread.cpp:537
#7  0x00007f98e1be4823 in QInotifyFileSystemWatcherEngine::run (this=0x19bafc0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f98e1b0232f in QThreadPrivate::start (arg=0x19bafc0) at thread/qthread_unix.cpp:349
#9  0x00007f98dcf95182 in start_thread (arg=0x7f98cb959700) at pthread_create.c:312
#10 0x00007f98e14b847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f98bc847700 (LWP 17273)):
#0  0x00007f98e14ab12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98bca6099c in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#2  0x00007f98bca6051b in avahi_simple_poll_run () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#3  0x00007f98bca606f8 in avahi_simple_poll_iterate () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#4  0x00007f98bca6092d in avahi_simple_poll_loop () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#5  0x00007f98bca609f4 in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#6  0x00007f98dcf95182 in start_thread (arg=0x7f98bc847700) at pthread_create.c:312
#7  0x00007f98e14b847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f98d148e700 (LWP 17277)):
[KCrash Handler]
#6  0x00007f98d0a8469c in copy_mix_bands_trim (olenp=<synthetic pointer>, maxlen=100000, buf=0x1cd5fd0 "", dev=0x7f98cc004860) at xerox_mfp.c:1096
#7  sane_xerox_mfp_read (h=0x7f98cc004860, buf=0x1cd5fd0 "", maxlen=100000, lenp=0x7f98d148dd5c) at xerox_mfp.c:1211
#8  0x00007f98e40e6c37 in KSaneIface::KSanePreviewThread::readData (this=this@entry=0x1cd5fb0) at ../../libksane/ksane_preview_thread.cpp:158
#9  0x00007f98e40e70c0 in KSaneIface::KSanePreviewThread::run (this=0x1cd5fb0) at ../../libksane/ksane_preview_thread.cpp:134
#10 0x00007f98e1b0232f in QThreadPrivate::start (arg=0x1cd5fb0) at thread/qthread_unix.cpp:349
#11 0x00007f98dcf95182 in start_thread (arg=0x7f98d148e700) at pthread_create.c:312
#12 0x00007f98e14b847d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f98e46fd840 (LWP 17267)):
#0  0x00007f98e14a982d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98dc6b5c10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f98dc674b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f98dc674f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f98dc6750ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f98e1c317be in QEventDispatcherGlib::processEvents (this=0x17bdb80, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f98e21d7be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007f98e1c030af in QEventLoop::processEvents (this=this@entry=0x7ffe70f16170, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f98e1c033a5 in QEventLoop::exec (this=this@entry=0x7ffe70f16170, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f98e1c08b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#10 0x00007f98e213437c in QApplication::exec () at kernel/qapplication.cpp:3828
#11 0x00000000004066d1 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/acquireimages/scangui.cpp:82

Reproducible: Always

Steps to Reproduce:
1. open xsane
2. click scan buttom
3. application crashed - hardware scanner failed, but goes back in startposition; try again...

Actual Results:  
see in details

Expected Results:  
see in details

see in details
Comment 1 sebastian111982md 2016-02-21 19:56:26 UTC
gdb xsane (debugging the application)

Result information:

(gdb) r
Starting program: /usr/bin/xsane 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee1a1700 (LWP 11739)]
[New Thread 0x7fffe39de700 (LWP 11744)]


{netxt is RELEVANT
Hardware / scanner moves...
}


Program received signal SIGFPE, Arithmetic exception.
0x00007fffeee8469c in copy_mix_bands_trim (olenp=<synthetischer Zeiger>, maxlen=8192, buf=0x7fffffffafe0 "\240\035z", dev=0x7b0ca0) at xerox_mfp.c:1096
1096    xerox_mfp.c: Datei oder Verzeichnis nicht gefunden.
(gdb) 

{Hardware goes back to startpoint, and try again, again and again... no changes}
Comment 2 Christoph Feck 2016-02-22 21:57:47 UTC
Please report this issue directly to sane developers via http://www.sane-project.org/
Comment 3 Justin Zobel 2021-03-10 00:12:45 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.