Bug 244296

Summary: Digikam crashes on startup
Product: [Applications] digikam Reporter: Alex <alexjironkin>
Component: Geolocation-MarbleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Alex 2010-07-12 15:44:24 UTC
Version:           1.4.0 (using KDE 4.4.4) 
OS:                Linux

I have just updated digikam to the latest SVN and have GSOC libkface, libkmap, kipi and libkexiv2 compiled and installed along with latest versions on kipi-plugins and kdegraphics (with GSOC branches). All compiled well and installed. I have also forcefully removed the same packages from the package manager so I don't double up. Possible duplicate of Bug 244142. But removing the installed libraries didn't help.

Reproducible: Didn't try

Steps to Reproduce:
Start digikam from command line using 'digikam command'

Actual Results:  
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe346872860 (LWP 10833))]

Thread 7 (Thread 0x7fe32c886710 (LWP 10834)):
#0  0x00007fe33f77a38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe33fa0672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000000073556f in Digikam::ScanController::run (this=0xc95810) at /home/alex/workspace/digikam/digikam/scancontroller.cpp:514
#3  0x00007fe33fa05775 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe33f775a3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007fe33eaefbfd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe32c085710 (LWP 10837)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fe32c0849f0 in ?? ()
#2  0x00007fff487de782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7fe32b677710 (LWP 10838)):
#0  0x00007fe33eae6ab3 in poll () from /lib64/libc.so.6
#1  0x00007fe33932159c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe3393218e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe33fb22f06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fe33faf82a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fe33faf867c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fe33fa02d59 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fe342db0fd4 in Digikam::ImageFilterModelWorker::Thread::run (this=0xd12ea0) at /home/alex/workspace/digikam/build/digikam/../../libs/models/imagefiltermodelthreads.h:66
#8  0x00007fe33fa05775 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fe33f775a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe33eaefbfd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe323df2710 (LWP 10839)):
#0  0x00007fe33f77a38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe33fa0672b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe3433a2a69 in Digikam::ParkingThread::run (this=0xd2fc10) at /home/alex/workspace/digikam/libs/threads/threadmanager.cpp:101
#3  0x00007fe33fa05775 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe33f775a3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007fe33eaefbfd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe3235f1710 (LWP 10840)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fe3235f09f0 in ?? ()
#2  0x00007fff487de782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fe322df0710 (LWP 10841)):
#0  0x00007fe33eafcf8f in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007fe33eae6a98 in poll () from /lib64/libc.so.6
#2  0x00007fe33932159c in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe3393218e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe33fb22f06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fe33faf82a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fe33faf867c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fe33fa02d59 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x000000000072b630 in Digikam::MetadataManagerWorker::Thread::run (this=0xdce3c0) at /home/alex/workspace/digikam/build/digikam/../../digikam/metadatamanager_p.h:146
#9  0x00007fe33fa05775 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fe33f775a3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe33eaefbfd in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe346872860 (LWP 10833)):
[KCrash Handler]
#5  0x00007fe34050dfad in ?? () from /usr/lib64/libQtGui.so.4
#6  0x00007fff487394f0 in ?? ()
#7  0x00007fe33e176fbf in jpeg_CreateDecompress () from /usr/lib64/libjpeg.so.8
#8  0x00007fe32a8632b0 in ?? () from /usr/lib64/qt4/plugins/imageformats/libqjpeg.so
#9  0x00007fe32a86424e in ?? () from /usr/lib64/qt4/plugins/imageformats/libqjpeg.so
#10 0x00007fe34074fa73 in QImageReader::read(QImage*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fe34074ffdc in QImageReader::read() () from /usr/lib64/libQtGui.so.4
#12 0x00007fe340740386 in QImage::load(QString const&, char const*) () from /usr/lib64/libQtGui.so.4
#13 0x00007fe34278d947 in ?? () from /usr/lib64/libmarblewidget.so.4
#14 0x00007fe34278ed22 in ?? () from /usr/lib64/libmarblewidget.so.4
#15 0x00007fe342715647 in Marble::MarbleModel::setMapTheme(Marble::GeoSceneDocument*, Marble::Projection) () from /usr/lib64/libmarblewidget.so.4
#16 0x00007fe34271bb62 in Marble::MarbleMap::setMapThemeId(QString const&) () from /usr/lib64/libmarblewidget.so.4
#17 0x00007fe34270e773 in Marble::MarbleWidget::setMapThemeId(QString const&) () from /usr/lib64/libmarblewidget.so.4
#18 0x00007fe34346d2d7 in Digikam::WorldMapWidget::setMapTheme (this=0x1c98960, theme=AtlasMap) at /home/alex/workspace/digikam/libs/imageproperties/worldmapwidget.cpp:409
#19 0x00007fe34346ce45 in Digikam::WorldMapWidget::readConfig (this=0x1c98960, group=...) at /home/alex/workspace/digikam/libs/imageproperties/worldmapwidget.cpp:364
#20 0x00007fe34346951c in Digikam::ImagePropertiesGPSTab::readConfig (this=0x1c97d90) at /home/alex/workspace/digikam/libs/imageproperties/imagepropertiesgpstab.cpp:212
#21 0x00007fe343469226 in Digikam::ImagePropertiesGPSTab::ImagePropertiesGPSTab (this=0x1c97d90, parent=0xd4e4d0) at /home/alex/workspace/digikam/libs/imageproperties/imagepropertiesgpstab.cpp:194
#22 0x00007fe34345231f in Digikam::ImagePropertiesSideBar::ImagePropertiesSideBar (this=0x192bee0, parent=0xd4e4d0, splitter=0xda4fc0, side=Right, mimimizedDefault=true)
    at /home/alex/workspace/digikam/libs/imageproperties/imagepropertiessidebar.cpp:77
#23 0x00000000004955c4 in Digikam::ImagePropertiesSideBarDB::ImagePropertiesSideBarDB (this=0x192bee0, parent=0xd4e4d0, splitter=0xda4fc0, side=Right, mimimizedDefault=true)
    at /home/alex/workspace/digikam/libs/imageproperties/imagepropertiessidebardb.cpp:90
#24 0x00000000006d87c2 in Digikam::DigikamView::DigikamView (this=0xd4e4d0, parent=0xda1e60, modelCollection=0xdd51f0) at /home/alex/workspace/digikam/digikam/digikamview.cpp:176
#25 0x00000000006b337d in Digikam::DigikamApp::setupView (this=0xda1e60) at /home/alex/workspace/digikam/digikam/digikamapp.cpp:486
#26 0x00000000006b1ce7 in Digikam::DigikamApp::DigikamApp (this=0xda1e60, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/alex/workspace/digikam/digikam/digikamapp.cpp:231
#27 0x00000000007c5a0e in main (argc=1, argv=0x7fff4873b878) at /home/alex/workspace/digikam/digikam/main.cpp:172



The printout on startup:

digikam(10833)/digikam (core) Digikam::AlbumManager::setDatabase: DatabaseParameters: [ Type "QSQLITE", Name "/home/alex/Pictures/digikam4.db" (Thumbnails Name "/home/alex/Pictures/thumbnails-digikam.db"); ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(10833)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater update
digikam(10833)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "6"
digikam(10833)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates  6  to  6
digikam(10833)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/alex/Pictures"  uuid  "volumeid:?uuid=e3776df9-a98f-494b-8185-a66a6c2dcdaf"
digikam(10833)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/home/alex/Pictures"  is available  true
digikam(10833)/digikam (core) Digikam::ThumbnailSchemaUpdater::startUpdates: Have a database structure version  "1"
digikam(10833)/digikam (core) Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db ready for use
digikam(10833)/digikam (core) Digikam::AlbumManager::checkNepomukService: digikamnepomukservice is not available in NepomukServer
digikam(10833)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig: "/usr/share/kde4/apps/digikam/database/dbconfig.xml"
digikam(10833)/digikam (core) Digikam::CollectionScanner::completeScan: Complete scan took: 10 msecs.
digikam(10833)/digikam (core) Digikam::IccSettingsPriv::scanDirectories: ("/usr/share/color/icc")
digikam(10833)/digikam (core) Digikam::IccProfile::considerOriginalAdobeRGB: The original Adobe RGB (1998) profile has been found at "/usr/share/color/icc/Adobe ICC Profiles/RGB Profiles/AdobeRGB1998.icc"
digikam(10833)/kdecore (KSycoca): Trying to open ksycoca from  "/var/tmp/kdecache-alex/ksycoca4"
Time elapsed: 19 ms
Time elapsed: 3 ms
Model: Time elapsed: 58 ms
KCrash: Application 'digikam' crashing...
sock_file=/home/alex/.kde4/socket-linux-ancp/kdeinit4__0
Comment 1 Alex 2010-07-12 16:00:24 UTC
Oh don't worry apparently updating all packages fixes all so not really an issue.


Alex