[Digikam-devel] [Bug 269720] New: Digikam SIGSEGV during face scanning

Kristian Karl kristian.hermann.karl at gmail.com
Tue Mar 29 18:44:54 BST 2011


https://bugs.kde.org/show_bug.cgi?id=269720

           Summary: Digikam SIGSEGV during face scanning
           Product: digikam
           Version: 2.0.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Face Detection
        AssignedTo: digikam-devel at kde.org
        ReportedBy: kristian.hermann.karl at gmail.com


Version:           2.0.0 (using KDE 4.6.1) 
OS:                Linux

Digikam receives a signal SIGSEGV during face scanning.

I reproduced the crash using gdb:
=================================
krikar at krikar-laptop:~/Documents$ gdb digikam
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/digikam...Reading symbols from
/usr/lib/debug/usr/bin/digikam...done.
done.
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You should
not do that since it most likely will not work 
[New Thread 0x7fffd51df700 (LWP 4609)]
[New Thread 0x7fffd49de700 (LWP 4610)]
[New Thread 0x7fffcffff700 (LWP 4611)]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
[Thread 0x7fffcffff700 (LWP 4611) exited]
digikam(4571)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does
not exist or is not readable:  "/nfs/media/media/Pictures" 
[New Thread 0x7fffcffff700 (LWP 4612)]
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such
file or directory
[New Thread 0x7fffcd07d700 (LWP 4613)]
QFileSystemWatcher: failed to add paths: /home/krikar/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
[New Thread 0x7fffc3b97700 (LWP 4614)]
[New Thread 0x7fffc295e700 (LWP 4615)]
[New Thread 0x7fffc215d700 (LWP 4616)]
[New Thread 0x7fffc1757700 (LWP 4617)]
[New Thread 0x7fffbcf55700 (LWP 4618)]
digikam(4571)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list
url:  "" 
digikam(4571)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list
url:  "" 
[New Thread 0x7fffbc754700 (LWP 4621)]
[New Thread 0x7fffb2bde700 (LWP 4632)]
[New Thread 0x7fffb23dd700 (LWP 4633)]
[New Thread 0x7fffb1bdc700 (LWP 4635)]
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
[New Thread 0x7fffabfff700 (LWP 4653)]
[New Thread 0x7fffab7fe700 (LWP 4654)]
[New Thread 0x7fffaaffd700 (LWP 4655)]
Cascade directory located as : /usr/share/opencv/haarcascades
Cascade directory located as : /usr/share/opencv/haarcascades
Cascade directory located as : /usr/share/opencv/haarcascades
Cascade directory located as : /usr/share/opencv/haarcascades
opened
[New Thread 0x7fffa6523700 (LWP 4656)]
[New Thread 0x7fff9d9d7700 (LWP 4657)]
[New Thread 0x7fff99ef6700 (LWP 4659)]
digikam(4571)/digikam (core): Bogus marker length 
digikam(4571)/digikam (core) Digikam::PreviewLoadingTask::execute: Cannot
extract preview for  "/home/krikar/Pictures/CF-00039/103_0973.JPG" 
[Thread 0x7fffbc754700 (LWP 4621) exited]

Program received signal SIGSEGV, Segmentation fault.
QVariant::QVariant (this=0x7fffffffc5a0, p=...) at kernel/qvariant.cpp:1419
1419    kernel/qvariant.cpp: No such file or directory.
    in kernel/qvariant.cpp
(gdb) bt
#0  QVariant::QVariant (this=0x7fffffffc5a0, p=...) at kernel/qvariant.cpp:1419
#1  0x00007ffff4422704 in Digikam::ImageModel::data (this=0xd457c0, 
    index=<value optimized out>, role=37)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/libs/models/imagemodel.cpp:994
#2  0x00007ffff4435373 in Digikam::ImageThumbnailModel::data (this=0xd457c0, 
    index=..., role=37)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/libs/models/imagethumbnailmodel.cpp:253
#3  0x00007ffff4428877 in data (this=0xcf3810, left=..., right=...)
    at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#4  Digikam::ImageFilterModel::subSortLessThan (this=0xcf3810, left=..., 
    right=...)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/libs/models/imagefiltermodel.cpp:1038
#5  0x00007ffff1338c4f in void QAlgorithmsPrivate::qMerge<int*, int const,
QSortFilterProxyModelLessThan>(int*, int*, int*, int const&,
QSortFilterProxyModelLessThan) () from /usr/lib/libQtGui.so.4
#6  0x00007ffff1338e0c in void QAlgorithmsPrivate::qStableSortHelper<int*, int,
QSortFilterProxyModelLessThan>(int*, int*, int const&,
QSortFilterProxyModelLessThan) () from /usr/lib/libQtGui.so.4
#7  0x00007ffff132eff3 in qStableSort<int*, QSortFilterProxyModelLessThan> (
    this=<value optimized out>, source_rows=..., 
---Type <return> to continue, or q <return> to quit---
    source_parent=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:212
#8  QSortFilterProxyModelPrivate::sort_source_rows (
    this=<value optimized out>, source_rows=..., 
    source_parent=<value optimized out>)
    at itemviews/qsortfilterproxymodel.cpp:464
#9  0x00007ffff1334f90 in QSortFilterProxyModelPrivate::source_items_inserted (
    this=0xcde4b0, source_parent=..., start=368, end=367, orient=Qt::Vertical)
    at itemviews/qsortfilterproxymodel.cpp:803
#10 0x00007ffff133529f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (
    this=0x7fffffffc5a0, source_parent=..., start=373, end=37)
    at itemviews/qsortfilterproxymodel.cpp:1278
#11 0x00007ffff133711c in QSortFilterProxyModel::qt_metacall (this=0xcf3810, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffffffcc10) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:135
#12 0x00007ffff442c306 in Digikam::ImageFilterModel::qt_metacall (
    this=0x7fffffffc5a0, _c=4292598231, _id=373, _a=0x25)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagefiltermodel.moc:179
#13 0x000000000058d820 in Digikam::ImageAlbumFilterModel::qt_metacall (
    this=0x7fffffffc5a0, _c=4292598231, _id=373, _a=0x25)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagealbumfiltermodel.moc:74
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff012ab27 in QMetaObject::activate (sender=0xd457c0, 
    m=<value optimized out>, local_signal_index=<value optimized out>, 
    argv=0x25) at kernel/qobject.cpp:3280
#15 0x00007ffff01761a4 in QAbstractItemModel::rowsInserted (
    this=0x7fffffffc5a0, _t1=<value optimized out>, _t2=366, _t3=367)
    at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#16 0x00007ffff010c007 in QAbstractItemModel::endInsertRows (this=0xd457c0)
    at kernel/qabstractitemmodel.cpp:2413
#17 0x00007ffff4423dc8 in Digikam::ImageModel::publiciseInfos (this=0xd457c0, 
    infos=<value optimized out>, extraValues=...)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/libs/models/imagemodel.cpp:655
#18 0x00007ffff4424086 in Digikam::ImageModel::qt_metacall (this=0xd457c0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffffffcec0)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagemodel.moc:113
#19 0x00007ffff4435a40 in Digikam::ImageThumbnailModel::qt_metacall (
    this=0x7fffffffc5a0, _c=4292598231, _id=373, _a=0x25)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagethumbnailmodel.moc:86
#20 0x000000000058ce30 in Digikam::ImageAlbumModel::qt_metacall (
    this=0x7fffffffc5a0, _c=4292598231, _id=373, _a=0x25)
---Type <return> to continue, or q <return> to quit---
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagealbummodel.moc:104
#21 0x00007ffff012ab27 in QMetaObject::activate (sender=0xcea770, 
    m=<value optimized out>, local_signal_index=<value optimized out>, 
    argv=0x25) at kernel/qobject.cpp:3280
#22 0x00007ffff442796a in Digikam::ImageFilterModelPrivate::reAddImageInfos (
    this=0x7fffffffc5a0, _t1=<value optimized out>, _t2=<value optimized out>)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagefiltermodelpriv.moc:123
#23 0x00007ffff442bfd1 in Digikam::ImageFilterModelPrivate::packageFinished (
    this=0xcea770, package=...)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/libs/models/imagefiltermodel.cpp:785
#24 0x00007ffff442c210 in Digikam::ImageFilterModelPrivate::qt_metacall (
    this=0xcea770, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0x7fffd00dd4a0)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/obj-x86_64-linux-gnu/digikam/imagefiltermodelpriv.moc:96
#25 0x00007ffff0124bde in QObject::event (this=0xcea770, e=0x7fffffffc5a0)
    at kernel/qobject.cpp:1219
#26 0x00007ffff0d50fdc in QApplicationPrivate::notify_helper (this=0xbeb850, 
    receiver=0xcea770, e=0x7fffd2a807c0) at kernel/qapplication.cpp:4396
#27 0x00007ffff0d56aed in QApplication::notify (this=0x7fffffffdac0, 
---Type <return> to continue, or q <return> to quit---
    receiver=0xcea770, e=0x7fffd2a807c0) at kernel/qapplication.cpp:4277
#28 0x00007ffff1ae12c6 in KApplication::notify (this=0x7fffffffdac0, 
    receiver=0xcea770, event=0x7fffd2a807c0)
    at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007ffff0112cdc in QCoreApplication::notifyInternal (this=
    0x7fffffffdac0, receiver=0xcea770, event=0x7fffd2a807c0)
    at kernel/qcoreapplication.cpp:732
#30 0x00007ffff0115c22 in sendEvent (receiver=0x0, 
    event_type=<value optimized out>, data=0xb80890)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=<value optimized out>, data=0xb80890)
    at kernel/qcoreapplication.cpp:1373
#32 0x00007ffff013f653 in sendPostedEvents (s=0xbef3f0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0xbef3f0)
    at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fffea6ac342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007fffea6b02a8 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007fffea6b045c in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
#37 0x00007ffff013f193 in QEventDispatcherGlib::processEvents (this=0xb7ffb0, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
---Type <return> to continue, or q <return> to quit---
#38 0x00007ffff0e03a4e in QGuiEventDispatcherGlib::processEvents (this=
    0x7fffffffc5a0, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007ffff0111a02 in QEventLoop::processEvents (
    this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg
operations must be used either alone or in conjuction with DW_OP_piece or
DW_OP_bit_piece.
) at kernel/qeventloop.cpp:149
#40 0x00007ffff0111dec in QEventLoop::exec (this=0x7fffffffd920, flags=DWARF-2
expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece or DW_OP_bit_piece.
)
    at kernel/qeventloop.cpp:201
#41 0x00007ffff0115ebb in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:1009
#42 0x00000000006edb0d in main (argc=<value optimized out>, 
    argv=<value optimized out>)
    at
/build/buildd/digikam2-2.0.0~beta4+maverick~ppa1kde46/digikam/main/main.cpp:232
(gdb) 


Reproducible: Always

Steps to Reproduce:
1) Started Digikam 2.0.0 Beta 4
2) Choose People, and clicked 'Scan collection for faces'-button
3) Selected Rescan of particular Album
4) Digikam displayed progress dialog of face scanning
5) After 25% scanning, the program received signal SIGS

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list