Bug 193625 - application crashes when an interaction with file management and kipi-plugins is resquested : for example images batch treatment
Summary: application crashes when an interaction with file management and kipi-plugins...
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 11:28 UTC by Philippe Masson
Modified: 2012-10-19 13:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Masson 2009-05-22 11:28:17 UTC
Version:           2.2.2 (using KDE 4.2.2)
Compiler:          gcc 4.3 
OS:                Linux
Installed from:    Debian testing/unstable Packages

Application : Gwenview (gwenview), signal SIGABRT
[Current thread is 0 (LWP 6783)]

Thread 2 (Thread 0xb41b6b90 (LWP 6784)):
#0  0xb7f8a424 in __kernel_vsyscall ()
#1  0xb5f4efb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb681af2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb79e4822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7ed6f4f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0x087f32d8 in ?? ()
#6  0x087f32d4 in ?? ()
#7  0xffffffff in ?? ()
#8  0xb5b51b30 in ?? ()
#9  0x00000000 in ?? ()

Thread 1 (Thread 0xb5b46700 (LWP 6783)):
#0  0xb7f8a424 in __kernel_vsyscall ()
#1  0xb67c8376 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb67c818e in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb77d2738 in ?? () from /usr/lib/libkdeui.so.5
#4  0x00000000 in ?? ()
Comment 1 Philippe Masson 2009-05-22 11:30:31 UTC
For the record, I use Debian Unstable and not "testing" (sidux).
Comment 2 Dario Andres 2009-05-22 15:00:34 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install the "kdegraphics-dbg" package
Thanks
Comment 3 Philippe Masson 2009-05-23 00:07:06 UTC
Application : Gwenview (gwenview), signal SIGABRT
[Current thread is 0 (LWP 7281)]

Thread 2 (Thread 0xb4189b90 (LWP 7282)):
#0  0xb7f5d424 in __kernel_vsyscall ()
#1  0xb5f21fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb67edf2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb79b7822 in QWaitCondition::wait (this=0x8e48710, mutex=0x8e4870c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7ea9f4f in Gwenview::SemanticInfoThread::run (this=0x8e48700) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:135
#5  0xb79b680e in QThreadPrivate::start (arg=0x8e48700) at thread/qthread_unix.cpp:189
#6  0xb5f1e4e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb67df0de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5b19700 (LWP 7281)):
[KCrash Handler]
#6  0xb7f5d424 in __kernel_vsyscall ()
#7  0xb6727640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6729008 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb69179e8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#10 0xb69158c5 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb6915902 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb6915a3a in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb6916093 in operator new () from /usr/lib/libstdc++.so.6
#14 0xb691617d in operator new[] () from /usr/lib/libstdc++.so.6
#15 0xb22b6cc3 in Exiv2::ExifData::operator= () from /usr/lib/libexiv2.so.4
#16 0xb2452a2b in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.7
#17 0xb2443b93 in KIPIPlugins::ImageDialogPreview::showPreview () from /usr/lib/libkipiplugins.so.1
#18 0xb7ee95b2 in KDirOperator::Private::_k_showPreview (this=0x94d4328) at ../../kfile/kdiroperator.cpp:2418
#19 0xb7ee9c6d in KDirOperator::Private::_k_triggerPreview (this=0x94d4328, index=@0x9590fb0) at ../../kfile/kdiroperator.cpp:2408
#20 0xb7ef621a in KDirOperator::qt_metacall (this=0x94d4a68, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbf8763ec) at ./kdiroperator.moc:246
#21 0xb7abfb98 in QMetaObject::activate (sender=0x94f52b0, from_signal_index=35, to_signal_index=35, argv=0xbf8763ec) at kernel/qobject.cpp:3120
#22 0xb7ac0822 in QMetaObject::activate (sender=0x94f52b0, m=0xb7327184, local_signal_index=4, argv=0xbf8763ec) at kernel/qobject.cpp:3194
#23 0xb6ffebc3 in QAbstractItemView::entered (this=0x94f52b0, _t1=@0x9590fb0) at .moc/release-shared/moc_qabstractitemview.cpp:342
#24 0xb700a6fb in QAbstractItemView::mouseMoveEvent (this=0x94f52b0, event=0xbf876dfc) at itemviews/qabstractitemview.cpp:1572
#25 0xb7023132 in QListView::mouseMoveEvent (this=0x94f52b0, e=0xbf876dfc) at itemviews/qlistview.cpp:831
#26 0xb6ae321d in QWidget::event (this=0x94f52b0, event=0xbf876dfc) at kernel/qwidget.cpp:7506
#27 0xb6ebd3e3 in QFrame::event (this=0x94f52b0, e=0xbf876dfc) at widgets/qframe.cpp:559
#28 0xb6f5d39f in QAbstractScrollArea::viewportEvent (this=0x94f52b0, e=0x6) at widgets/qabstractscrollarea.cpp:962
#29 0xb700f247 in QAbstractItemView::viewportEvent (this=0x94f52b0, event=0xbf876dfc) at itemviews/qabstractitemview.cpp:1471
#30 0xb6f5f9a5 in QAbstractScrollAreaFilter::eventFilter (this=0x8dae6f0, o=0x94f9d28, e=0xbf876dfc) at widgets/qabstractscrollarea_p.h:100
#31 0xb7aa8c4a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d39ea8, receiver=0x94f9d28, event=0xbf876dfc) at kernel/qcoreapplication.cpp:726
#32 0xb6a8c79a in QApplicationPrivate::notify_helper (this=0x8d39ea8, receiver=0x94f9d28, e=0xbf876dfc) at kernel/qapplication.cpp:4053
#33 0xb6a95441 in QApplication::notify (this=0xbf87a830, receiver=0x94f9d28, e=0xbf876dfc) at kernel/qapplication.cpp:3759
#34 0xb7735b7d in KApplication::notify (this=0xbf87a830, receiver=0x94f9d28, event=0xbf876dfc) at ../../kdeui/kernel/kapplication.cpp:307
#35 0xb7aa9a2b in QCoreApplication::notifyInternal (this=0xbf87a830, receiver=0x94f9d28, event=0xbf876dfc) at kernel/qcoreapplication.cpp:610
#36 0xb6a944ae in QApplicationPrivate::sendMouseEvent (receiver=0x94f9d28, event=0xbf876dfc, alienWidget=0x94f9d28, nativeWidget=0xbf87866c, buttonDown=0xb73399e0, lastMouseReceiver=@0xb73399e4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#37 0xb6b03dc5 in QETWidget::translateMouseEvent (this=0xbf87866c, event=0xbf8783ac) at kernel/qapplication_x11.cpp:4448
#38 0xb6b03266 in QApplication::x11ProcessEvent (this=0xbf87a830, event=0xbf8783ac) at kernel/qapplication_x11.cpp:3444
#39 0xb6b2d9a2 in x11EventSourceDispatch (s=0x8d3cbb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0xb5f6a848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb5f6ddab in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x08d3c290 in ?? ()
#43 0x00000000 in ?? ()
Comment 4 Philippe Masson 2009-05-26 22:12:59 UTC
If you need more information, please ask ! I just installed the debug library you requested.

For the record the bug happens when in Gwenview one tries to select additionnal pictures in the selectiion box for a batch processing with kipi-plugins.
Comment 5 Philippe Masson 2009-05-27 07:50:47 UTC
here are some valgrind messages about this very bug 

==5215== Memcheck, a memory error detector.
==5215== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==5215== Using LibVEX rev 1884, a library for dynamic binary translation.
==5215== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==5215== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==5215== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==5215== For more details, rerun with: -v
==5215== 
==5215== My PID = 5215, parent PID = 5201.  Prog and args are:
==5215==    gwenview
==5215== 
==5215== Invalid read of size 4
==5215==    at 0x4016A57: (within /lib/ld-2.9.so)
==5215==    by 0x5848511: (within /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x400E005: (within /lib/ld-2.9.so)
==5215==    by 0x58486D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x581FE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x581FF4E: (within /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x58220CC: (within /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x58299AD: getrpcbyname_r (in /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x58293A6: getrpcbyname (in /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x5F0ABA9: FAMOpen2 (in /usr/lib/libfam.so.0.0.0)
==5215==    by 0x5F0ACF4: FAMOpen (in /usr/lib/libfam.so.0.0.0)
==5215==    by 0x4273253: KDirWatchPrivate::KDirWatchPrivate() (kdirwatch.cpp:164)
==5215==  Address 0x6df37ec is 44 bytes inside a block of size 46 alloc'd
==5215==    at 0x402601E: malloc (vg_replace_malloc.c:207)
==5215==    by 0x400E113: (within /lib/ld-2.9.so)
==5215==    by 0x4007D85: (within /lib/ld-2.9.so)
==5215==    by 0x40121E6: (within /lib/ld-2.9.so)
==5215==    by 0x400E005: (within /lib/ld-2.9.so)
==5215==    by 0x4011BED: (within /lib/ld-2.9.so)
==5215==    by 0x5848511: (within /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x400E005: (within /lib/ld-2.9.so)
==5215==    by 0x58486D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x581FE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x581FF4E: (within /lib/i686/cmov/libc-2.9.so)
==5215==    by 0x58220CC: (within /lib/i686/cmov/libc-2.9.so)
==5215== 
==5215== Conditional jump or move depends on uninitialised value(s)
==5215==    at 0x450B66F: QFSFileEngine::fileName(QAbstractFileEngine::FileName) const (qfsfileengine_unix.cpp:787)
==5215==    by 0x44C4E57: QFileInfoPrivate::getFileName(QAbstractFileEngine::FileName) const (qfileinfo.cpp:202)
==5215==    by 0x44C506B: QFileInfo::readLink() const (qfileinfo.cpp:1137)
==5215==    by 0x44BFE6A: QFile::readLink(QString const&) (qfile.cpp:633)
==5215==    by 0x58CF212: _k_resolveSymLink(QString const&) (qfile.h:125)
==5215==    by 0x58CF69A: _k_updateMountPointsCache() (halfstabhandling.cpp:121)
==5215==    by 0x58CF958: Solid::Backends::Hal::FstabHandling::possibleMountPoints(QString const&) (halfstabhandling.cpp:141)
==5215==    by 0x58DD6A3: Solid::Backends::Hal::StorageAccess::filePath() const (halstorageaccess.cpp:85)
==5215==    by 0x58E1F43: Solid::Backends::Hal::Volume::isIgnored() const (halvolume.cpp:48)
==5215==    by 0x58A3895: Solid::StorageVolume::isIgnored() const (storagevolume.cpp:45)
==5215==    by 0x58A3FA2: Solid::StorageVolume::qt_metacall(QMetaObject::Call, int, void**) (storagevolume.moc:87)
==5215==    by 0x4537723: QMetaProperty::read(QObject const*) const (qmetaobject.cpp:2138)
==5215== 
==5215== Conditional jump or move depends on uninitialised value(s)
==5215==    at 0x4F8DC00: QX11PaintEngine::updateMatrix(QTransform const&) (qpaintengine_x11.cpp:2007)
==5215==    by 0x4F97BEE: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1077)
==5215==    by 0x4EB4267: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:908)
==5215==    by 0x4EB434A: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:936)
==5215==    by 0x4EBFE7E: QPainter::drawEllipse(QRectF const&) (qpainter.cpp:4164)
==5215==    by 0x6AA4157: OxygenHelper::drawShadow(QPainter&, QColor const&, int) const (helper.cpp:253)
==5215==    by 0x6AAC5F3: OxygenStyleHelper::slab(QColor const&, double, int) (helper.cpp:310)
==5215==    by 0x6AB227A: OxygenStyle::renderSlab(QPainter*, QRect, QColor const&, QFlags<OxygenStyle::StyleOption>, QFlags<TileSet::Tile>) const (oxygen.cpp:2389)
==5215==    by 0x6AC282D: OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:1975)
==5215==    by 0x4884FC3: KStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (kstyle.cpp:1059)
==5215==    by 0x487BD39: KStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const (kstyle.cpp:3236)
==5215==    by 0x6AB3FC6: OxygenStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const (oxygen.cpp:316)
==5215== 
==5215== Thread 4:
==5215== Conditional jump or move depends on uninitialised value(s)
==5215==    at 0x5C4D037: deflate (in /usr/lib/libz.so.1.2.3.3)
==5215==    by 0x612304F: (within /usr/lib/libpng12.so.0.35.0)
==5215==    by 0x6123343: (within /usr/lib/libpng12.so.0.35.0)
==5215==    by 0x6123C69: (within /usr/lib/libpng12.so.0.35.0)
==5215==    by 0x6127C7B: png_write_row (in /usr/lib/libpng12.so.0.35.0)
==5215==    by 0x6127EEC: png_write_image (in /usr/lib/libpng12.so.0.35.0)
==5215==    by 0x4E7FBFB: QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int) (qpnghandler.cpp:854)
==5215==    by 0x4E80032: QPngHandler::write(QImage const&) (qpnghandler.cpp:97)
==5215==    by 0x4E4F8CF: QImageWriter::write(QImage const&) (qimagewriter.cpp:577)
==5215==    by 0x4E3608B: QImageData::doImageIO(QImage const*, QImageWriter*, int) const (qimage.cpp:4702)
==5215==    by 0x4E37B34: QImage::save(QString const&, char const*, int) const (qimage.cpp:4671)
==5215==    by 0x413BB52: Gwenview::ThumbnailThread::storeThumbnailInCache() (thumbnailloadjob.cpp:244)
==5215== 
==5215== Thread 1:
==5215== Conditional jump or move depends on uninitialised value(s)
==5215==    at 0x4F0633C: PolygonRegion(QPoint const*, int, int) (qregion.cpp:3522)
==5215==    by 0x4F06CD7: QRegion::QRegion(QPolygon const&, Qt::FillRule) (qregion.cpp:3858)
==5215==    by 0x4F97A96: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1087)
==5215==    by 0x4EB4267: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:908)
==5215==    by 0x4EB434A: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:936)
==5215==    by 0x4EBA040: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (qpainter.cpp:2671)
==5215==    by 0x4DE9419: QWidgetPrivate::paintBackground(QPainter*, QRegion const&, QPoint const&, int) const (qwidget.cpp:2069)
==5215==    by 0x4DEA163: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (qwidget.cpp:5030)
==5215==    by 0x4FA6D3B: QWidgetBackingStore::sync() (qbackingstore.cpp:1260)
==5215==    by 0x4DDA9D5: QWidgetPrivate::syncBackingStore() (qwidget.cpp:1602)
==5215==    by 0x4DE25F4: QWidget::event(QEvent*) (qwidget.cpp:7799)
==5215==    by 0x4D8B7BB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4057)
==5215== 
==5215== Conditional jump or move depends on uninitialised value(s)
==5215==    at 0x4F0633C: PolygonRegion(QPoint const*, int, int) (qregion.cpp:3522)
==5215==    by 0x4F06CD7: QRegion::QRegion(QPolygon const&, Qt::FillRule) (qregion.cpp:3858)
==5215==    by 0x4F976BD: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1105)
==5215==    by 0x4EB4267: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:908)
==5215==    by 0x4EB434A: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:936)
==5215==    by 0x4EBA040: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (qpainter.cpp:2671)
==5215==    by 0x4DE9419: QWidgetPrivate::paintBackground(QPainter*, QRegion const&, QPoint const&, int) const (qwidget.cpp:2069)
==5215==    by 0x4DEA163: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (qwidget.cpp:5030)
==5215==    by 0x4FA6D3B: QWidgetBackingStore::sync() (qbackingstore.cpp:1260)
==5215==    by 0x4DDA9D5: QWidgetPrivate::syncBackingStore() (qwidget.cpp:1602)
==5215==    by 0x4DE25F4: QWidget::event(QEvent*) (qwidget.cpp:7799)
==5215==    by 0x4D8B7BB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4057)
==5215== 
==5215== Invalid read of size 1
==5215==    at 0x4026C30: memcpy (mc_replace_strmem.c:402)
==5215==    by 0xCD58CE6: Exiv2::ExifData::operator=(Exiv2::ExifData const&) (in /usr/lib/libexiv2.so.4.0.1)
==5215==    by 0xCC22A2A: KExiv2Iface::KExiv2::load(QString const&) const (in /usr/lib/libkexiv2.so.7.2.0)
==5215==    by 0xCC72B92: KIPIPlugins::ImageDialogPreview::showPreview(KUrl const&) (in /usr/lib/libkipiplugins.so.1.0.0)
==5215==    by 0x40695B1: KDirOperator::Private::_k_showPreview() (kdiroperator.cpp:2418)
==5215==    by 0x4069C6C: KDirOperator::Private::_k_triggerPreview(QModelIndex const&) (kdiroperator.cpp:2408)
==5215==    by 0x4076219: KDirOperator::qt_metacall(QMetaObject::Call, int, void**) (kdiroperator.moc:246)
==5215==    by 0x4545B97: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3120)
==5215==    by 0x4546821: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3194)
==5215==    by 0x52FDBC2: QAbstractItemView::entered(QModelIndex const&) (moc_qabstractitemview.cpp:342)
==5215==    by 0x53096FA: QAbstractItemView::mouseMoveEvent(QMouseEvent*) (qabstractitemview.cpp:1572)
==5215==    by 0x5322131: QListView::mouseMoveEvent(QMouseEvent*) (qlistview.cpp:831)
==5215==  Address 0x3ffffff is not stack'd, malloc'd or (recently) free'd
==5215== 
==5215== ERROR SUMMARY: 22 errors from 7 contexts (suppressed: 6842 from 11)
==5215== malloc/free: in use at exit: 101,726,512 bytes in 103,289 blocks.
==5215== malloc/free: 1,619,606 allocs, 1,516,317 frees, 389,593,289 bytes allocated.
==5215== For counts of detected errors, rerun with: -v
==5215== Use --track-origins=yes to see where uninitialised values come from
==5215== searching for pointers to 103,289 not-freed blocks.
==5215== checked 65,668,372 bytes.
==5215== 
==5215== LEAK SUMMARY:
==5215==    definitely lost: 15,647 bytes in 373 blocks.
==5215==      possibly lost: 266,264 bytes in 8,209 blocks.
==5215==    still reachable: 101,444,601 bytes in 94,707 blocks.
==5215==         suppressed: 0 bytes in 0 blocks.
==5215== Rerun with --leak-check=full to see details of leaked memory.
Comment 6 Aurelien Gateau 2009-06-08 09:39:37 UTC
I think this bug has been fixed in recent kipiplugins. Can you try the latest version of kipiplugins or even better, the svn?
Comment 7 Philippe Masson 2009-06-08 10:02:04 UTC
unfortunatly and obviously not : 

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5c30700 (LWP 5712)]
[New Thread 0xb36b6b90 (LWP 5718)]
[New Thread 0xb42a0b90 (LWP 5714)]
0xb8072424 in __kernel_vsyscall ()
[Current thread is 0 (LWP 5712)]

Thread 3 (Thread 0xb42a0b90 (LWP 5714)):
#0  0xb8072424 in __kernel_vsyscall ()
#1  0xb6038fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6904f2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7acc822 in QWaitCondition::wait (this=0x9170a78, mutex=0x9170a74, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7fbf09f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0x09170a78 in ?? ()
#6  0x09170a74 in ?? ()
#7  0xffffffff in ?? ()
#8  0xb5c3bb30 in ?? ()
#9  0x00000000 in ?? ()

Thread 2 (Thread 0xb36b6b90 (LWP 5718)):
#0  0xb8072424 in __kernel_vsyscall ()
#1  0xb60392e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6904f84 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb7acc7fc in QWaitCondition::wait (this=0x952fc00, mutex=0x952fbfc, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb7ac1db6 in QThreadPoolThread::run (this=0x952aef8) at concurrent/qthreadpool.cpp:140
#5  0xb7acb80e in QThreadPrivate::start (arg=0x952aef8) at thread/qthread_unix.cpp:189
#6  0xb60354e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb68f60de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5c30700 (LWP 5712)):
#0  0xb8072424 in __kernel_vsyscall ()
#1  0xb68b2376 in nanosleep () from /lib/i686/cmov/libc.so.6
#2  0xb68b218e in sleep () from /lib/i686/cmov/libc.so.6
#3  0xb78bb0f8 in KCrash::startDrKonqi (argv=0xbfa8df58, argc=17) at ../../kdeui/util/kcrash.cpp:412
#4  0xb78bbac4 in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:337
#5  <signal handler called>
#6  0x00000006 in ?? ()
#7  0xb65fe1da in ?? () from /usr/lib/libexiv2.so.5
#8  0xae65c621 in JpegEndAnalyzer::analyze () from /usr/lib/strigi/strigiea_jpeg.so
#9  0xb6408f5f in ?? () from /usr/lib/libstreamanalyzer.so.0
#10 0xb7dd5dc7 in KFileMetaInfoPrivate::init (this=0x96ac0f8, stream=@0xbfa8e990, url=@0x96b35cc, mtime=1053191542) at ../../kio/kio/kfilemetainfo.cpp:201
#11 0xb7dd7432 in KFileMetaInfo (this=0xbfa8e9e8, url=@0x96b35cc) at ../../kio/kio/kfilemetainfo.cpp:240
#12 0x0809a812 in _start ()
#0  0xb8072424 in __kernel_vsyscall ()
Comment 8 Philippe Masson 2009-06-08 10:17:29 UTC
The trouble is still there : I open gwenview, go to an image directory, choose in the external modules menu "batch -> resize" and gwenview immediatly crashes.

I updated all involved tools before with --purge before for all kipi-plugins and gwenview related tools  :/
Comment 9 Aurelien Gateau 2009-06-08 11:59:02 UTC
It does not crash in the same place as your first backtrace: this one seems to crash in Strigi analyzer. Does it happen with all image folders? Can you try creating a test folder with a plain image (like a simple PNG created with Kolourpaint) and see if it crashes?
Comment 10 Philippe Masson 2009-06-08 13:05:12 UTC
I confirm it does happen even if applicated on a totally new folder with png files and no jpg at all in it.
The symptom is exactly the same that signaled originnaly : it does not crash immediatly when asking for batch rezise but does once "add" is chosen in the select box for adding images to the batch tratment. 


Application : Gwenview (gwenview), signal SIGABRT
[Current thread is 0 (LWP 7432)]

Thread 3 (Thread 0xb45bfb90 (LWP 7433)):
#0  0xb80b0424 in __kernel_vsyscall ()
#1  0xb6076fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6942f2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7b0a822 in QWaitCondition::wait (this=0x833a8a0, mutex=0x833a89c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7ffd09f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0x0833a8a0 in ?? ()
#6  0x0833a89c in ?? ()
#7  0xffffffff in ?? ()
#8  0xb5c79b30 in ?? ()
#9  0x00000000 in ?? ()

Thread 2 (Thread 0xb35ffb90 (LWP 7436)):
#0  0xb80b0424 in __kernel_vsyscall ()
#1  0xb60772e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb6942f84 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb7b0a7fc in QWaitCondition::wait (this=0x8760ac0, mutex=0x8760abc, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb7affdb6 in QThreadPoolThread::run (this=0x82eb870) at concurrent/qthreadpool.cpp:140
#5  0xb7b0980e in QThreadPrivate::start (arg=0x82eb870) at thread/qthread_unix.cpp:189
#6  0xb60734e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb69340de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5c6e700 (LWP 7432)):
[KCrash Handler]
#6  0xb80b0424 in __kernel_vsyscall ()
#7  0xb687c640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb687e008 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6a6c9e8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#10 0xb6a6a8c5 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb6a6a902 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb6a6aa3a in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb6a6b093 in operator new () from /usr/lib/libstdc++.so.6
#14 0xb6a6b17d in operator new[] () from /usr/lib/libstdc++.so.6
#15 0xb20bacc3 in Exiv2::ExifData::operator= () from /usr/lib/libexiv2.so.4
#16 0xb2236a2b in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.7
#17 0xb362ab93 in KIPIPlugins::ImageDialogPreview::showPreview () from /usr/lib/libkipiplugins.so.1
#18 0xb803c7c2 in KDirOperator::Private::_k_showPreview (this=0x8a22e38) at ../../kfile/kdiroperator.cpp:2412
#19 0xb803cedd in KDirOperator::Private::_k_triggerPreview (this=0x8a22e38, index=@0x8a26480) at ../../kfile/kdiroperator.cpp:2402
#20 0xb804950a in KDirOperator::qt_metacall (this=0x8877450, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbfcca16c) at ./kdiroperator.moc:249
#21 0xb7c12b98 in QMetaObject::activate (sender=0x8a28a90, from_signal_index=35, to_signal_index=35, argv=0xbfcca16c) at kernel/qobject.cpp:3120
#22 0xb7c13822 in QMetaObject::activate (sender=0x8a28a90, m=0xb747c184, local_signal_index=4, argv=0xbfcca16c) at kernel/qobject.cpp:3194
#23 0xb7153bc3 in QAbstractItemView::entered (this=0x8a28a90, _t1=@0x8a26480) at .moc/release-shared/moc_qabstractitemview.cpp:342
#24 0xb715f6fb in QAbstractItemView::mouseMoveEvent (this=0x8a28a90, event=0xbfccab7c) at itemviews/qabstractitemview.cpp:1572
#25 0xb7178132 in QListView::mouseMoveEvent (this=0x8a28a90, e=0xbfccab7c) at itemviews/qlistview.cpp:831
#26 0xb6c3821d in QWidget::event (this=0x8a28a90, event=0xbfccab7c) at kernel/qwidget.cpp:7506
#27 0xb70123e3 in QFrame::event (this=0x8a28a90, e=0xbfccab7c) at widgets/qframe.cpp:559
#28 0xb70b239f in QAbstractScrollArea::viewportEvent (this=0x8a28a90, e=0x6) at widgets/qabstractscrollarea.cpp:962
#29 0xb7164247 in QAbstractItemView::viewportEvent (this=0x8a28a90, event=0xbfccab7c) at itemviews/qabstractitemview.cpp:1471
#30 0xb70b49a5 in QAbstractScrollAreaFilter::eventFilter (this=0x8a88930, o=0x8440898, e=0xbfccab7c) at widgets/qabstractscrollarea_p.h:100
#31 0xb7bfbc4a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8276ea8, receiver=0x8440898, event=0xbfccab7c) at kernel/qcoreapplication.cpp:726
#32 0xb6be179a in QApplicationPrivate::notify_helper (this=0x8276ea8, receiver=0x8440898, e=0xbfccab7c) at kernel/qapplication.cpp:4053
#33 0xb6bea441 in QApplication::notify (this=0xbfcce5b0, receiver=0x8440898, e=0xbfccab7c) at kernel/qapplication.cpp:3759
#34 0xb78895ed in KApplication::notify (this=0xbfcce5b0, receiver=0x8440898, event=0xbfccab7c) at ../../kdeui/kernel/kapplication.cpp:307
#35 0xb7bfca2b in QCoreApplication::notifyInternal (this=0xbfcce5b0, receiver=0x8440898, event=0xbfccab7c) at kernel/qcoreapplication.cpp:610
#36 0xb6be94ae in QApplicationPrivate::sendMouseEvent (receiver=0x8440898, event=0xbfccab7c, alienWidget=0x8440898, nativeWidget=0xbfccc3ec, buttonDown=0xb748e9e0, lastMouseReceiver=@0xb748e9e4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#37 0xb6c58dc5 in QETWidget::translateMouseEvent (this=0xbfccc3ec, event=0xbfccc12c) at kernel/qapplication_x11.cpp:4448
#38 0xb6c57cb7 in QApplication::x11ProcessEvent (this=0xbfcce5b0, event=0xbfccc12c) at kernel/qapplication_x11.cpp:3566
#39 0xb6c829a2 in x11EventSourceDispatch (s=0x8279bb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0xb60bf848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb60c2dab in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x08279290 in ?? ()
#43 0x00000000 in ?? ()
Comment 11 Philippe Masson 2009-06-09 09:11:03 UTC
Here are the results of the crash after an update of kdegraphics-dbg and all related tools

Application : Gwenview (gwenview), signal SIGABRT
[Current thread is 0 (LWP 5871)]

Thread 3 (Thread 0xb42abb90 (LWP 5872)):
#0  0xb8079424 in __kernel_vsyscall ()
#1  0xb603efb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb690af2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7ad2822 in QWaitCondition::wait (this=0x94777a8, mutex=0x94777a4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7fc509f in Gwenview::SemanticInfoThread::run (this=0x9477798) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:135
#5  0xb7ad180e in QThreadPrivate::start (arg=0x9477798) at thread/qthread_unix.cpp:189
#6  0xb603b4e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb68fc0de in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xb35b8b90 (LWP 5874)):
#0  0xb8079424 in __kernel_vsyscall ()
#1  0xb603f2e2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb690af84 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb7ad27fc in QWaitCondition::wait (this=0x98bed50, mutex=0x98bed4c, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb7ac7db6 in QThreadPoolThread::run (this=0x98bec80) at concurrent/qthreadpool.cpp:140
#5  0xb7ad180e in QThreadPrivate::start (arg=0x98bec80) at thread/qthread_unix.cpp:189
#6  0xb603b4e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb68fc0de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5c36700 (LWP 5871)):
[KCrash Handler]
#6  0xb8079424 in __kernel_vsyscall ()
#7  0xb6844640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6846008 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6a349e8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#10 0xb6a328c5 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb6a32902 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb6a32a3a in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb6a33093 in operator new () from /usr/lib/libstdc++.so.6
#14 0xb6a3317d in operator new[] () from /usr/lib/libstdc++.so.6
#15 0xb2073cc3 in Exiv2::ExifData::operator= () from /usr/lib/libexiv2.so.4
#16 0xb21efa2b in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.7
#17 0xb35e4b93 in KIPIPlugins::ImageDialogPreview::showPreview () from /usr/lib/libkipiplugins.so.1
#18 0xb80047c2 in KDirOperator::Private::_k_showPreview (this=0x9ae1c28) at ../../kfile/kdiroperator.cpp:2412
#19 0xb8004edd in KDirOperator::Private::_k_triggerPreview (this=0x9ae1c28, index=@0x9b02a78) at ../../kfile/kdiroperator.cpp:2402
#20 0xb801150a in KDirOperator::qt_metacall (this=0x9ae1a58, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbfb9103c) at ./kdiroperator.moc:249
#21 0xb7bdab98 in QMetaObject::activate (sender=0x9b5e038, from_signal_index=35, to_signal_index=35, argv=0xbfb9103c) at kernel/qobject.cpp:3120
#22 0xb7bdb822 in QMetaObject::activate (sender=0x9b5e038, m=0xb7444184, local_signal_index=4, argv=0xbfb9103c) at kernel/qobject.cpp:3194
#23 0xb711bbc3 in QAbstractItemView::entered (this=0x9b5e038, _t1=@0x9b02a78) at .moc/release-shared/moc_qabstractitemview.cpp:342
#24 0xb71276fb in QAbstractItemView::mouseMoveEvent (this=0x9b5e038, event=0xbfb91a4c) at itemviews/qabstractitemview.cpp:1572
#25 0xb7140132 in QListView::mouseMoveEvent (this=0x9b5e038, e=0xbfb91a4c) at itemviews/qlistview.cpp:831
#26 0xb6c0021d in QWidget::event (this=0x9b5e038, event=0xbfb91a4c) at kernel/qwidget.cpp:7506
#27 0xb6fda3e3 in QFrame::event (this=0x9b5e038, e=0xbfb91a4c) at widgets/qframe.cpp:559
#28 0xb707a39f in QAbstractScrollArea::viewportEvent (this=0x9b5e038, e=0x6) at widgets/qabstractscrollarea.cpp:962
#29 0xb712c247 in QAbstractItemView::viewportEvent (this=0x9b5e038, event=0xbfb91a4c) at itemviews/qabstractitemview.cpp:1471
#30 0xb707c9a5 in QAbstractScrollAreaFilter::eventFilter (this=0x9b54af0, o=0x9b03590, e=0xbfb91a4c) at widgets/qabstractscrollarea_p.h:100
#31 0xb7bc3c4a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9363ea8, receiver=0x9b03590, event=0xbfb91a4c) at kernel/qcoreapplication.cpp:726
#32 0xb6ba979a in QApplicationPrivate::notify_helper (this=0x9363ea8, receiver=0x9b03590, e=0xbfb91a4c) at kernel/qapplication.cpp:4053
#33 0xb6bb2441 in QApplication::notify (this=0xbfb95480, receiver=0x9b03590, e=0xbfb91a4c) at kernel/qapplication.cpp:3759
#34 0xb78515ed in KApplication::notify (this=0xbfb95480, receiver=0x9b03590, event=0xbfb91a4c) at ../../kdeui/kernel/kapplication.cpp:307
#35 0xb7bc4a2b in QCoreApplication::notifyInternal (this=0xbfb95480, receiver=0x9b03590, event=0xbfb91a4c) at kernel/qcoreapplication.cpp:610
#36 0xb6bb14ae in QApplicationPrivate::sendMouseEvent (receiver=0x9b03590, event=0xbfb91a4c, alienWidget=0x9b03590, nativeWidget=0xbfb932bc, buttonDown=0xb74569e0, lastMouseReceiver=@0xb74569e4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#37 0xb6c20dc5 in QETWidget::translateMouseEvent (this=0xbfb932bc, event=0xbfb92ffc) at kernel/qapplication_x11.cpp:4448
#38 0xb6c1fcb7 in QApplication::x11ProcessEvent (this=0xbfb95480, event=0xbfb92ffc) at kernel/qapplication_x11.cpp:3566
#39 0xb6c4a9a2 in x11EventSourceDispatch (s=0x9366bb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0xb6087848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb608adab in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x09366290 in ?? ()
#43 0x00000000 in ?? ()
Comment 12 Philippe Masson 2009-06-09 09:20:23 UTC
here is today's valgrind log 

==5959== Memcheck, a memory error detector.
==5959== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==5959== Using LibVEX rev 1884, a library for dynamic binary translation.
==5959== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==5959== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==5959== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==5959== For more details, rerun with: -v
==5959== 
==5959== My PID = 5959, parent PID = 5946.  Prog and args are:
==5959==    gwenview
==5959== 
==5959== Invalid read of size 4
==5959==    at 0x4016A57: (within /lib/ld-2.9.so)
==5959==    by 0x5847511: (within /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x400E005: (within /lib/ld-2.9.so)
==5959==    by 0x58476D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x581EE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x581EF4E: (within /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x58210CC: (within /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x58289AD: getrpcbyname_r (in /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x58283A6: getrpcbyname (in /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x5F09BA9: FAMOpen2 (in /usr/lib/libfam.so.0.0.0)
==5959==    by 0x5F09CF4: FAMOpen (in /usr/lib/libfam.so.0.0.0)
==5959==    by 0x4270D4C: KDirWatchPrivate::KDirWatchPrivate() (kdirwatch.cpp:164)
==5959==  Address 0x74566e4 is 44 bytes inside a block of size 46 alloc'd
==5959==    at 0x402601E: malloc (vg_replace_malloc.c:207)
==5959==    by 0x400E113: (within /lib/ld-2.9.so)
==5959==    by 0x4007D85: (within /lib/ld-2.9.so)
==5959==    by 0x40121E6: (within /lib/ld-2.9.so)
==5959==    by 0x400E005: (within /lib/ld-2.9.so)
==5959==    by 0x4011BED: (within /lib/ld-2.9.so)
==5959==    by 0x5847511: (within /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x400E005: (within /lib/ld-2.9.so)
==5959==    by 0x58476D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x581EE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x581EF4E: (within /lib/i686/cmov/libc-2.9.so)
==5959==    by 0x58210CC: (within /lib/i686/cmov/libc-2.9.so)
==5959== 
==5959== Conditional jump or move depends on uninitialised value(s)
==5959==    at 0x450C66F: QFSFileEngine::fileName(QAbstractFileEngine::FileName) const (qfsfileengine_unix.cpp:787)
==5959==    by 0x44C5E57: QFileInfoPrivate::getFileName(QAbstractFileEngine::FileName) const (qfileinfo.cpp:202)
==5959==    by 0x44C606B: QFileInfo::readLink() const (qfileinfo.cpp:1137)
==5959==    by 0x44C0E6A: QFile::readLink(QString const&) (qfile.cpp:633)
==5959==    by 0x58CEC92: _k_resolveSymLink(QString const&) (qfile.h:129)
==5959==    by 0x58CF11A: _k_updateMountPointsCache() (halfstabhandling.cpp:121)
==5959==    by 0x58CF3D8: Solid::Backends::Hal::FstabHandling::possibleMountPoints(QString const&) (halfstabhandling.cpp:141)
==5959==    by 0x58DD123: Solid::Backends::Hal::StorageAccess::filePath() const (halstorageaccess.cpp:85)
==5959==    by 0x58E19C3: Solid::Backends::Hal::Volume::isIgnored() const (halvolume.cpp:48)
==5959==    by 0x58A2C95: Solid::StorageVolume::isIgnored() const (storagevolume.cpp:45)
==5959==    by 0x58A33A2: Solid::StorageVolume::qt_metacall(QMetaObject::Call, int, void**) (storagevolume.moc:88)
==5959==    by 0x4538723: QMetaProperty::read(QObject const*) const (qmetaobject.cpp:2138)
==5959== 
==5959== Conditional jump or move depends on uninitialised value(s)
==5959==    at 0x4F8CC00: QX11PaintEngine::updateMatrix(QTransform const&) (qpaintengine_x11.cpp:2007)
==5959==    by 0x4F96BEE: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1077)
==5959==    by 0x4EB3267: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:908)
==5959==    by 0x4EB334A: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:936)
==5959==    by 0x4EBEC5E: QPainter::drawEllipse(QRect const&) (qpainter.cpp:4207)
==5959==    by 0x6AA778F: OxygenStyleHelper::drawHole(QPainter&, QColor const&, double, int) const (qpainter.h:650)
==5959==    by 0x6AAB1C8: OxygenStyleHelper::holeFlat(QColor const&, double, int) (helper.cpp:544)
==5959==    by 0x6ABB526: OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:612)
==5959==    by 0x48819A7: KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (kstyle.cpp:1694)
==5959==    by 0x6AB3661: OxygenStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (oxygen.cpp:370)
==5959==    by 0x5212064: QMenuBar::paintEvent(QPaintEvent*) (qmenubar.cpp:993)
==5959==    by 0x4956543: KMenuBar::paintEvent(QPaintEvent*) (kmenubar.cpp:486)
==5959== 
==5959== ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 1172 from 9)
==5959== malloc/free: in use at exit: 1,223,936 bytes in 10,322 blocks.
==5959== malloc/free: 408,582 allocs, 398,260 frees, 46,241,563 bytes allocated.
==5959== For counts of detected errors, rerun with: -v
==5959== Use --track-origins=yes to see where uninitialised values come from
==5959== searching for pointers to 10,322 not-freed blocks.
==5959== checked 1,657,284 bytes.
==5959== 
==5959== LEAK SUMMARY:
==5959==    definitely lost: 721,779 bytes in 1,199 blocks.
==5959==      possibly lost: 52,476 bytes in 400 blocks.
==5959==    still reachable: 449,681 bytes in 8,723 blocks.
==5959==         suppressed: 0 bytes in 0 blocks.
==5959== Rerun with --leak-check=full to see details of leaked memory.
Comment 13 Philippe Masson 2009-06-09 09:25:39 UTC
and here are the results in verbose mode

==6010== Memcheck, a memory error detector.
==6010== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==6010== Using LibVEX rev 1884, a library for dynamic binary translation.
==6010== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==6010== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==6010== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==6010== 
==6010== My PID = 6010, parent PID = 5946.  Prog and args are:
==6010==    gwenview
==6010== 
--6010-- 
--6010-- Command line
--6010--    gwenview
--6010-- Startup, with flags:
--6010--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--6010--    -v
--6010--    --log-file=gwenview20090609log2.txt
--6010-- Contents of /proc/version:
--6010--   Linux version 2.6.29-1.slh.5-sidux-686 (Debian 2.6.29-11) (s.l-h@gmx.de) (gcc version 4.3.3 (Debian 4.3.3-7) ) #1 SMP PREEMPT Wed Apr 15 18:16:03 UTC 2009
--6010-- Arch and hwcaps: X86, x86-sse1-sse2
--6010-- Page sizes: currently 4096, max supported 4096
--6010-- Valgrind library directory: /usr/lib/valgrind
--6010-- Reading syms from /lib/ld-2.9.so (0x4000000)
--6010-- Reading debug info from /lib/ld-2.9.so ..
--6010-- .. CRC mismatch (computed 80df47fc wanted f40c81d9)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/bin/gwenview (0x8048000)
--6010-- Reading debug info from /usr/bin/gwenview ..
--6010-- .. CRC mismatch (computed 710ad17a wanted 06dc43f9)
--6010-- Reading debug info from /usr/lib/debug/usr/bin/gwenview ..
--6010-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--6010--    object doesn't have a dynamic symbol table
--6010-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--6010-- Reading suppressions file: /usr/lib/valgrind/default.supp
--6010-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4020000)
--6010-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4022000)
--6010-- Reading syms from /usr/lib/libkfile.so.4.2.0 (0x4041000)
--6010-- Reading debug info from /usr/lib/libkfile.so.4.2.0 ..
--6010-- .. CRC mismatch (computed f7b01e56 wanted 9b117f1f)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libkfile.so.4.2.0 ..
--6010-- Reading syms from /usr/lib/libgwenviewlib.so.4.2.0 (0x40c6000)
--6010-- Reading debug info from /usr/lib/libgwenviewlib.so.4.2.0 ..
--6010-- .. CRC mismatch (computed 2f78c2f1 wanted 8057ebe2)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libgwenviewlib.so.4.2.0 ..
--6010-- Reading syms from /usr/lib/libkio.so.5.2.0 (0x416c000)
--6010-- Reading debug info from /usr/lib/libkio.so.5.2.0 ..
--6010-- .. CRC mismatch (computed b3fb3ebe wanted b041933d)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libkio.so.5.2.0 ..
--6010-- Reading syms from /usr/lib/libQtCore.so.4.5.1 (0x43e7000)
--6010-- Reading debug info from /usr/lib/libQtCore.so.4.5.1.debug ..
--6010-- Reading syms from /usr/lib/libkipi.so.6.0.0 (0x4626000)
--6010-- Reading debug info from /usr/lib/libkipi.so.6.0.0 ..
--6010-- .. CRC mismatch (computed 49c60bb1 wanted 021f53d3)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libkipi.so.6.0.0 ..
--6010-- Reading syms from /usr/lib/libnepomuk.so.4.2.0 (0x463a000)
--6010-- Reading debug info from /usr/lib/libnepomuk.so.4.2.0 ..
--6010-- .. CRC mismatch (computed 5295c015 wanted b255e471)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libnepomuk.so.4.2.0 ..
--6010-- Reading syms from /usr/lib/libkdeui.so.5.2.0 (0x46a0000)
--6010-- Reading debug info from /usr/lib/libkdeui.so.5.2.0 ..
--6010-- .. CRC mismatch (computed bb640db6 wanted 31db088f)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libkdeui.so.5.2.0 ..
--6010-- Reading syms from /usr/lib/libkdecore.so.5.2.0 (0x4a1e000)
--6010-- Reading debug info from /usr/lib/libkdecore.so.5.2.0 ..
--6010-- .. CRC mismatch (computed b47f685d wanted 6753cc68)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libkdecore.so.5.2.0 ..
--6010-- Reading syms from /usr/lib/libQtGui.so.4.5.1 (0x4c48000)
--6010-- Reading debug info from /usr/lib/libQtGui.so.4.5.1.debug ..
--6010-- Reading syms from /usr/lib/libstdc++.so.6.0.10 (0x563a000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/i686/cmov/libc-2.9.so (0x5728000)
--6010-- Reading debug info from /lib/i686/cmov/libc-2.9.so ..
--6010-- .. CRC mismatch (computed 0e70f99f wanted 9e5e23ca)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libsolid.so.4.2.0 (0x5888000)
--6010-- Reading debug info from /usr/lib/libsolid.so.4.2.0 ..
--6010-- .. CRC mismatch (computed d57f6571 wanted 26cb8300)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/libsolid.so.4.2.0 ..
--6010-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0x58f4000)
--6010-- Reading debug info from /usr/lib/libXrender.so.1.3.0 ..
--6010-- .. CRC mismatch (computed 52b98e9e wanted bd352fc5)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libQtXml.so.4.5.1 (0x58fe000)
--6010-- Reading debug info from /usr/lib/libQtXml.so.4.5.1.debug ..
--6010-- Reading syms from /lib/libgcc_s.so.1 (0x5942000)
--6010-- Reading debug info from /lib/libgcc_s.so.1 ..
--6010-- .. CRC mismatch (computed 11fa3582 wanted caeac21e)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libjpeg.so.62.0.0 (0x594f000)
--6010-- Reading debug info from /usr/lib/libjpeg.so.62.0.0 ..
--6010-- .. CRC mismatch (computed 98c0720f wanted 31d2d543)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libexiv2.so.5.3.0 (0x596e000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libsoprano.so.4.1.0 (0x5af7000)
--6010-- Reading debug info from /usr/lib/libsoprano.so.4.1.0 ..
--6010-- .. CRC mismatch (computed 02fe5527 wanted 3a2a3b7c)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libQtSvg.so.4.5.1 (0x5bcd000)
--6010-- Reading debug info from /usr/lib/libQtSvg.so.4.5.1.debug ..
--6010-- Reading syms from /lib/i686/cmov/libm-2.9.so (0x5c21000)
--6010-- Reading debug info from /lib/i686/cmov/libm-2.9.so ..
--6010-- .. CRC mismatch (computed 7644ab26 wanted 6882b8d9)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libz.so.1.2.3.3 (0x5c47000)
--6010-- Reading debug info from /usr/lib/libz.so.1.2.3.3 ..
--6010-- .. CRC mismatch (computed 5ed40741 wanted 21026873)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libstreamanalyzer.so.0.6.5 (0x5c5c000)
--6010-- Reading debug info from /usr/lib/libstreamanalyzer.so.0.6.5 ..
--6010-- .. CRC mismatch (computed 976547da wanted ebbd2305)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libQtNetwork.so.4.5.1 (0x5cca000)
--6010-- Reading debug info from /usr/lib/libQtNetwork.so.4.5.1.debug ..
--6010-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x5de6000)
--6010-- Reading debug info from /usr/lib/libX11.so.6.2.0 ..
--6010-- .. CRC mismatch (computed 2f779231 wanted d1f7af3f)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libfam.so.0.0.0 (0x5f04000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/libacl.so.1.1.0 (0x5f0d000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/libattr.so.1.1.0 (0x5f14000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libQtDBus.so.4.5.1 (0x5f19000)
--6010-- Reading debug info from /usr/lib/libQtDBus.so.4.5.1.debug ..
--6010-- Reading syms from /usr/lib/libgthread-2.0.so.0.2000.1 (0x5f8f000)
--6010-- Reading debug info from /usr/lib/libgthread-2.0.so.0.2000.1 ..
--6010-- .. CRC mismatch (computed 7c1feb06 wanted 079b9f7b)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/i686/cmov/librt-2.9.so (0x5f94000)
--6010-- Reading debug info from /lib/i686/cmov/librt-2.9.so ..
--6010-- .. CRC mismatch (computed 95f50a2a wanted 0b3b44a9)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libglib-2.0.so.0.2000.1 (0x5f9d000)
--6010-- Reading debug info from /usr/lib/libglib-2.0.so.0.2000.1 ..
--6010-- .. CRC mismatch (computed 497bea88 wanted 320e5ede)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/i686/cmov/libpthread-2.9.so (0x6053000)
--6010-- Reading debug info from /lib/i686/cmov/libpthread-2.9.so ..
--6010-- .. CRC mismatch (computed 82402083 wanted 355ba9d4)
--6010-- Reading syms from /lib/i686/cmov/libdl-2.9.so (0x606c000)
--6010-- Reading debug info from /lib/i686/cmov/libdl-2.9.so ..
--6010-- .. CRC mismatch (computed dbb0935a wanted 4a5abd07)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libsopranoclient.so.1.0.0 (0x6071000)
--6010-- Reading debug info from /usr/lib/libsopranoclient.so.1.0.0 ..
--6010-- .. CRC mismatch (computed 22b21a98 wanted 06d06560)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libSM.so.6.0.0 (0x60b9000)
--6010-- Reading debug info from /usr/lib/libSM.so.6.0.0 ..
--6010-- .. CRC mismatch (computed 23c43b53 wanted e8a7dbd2)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libICE.so.6.3.0 (0x60c1000)
--6010-- Reading debug info from /usr/lib/libICE.so.6.3.0 ..
--6010-- .. CRC mismatch (computed 9eaaaa28 wanted 526c9126)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXtst.so.6.1.0 (0x60d9000)
--6010-- Reading debug info from /usr/lib/libXtst.so.6.1.0 ..
--6010-- .. CRC mismatch (computed 8e24a2f9 wanted b2066832)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXcursor.so.1.0.2 (0x60de000)
--6010-- Reading debug info from /usr/lib/libXcursor.so.1.0.2 ..
--6010-- .. CRC mismatch (computed 01a50433 wanted 737ea66e)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXfixes.so.3.1.0 (0x60e8000)
--6010-- Reading debug info from /usr/lib/libXfixes.so.3.1.0 ..
--6010-- .. CRC mismatch (computed 561e1819 wanted a5d2b577)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/libbz2.so.1.0.4 (0x60ed000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libaudio.so.2.4 (0x60fd000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libpng12.so.0.35.0 (0x6113000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libfreetype.so.6.3.20 (0x6137000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libgobject-2.0.so.0.2000.1 (0x61af000)
--6010-- Reading debug info from /usr/lib/libgobject-2.0.so.0.2000.1 ..
--6010-- .. CRC mismatch (computed 8358bd79 wanted c549d382)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libfontconfig.so.1.3.0 (0x61ec000)
--6010-- Reading debug info from /usr/lib/libfontconfig.so.1.3.0 ..
--6010-- .. CRC mismatch (computed b1e58797 wanted bc6c6a9e)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x6217000)
--6010-- Reading debug info from /usr/lib/libXext.so.6.4.0 ..
--6010-- .. CRC mismatch (computed e9813629 wanted dc3f49ad)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libexpat.so.1.5.2 (0x6225000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libstreams.so.0.6.5 (0x624b000)
--6010-- Reading debug info from /usr/lib/libstreams.so.0.6.5 ..
--6010-- .. CRC mismatch (computed 7f50e851 wanted 5d233b9f)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libxml2.so.2.7.3 (0x6287000)
--6010-- Reading debug info from /usr/lib/libxml2.so.2.7.3 ..
--6010-- .. CRC mismatch (computed db559a1d wanted ae7f4dc9)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libxcb.so.1.1.0 (0x63c1000)
--6010-- Reading debug info from /usr/lib/libxcb.so.1.1.0 ..
--6010-- .. CRC mismatch (computed 895402c6 wanted c6bebf2d)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libpcre.so.3.12.1 (0x63da000)
--6010-- Reading debug info from /usr/lib/libpcre.so.3.12.1 ..
--6010-- .. CRC mismatch (computed 3f0a24e1 wanted b00f3841)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/libuuid.so.1.2 (0x640b000)
--6010-- Reading debug info from /lib/libuuid.so.1.2 ..
--6010-- .. CRC mismatch (computed 0e7ac9ff wanted 8ef7cca7)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXt.so.6.0.0 (0x6410000)
--6010-- Reading debug info from /usr/lib/libXt.so.6.0.0 ..
--6010-- .. CRC mismatch (computed 1bf27c08 wanted 38d16c61)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x6460000)
--6010-- Reading debug info from /usr/lib/libXau.so.6.0.0 ..
--6010-- .. CRC mismatch (computed 3eaf31a8 wanted 3c9646b0)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x6463000)
--6010-- Reading debug info from /usr/lib/libXdmcp.so.6.0.0 ..
--6010-- .. CRC mismatch (computed d2379042 wanted 73b2f01e)
--6010--    object doesn't have a symbol table
--6010-- REDIR: 0x579ead0 (index) redirected to 0x4026460 (index)
--6010-- REDIR: 0x57a0a10 (memchr) redirected to 0x4026b40 (memchr)
--6010-- REDIR: 0x579f630 (rindex) redirected to 0x4026370 (rindex)
--6010-- REDIR: 0x579f1b0 (strlen) redirected to 0x4026720 (strlen)
--6010-- REDIR: 0x56f4010 (operator new(unsigned int)) redirected to 0x4025970 (operator new(unsigned int))
--6010-- REDIR: 0x57a1420 (memcpy) redirected to 0x4026b90 (memcpy)
--6010-- REDIR: 0x579b1d0 (calloc) redirected to 0x4024010 (calloc)
--6010-- REDIR: 0x579b500 (malloc) redirected to 0x4025f60 (malloc)
--6010-- REDIR: 0x579b9b0 (realloc) redirected to 0x4026070 (realloc)
--6010-- REDIR: 0x57a0ea0 (memmove) redirected to 0x4027690 (memmove)
--6010-- REDIR: 0x579f3d0 (strncmp) redirected to 0x4026990 (strncmp)
--6010-- REDIR: 0x579ec40 (strcmp) redirected to 0x4026a20 (strcmp)
--6010-- REDIR: 0x57a3f60 (strchrnul) redirected to 0x4027700 (strchrnul)
--6010-- REDIR: 0x57a0f70 (mempcpy) redirected to 0x4027760 (mempcpy)
--6010-- REDIR: 0x57990f0 (free) redirected to 0x4024d80 (free)
--6010-- REDIR: 0x56f2320 (operator delete(void*)) redirected to 0x4024920 (operator delete(void*))
--6010-- Reading syms from /usr/lib/gconv/UTF-16.so (0x4031000)
--6010-- Reading debug info from /usr/lib/gconv/UTF-16.so ..
--6010-- .. CRC mismatch (computed a9c4069a wanted 27b183b8)
--6010--    object doesn't have a symbol table
--6010-- REDIR: 0x57a0f10 (memset) redirected to 0x4027630 (memset)
--6010-- REDIR: 0x56f4160 (operator new[](unsigned int)) redirected to 0x4025290 (operator new[](unsigned int))
--6010-- REDIR: 0x579ecb0 (strcpy) redirected to 0x4026780 (strcpy)
--6010-- REDIR: 0x5756490 (unsetenv) redirected to 0x40279d0 (unsetenv)
--6010-- REDIR: 0x579b910 (posix_memalign) redirected to 0x4023fb0 (posix_memalign)
--6010-- REDIR: 0x579f4e0 (strncpy) redirected to 0x4026850 (strncpy)
--6010-- REDIR: 0x57a1100 (stpcpy) redirected to 0x40273c0 (stpcpy)
--6010-- REDIR: 0x56f2380 (operator delete[](void*)) redirected to 0x40243e0 (operator delete[](void*))
--6010-- REDIR: 0x579e920 (strcat) redirected to 0x40264f0 (strcat)
--6010-- Reading syms from /usr/lib/libXrandr.so.2.2.0 (0x6a63000)
--6010-- Reading debug info from /usr/lib/libXrandr.so.2.2.0 ..
--6010-- .. CRC mismatch (computed 3f6fce1c wanted a245719f)
--6010--    object doesn't have a symbol table
--6010-- REDIR: 0x579f260 (strnlen) redirected to 0x40266e0 (strnlen)
--6010-- REDIR: 0x57a3e90 (rawmemchr) redirected to 0x4027740 (rawmemchr)
--6010-- Reading syms from /usr/lib/libXinerama.so.1.0.0 (0x6a8d000)
--6010-- Reading debug info from /usr/lib/libXinerama.so.1.0.0 ..
--6010-- .. CRC mismatch (computed 4bae6f31 wanted ac951a18)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libXi.so.6.0.0 (0x6a90000)
--6010-- Reading debug info from /usr/lib/libXi.so.6.0.0 ..
--6010-- .. CRC mismatch (computed a741d01d wanted 37833605)
--6010--    object doesn't have a symbol table
--6010-- memcheck GC: 1024 nodes, 1024 survivors (100.0%)
--6010-- memcheck GC: increase table size to 2048
--6010-- memcheck GC: 2048 nodes, 2048 survivors (100.0%)
--6010-- memcheck GC: increase table size to 4096
--6010-- memcheck GC: 4096 nodes, 3140 survivors ( 76.6%)
--6010-- memcheck GC: increase table size to 8192
--6010-- Reading syms from /usr/lib/kde4/plugins/styles/oxygen.so (0x6a99000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/styles/oxygen.so ..
--6010-- .. CRC mismatch (computed 2b3d9ff5 wanted b0942549)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/styles/oxygen.so ..
--6010-- Reading syms from /usr/lib/libdbus-1.so.3.4.0 (0x6ac9000)
--6010--    object doesn't have a symbol table
--6010-- REDIR: 0x5756360 (putenv) redirected to 0x4027960 (putenv)
--6010-- Reading syms from /usr/lib/libwacomcfg.so.0.0.1 (0x6f01000)
--6010--    object doesn't have a symbol table
--6010-- memcheck GC: 8192 nodes, 7537 survivors ( 92.0%)
--6010-- memcheck GC: increase table size to 16384
==6010== Invalid read of size 4
==6010==    at 0x4016A57: (within /lib/ld-2.9.so)
==6010==    by 0x5847511: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x400E005: (within /lib/ld-2.9.so)
==6010==    by 0x58476D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EF4E: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58210CC: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58289AD: getrpcbyname_r (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58283A6: getrpcbyname (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x5F09BA9: FAMOpen2 (in /usr/lib/libfam.so.0.0.0)
==6010==    by 0x5F09CF4: FAMOpen (in /usr/lib/libfam.so.0.0.0)
==6010==    by 0x4270D4C: KDirWatchPrivate::KDirWatchPrivate() (kdirwatch.cpp:164)
==6010==  Address 0x6ef55d4 is 44 bytes inside a block of size 46 alloc'd
==6010==    at 0x402601E: malloc (vg_replace_malloc.c:207)
==6010==    by 0x400E113: (within /lib/ld-2.9.so)
==6010==    by 0x4007D85: (within /lib/ld-2.9.so)
==6010==    by 0x40121E6: (within /lib/ld-2.9.so)
==6010==    by 0x400E005: (within /lib/ld-2.9.so)
==6010==    by 0x4011BED: (within /lib/ld-2.9.so)
==6010==    by 0x5847511: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x400E005: (within /lib/ld-2.9.so)
==6010==    by 0x58476D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EF4E: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58210CC: (within /lib/i686/cmov/libc-2.9.so)
--6010-- Reading syms from /lib/i686/cmov/libnss_files-2.9.so (0x6a52000)
--6010-- Reading debug info from /lib/i686/cmov/libnss_files-2.9.so ..
--6010-- .. CRC mismatch (computed 022f5170 wanted de6b3830)
--6010--    object doesn't have a symbol table
--6010-- memcheck GC: 16384 nodes, 15371 survivors ( 93.8%)
--6010-- memcheck GC: increase table size to 32768
--6010-- memcheck GC: 32768 nodes, 29317 survivors ( 89.4%)
--6010-- memcheck GC: increase table size to 65536
--6010-- Reading syms from /usr/lib/qt4/plugins/imageformats/libqgif.so (0x8022000)
--6010-- Reading debug info from /usr/lib/qt4/plugins/imageformats/libqgif.so.debug ..
--6010-- Reading syms from /usr/lib/qt4/plugins/imageformats/libqico.so (0x8028000)
--6010-- Reading debug info from /usr/lib/qt4/plugins/imageformats/libqico.so.debug ..
--6010-- Reading syms from /usr/lib/qt4/plugins/imageformats/libqmng.so (0x802f000)
--6010-- Reading debug info from /usr/lib/qt4/plugins/imageformats/libqmng.so.debug ..
--6010-- Reading syms from /usr/lib/libmng.so.1.1.0.9 (0xa194000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/liblcms.so.1.0.18 (0xa205000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/qt4/plugins/imageformats/libqsvg.so (0x6a5f000)
--6010-- Reading debug info from /usr/lib/qt4/plugins/imageformats/libqsvg.so.debug ..
--6010-- Reading syms from /usr/lib/qt4/plugins/imageformats/libqtiff.so (0x8035000)
--6010-- Reading debug info from /usr/lib/qt4/plugins/imageformats/libqtiff.so.debug ..
--6010-- Reading syms from /usr/lib/libtiff.so.4.2.1 (0xa23a000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_dds.so (0x803a000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_dds.so ..
--6010-- .. CRC mismatch (computed b7f7328c wanted d8703132)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_dds.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_eps.so (0xa17d000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_eps.so ..
--6010-- .. CRC mismatch (computed be05d7ec wanted f931bfce)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_eps.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_exr.so (0x8041000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_exr.so ..
--6010-- .. CRC mismatch (computed 89957b64 wanted 50ed1fd3)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_exr.so ..
--6010-- Reading syms from /usr/lib/libIlmImf.so.6.0.0 (0xa2a6000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libIex.so.6.0.0 (0xa367000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libHalf.so.6.0.0 (0xa37d000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libImath.so.6.0.0 (0xa185000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/libIlmThread.so.6.0.0 (0xa18a000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_jp2.so (0xa28f000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_jp2.so ..
--6010-- .. CRC mismatch (computed 94693c8f wanted 9615704d)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_jp2.so ..
--6010-- Reading syms from /usr/lib/libjasper.so.1.0.0 (0xa3d7000)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_pcx.so (0xa294000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_pcx.so ..
--6010-- .. CRC mismatch (computed adddcef8 wanted 1e300014)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_pcx.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_psd.so (0xa29d000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_psd.so ..
--6010-- .. CRC mismatch (computed 3c74f4b3 wanted 6ed748cd)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_psd.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_rgb.so (0xa3c0000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_rgb.so ..
--6010-- .. CRC mismatch (computed 8d572e7a wanted 7e91d9e9)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_rgb.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_tga.so (0xa3cb000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_tga.so ..
--6010-- .. CRC mismatch (computed 30fbecff wanted 7673e7ed)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_tga.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_xcf.so (0xa426000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_xcf.so ..
--6010-- .. CRC mismatch (computed 9137631d wanted 3ad17617)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_xcf.so ..
--6010-- Reading syms from /usr/lib/kde4/plugins/imageformats/kimg_xview.so (0xa3d1000)
--6010-- Reading debug info from /usr/lib/kde4/plugins/imageformats/kimg_xview.so ..
--6010-- .. CRC mismatch (computed ca33de52 wanted c189022f)
--6010-- Reading debug info from /usr/lib/debug/usr/lib/kde4/plugins/imageformats/kimg_xview.so ..
--6010-- memcheck GC: 65536 nodes, 58630 survivors ( 89.4%)
--6010-- memcheck GC: increase table size to 131072
--6010-- Reading syms from /lib/i686/cmov/libnss_compat-2.9.so (0xa8de000)
--6010-- Reading debug info from /lib/i686/cmov/libnss_compat-2.9.so ..
--6010-- .. CRC mismatch (computed ecf9678c wanted ad759c17)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/i686/cmov/libnsl-2.9.so (0xa8e7000)
--6010-- Reading debug info from /lib/i686/cmov/libnsl-2.9.so ..
--6010-- .. CRC mismatch (computed cd10c82b wanted 8b719555)
--6010--    object doesn't have a symbol table
--6010-- Reading syms from /lib/i686/cmov/libnss_nis-2.9.so (0xa900000)
--6010-- Reading debug info from /lib/i686/cmov/libnss_nis-2.9.so ..
--6010-- .. CRC mismatch (computed f1c6dbdd wanted a6373f96)
--6010--    object doesn't have a symbol table
==6010== 
==6010== Conditional jump or move depends on uninitialised value(s)
==6010==    at 0x450C66F: QFSFileEngine::fileName(QAbstractFileEngine::FileName) const (qfsfileengine_unix.cpp:787)
==6010==    by 0x44C5E57: QFileInfoPrivate::getFileName(QAbstractFileEngine::FileName) const (qfileinfo.cpp:202)
==6010==    by 0x44C606B: QFileInfo::readLink() const (qfileinfo.cpp:1137)
==6010==    by 0x44C0E6A: QFile::readLink(QString const&) (qfile.cpp:633)
==6010==    by 0x58CEC92: _k_resolveSymLink(QString const&) (qfile.h:129)
==6010==    by 0x58CF11A: _k_updateMountPointsCache() (halfstabhandling.cpp:121)
==6010==    by 0x58CF3D8: Solid::Backends::Hal::FstabHandling::possibleMountPoints(QString const&) (halfstabhandling.cpp:141)
==6010==    by 0x58DD123: Solid::Backends::Hal::StorageAccess::filePath() const (halstorageaccess.cpp:85)
==6010==    by 0x58E19C3: Solid::Backends::Hal::Volume::isIgnored() const (halvolume.cpp:48)
==6010==    by 0x58A2C95: Solid::StorageVolume::isIgnored() const (storagevolume.cpp:45)
==6010==    by 0x58A33A2: Solid::StorageVolume::qt_metacall(QMetaObject::Call, int, void**) (storagevolume.moc:88)
==6010==    by 0x4538723: QMetaProperty::read(QObject const*) const (qmetaobject.cpp:2138)
--6010-- memcheck GC: 131072 nodes, 123393 survivors ( 94.1%)
--6010-- memcheck GC: increase table size to 262144
--6010-- Discarding syms at 0x4031420-0x4032c88 in /usr/lib/gconv/UTF-16.so due to munmap()
--6010-- Discarding syms at 0xa8dee10-0xa8e4318 in /lib/i686/cmov/libnss_compat-2.9.so due to munmap()
--6010-- Discarding syms at 0xa901940-0xa907c38 in /lib/i686/cmov/libnss_nis-2.9.so due to munmap()
--6010-- Discarding syms at 0x6a53910-0x6a5b468 in /lib/i686/cmov/libnss_files-2.9.so due to munmap()
--6010-- Discarding syms at 0xa8ea170-0xa8f8a28 in /lib/i686/cmov/libnsl-2.9.so due to munmap()
==6010== 
==6010== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 1121 from 8)
==6010== 
==6010== 1 errors in context 1 of 2:
==6010== Invalid read of size 4
==6010==    at 0x4016A57: (within /lib/ld-2.9.so)
==6010==    by 0x5847511: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x400E005: (within /lib/ld-2.9.so)
==6010==    by 0x58476D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EF4E: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58210CC: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58289AD: getrpcbyname_r (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58283A6: getrpcbyname (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x5F09BA9: FAMOpen2 (in /usr/lib/libfam.so.0.0.0)
==6010==    by 0x5F09CF4: FAMOpen (in /usr/lib/libfam.so.0.0.0)
==6010==    by 0x4270D4C: KDirWatchPrivate::KDirWatchPrivate() (kdirwatch.cpp:164)
==6010==  Address 0x6ef55d4 is 44 bytes inside a block of size 46 alloc'd
==6010==    at 0x402601E: malloc (vg_replace_malloc.c:207)
==6010==    by 0x400E113: (within /lib/ld-2.9.so)
==6010==    by 0x4007D85: (within /lib/ld-2.9.so)
==6010==    by 0x40121E6: (within /lib/ld-2.9.so)
==6010==    by 0x400E005: (within /lib/ld-2.9.so)
==6010==    by 0x4011BED: (within /lib/ld-2.9.so)
==6010==    by 0x5847511: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x400E005: (within /lib/ld-2.9.so)
==6010==    by 0x58476D4: __libc_dlopen_mode (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EE7F: __nss_lookup_function (in /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x581EF4E: (within /lib/i686/cmov/libc-2.9.so)
==6010==    by 0x58210CC: (within /lib/i686/cmov/libc-2.9.so)
==6010== 
==6010== 2 errors in context 2 of 2:
==6010== Conditional jump or move depends on uninitialised value(s)
==6010==    at 0x450C66F: QFSFileEngine::fileName(QAbstractFileEngine::FileName) const (qfsfileengine_unix.cpp:787)
==6010==    by 0x44C5E57: QFileInfoPrivate::getFileName(QAbstractFileEngine::FileName) const (qfileinfo.cpp:202)
==6010==    by 0x44C606B: QFileInfo::readLink() const (qfileinfo.cpp:1137)
==6010==    by 0x44C0E6A: QFile::readLink(QString const&) (qfile.cpp:633)
==6010==    by 0x58CEC92: _k_resolveSymLink(QString const&) (qfile.h:129)
==6010==    by 0x58CF11A: _k_updateMountPointsCache() (halfstabhandling.cpp:121)
==6010==    by 0x58CF3D8: Solid::Backends::Hal::FstabHandling::possibleMountPoints(QString const&) (halfstabhandling.cpp:141)
==6010==    by 0x58DD123: Solid::Backends::Hal::StorageAccess::filePath() const (halstorageaccess.cpp:85)
==6010==    by 0x58E19C3: Solid::Backends::Hal::Volume::isIgnored() const (halvolume.cpp:48)
==6010==    by 0x58A2C95: Solid::StorageVolume::isIgnored() const (storagevolume.cpp:45)
==6010==    by 0x58A33A2: Solid::StorageVolume::qt_metacall(QMetaObject::Call, int, void**) (storagevolume.moc:88)
==6010==    by 0x4538723: QMetaProperty::read(QObject const*) const (qmetaobject.cpp:2138)
--6010-- 
--6010-- supp:      6 Xorg 6.8.1 ICE uninit __write* padding
--6010-- supp:    790 dl-hack3-cond-1
--6010-- supp:     34 glibc-2.9-on-SUSE-10.3-(x86)
--6010-- supp:      2 dl-hack3-cond-2
--6010-- supp:      2 X on SUSE11 writev uninit padding 2
--6010-- supp:    112 dl-hack3-cond-4
--6010-- supp:     56 dl-hack5-32bit-addr-4
--6010-- supp:    119 Debian libc6 (2.9.x) stripped dynamic linker
==6010== 
==6010== IN SUMMARY: 3 errors from 2 contexts (suppressed: 1121 from 8)
==6010== 
==6010== malloc/free: in use at exit: 1,230,243 bytes in 10,322 blocks.
==6010== malloc/free: 381,628 allocs, 371,306 frees, 39,642,589 bytes allocated.
==6010== 
==6010== Use --track-origins=yes to see where uninitialised values come from
==6010== searching for pointers to 10,322 not-freed blocks.
==6010== checked 1,685,356 bytes.
==6010== 
==6010== LEAK SUMMARY:
==6010==    definitely lost: 700,195 bytes in 1,197 blocks.
==6010==      possibly lost: 74,036 bytes in 402 blocks.
==6010==    still reachable: 456,012 bytes in 8,723 blocks.
==6010==         suppressed: 0 bytes in 0 blocks.
==6010== Rerun with --leak-check=full to see details of leaked memory.
--6010--  memcheck: sanity checks: 1780 cheap, 42 expensive
--6010--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--6010--  memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--6010--  memcheck: auxmaps_L2: 0 searches, 0 nodes
--6010--  memcheck: SMs: n_issued      = 524 (8384k, 8M)
--6010--  memcheck: SMs: n_deissued    = 23 (368k, 0M)
--6010--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--6010--  memcheck: SMs: max_undefined = 11 (176k, 0M)
--6010--  memcheck: SMs: max_defined   = 1080 (17280k, 16M)
--6010--  memcheck: SMs: max_non_DSM   = 503 (8048k, 7M)
--6010--  memcheck: max sec V bit nodes:    131072 (6656k, 6M)
--6010--  memcheck: set_sec_vbits8 calls: 924468 (new: 145752, updates: 778716)
--6010--  memcheck: max shadow mem size:   15008k, 14M
--6010-- translate:            fast SP updates identified: 183,288 ( 88.9%)
--6010-- translate:   generic_known SP updates identified: 14,648 (  7.1%)
--6010-- translate: generic_unknown SP updates identified: 8,108 (  3.9%)
--6010--     tt/tc: 1,596,197 tt lookups requiring 40,236,332 probes
--6010--     tt/tc: 1,596,197 fast-cache updates, 9 flushes
--6010--  transtab: new        138,595 (3,215,098 -> 46,801,848; ratio 145:10) [0 scs]
--6010--  transtab: dumped     0 (0 -> ??)
--6010--  transtab: discarded  343 (6,433 -> ??)
--6010-- scheduler: 178,139,206 jumps (bb entries).
--6010-- scheduler: 1,780/2,275,386 major/minor sched events.
--6010--    sanity: 1781 cheap, 42 expensive checks.
--6010--    exectx: 196,613 lists, 99,736 contexts (avg 0 per list)
--6010--    exectx: 776,815 searches, 762,134 full compares (981 per 1000)
--6010--    exectx: 0 cmp2, 18,108 cmp4, 0 cmpAll
--6010--  errormgr: 86 supplist searches, 1,076 comparisons during search
--6010--  errormgr: 1,124 errlist searches, 22,055 comparisons during search
Comment 14 Aurelien Gateau 2009-06-09 10:19:26 UTC
Did you go to the point where you could reproduce the bug with valgrind? because the valgrind output does not look like a crash.

The backtrace indicates a crash in libexiv2. The "new" operator throws an exception, which is probably caused by an attempt to allocate too much memory. In this context, libexiv2 is used by libkexiv2 which is used by libkipiplugins. My guess is that something is wrong in libkipiplugins, but I can't reproduce the bug here.

To ensure I get everything straight, can you confirm the steps to reproduce the bug are:

- start gwenview
- open plugins menu > Batch Processing > Resize Images (or any other batch operation)
- click the "add" button

Can you do this:
- download libkipiplugins source code
- edit imagedialog.cpp
- replace these two lines:
    d->exiv2Iface.load(d->currentURL.path());
    if (d->exiv2Iface.hasExif() || d->exiv2Iface.hasXmp())
  with these:
    //d->exiv2Iface.load(d->currentURL.path());
    if (false) //d->exiv2Iface.hasExif() || d->exiv2Iface.hasXmp())
- build and install

It should not crash anymore
Comment 15 Farhan 2011-12-06 17:24:33 UTC
As of Gwenview 2.7.2 and kipi-plugins 2.3.0, this bug has been FIXED.

I've been able to convert and export images successfully.

This bug is a duplicate of https://bugs.kde.org/show_bug.cgi?id=269482
Comment 16 Jekyll Wu 2012-07-04 17:12:10 UTC
Feel free to reopen if this still happens in recent versions(KDE SC 4.8.x)