Bug 228918 - trying preview with webcam
Summary: trying preview with webcam
Status: RESOLVED DUPLICATE of bug 221589
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-28 17:47 UTC by Odair Trujillo
Modified: 2010-03-01 08:08 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 Odair Trujillo 2010-02-28 17:47:44 UTC
Application that crashed: skanlite
Version of the application: 0.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-686 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Using webcam CNF7047 on Debian Sid 2.6.32-trunk, by error I tried to scan with the webcam of my laptop and the program crash.

 -- Backtrace:
Application: Skanlite (skanlite), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5822700 (LWP 6642))]

Thread 2 (Thread 0xb2e67b70 (LWP 6644)):
#0  0xb785e424 in __kernel_vsyscall ()
#1  0xb6242af7 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb2e8068e in ?? () from /usr/lib/libavahi-common.so.3
#3  0xb2e7eded in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#4  0xb2e7f680 in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#5  0xb2e7f6d0 in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#6  0xb2e8047b in ?? () from /usr/lib/libavahi-common.so.3
#7  0xb5ba0585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb625026e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5822700 (LWP 6642)):
[KCrash Handler]
#6  KSaneIface::KSaneWidgetPrivate::scanPreview (this=0x820a920) at ../../../../libs/libksane/libksane/ksane_widget_private.cpp:625
#7  0xb75aea8e in KSaneIface::KSaneWidgetPrivate::qt_metacall (this=0x820a920, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfc6c7ac) at ./ksane_widget_private.moc:100
#8  0xb6ed1303 in QMetaObject::activate (sender=0x823a070, from_signal_index=29, to_signal_index=30, argv=0xbfc6c7ac) at kernel/qobject.cpp:3112
#9  0xb6ed1720 in QMetaObject::activate (sender=0x823a070, m=0xb6d65424, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfc6c7ac) at kernel/qobject.cpp:3206
#10 0xb6b7cb21 in QAbstractButton::clicked (this=0x823a070, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#11 0xb68a8959 in QAbstractButtonPrivate::emitClicked (this=0x823a188) at widgets/qabstractbutton.cpp:543
#12 0xb68aa584 in QAbstractButtonPrivate::click (this=0x823a188) at widgets/qabstractbutton.cpp:536
#13 0xb68aa816 in QAbstractButton::mouseReleaseEvent (this=0x823a070, e=0xbfc6ce6c) at widgets/qabstractbutton.cpp:1115
#14 0xb65519fb in QWidget::event (this=0x823a070, event=0xbfc6ce6c) at kernel/qwidget.cpp:7554
#15 0xb68a87fe in QAbstractButton::event (this=0x823a070, e=0xbfc6ce6c) at widgets/qabstractbutton.cpp:1077
#16 0xb6951f10 in QPushButton::event (this=0x823a070, e=0xbfc6ce6c) at widgets/qpushbutton.cpp:662
#17 0xb64fba94 in QApplicationPrivate::notify_helper (this=0x8178370, receiver=0x823a070, e=0xbfc6ce6c) at kernel/qapplication.cpp:4065
#18 0xb6504551 in QApplication::notify (this=0xbfc6e75c, receiver=0x823a070, e=0xbfc6ce6c) at kernel/qapplication.cpp:3767
#19 0xb73cce2a in KApplication::notify (this=0xbfc6e75c, receiver=0x823a070, event=0xbfc6ce6c) at ../../kdeui/kernel/kapplication.cpp:302
#20 0xb6ebc1eb in QCoreApplication::notifyInternal (this=0xbfc6e75c, receiver=0x823a070, event=0xbfc6ce6c) at kernel/qcoreapplication.cpp:610
#21 0xb65035de in QCoreApplication::sendSpontaneousEvent (receiver=0x823a070, event=0xbfc6ce6c, alienWidget=0x823a070, nativeWidget=0x81f6868, buttonDown=0xb6d72580, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#22 QApplicationPrivate::sendMouseEvent (receiver=0x823a070, event=0xbfc6ce6c, alienWidget=0x823a070, nativeWidget=0x81f6868, buttonDown=0xb6d72580, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#23 0xb6572175 in QETWidget::translateMouseEvent (this=0x81f6868, event=0xbfc6e41c) at kernel/qapplication_x11.cpp:4411
#24 0xb6571646 in QApplication::x11ProcessEvent (this=0xbfc6e75c, event=0xbfc6e41c) at kernel/qapplication_x11.cpp:3430
#25 0xb659bbc2 in x11EventSourceDispatch (s=0x817b5f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0xb5bebb38 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0xb5bef3d0 in ?? () from /lib/libglib-2.0.so.0
#28 0xb5bef503 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0xb6ee7041 in QEventDispatcherGlib::processEvents (this=0x8162d28, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#30 0xb659b305 in QGuiEventDispatcherGlib::processEvents (this=0x8162d28, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#31 0xb6eba83a in QEventLoop::processEvents (this=0xbfc6e6d0, flags=...) at kernel/qeventloop.cpp:149
#32 0xb6ebac82 in QEventLoop::exec (this=0xbfc6e6d0, flags=...) at kernel/qeventloop.cpp:201
#33 0xb6ebd0d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0xb64fb917 in QApplication::exec () at kernel/qapplication.cpp:3525
#35 0x0804f7f9 in _start ()

Reported using DrKonqi
Comment 1 Kåre Särs 2010-03-01 08:08:38 UTC
Thanks,

There was a missing pointer check needed for backends that do not have the resolution parameter. This is fixed in trunk, 4.4 and 4.3.5

*** This bug has been marked as a duplicate of bug 221589 ***