Bug 268283

Summary: libksane crashed while importing images via the scanner
Product: [Frameworks and Libraries] libksane Reporter: maurocafiero
Component: generalAssignee: Kåre Särs <kare.sars>
Status: RESOLVED DUPLICATE    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 3.0.0

Description maurocafiero 2011-03-12 11:55:32 UTC
Application: digikam (1.8.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
stavo facendo l'anteprima della seconda foto sullo scanner

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f83e56038c0 (LWP 2558))]

Thread 20 (Thread 0x7f83d9c39700 (LWP 2559)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003a34072ddb in wait (this=<value optimized out>, mutex=0x1735cf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1735cf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005e3a25 in Digikam::ScanController::run (this=0x16768c0) at /usr/src/debug/digikam-1.8.0/digikam/scancontroller.cpp:571
#4  0x0000003a340726ee in QThreadPrivate::start (arg=0x16768c0) at thread/qthread_unix.cpp:285
#5  0x00000034f1e06ccb in start_thread (arg=0x7f83d9c39700) at pthread_create.c:301
#6  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 19 (Thread 0x7f83d9438700 (LWP 2561)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f83d94379c0 in ?? ()
#2  0x00007fffd97ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 18 (Thread 0x7f83d88df700 (LWP 2562)):
#0  0x00000034f16d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000034f3242374 in g_main_context_poll (context=0x7f83d00009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7f83d00009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x00000034f32428ad in g_main_context_iteration (context=0x7f83d00009b0, may_block=1) at gmain.c:2843
#4  0x0000003a34186916 in QEventDispatcherGlib::processEvents (this=0x7f83d00008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a3415ad8c in QEventLoop::exec (this=0x7f83d88decc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003a3406fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x0000003a340726ee in QThreadPrivate::start (arg=0x18847d0) at thread/qthread_unix.cpp:285
#9  0x00000034f1e06ccb in start_thread (arg=0x7f83d88df700) at pthread_create.c:301
#10 0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 17 (Thread 0x7f83cbfff700 (LWP 2563)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003a34072ddb in wait (this=<value optimized out>, mutex=0x188d7f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x188d7f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003b7a4b1777 in Digikam::ParkingThread::run (this=0x188d7e0) at /usr/src/debug/digikam-1.8.0/libs/threads/threadmanager.cpp:119
#4  0x0000003a340726ee in QThreadPrivate::start (arg=0x188d7e0) at thread/qthread_unix.cpp:285
#5  0x00000034f1e06ccb in start_thread (arg=0x7f83cbfff700) at pthread_create.c:301
#6  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 16 (Thread 0x7f83cb7fe700 (LWP 2564)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f83cb7fd9c0 in ?? ()
#2  0x00007fffd97ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 0x7f83caffd700 (LWP 2565)):
#0  0x00000034f16d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000034f3242374 in g_main_context_poll (context=0x7f83b40009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7f83b40009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x00000034f32428ad in g_main_context_iteration (context=0x7f83b40009b0, may_block=1) at gmain.c:2843
#4  0x0000003a34186916 in QEventDispatcherGlib::processEvents (this=0x7f83b40008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a3415ad8c in QEventLoop::exec (this=0x7f83caffccc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003a3406fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x0000003a340726ee in QThreadPrivate::start (arg=0x18cc8e0) at thread/qthread_unix.cpp:285
#9  0x00000034f1e06ccb in start_thread (arg=0x7f83caffd700) at pthread_create.c:301
#10 0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 14 (Thread 0x7f83bbdb7700 (LWP 2566)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00000034fd213d21 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000034f1e06ccb in start_thread (arg=0x7f83bbdb7700) at pthread_create.c:301
#3  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 13 (Thread 0x7f83ba76b700 (LWP 2567)):
#0  0x00000034f16d9093 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000034fd23c8a4 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00000034fd221a69 in ?? () from /usr/lib64/libxine.so.1
#3  0x00000034f1e06ccb in start_thread (arg=0x7f83ba76b700) at pthread_create.c:301
#4  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f83b9f6a700 (LWP 2568)):
#0  0x00000034f16d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000034f3242374 in g_main_context_poll (context=0x7f83a80009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7f83a80009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x00000034f32428ad in g_main_context_iteration (context=0x7f83a80009b0, may_block=1) at gmain.c:2843
#4  0x0000003a34186916 in QEventDispatcherGlib::processEvents (this=0x7f83a80008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a3415ad8c in QEventLoop::exec (this=0x7f83b9f69c70, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003a3406fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f83c80c941e in Phonon::Xine::XineThread::run (this=0x1e720d0) at /usr/src/debug/phonon-4.4.3/xine/xinethread.cpp:143
#9  0x0000003a340726ee in QThreadPrivate::start (arg=0x1e720d0) at thread/qthread_unix.cpp:285
#10 0x00000034f1e06ccb in start_thread (arg=0x7f83b9f6a700) at pthread_create.c:301
#11 0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f83b9564700 (LWP 2569)):
#0  0x0000003508e1e79d in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#1  0x0000003508e1e850 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#2  0x0000003508e2c35b in ?? () from /usr/lib64/libpulse.so.0
#3  0x0000003508a38888 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#4  0x00000034f1e06ccb in start_thread (arg=0x7f83b9564700) at pthread_create.c:301
#5  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f83b8d63700 (LWP 2570)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000034fd225deb in ?? () from /usr/lib64/libxine.so.1
#2  0x00000034f1e06ccb in start_thread (arg=0x7f83b8d63700) at pthread_create.c:301
#3  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f83afffe700 (LWP 2571)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7f83a40009b8) at pthread_mutex_unlock.c:289
#1  __pthread_mutex_unlock (mutex=0x7f83a40009b8) at pthread_mutex_unlock.c:290
#2  0x00000034f3241312 in g_main_context_prepare (context=0x7f83a40009b0, priority=0x7f83afffdb6c) at gmain.c:2467
#3  0x00000034f3242209 in g_main_context_iterate (context=0x7f83a40009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#4  0x00000034f32428ad in g_main_context_iteration (context=0x7f83a40009b0, may_block=1) at gmain.c:2843
#5  0x0000003a34186916 in QEventDispatcherGlib::processEvents (this=0x7f83a40008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003a3415ad8c in QEventLoop::exec (this=0x7f83afffdc80, flags=...) at kernel/qeventloop.cpp:201
#8  0x0000003a3406fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x0000003a3413c5f8 in QInotifyFileSystemWatcherEngine::run (this=0x2126db0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0000003a340726ee in QThreadPrivate::start (arg=0x2126db0) at thread/qthread_unix.cpp:285
#11 0x00000034f1e06ccb in start_thread (arg=0x7f83afffe700) at pthread_create.c:301
#12 0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f839a7fb700 (LWP 2578)):
#0  0x00000034f32428cd in g_main_context_iteration (context=0x7f837c0020e0, may_block=<value optimized out>) at gmain.c:2844
#1  0x0000003a34186916 in QEventDispatcherGlib::processEvents (this=0x7f837c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#2  0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#3  0x0000003a3415ad8c in QEventLoop::exec (this=0x7f839a7fac80, flags=...) at kernel/qeventloop.cpp:201
#4  0x0000003a3406fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#5  0x0000003a3413c5f8 in QInotifyFileSystemWatcherEngine::run (this=0x26a76e0) at io/qfilesystemwatcher_inotify.cpp:248
#6  0x0000003a340726ee in QThreadPrivate::start (arg=0x26a76e0) at thread/qthread_unix.cpp:285
#7  0x00000034f1e06ccb in start_thread (arg=0x7f839a7fb700) at pthread_create.c:301
#8  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f8367857700 (LWP 2626)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f8367856980 in ?? ()
#2  0x00007fffd97ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f8367056700 (LWP 2633)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f8367055980 in ?? ()
#2  0x00007fffd97ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7f8364851700 (LWP 2640)):
#0  0x0000003a34072787 in QThreadData::current () at thread/qthread_unix.cpp:161
#1  0x0000003a34186379 in postEventSourcePrepare (s=0x7f538f0, timeout=0x0) at kernel/qeventdispatcher_glib.cpp:254
#2  0x00000034f3241ab8 in g_main_context_check (context=0x7f568a0, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2658
#3  0x00000034f3242392 in g_main_context_iterate (context=0x7f568a0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2777
#4  0x00000034f32428ad in g_main_context_iteration (context=0x7f568a0, may_block=1) at gmain.c:2843
#5  0x0000003a34186916 in QEventDispatcherGlib::processEvents (this=0x7f53710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003a3415ad8c in QEventLoop::exec (this=0x7f8364850c80, flags=...) at kernel/qeventloop.cpp:201
#8  0x0000003a3406fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x0000003a3413c5f8 in QInotifyFileSystemWatcherEngine::run (this=0x7f528e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0000003a340726ee in QThreadPrivate::start (arg=0x7f528e0) at thread/qthread_unix.cpp:285
#11 0x00000034f1e06ccb in start_thread (arg=0x7f8364851700) at pthread_create.c:301
#12 0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f8364050700 (LWP 2693)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000034fd217d4b in ?? () from /usr/lib64/libxine.so.1
#2  0x00000034fd21de9d in ?? () from /usr/lib64/libxine.so.1
#3  0x00000034f1e06ccb in start_thread (arg=0x7f8364050700) at pthread_create.c:301
#4  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f836a399700 (LWP 2694)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000034fd217d4b in ?? () from /usr/lib64/libxine.so.1
#2  0x00000034fd21ef9d in ?? () from /usr/lib64/libxine.so.1
#3  0x00000034f1e06ccb in start_thread (arg=0x7f836a399700) at pthread_create.c:301
#4  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f8369b98700 (LWP 2695)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000034fd228acb in ?? () from /usr/lib64/libxine.so.1
#2  0x00000034f1e06ccb in start_thread (arg=0x7f8369b98700) at pthread_create.c:301
#3  0x00000034f16e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f83e56038c0 (LWP 2558)):
[KCrash Handler]
#6  parentWidget (this=<value optimized out>, w=0x5577560) at ../../src/gui/kernel/qwidget.h:1022
#7  QLayout::addChildWidget (this=<value optimized out>, w=0x5577560) at kernel/qlayout.cpp:992
#8  0x0000003a359c4987 in QBoxLayout::insertWidget (this=<value optimized out>, index=-1, widget=0x5577560, stretch=0, alignment=<value optimized out>) at kernel/qboxlayout.cpp:1032
#9  0x0000003a359c4bbb in QBoxLayout::addWidget (this=<value optimized out>, widget=<value optimized out>, stretch=<value optimized out>, alignment=<value optimized out>) at kernel/qboxlayout.cpp:1112
#10 0x00007f83792c250e in KSaneIface::KSaneWidgetPrivate::createOptInterface (this=0x3e9dc70) at /usr/src/debug/kdegraphics-4.5.5/libs/libksane/libksane/ksane_widget_private.cpp:214
#11 0x00007f83792be33b in KSaneIface::KSaneWidget::openDevice (this=0x84ad470, device_name=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.5/libs/libksane/libksane/ksane_widget.cpp:430
#12 0x00007f83794e2e39 in Plugin_AcquireImages::slotActivate (this=0x413bc10) at /usr/src/debug/kipi-plugins-1.8.0/acquireimages/plugin_acquireimages.cpp:107
#13 0x00007f83794e33c0 in Plugin_AcquireImages::qt_metacall (this=0x413bc10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kipi-plugins-1.8.0/x86_64-redhat-linux-gnu/acquireimages/plugin_acquireimages.moc:74
#14 0x0000003a3417004f in QMetaObject::activate (sender=0x415f790, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd97c4860) at kernel/qobject.cpp:3272
#15 0x0000003a359b1252 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x0000003a359b144a in QAction::activate (this=0x415f790, event=<value optimized out>) at kernel/qaction.cpp:1257
#17 0x0000003a35dee153 in QMenuPrivate::activateCausedStack (this=0x3e040d0, causedStack=..., action=0x415f790, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#18 0x0000003a35df40ea in QMenuPrivate::activateAction (this=0x3e040d0, action=0x415f790, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#19 0x0000003a368f12dd in KMenu::mouseReleaseEvent (this=0x3e039c0, e=<value optimized out>) at /usr/src/debug/kdelibs-4.5.5/kdeui/widgets/kmenu.cpp:471
#20 0x0000003a35a08fe8 in QWidget::event (this=0x3e039c0, event=0x7fffd97c54e0) at kernel/qwidget.cpp:8200
#21 0x0000003a35df52eb in QMenu::event (this=0x3e039c0, e=0x7fffd97c54e0) at widgets/qmenu.cpp:2410
#22 0x0000003a359b78c4 in QApplicationPrivate::notify_helper (this=0x156cf70, receiver=0x3e039c0, e=0x7fffd97c54e0) at kernel/qapplication.cpp:4445
#23 0x0000003a359bcc5a in QApplication::notify (this=<value optimized out>, receiver=0x3e039c0, e=0x7fffd97c54e0) at kernel/qapplication.cpp:4006
#24 0x0000003a36820596 in KApplication::notify (this=0x7fffd97c6300, receiver=0x3e039c0, event=0x7fffd97c54e0) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#25 0x0000003a3415b7ac in QCoreApplication::notifyInternal (this=0x7fffd97c6300, receiver=0x3e039c0, event=0x7fffd97c54e0) at kernel/qcoreapplication.cpp:732
#26 0x0000003a359b88c5 in sendEvent (receiver=0x3e039c0, event=0x7fffd97c54e0, alienWidget=0x0, nativeWidget=0x3e039c0, buttonDown=0x3a3648b958, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x3e039c0, event=0x7fffd97c54e0, alienWidget=0x0, nativeWidget=0x3e039c0, buttonDown=0x3a3648b958, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#28 0x0000003a35a36ab4 in QETWidget::translateMouseEvent (this=0x3e039c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4372
#29 0x0000003a35a34f49 in QApplication::x11ProcessEvent (this=0x7fffd97c6300, event=0x7fffd97c5e30) at kernel/qapplication_x11.cpp:3564
#30 0x0000003a35a5c896 in x11EventSourceDispatch (s=0x1570b90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#31 0x00000034f3241e33 in g_main_dispatch (context=0x156f220) at gmain.c:2149
#32 g_main_context_dispatch (context=0x156f220) at gmain.c:2702
#33 0x00000034f3242610 in g_main_context_iterate (context=0x156f220, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#34 0x00000034f32428ad in g_main_context_iteration (context=0x156f220, may_block=1) at gmain.c:2843
#35 0x0000003a341868bf in QEventDispatcherGlib::processEvents (this=0x15252a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x0000003a35a5c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x0000003a3415ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x0000003a3415ad8c in QEventLoop::exec (this=0x7fffd97c6140, flags=...) at kernel/qeventloop.cpp:201
#39 0x0000003a3415f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x0000000000626325 in main (argc=22449408, argv=0x7fffd97c6a00) at /usr/src/debug/digikam-1.8.0/digikam/main.cpp:216

Reported using DrKonqi
Comment 1 Andi Clemens 2011-03-12 12:19:14 UTC
Please write in English, otherwise no one will understand you.
Comment 2 maurocafiero 2011-03-12 13:05:25 UTC
(In reply to comment #1)
> Please write in English, otherwise no one will understand you.

Sorry.the examples of bug descriptions are in italian in my installation, so I have supposed I can write in italian language.

However,I was importing some photos by scanner when digikam crashed. Digikam crashed creating the preview of the second photo.

At restart, digiKam has worked fine and I could continue the import without any crash

thanks
Comment 3 Andi Clemens 2011-03-12 13:14:14 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Please write in English, otherwise no one will understand you.
> 
> Sorry.the examples of bug descriptions are in italian in my installation, so I
> have supposed I can write in italian language.

No problem :-)
Comment 4 caulier.gilles 2011-03-13 12:12:58 UTC
Andi, it's a libksane issue...

Gilles Caulier
Comment 5 Kåre Särs 2011-03-14 12:27:35 UTC
Hi,

Strange if it was in the middle of a preview... the crash is in createOptInterface which is called by open device. Unfortunately the variables that could give me some hints of what is wrong are optimized out :(

Is this crash repeatable?

Gilles: I wonder about the multiple:
"Backtrace stopped: previous frame identical to this frame (corrupt stack?)"

Could that have something to do with it?

Kåre
Comment 6 caulier.gilles 2011-03-14 12:45:31 UTC
If crash is due to a memory leak, valgrind can help a little bit.

Else, trying to get another backtrace in same condition can give more info.

Of course all must be compiled with full debug info. If crash is due to a shared lib like libsane, without debug info, no more details can be get by crash handler

Gilles Caulier
Comment 7 Kåre Särs 2013-02-11 20:24:36 UTC
The duplication is probably the other way around ...  but it should be fixed :)

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