Bug 261906 - "short resolution list" option failure with an Epson Perfection 1650
Summary: "short resolution list" option failure with an Epson Perfection 1650
Status: RESOLVED UPSTREAM
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: 2011-01-02 22:25 UTC by enhy
Modified: 2011-01-04 17:51 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 enhy 2011-01-02 22:25:21 UTC
Application: scangui (1.2.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
The AcquireImage application crashes when I try to configure "short resolution list" in "Scanner Specific Option" tag.

The crash can be reproduced every time.

 -- Backtrace:
Application: Acquire images (scangui), signal: Aborted
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f50fd72f7c0 (LWP 5594))]

Thread 2 (Thread 0x7f50df1c8710 (LWP 5596)):
#0  0x00007f50f940a113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f50df3e1b6a in ?? () from /usr/lib/libavahi-common.so.3
#2  0x00007f50df3e071b in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#3  0x00007f50df3e0e4d in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#4  0x00007f50df3e0e7d in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#5  0x00007f50df3e19bc in ?? () from /usr/lib/libavahi-common.so.3
#6  0x00007f50f6d138ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f50f941502d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f50fd72f7c0 (LWP 5594)):
[KCrash Handler]
#5  0x00007f50f9378165 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f50f937af70 in *__GI_abort () at abort.c:92
#7  0x00007f50f93ae27b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f50f93b7ad6 in malloc_printerr (action=3, str=0x7f50f946eac8 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6267
#9  0x00007f50f93bc84c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3739
#10 0x00007f50de8adede in ?? () from /usr/lib/sane/libsane-epkowa.so.1
#11 0x00007f50de8a51f6 in sane_epkowa_control_option () from /usr/lib/sane/libsane-epkowa.so.1
#12 0x00007f50fcc615d4 in KSaneIface::KSaneOption::writeData (this=0xe09f10, data=0xffffffffffffffff) at ../../../../libs/libksane/libksane/options/ksane_option.cpp:117
#13 0x00007f50fcc61d28 in KSaneIface::KSaneOptCheckBox::checkboxChanged (this=0xe09f10, toggled=<value optimized out>) at ../../../../libs/libksane/libksane/options/ksane_opt_checkbox.cpp:84
#14 0x00007f50fcc62080 in KSaneIface::KSaneOptCheckBox::qt_metacall (this=0xe09f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a1078f0) at ./ksane_opt_checkbox.moc:73
#15 0x00007f50f9fdf2e6 in QMetaObject::activate (sender=0x12d0df0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295
#16 0x00007f50fcc4862f in KSaneIface::LabeledCheckbox::toggled (this=0x15da, _t1=true) at ./labeled_checkbox.moc:89
#17 0x00007f50fcc486b4 in KSaneIface::LabeledCheckbox::prToggled (this=0x12d0df0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a107a30)
    at ../../../../libs/libksane/libksane/widgets/labeled_checkbox.cpp:72
#18 KSaneIface::LabeledCheckbox::qt_metacall (this=0x12d0df0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a107a30) at ./labeled_checkbox.moc:77
#19 0x00007f50f9fdf2e6 in QMetaObject::activate (sender=0x12d0c20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295
#20 0x00007f50fb4ec3e2 in QAbstractButton::toggled (this=0x15da, _t1=true) at .moc/release-shared/moc_qabstractbutton.cpp:213
#21 0x00007f50fb2059a8 in QAbstractButton::setChecked (this=0x12d0c20, checked=218) at widgets/qabstractbutton.cpp:766
#22 0x00007f50fb219d16 in QCheckBox::nextCheckState (this=0x12d0c20) at widgets/qcheckbox.cpp:368
#23 0x00007f50fb20563a in QAbstractButtonPrivate::click (this=0x12d1410) at widgets/qabstractbutton.cpp:528
#24 0x00007f50fb2058ec in QAbstractButton::mouseReleaseEvent (this=0x12d0c20, e=0x7fff3a108520) at widgets/qabstractbutton.cpp:1121
#25 0x00007f50faea5632 in QWidget::event (this=0x12d0c20, event=0x7fff3a108520) at kernel/qwidget.cpp:8044
#26 0x00007f50fae4f32c in QApplicationPrivate::notify_helper (this=0xbb8320, receiver=0x12d0c20, e=0x7fff3a108520) at kernel/qapplication.cpp:4302
#27 0x00007f50fae55fdb in QApplication::notify (this=0x7fff3a109010, receiver=0x12d0c20, e=0x7fff3a108520) at kernel/qapplication.cpp:3867
#28 0x00007f50fbb677a6 in KApplication::notify (this=0x7fff3a109010, receiver=0x12d0c20, event=0x7fff3a108520) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f50f9fcc09c in QCoreApplication::notifyInternal (this=0x7fff3a109010, receiver=0x12d0c20, event=0x7fff3a108520) at kernel/qcoreapplication.cpp:726
#30 0x00007f50fae551be in QCoreApplication::sendEvent (receiver=0x12d0c20, event=0x7fff3a108520, alienWidget=0x12d0c20, nativeWidget=0xe82c80, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x12d0c20, event=0x7fff3a108520, alienWidget=0x12d0c20, nativeWidget=0xe82c80, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967
#32 0x00007f50faed507b in QETWidget::translateMouseEvent (this=0xe82c80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#33 0x00007f50faed39dc in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff3a108ca0) at kernel/qapplication_x11.cpp:3513
#34 0x00007f50faeff5a2 in x11EventSourceDispatch (s=0xbbc030, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f50f5be96f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f50f5bed568 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f50f5bed71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f50f9ff56b3 in QEventDispatcherGlib::processEvents (this=0xb9d490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007f50faeff19e in QGuiEventDispatcherGlib::processEvents (this=0x15da, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f50f9fca9c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f50f9fcad9c in QEventLoop::exec (this=0x7fff3a108fc0, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f50f9fcfa2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#43 0x0000000000406f17 in _start ()
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Reported using DrKonqi
Comment 1 Kåre Särs 2011-01-03 08:53:06 UTC
Thanks fro the report.

This looks like a backend problem. 

What version of the epkowa sane backend do you have?

Could you install the debug symbols for epkowa and produce a new crash backtrace?

/Kåre
Comment 2 enhy 2011-01-03 17:02:55 UTC
Hi Kåre,
It is strange that a problem in a backend crashes the frontend, but I've installed xsane and I have same result changing the same setting, so probably you are right.
I think that epkowa backend in provided by the package iscan from Avasys. I have the version 2.25.0-1 on my system but there is not debug package for it.
I've seen that there is a new version for my scanner in Avasys web page 2.26.1-3. I'm going to install it a will tell you.

Thank you and best regards.
Raúl
Comment 3 enhy 2011-01-03 17:37:24 UTC
Hi again,

Bad luck, the new version of iscan has not worked.

Best regards.
Comment 4 Kåre Särs 2011-01-04 07:47:36 UTC
Hi,

The sane backends are actually just dynamically loaded libraries and if the library crashes the program using it does too.

I was about to suggest to try the epson2 backend, but noticed that it too has a problem with your scanner and debian at the moment:
https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=312793&group_id=30186

You could try to report a bug to epkowa...

Sorry I could not help you. I hope you get the backend problem resolved.

Regards,
  Kåre
Comment 5 enhy 2011-01-04 17:51:49 UTC
(In reply to comment #4)
> I was about to suggest to try the epson2 backend, but noticed that it too has a
> problem with your scanner and debian at the moment:
> https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=312793&group_id=30186
For this reason I use the Avasys backend. Thank you for your help, I will try to report to Avasys guys althouth it is not a very serious problem.

Thank you again for your help.
Raúl.