[Pkg-kde-extras] Bug#808734: digikam crashing when tagging faces, consuming all RAM

2016-10-23 Thread Simon Frei
According to upstream, this has been fixed in 4.9.0. Please report if
you still experience this problem.



signature.asc
Description: OpenPGP digital signature
___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

[Pkg-kde-extras] Bug#808734: digikam crashing when tagging faces, consuming all RAM

2015-12-22 Thread Ulrich Fürst
Package: digikam
Version: 4:4.4.0-1.1
Severity: important
Used with SQLite database

Dear Maintainer,

I wanted to tag already found faces. That worked for some time. Then
after tagging another face digikam began to consum all the RAM.
This situation is now reproduceable by
1. starting digikam
2. tagging just one single face

I can't even close digikam at that time. Digikam takes up the whole RAM
(I tried it with up to 12 GB) and the loadavg rises up to 75 on a dualcore chip
computer. At least that's the highest I could see. 

Starting from the command line I get many times something like the
following (The numbers are changing naturally). But I get it even while
tagging something different than faces and that does work.

digikam(20782)/digikam (core): Tag 0x3521850 doesn't have a valid parent

To solve the problem I tried several things:
* Take an older database out of my backup
* Tried a new user using digikam (with the same picture files and
database)
* deleted the database, starting digikam, made a migration of an older
database). Here digikam didn't show me any pictures even after:
* Tried to update the metadata, the thumbnails, etc. from the tools
  menu.  
* started digikam with gdb
That gave me tones of lines like

[New Thread 0x7fff777fe700 (LWP 3705)]
[Thread 0x7fff777fe700 (LWP 3705) exited]
[Thread 0x7fff9bfff700 (LWP 2093) exited]
[Thread 0x7fffaa83d700 (LWP 2091) exited]
[Thread 0x7fffa95ba700 (LWP 2090) exited]
[Thread 0x7fffa9dbb700 (LWP 2086) exited]
[Thread 0x7fff5ea27700 (LWP 2006) exited]
[Thread 0x7fffaf03f700 (LWP 1946) exited]
[Thread 0x7fffc37fe700 (LWP 1936) exited]
[Thread 0x7fffc3fff700 (LWP 1934) exited]
[Thread 0x7fffc8cd0700 (LWP 1933) exited]
[Thread 0x7fffcf4b6700 (LWP 1932) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) bt
No stack.
(gdb)

* started digikam again with gdb and tried to close it right after
  tagging one face
Catchpoint 1 (exception thrown), 0x716a6dbd in __cxa_throw ()
  from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0  0x716a6dbd in __cxa_throw () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x7fffedcfffaf in Exiv2::XmpProperties::nsInfo(std::string const&) () 
from /usr/lib/x86_64-linux-gnu/libexiv2.so.13
#2  0x7fffedd00169 in Exiv2::XmpProperties::propertyList(std::string 
const&) () from /usr/lib/x86_64-linux-gnu/libexiv2.so.13
#3  0x75bd1da2 in 
KExiv2Iface::KExiv2::Private::getXMPTagsListFromPrefix(QString const&, 
QMap&) const () from /usr/lib/libkexiv2.so.11
#4  0x75c088be in KExiv2Iface::KExiv2::getXmpTagsList() const () from 
/usr/lib/libkexiv2.so.11
#5  0x755aba7b in Digikam::MetadataPanel::slotTabChanged(int) () from 
/usr/lib/digikam/libdigikamcore.so.4.4.0
#6  0x71d6b71c in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x72bf36ae in QTabWidget::currentChanged(int) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x72bf3833 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x71d6b71c in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x72be8c7e in QTabBar::currentChanged(int) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x72bed6c5 in QTabBar::mousePressEvent(QMouseEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x735d21e7 in KTabBar::mousePressEvent(QMouseEvent*) () from 
/usr/lib/libkdeui.so.5
#13 0x727c92c7 in QWidget::event(QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x72bef880 in QTabBar::event(QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x7277548c in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x7277c10f in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x734ed1aa in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5
#18 0x71d5671d in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x7277b76f in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x727f2432 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x727f0e2c in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x72819ed2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x7fffe9360c5d in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x7fffe9360f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x7fffe9360ffc in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x71d85d1d