[Digikam-devel] [Bug 263321] Digikam crash when looking through photos

Andrew Coles andrew_coles at yahoo.co.uk
Sun Jan 16 21:36:07 GMT 2011


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





--- Comment #3 from Andrew Coles <andrew_coles yahoo co uk>  2011-01-16 22:36:04 ---
Okay I've found how to reproduce it:

1) Run face recognition on an album
2) Go through the photos in the album one by one, with 'Show Face Tags' enabled
3) When you come across an 'unknown' face rectangle, move it to someone else
(or if it's on a tree, move it to an actual face), resize it, tag it
4) Hit next

About one time in three it crashes with the backtrace above.  Valgrind output
is at the bottom of this comment.  As you say, there's no obvious digikam code
causing the problem, so I suppose it might be a Qt bug?

==28857== Thread 1:
==28857== Invalid read of size 4
==28857==    at 0x6AACF79:
QGraphicsSceneFindItemBspTreeVisitor::visit(QList<QGraphicsItem*>*)
(qscopedpointer.h:113)
==28857==    by 0x6AAB386:
QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&,
int) const (qgraphicsscene_bsp.cpp:247)
==28857==    by 0x6AAB3BF:
QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&,
int) const (qgraphicsscene_bsp.cpp:252)
==28857==    by 0x6AAB407:
QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&,
int) const (qgraphicsscene_bsp.cpp:261)
==28857==    by 0x6AAB825: QGraphicsSceneBspTree::items(QRectF const&, bool)
const (qgraphicsscene_bsp.cpp:154)
==28857==    by 0x6AAF130:
QGraphicsSceneBspTreeIndexPrivate::estimateItems(QRectF const&, Qt::SortOrder,
bool) (qgraphicsscenebsptreeindex.cpp:387)
==28857==    by 0x6AAF381:
QGraphicsSceneBspTreeIndex::estimateTopLevelItems(QRectF const&, Qt::SortOrder)
const (qgraphicsscenebsptreeindex.cpp:540)
==28857==    by 0x6A96C76: QGraphicsScenePrivate::drawItems(QPainter*,
QTransform const*, QRegion*, QWidget*) (qgraphicsscene.cpp:4697)
==28857==    by 0x6AC2BB8: QGraphicsView::paintEvent(QPaintEvent*)
(qgraphicsview.cpp:3467)
==28857==    by 0x641BCC5: QWidget::event(QEvent*) (qwidget.cpp:8333)
==28857==    by 0x683D762: QFrame::event(QEvent*) (qframe.cpp:557)
==28857==    by 0x68DAA81: QAbstractScrollArea::viewportEvent(QEvent*)
(qabstractscrollarea.cpp:1043)
==28857==  Address 0x17ee2114 is not stack'd, malloc'd or (recently) free'd
==28857== 
==28857== Invalid read of size 4
==28857==    at 0x6AACF7C:
QGraphicsSceneFindItemBspTreeVisitor::visit(QList<QGraphicsItem*>*)
(qgraphicsscene_bsp.cpp:79)
==28857==    by 0x6AAB386:
QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&,
int) const (qgraphicsscene_bsp.cpp:247)
==28857==    by 0x6AAB3BF:
QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&,
int) const (qgraphicsscene_bsp.cpp:252)
==28857==    by 0x6AAB407:
QGraphicsSceneBspTree::climbTree(QGraphicsSceneBspTreeVisitor*, QRectF const&,
int) const (qgraphicsscene_bsp.cpp:261)
==28857==    by 0x6AAB825: QGraphicsSceneBspTree::items(QRectF const&, bool)
const (qgraphicsscene_bsp.cpp:154)
==28857==    by 0x6AAF130:
QGraphicsSceneBspTreeIndexPrivate::estimateItems(QRectF const&, Qt::SortOrder,
bool) (qgraphicsscenebsptreeindex.cpp:387)
==28857==    by 0x6AAF381:
QGraphicsSceneBspTreeIndex::estimateTopLevelItems(QRectF const&, Qt::SortOrder)
const (qgraphicsscenebsptreeindex.cpp:540)
==28857==    by 0x6A96C76: QGraphicsScenePrivate::drawItems(QPainter*,
QTransform const*, QRegion*, QWidget*) (qgraphicsscene.cpp:4697)
==28857==    by 0x6AC2BB8: QGraphicsView::paintEvent(QPaintEvent*)
(qgraphicsview.cpp:3467)
==28857==    by 0x641BCC5: QWidget::event(QEvent*) (qwidget.cpp:8333)
==28857==    by 0x683D762: QFrame::event(QEvent*) (qframe.cpp:557)
==28857==    by 0x68DAA81: QAbstractScrollArea::viewportEvent(QEvent*)
(qabstractscrollarea.cpp:1043)
==28857==  Address 0x70 is not stack'd, malloc'd or (recently) free'd

-- 
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