[Digikam-devel] [Bug 121905] New: albums not displayed corectly and digikam crashes with St9bad_alloc

Felix Riedel felix.riedel at ira.uka.de
Mon Feb 13 18:19:26 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=121905         
           Summary: albums not displayed corectly and digikam crashes with
                    St9bad_alloc
           Product: digikam
           Version: 0.8.1
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: felix.riedel ira uka de


Version:           0.8.1 (using KDE KDE 3.5.1)
Installed from:    FreeBSD Ports
Compiler:          gcc version 3.4.4 [FreeBSD] 20050518 
OS:                FreeBSD

OS: FreeBSD 6.0-STABLE 

I used version 0.7.4 and it worked like a charm. 
Now i tried verions 0.8.0, 0.8.1 and 0.8.2 and i can't get it to work properly.

Here what happens:

1. start digikam 
2. select an Album
   - the album view shows only 1 image and a corrupted entry (e.g. w/ name "0:00") 
3. select another album
  -> digikam crashes 

the crash doesn't happen necessarily on the second album. it also crashes if i select the Tags pane on the left.

I tried to start w/ an empty database, deleted db files, deleted thumbs DB and started with an empty folder. i also removed all plugins. But I couldnt resolve the problem.
I imported images and looked at the created digikam3.db with sqlite3; this file looks fine. But for me it looks like a problem with reading the DB. Of course, this is just a guess and obviously there must be more wrong, otherwise it wouldn't end in a crash.


digikam output:

digikam: ScanLib: Finding non-existing Albums: 22 ms
digikam: ScanLib: Finding items not in the database or disk: 1333 ms
digikam: ScanLib: Updating items without date: 35 ms
digikam: ImagePlugin_Core plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
KCrash: Application 'digikam' crashing.

----------------------------------------------------------------------------

[New LWP 100145]
[Switching to LWP 100145]
0x29b362f3 in nanosleep () from /lib/libc.so.6
#0  0x29b362f3 in nanosleep () from /lib/libc.so.6
#1  0x29a77d19 in _nanosleep () from /usr/lib/libpthread.so.2
#2  0x29b17aba in sleep () from /lib/libc.so.6
#3  0x29a6c47c in sleep () from /usr/lib/libpthread.so.2
#4  0x28ed92cc in KCrash::startDrKonqi () from /usr/local/lib/libkdecore.so.6
#5  0x28ed9653 in KCrash::defaultCrashHandler ()
   from /usr/local/lib/libkdecore.so.6
#6  0x29a751a8 in sigaction () from /usr/lib/libpthread.so.2
#7  0xbfbfff94 in ?? ()
#8  0x00000006 in ?? ()
#9  0xbfbfd130 in ?? ()
#10 0xbfbfce70 in ?? ()
#11 0x00000000 in ?? ()
#12 0x29a74810 in sigaction () from /usr/lib/libpthread.so.2
#13 0x29b4e02b in abort () from /lib/libc.so.6
#14 0x299dbfc7 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.5
#15 0x299e0465 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.5
#16 0x299e04a2 in std::terminate () from /usr/lib/libstdc++.so.5
#17 0x299e03d2 in __cxa_throw () from /usr/lib/libstdc++.so.5
#18 0x29a26b77 in operator new () from /usr/lib/libstdc++.so.5
#19 0x29a26aad in operator new[] () from /usr/lib/libstdc++.so.5
#20 0x295e5982 in QString::setLength () from /usr/X11R6/lib/libqt-mt.so.3
#21 0x295ee6f7 in operator>> () from /usr/X11R6/lib/libqt-mt.so.3
#22 0x281331d3 in AlbumLister::slotData () from /usr/local/lib/libdigikam.so.0
#23 0x28133673 in AlbumLister::qt_invoke ()
   from /usr/local/lib/libdigikam.so.0
#24 0x292fa144 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#25 0x28763c09 in KIO::TransferJob::data () from /usr/local/lib/libkio.so.6
#26 0x28763c88 in KIO::TransferJob::slotData ()
   from /usr/local/lib/libkio.so.6
#27 0x2876586d in KIO::TransferJob::qt_invoke ()
   from /usr/local/lib/libkio.so.6
#28 0x292fa144 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#29 0x2874f5ad in KIO::SlaveInterface::data () from /usr/local/lib/libkio.so.6
#30 0x28752012 in KIO::SlaveInterface::dispatch ()
   from /usr/local/lib/libkio.so.6
#31 0x28750ea3 in KIO::SlaveInterface::dispatch ()
   from /usr/local/lib/libkio.so.6
#32 0x2874cbdb in KIO::Slave::gotInput () from /usr/local/lib/libkio.so.6
#33 0x2874cfb8 in KIO::Slave::qt_invoke () from /usr/local/lib/libkio.so.6
#34 0x292fa144 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#35 0x292fa76b in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#36 0x29653eb0 in QSocketNotifier::activated ()
   from /usr/X11R6/lib/libqt-mt.so.3
#37 0x29316ee0 in QSocketNotifier::event () from /usr/X11R6/lib/libqt-mt.so.3
#38 0x2929626f in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#39 0x2929640c in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#40 0x28e3a035 in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#41 0x29289d23 in QEventLoop::activateSocketNotifiers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#42 0x292419be in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#43 0x292acb11 in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#44 0x292aca66 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#45 0x292953df in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#46 0x0804a49a in main ()

---------------------------------------------------------------------------------------
Information for digikam-0.8.1:

Depends on:
Dependency: xterm-206_1
Dependency: xorg-libraries-6.9.0
Dependency: xorg-fonts-truetype-6.9.0
Dependency: xorg-fonts-encodings-6.9.0
Dependency: expat-2.0.0
Dependency: tiff-3.8.0
Dependency: pkgconfig-0.20
Dependency: qt-3.3.5
Dependency: portaudio-18.1_2
Dependency: png-1.2.8_2
Dependency: sqlite-3.3.3
Dependency: perl-5.8.7_2
Dependency: pcre-6.5
Dependency: nas-1.7b
Dependency: mDNSResponder-107.1_2
Dependency: lua-5.0.2_1
Dependency: libxslt-1.1.15
Dependency: libxml2-2.6.23
Dependency: libvorbis-1.1.2,3
Dependency: libusb-0.1.10a_1
Dependency: libungif-4.1.4
Dependency: libsndfile-1.0.13
Dependency: libogg-1.1.3,3
Dependency: libmng-1.0.9
Dependency: libmad-0.15.1b_1
Dependency: libltdl-1.5.22
Dependency: aspell-0.60.4_2
Dependency: cups-base-1.1.23.0_8
Dependency: libidn-0.6.1
Dependency: libiconv-1.9.2_1
Dependency: libgphoto2-2.1.6_2
Dependency: libgpg-error-1.1
Dependency: libgcrypt-1.2.2
Dependency: libexif-0.6.12_1
Dependency: libdrm-2.0
Dependency: libaudiofile-0.2.6
Dependency: libart_lgpl2-2.3.17
Dependency: freetype2-2.1.10_2
Dependency: lcms-1.14,1
Dependency: OpenEXR-1.2.2_1
Dependency: kdehier-1.0_8
Dependency: jpeg-6b_3
Dependency: jasper-1.701.0
Dependency: jackit-0.100.0
Dependency: fontconfig-2.3.2_2,1
Dependency: gnutls-1.2.9
Dependency: glib-2.8.6
Dependency: gettext-0.14.5_1
Dependency: gamin-0.1.7_1
Dependency: libXft-2.1.7
Dependency: xorg-clients-6.9.0_1
Dependency: flac-1.1.2
Dependency: imlib2-1.2.1.010
Dependency: dcraw-8.00
Dependency: arts-1.5.1,1
Dependency: bitstream-vera-1.10_2
Dependency: kdelibs-3.5.1
Dependency: libkipi-0.1.2
Dependency: libkexif-0.2.2



More information about the Digikam-devel mailing list