Bug 194684 - signal 11 (SIGSEGV) while scanning new images
Summary: signal 11 (SIGSEGV) while scanning new images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 0.10.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-30 20:33 UTC by mcepedello
Modified: 2022-01-27 16:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mcepedello 2009-05-30 20:33:30 UTC
Version:           0.10.0 (using KDE 4.2.2)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Debian testing/unstable Packages

If a try to import a large number of pictures digikam crashes with a
signal 11 (SIGSEGV). 

Traceback is here below:

Aplicación: digiKam (digikam), señal SIGSEGV
0x00007f3fbc7618f6 in *__GI___poll (fds=0x7fff34fb8e30, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
	in ../sysdeps/unix/sysv/linux/poll.c
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f3fc3735760 (LWP 13807))]

Thread 10 (Thread 0x7f3fb289c950 (LWP 13808)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3fbd209739 in QWaitCondition::wait (this=0xd04848, mutex=0xd04840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x000000000064ca53 in Digikam::ScanController::run (this=0xd0f680) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:412
#3  0x00007f3fbd208742 in QThreadPrivate::start (arg=0xd0f680) at thread/qthread_unix.cpp:189
#4  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3fa94ff950 (LWP 13810)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3fbd209739 in QWaitCondition::wait (this=0xf8feb0, mutex=0xf8fea8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f3fc0b46b9c in Digikam::LoadSaveThread::run (this=0xf8fe90) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f3fbd208742 in QThreadPrivate::start (arg=0xf8fe90) at thread/qthread_unix.cpp:189
#4  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 8 (Thread 0x7f3fa88eb950 (LWP 13811)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3fbd209739 in QWaitCondition::wait (this=0xf9b250, mutex=0xf9b248, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f3fc0b46b9c in Digikam::LoadSaveThread::run (this=0xf9b230) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f3fbd208742 in QThreadPrivate::start (arg=0xf9b230) at thread/qthread_unix.cpp:189
#4  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3fa0541950 (LWP 13813)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f3fa60c2ca1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3f9dc36950 (LWP 13814)):
#0  0x00007f3fbc763af2 in select () from /lib/libc.so.6
#1  0x00007f3fa60eb654 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f3fa60d07bb in ?? () from /usr/lib/libxine.so.1
#3  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3f9d435950 (LWP 13815)):
#0  0xffffffffff60012f in ?? ()
#1  0x00007f3f9d434d70 in ?? ()
#2  0x00007fff34fff772 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Current language:  auto; currently c

Thread 4 (Thread 0x7f3f9ca2b950 (LWP 13817)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3fa60d3ce3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3f9b3fe950 (LWP 13832)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3fbd209739 in QWaitCondition::wait (this=0x1f45870, mutex=0x1f45868, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f3fc0b46b9c in Digikam::LoadSaveThread::run (this=0x1f45850) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f3fbd208742 in QThreadPrivate::start (arg=0x1f45850) at thread/qthread_unix.cpp:189
#4  0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x7f3f9a356950 (LWP 13858)):
[KCrash Handler]
#5  0x00007f3fbd28cb5a in QIODevice::seek (this=<value optimized out>, pos=16384) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:377
#6  0x00007f3fbd278d17 in QBuffer::seek (this=0x10b8ce0, pos=287037) at io/qbuffer.cpp:383
#7  0x00007f3fbda2dd2b in KSycocaDict::Private::offsetForKey (this=0x17fc480, key=<value optimized out>) at ../../kdecore/sycoca/ksycocadict.cpp:520
#8  0x00007f3fbda2de01 in KSycocaDict::findMultiString (this=0x27654e0, key=@0x0) at ../../kdecore/sycoca/ksycocadict.cpp:176
#9  0x00007f3fbd984a91 in KMimeTypeFactory::findFromFastPatternDict (this=0x27860a0, extension=@0x7f3f9a354e40) at ../../kdecore/services/kmimetypefactory.cpp:181
#10 0x00007f3fbd985c02 in KMimeTypeFactory::findFromFileNameHelper (this=0x27860a0, fileName=@0x7f3f9a355050, pMatchingExtension=0x0) at ../../kdecore/services/kmimetypefactory.cpp:317
#11 0x00007f3fbd985ca2 in KMimeTypeFactory::findFromFileName (this=0x27860a0, filename=@0x7f3f9a355050, matchingExtension=0x0) at ../../kdecore/services/kmimetypefactory.cpp:166
#12 0x00007f3fbd98ddbf in KMimeType::findByUrlHelper (_url=@0x7f3f9a3551e0, mode=<value optimized out>, is_local_file=true, device=0x7f3f9a355100, accuracy=0x0)
    at ../../kdecore/services/kmimetype.cpp:294
#13 0x00007f3fbd98e379 in KMimeType::findByUrl (url=@0x7f3f9a3551e0, mode=0, is_local_file=<value optimized out>, fast_mode=<value optimized out>, accuracy=0x0)
    at ../../kdecore/services/kmimetype.cpp:398
#14 0x00000000004d0043 in Digikam::UMSCamera::loadKDEThumbCreator (this=<value optimized out>, folder=<value optimized out>, itemName=<value optimized out>, thumbnail=@0x7f3f9a355900)
    at /build/buildd/digikam-0.10.0/utilities/cameragui/umscamera.cpp:279
#15 0x00000000004d1881 in Digikam::UMSCamera::getThumbnail (this=0x2df2610, folder=@0x7f3f9a355e50, itemName=@0x7f3f9a355e30, thumbnail=@0x7f3f9a355900)
    at /build/buildd/digikam-0.10.0/utilities/cameragui/umscamera.cpp:270
#16 0x00000000004f67c8 in Digikam::CameraController::executeCommand (this=0x2e00d10, cmd=<value optimized out>) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameracontroller.cpp:439
#17 0x00000000004f7b2a in Digikam::CameraController::run (this=0x2e00d10) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameracontroller.cpp:333
#18 0x00007f3fbd208742 in QThreadPrivate::start (arg=0x2e00d10) at thread/qthread_unix.cpp:189
#19 0x00007f3fbb515faa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#20 0x00007f3fbc76a29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3fc3735760 (LWP 13807)):
#0  0x00007f3fbc7618f6 in *__GI___poll (fds=0x7fff34fb8e30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3fb75698aa in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f3fb7569e99 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f3fb756a145 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f3fbbb26bf6 in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f3fbbb26d49 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007f3fbbb03707 in XGetImage () from /usr/lib/libX11.so.6
#7  0x00007f3fbdf7943b in QX11PixmapData::toImage (this=0x3195780) at image/qpixmap_x11.cpp:1428
#8  0x00007f3fbdf685ed in QPixmap::toImage (this=0x7fff34fb9460) at image/qpixmap.cpp:447
#9  0x00000000004ecf16 in Digikam::CameraIconView::addItem (this=0x2ad9880, info=@0x7fff34fb9630) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameraiconview.cpp:328
#10 0x0000000000505a20 in Digikam::CameraUI::slotFileList (this=0x2ad7b20, fileList=@0x7f3f881c7940) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameraui.cpp:1069
#11 0x000000000051467a in Digikam::CameraUI::qt_metacall (this=0x2ad7b20, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7f3f8825bfb0)
    at /build/buildd/digikam-0.10.0/obj-x86_64-linux-gnu/digikam/cameraui.moc:190
#12 0x00007f3fbd300eb8 in QObject::event (this=0x2ad7b20, e=0x7f3f881c4e30) at kernel/qobject.cpp:1118
#13 0x00007f3fbdef5f7d in QWidget::event (this=0x2ad7b20, event=0x7f3f881c4e30) at kernel/qwidget.cpp:7918
#14 0x00007f3fbe2ad1bb in QMainWindow::event (this=0x2ad7b20, event=0x7f3f881c4e30) at widgets/qmainwindow.cpp:1402
#15 0x00007f3fbf402b08 in KXmlGuiWindow::event (this=0x7fff34fb8e30, ev=0x1) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#16 0x00007f3fbdea54fd in QApplicationPrivate::notify_helper (this=0xbac2a0, receiver=0x2ad7b20, e=0x7f3f881c4e30) at kernel/qapplication.cpp:4057
#17 0x00007f3fbdead77a in QApplication::notify (this=0x7fff34fba560, receiver=0x2ad7b20, e=0x7f3f881c4e30) at kernel/qapplication.cpp:4022
#18 0x00007f3fbf2f855b in KApplication::notify (this=0x7fff34fba560, receiver=0x2ad7b20, event=0x7f3f881c4e30) at ../../kdeui/kernel/kapplication.cpp:307
#19 0x00007f3fbd2f0e4c in QCoreApplication::notifyInternal (this=0x7fff34fba560, receiver=0x2ad7b20, event=0x7f3f881c4e30) at kernel/qcoreapplication.cpp:610
#20 0x00007f3fbd2f1aba in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb7bfd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 0x00007f3fbd31a833 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 0x00007f3fb8417f7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007f3fb841b640 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007f3fb841b7dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007f3fbd31a4bf in QEventDispatcherGlib::processEvents (this=0xb954a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#26 0x00007f3fbdf3dc7f in QGuiEventDispatcherGlib::processEvents (this=0x7fff34fb8e30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f3fbd2ef6f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 888906848}) at kernel/qeventloop.cpp:149
#28 0x00007f3fbd2efabd in QEventLoop::exec (this=0x7fff34fba4a0, flags={i = 888906928}) at kernel/qeventloop.cpp:200
#29 0x00007f3fbd2f1d84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x0000000000672877 in main (argc=<value optimized out>, argv=0x7fff34fbace8) at /build/buildd/digikam-0.10.0/digikam/main.cpp:190
Current language:  auto; currently c
Comment 1 Christophe Marin 2009-05-31 13:50:46 UTC

*** This bug has been marked as a duplicate of bug 191522 ***
Comment 2 caulier.gilles 2022-01-27 16:13:09 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=191522