Application that crashed: skanlite Version of the application: 0.3 KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)) Qt Version: 4.5.0 Operating System: Linux 2.6.28-13-generic i686 Distribution: Ubuntu 9.04 What I was doing when the application crashed: During a running scan i tried to abort it, but it seems that the scanner wont respont so fast. I clicked multiple times on the cross-button to stop it. Then it crashed. -- Backtrace: Application: Skanlite (skanlite), signal: Segmentation fault [Current thread is 0 (LWP 13575)] Thread 4 (Thread 0xb382ab90 (LWP 13577)): #0 0xb7f9d430 in __kernel_vsyscall () #1 0xb6722ae7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb384430e in ?? () from /usr/lib/libavahi-common.so.3 #3 0xb3842a5d in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3 #4 0xb3843330 in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3 #5 0xb3843380 in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3 #6 0xb38440fb in ?? () from /usr/lib/libavahi-common.so.3 #7 0xb63954ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb672d49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xb4859b90 (LWP 14309)): [KCrash Handler] #6 0xb2feff51 in ipConvert () from /usr/lib/libhpip.so.0 #7 0xb300e5b0 in sane_hpaio_read () from /usr/lib/sane/libsane-hpaio.so.1 #8 0xb63be7c9 in sane_dll_read () from /usr/lib/libsane.so.1 #9 0xb63c01b2 in sane_read () from /usr/lib/libsane.so.1 #10 0xb7cfc7da in ?? () from /usr/lib/libksane.so.0 #11 0xb692796e in QThreadPrivate::start (arg=0xb48592bc) at thread/qthread_unix.cpp:189 #12 0xb63954ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #13 0xb672d49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xaec61b90 (LWP 14312)): #0 0xb7f9d430 in __kernel_vsyscall () #1 0xb67257b1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xb401f8b9 in ?? () from /lib/libusb-0.1.so.4 #3 0xb2f0d6a6 in ?? () from /usr/lib/libhpmud.so.0 #4 0xb63954ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb672d49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb5f6f700 (LWP 13575)): #0 0xb7f9d430 in __kernel_vsyscall () #1 0xb6399412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb673c344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb2f0d516 in ?? () from /usr/lib/libhpmud.so.0 #4 0xb2f087f6 in ?? () from /usr/lib/libhpmud.so.0 #5 0xb2f0c2c4 in ?? () from /usr/lib/libhpmud.so.0 #6 0xb2f0c873 in ?? () from /usr/lib/libhpmud.so.0 #7 0xb2f06240 in hpmud_write_channel () from /usr/lib/libhpmud.so.0 #8 0xb3017199 in ?? () from /usr/lib/sane/libsane-hpaio.so.1 #9 0xb300e1d8 in ?? () from /usr/lib/sane/libsane-hpaio.so.1 #10 0xb300e28e in ?? () from /usr/lib/sane/libsane-hpaio.so.1 #11 0xb63be74f in sane_dll_cancel () from /usr/lib/libsane.so.1 #12 0xb63c010d in sane_cancel () from /usr/lib/libsane.so.1 #13 0xb7cfc9d5 in ?? () from /usr/lib/libksane.so.0 #14 0xb7cf6a85 in KSaneIface::KSaneWidget::scanCancel () from /usr/lib/libksane.so.0 #15 0xb7cf6beb in KSaneIface::KSaneWidget::qt_metacall () from /usr/lib/libksane.so.0 #16 0xb6a31ca8 in QMetaObject::activate (sender=0x893bc88, from_signal_index=29, to_signal_index=30, argv=0xbfbb9f6c) at kernel/qobject.cpp:3069 #17 0xb6a320e0 in QMetaObject::activate (sender=0x893bc88, m=0xb779a1e4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfbb9f6c) at kernel/qobject.cpp:3163 #18 0xb75b32b1 in QAbstractButton::clicked (this=0x893bc88, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200 #19 0xb72de0b9 in QAbstractButtonPrivate::emitClicked (this=0x893bcc8) at widgets/qabstractbutton.cpp:543 #20 0xb72dfd14 in QAbstractButtonPrivate::click (this=0x893bcc8) at widgets/qabstractbutton.cpp:536 #21 0xb72dffa6 in QAbstractButton::mouseReleaseEvent (this=0x893bc88, e=0xbfbba548) at widgets/qabstractbutton.cpp:1115 #22 0xb6f53b43 in QWidget::event (this=0x893bc88, event=0xbfbba548) at kernel/qwidget.cpp:7516 #23 0xb72ddf5e in QAbstractButton::event (this=0x893bc88, e=0xbfbba548) at widgets/qabstractbutton.cpp:1077 #24 0xb7388f20 in QPushButton::event (this=0x893bc88, e=0xbfbba548) at widgets/qpushbutton.cpp:662 #25 0xb6efce9c in QApplicationPrivate::notify_helper (this=0x88a1460, receiver=0x893bc88, e=0xbfbba548) at kernel/qapplication.cpp:4084 #26 0xb6f05b11 in QApplication::notify (this=0xbfbbae58, receiver=0x893bc88, e=0xbfbba548) at kernel/qapplication.cpp:3786 #27 0xb7b235cd in KApplication::notify (this=0xbfbbae58, receiver=0x893bc88, event=0xbfbba548) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302 #28 0xb6a1ba3b in QCoreApplication::notifyInternal (this=0xbfbbae58, receiver=0x893bc88, event=0xbfbba548) at kernel/qcoreapplication.cpp:602 #29 0xb6f04b7e in QApplicationPrivate::sendMouseEvent (receiver=0x893bc88, event=0xbfbba548, alienWidget=0x893bc88, nativeWidget=0x88fde98, buttonDown=0xb77a7200, lastMouseReceiver=@0xb77a7204) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #30 0xb6f7497e in QETWidget::translateMouseEvent (this=0x88fde98, event=0xbfbbab8c) at kernel/qapplication_x11.cpp:4425 #31 0xb6f73ca7 in QApplication::x11ProcessEvent (this=0xbfbbae58, event=0xbfbbab8c) at kernel/qapplication_x11.cpp:3421 #32 0xb6f9ec6a in x11EventSourceDispatch (s=0x88a4600, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #33 0xb621cb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #34 0xb62200eb in ?? () from /usr/lib/libglib-2.0.so.0 #35 0xb6220268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #36 0xb6a47438 in QEventDispatcherGlib::processEvents (this=0x888bd10, flags={i = -1078219448}) at kernel/qeventdispatcher_glib.cpp:323 #37 0xb6f9e365 in QGuiEventDispatcherGlib::processEvents (this=0x888bd10, flags={i = -1078219400}) at kernel/qguieventdispatcher_glib.cpp:202 #38 0xb6a1a06a in QEventLoop::processEvents (this=0xbfbbadf0, flags={i = -1078219336}) at kernel/qeventloop.cpp:149 #39 0xb6a1a4aa in QEventLoop::exec (this=0xbfbbadf0, flags={i = -1078219272}) at kernel/qeventloop.cpp:200 #40 0xb6a1c959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #41 0xb6efcd17 in QApplication::exec () at kernel/qapplication.cpp:3553 #42 0x0804dd72 in _start () Reported using DrKonqi
SVN commit 1037342 by sars: sane_cancel() does not seem to be thread-safe after all. CCBUG: 201791 M +3 -3 ksane_widget_private.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1037342
The committed fix might help. Are you able to test it with this fix? I will also back-port the fix to the 4.3 branch.
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!
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!