Bug 179141 - digikam crashes when exiting
Summary: digikam crashes when exiting
Status: CLOSED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 0.10.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 14:52 UTC by Roman Fietze
Modified: 2023-04-08 20:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Fietze 2008-12-30 14:52:59 UTC
Version:           0.10.0-beta7 (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

Just start digikam. Execute Tools->Scan for new images once. When exiting digikam, it crashes. This is not reproducable, happens about every third or fourth time.

Log:

Application: digiKam (digikam), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
... (40 times more)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb520e990 in raise () from /lib/libc.so.6
#8  0xb52102c8 in abort () from /lib/libc.so.6
#9  0xb7e248d5 in qt_message_output(QtMsgType, char const*) ()
   from /usr/lib/libQtCore.so.4
#10 0xb7e249b2 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0xb771ce41 in KIO::Scheduler::cancelJob(KIO::SimpleJob*) ()
   from /usr/lib/libkio.so.5
#12 0xb767c308 in KIO::SimpleJob::doKill() () from /usr/lib/libkio.so.5
#13 0xb7c6e462 in KJob::kill(KJob::KillVerbosity) ()
   from /usr/lib/libkdecore.so.5
#14 0x081f1fbc in Digikam::AlbumManager::~AlbumManager() ()
#15 0x081f224a in Digikam::._187::destroy() ()
#16 0xb52119b1 in exit () from /lib/libc.so.6
#17 0xb51fa70d in __libc_start_main () from /lib/libc.so.6
#18 0x0808c3d1 in _start ()
Comment 1 Marcel Wiesweg 2008-12-30 21:22:59 UTC
SVN commit 903550 by mwiesweg:

Move some shutdown code from AlbumManager destructor to a cleanUp method that is
called before KApplication destruction.
This could have caused the reported crash.

CCBUG: 179141

 M  +16 -8     albummanager.cpp  
 M  +5 -0      albummanager.h  
 M  +1 -0      digikamapp.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903550
Comment 2 Marcel Wiesweg 2008-12-30 21:26:24 UTC
Well the "Scan For New Images" tool has no direct and obvious connection to this backtrace here. There may well be a crash there, I have committed a possible fix.
If you compile from SVN please try if this fixes your problem.
Comment 3 caulier.gilles 2009-01-01 12:06:52 UTC
Roman,

Please compile digiKam source code from trunk and try again. 

Thanks in advance

Gilles Caulier
Comment 4 Roman Fietze 2009-01-01 17:25:04 UTC
(In reply to comment #3)

> Please compile digiKam source code from trunk and try again. 

Cannot repeat the problem with 0.10.0-beta8 (rev.: 904148M) after at least 10 retries.

Note: try to check your graphics/digikam/CMakeLists.txt for things that have to do with KEXIV2. The cmake message about a found kexiv2 is irritating. It took me a while to notice that the appropriate openSUSE devel package was missing. All libraries where logges as "found", but I was not "allowed" to compile graphics/digikam.

> Thanks in advance

We all have to thank for your work.

And a happy new year!