[Digikam-users] digikam 0.8.1 crashes -- another data point with detailed report

Scott Bolte listS+digikam-users at niss.com
Sun Apr 2 18:55:03 BST 2006


As with a few other reports I found in the archive, I too started seeing
digikam crashing with a SIGABRT after (I believe) the 0.8.1 upgrade.
I've rebuilt it from source with --enable-debug=full so hopefully the
backtrace below has a few more clues then those earlier reports.

The consistent failure occurs after it has scanned the photo repository
when I then select a directory which contains a jpeg file.

Before I ran digikam I deleted the following files so it had a clean
slate:

	~/.kde/share/apps/digikam
	~/.kde/share/config/digikamrc
	.../photo_albums/digikam3.db*

Here are the FreeBSD package dependencies for files mentioned in the
backtrace:

	Package			Dependency
	---------------		--------------------------------
	digikam-0.8.1_1		/usr/local/bin/digikam
	qt-copy-3.3.6_2		/usr/X11R6/lib/libqt-mt.so.3
	kdelibs-3.5.2		/usr/local/lib/libkio.so.6
	kdelibs-3.5.2		/usr/local/lib/libkdecore.so.6

Here are the context lines for the source files mentioned in the
backtrace, with the line that was implicated highlighted with a leading
"***":

./digikam/digikam/albumlister.cpp:
    307 void AlbumLister::slotData(KIO::Job*, const QByteArray& data)
    308 {
    309     if (data.isEmpty())
    310         return;
    311 
    312     Q_LLONG imageID;
    313     int     albumID;
    314     QString name;
    315     QString date;
    316     size_t  size;
    317     QSize   dims;
    318 
    319     ImageInfoList newItemsList;
    320     ImageInfoList newFilteredItemsList;
    321 
    322     QDataStream ds(data, IO_ReadOnly);
    323     while (!ds.atEnd())
    324     {
    325         ds >> imageID;
    326         ds >> albumID;
    327         ds >> name;
*** 328         ds >> date;
    329         ds >> size;
    330         ds >> dims;
    331 
    332         if (d->itemMap.contains(imageID))
    333         {

./digikam/digikam/albumlister.moc:
    185 bool AlbumLister::qt_invoke( int _id, QUObject* _o )
    186 {
    187     switch ( _id - staticMetaObject()->slotOffset() ) {
    188     case 0: slotClear(); break;
    189     case 1: slotFilterItems(); break;
    190     case 2: slotResult((KIO::Job*)static_QUType_ptr.get(_o+1)); break;
*** 191     case 3: slotData((KIO::Job*)static_QUType_ptr.get(_o+1),(const QByte
    192     default:
    193         return QObject::qt_invoke( _id, _o );
    194     }
    195     return TRUE;
    196 }

Here are the first few lines from the build's config.log:

| This file contains any messages produced by compilers while
| running configure, to aid debugging if configure makes a mistake.
| 
| It was created by configure, which was
| generated by GNU Autoconf 2.59.  Invocation command line was
| 
|   $ ./configure --program-prefix= --enable-debug=full --build=i386-portbld-freebsd6.0 --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --disable-as-needed --with-qt-includes=/usr/X11R6/include --with-qt-libraries=/usr/X11R6/lib --with-extra-libs=/usr/local/lib --with-extra-includes=/usr/local/include --prefix=/usr/local
| 
| ## --------- ##
| ## Platform. ##
| ## --------- ##
| 
| hostname = seeker.niss.com
| uname -m = i386
| uname -r = 6.0-RELEASE
| uname -s = FreeBSD
| uname -v = FreeBSD 6.0-RELEASE #3: Wed Jan  4 07:24:56 CST 2006 root at seeker.niss.com:/usr/src/sys/i386/compile/NISS 

And finally, here is the backtrace:

[New LWP 100209]
[Switching to LWP 100209]
0x29a15793 in nanosleep () from /lib/libc.so.6
#0  0x29a15793 in nanosleep () from /lib/libc.so.6
#1  0x299bea34 in _nanosleep () from /usr/lib/libpthread.so.2
#2  0x29a09a25 in sleep () from /lib/libc.so.6
#3  0x299b463e in sleep () from /usr/lib/libpthread.so.2
#4  0x28dcf79a in KCrash::startDrKonqi () from /usr/local/lib/libkdecore.so.6
#5  0x28dcfb40 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#6  0x299bc75a in sigaction () from /usr/lib/libpthread.so.2
#7  0xbfbfff94 in ?? ()
#8  0x00000006 in ?? ()
#9  0xbfbfd820 in ?? ()
#10 0xbfbfd560 in ?? ()
#11 0x00000000 in ?? ()
#12 0x299bc22c in sigaction () from /usr/lib/libpthread.so.2
#13 0x29a85c5c in abort () from /lib/libc.so.6
#14 0x299678bb in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.5
#15 0x2996bac0 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.5
#16 0x2996baf8 in std::terminate () from /usr/lib/libstdc++.so.5
#17 0x2996ba4c in __cxa_throw () from /usr/lib/libstdc++.so.5
#18 0x2996e7ca in operator new () from /usr/lib/libstdc++.so.5
#19 0x2996e713 in operator new[] () from /usr/lib/libstdc++.so.5
#20 0x294672f6 in QString::setLength () from /usr/X11R6/lib/libqt-mt.so.3
#21 0x2946f112 in operator>> () from /usr/X11R6/lib/libqt-mt.so.3
#22 0x28142e62 in AlbumLister::slotData (this=0xb1ef700, data=@0xbfbfdf00)
    at albumlister.cpp:328
#23 0x28143226 in AlbumLister::qt_invoke (this=0xb1ef700, _id=694069436, 
    _o=0xbfbfdfd0) at albumlister.moc:191
#24 0x291c369c in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#25 0x286df60c in KIO::TransferJob::data () from /usr/local/lib/libkio.so.6
#26 0x286df670 in KIO::TransferJob::slotData ()
   from /usr/local/lib/libkio.so.6
#27 0x286e0bed in KIO::TransferJob::qt_invoke ()
   from /usr/local/lib/libkio.so.6
#28 0x291c369c in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#29 0x286cda87 in KIO::SlaveInterface::data () from /usr/local/lib/libkio.so.6
#30 0x286d0726 in KIO::SlaveInterface::dispatch ()
   from /usr/local/lib/libkio.so.6
#31 0x286cf021 in KIO::SlaveInterface::dispatch ()
   from /usr/local/lib/libkio.so.6
#32 0x286cb590 in KIO::Slave::gotInput () from /usr/local/lib/libkio.so.6
#33 0x286cb8f5 in KIO::Slave::qt_invoke () from /usr/local/lib/libkio.so.6
#34 0x291c369c in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#35 0x291c3bd0 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#36 0x294c5631 in QSocketNotifier::activated ()
   from /usr/X11R6/lib/libqt-mt.so.3
#37 0x291dc720 in QSocketNotifier::event () from /usr/X11R6/lib/libqt-mt.so.3
#38 0x291676d9 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#39 0x2916786e in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#40 0x28d3ffce in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#41 0x2915c093 in QEventLoop::activateSocketNotifiers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#42 0x2911949c in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#43 0x2917bafb in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#44 0x2917ba54 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#45 0x29166a14 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#46 0x0804a592 in main ()



More information about the Digikam-users mailing list