[Digikam-users] Digikam crashes under MacOS when built using git + MacPorts

Gilles Caulier caulier.gilles at gmail.com
Mon Jan 9 10:34:22 GMT 2012


It crash in Geolocation search view. Sound like a component as
libkgeomap or marblewidget dysfunction.

marble globe viewer working fine on your computer. I remember some
problem with marble shared widget used in digiKam if marble maps data
are not installed.

Gilles Caulier

2012/1/8 Phil Stanford <phil.stanford at gmail.com>:
> Hi Gilles -
> I've attached all the output from gdb.
> It's not finding the .o files for a lot of the routines though, I don't know
> if that matters much - this is the native MacOS gdb,  and not the MacPorts
> version of gdb - again I'm not sure if that is significant.
>
> I didn't notice the Digikam splash screen come up when running under gdb so
> whether or not it got as far as just invoking the program from the shell, I
> don't know.
>
>
> Many thanks .....
> Phil
>
>
>
>
> On 8 January 2012 19:19, Gilles Caulier <caulier.gilles at gmail.com> wrote:
>>
>> Can you run digiKam under gdb, and get a backtrace of crash to
>> investiguate ?
>>
>> Gilles Caulier
>>
>> 2012/1/8 Phil Stanford <phil.stanford at gmail.com>:
>> > Hi.
>> > I've previously used Digikam on MacOS (10.6.8), built using MacPorts for
>> > both Digikam and all the dependencies.
>> > The MacPorts Digikam version hasn't been updated for some time (still on
>> > 2.1.1_1)  and I spotted the instructions for installing using git:
>> >
>> >
>> > https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX
>> >
>> > I was hoping to install the current stable 2.5.0  version of Digikam.
>> >
>> > Before starting the process in the instructions above, I made sure that
>> > all
>> > the MacPorts already installed were up to date, and that I could install
>> > and
>> > run the current MacPorts version of DIgikam (2.1.1_1).  The only
>> > exception
>> > was that I activated boost-1.47 rather than 1.48 as I'd read that there
>> > had
>> > been some recent issues and although I'd read that these had been fixed
>> > I
>> > wasn't quite sure what Digikam build I would be picking up.
>> >
>> > Once I'd proved that everything worked with the updated MacPorts
>> > dependencies, I uninstalled digikam by doing 'port uninstall digikam'.
>> >
>> > I then followed the instructions in the link above, and everything
>> > seemed to
>> > work and I had no obvious errors during the build or install.
>> >
>> > I started the process above by using the suggested command 'git clone
>> > git://anongit.kde.org/digikam-software-compilation' , copying to a new
>> > directory I'd made.
>> >
>> > After the install, I ran the launchctl DBUS commands and rebooted the
>> > Mac
>> > (this had been necessary before when using the MacPorts version).
>> >
>> > Here, I have to confess my ignorance; I've not used 'git' before, and I
>> > was
>> > actually expecting the above 'git clone' command to fetch me the latest
>> > 'production' version,  however when I start Digikam (from  a terminal)
>> > the
>> > splash screen shows  2.6.0 not 2.5 so I guess I'm getting the
>> > development
>> > version.
>> >
>> > I can't really tell much more than that since I never get the main
>> > window
>> > appearing as Digikam crashes.   I will reproduce the terminal output
>> > below.
>> >
>> > I also tried 'Showfoto' - and that starts up and runs with no problems.
>> > The
>> > splash screen for that also says 2.6.0, and the 'About' box gives the
>> > version as   6715b8ee6e5ee44bef186a1f0e39bf46a50f5681 with build date
>> > today
>> > and 'target: debugfull'.
>> >
>> > The fact that Showfoto runs OK suggests that probably this is an issue
>> > with
>> > Digikam + MacPorts, although as mentioned I've not used 'git' before so
>> > anything is possible .....
>> >
>> > I would be grateful to get some information -
>> >
>> > 1) Looking at the console log shown below, is there an obvious cause -
>> > (the
>> > 'too many open files' error seems similar to
>> > https://bugs.kde.org/show_bug.cgi?id=289330 but in my instance  DIgikam
>> > never starts correctly at all)
>> >
>> > 2) I don't really wish to be 'bleeding edge',   what should I have done
>> > to
>> > clone and build Digikam 2.5.0 not the development version
>> >
>> > 3) How can I clean things up from this build, and either get to the
>> > stable
>> > 2.5.0 version - or at the very least update to the latest development
>> > version - a bit of reading suggests that 'git pull' may do this?
>> >
>> > Ideally I would prefer to be able to install the latest released version
>> > of
>> > Digikam just by using MacPorts as I have other software installed using
>> > that
>> > package manager  - however unfortunately Digikam rarely gets updated on
>> > MacPorts so getting a working version with git too would be good.
>> >
>> > Thanks in advance for any pointers - I appreciate I'm rather ignorant of
>> > 'git' and how it works at the moment.
>> > Phil
>> >
>> > The log from running 'Digikam' follows -
>> > ========
>> >
>> > $ /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam &
>> > [1] 680
>> > $ digikam(680)/KSharedDataCache ensureFileAllocated: This system misses
>> > support for posix_fallocate() -- ensure this partition has room for at
>> > least
>> > 10547296 bytes.
>> > digikam(680)/KSharedDataCache: Creating shell of a lock!
>> > digikam(680)/KSharedDataCache: Unable to setup shared cache lock,
>> > although
>> > it worked when created.
>> > digikam(680)/KSharedDataCache: Unable to unmap shared memory segment
>> > 0x11e600000
>> > digikam(680)/digikam (core) Digikam::AlbumWatch::connectToKDirWatch:
>> > KDirWatch method =  "FAM"
>> > digikam(680)/digikam (core) Digikam::AlbumManager::setDatabase:
>> > DatabaseParameters: [ Type "QSQLITE", Name
>> > "/Users/pns/Pictures/digikam4.db"
>> > (Thumbnails Name "/Users/pns/Pictures/thumbnails-digikam.db"); ]
>> > QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
>> > still in
>> > use, all queries will cease to work.
>> > digikam(680)/digikam (core)
>> > Digikam::DatabaseConfigElementLoader::readConfig: Loading SQL code from
>> > config file "/opt/local/share/apps/digikam/database/dbconfig.xml"
>> > digikam(680)/digikam (core)
>> > Digikam::DatabaseConfigElementLoader::readConfig: false "1" 1 1
>> > digikam(680)/digikam (core) Digikam::SchemaUpdater::update:
>> > SchemaUpdater
>> > update
>> > digikam(680)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a
>> > database structure version  6
>> > digikam(680)/digikam (core) Digikam::SchemaUpdater::makeUpdates:
>> > makeUpdates  6  to  6
>> > digikam(680)/digikam (core)
>> > Digikam::AlbumRootLocation::AlbumRootLocation:
>> > Creating new Location  "/"  uuid
>> > "volumeid:?path=%2FUsers%2Fpns%2FPictures"
>> > digikam(680)/digikam (core) Digikam::CollectionManager::updateLocations:
>> > location for  "/Users/pns/Pictures"  is available  true
>> > digikam(680)/digikam (core) Digikam::LoadingCache::setCacheSize:
>> > Allowing a
>> > cache size of 60 MB
>> > digikam(680)/digikam (core)
>> > Digikam::ThumbnailSchemaUpdater::startUpdates:
>> > Have a thumbnail database structure version  "2"
>> > digikam(680)/digikam (core)
>> > Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db
>> > ready for use
>> > digikam(680)/digikam (core) Digikam::AlbumManager::checkNepomukService:
>> > Nepomuk server is not reachable. Cannot start Digikam Nepomuk Service
>> > digikam(680)/digikam (core) Digikam::CollectionScanner::completeScan:
>> > Complete scan (file scanning deferred) took: 361 msecs.
>> > digikam(680)/digikam (core)
>> > Digikam::IccSettings::IccSettingsPriv::scanDirectories: ()
>> > digikam(680)/KSharedDataCache ensureFileAllocated: This system misses
>> > support for posix_fallocate() -- ensure this partition has room for at
>> > least
>> > 10547296 bytes.
>> > digikam(680)/KSharedDataCache: Creating shell of a lock!
>> > digikam(680)/KSharedDataCache: Unable to setup shared cache lock,
>> > although
>> > it worked when created.
>> > digikam(680)/KSharedDataCache: Unable to unmap shared memory segment
>> > 0x1223fb000
>> > digikam(680)/KGEOMAP KGeoMap::KGeoMapWidget::setBackend: "setting
>> > backend
>> > marble"
>> > digikam(680)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
>> > initialize() D-Bus call failed:  "The name org.kde.kded was not provided
>> > by
>> > any .service files"
>> >
>> > digikam(680)/kdecore (K*TimeZone*): No time zone information obtained
>> > from
>> > ktimezoned
>> > digikam(680)/KGEOMAP KGeoMap::KGeoMapWidget::setBackend: "setting
>> > backend
>> > marble"
>> > digikam(680)/digikam (core)
>> > Digikam::AlbumFilterModel::setSearchTextSettings: new search text
>> > settings:
>> > "" : hasResult =  false , validRows =  0
>> > digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
>> > digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
>> > digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
>> > digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
>> > digikam(680)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset:
>> > ----
>> > digikam(680)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset:
>> > ----
>> > QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
>> > QFileSystemWatcher: failed to add paths:
>> > /Users/pns/Pictures/PictureProject/0029/DSC_2659.JPG
>> > QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
>> > QFileSystemWatcher: failed to add paths:
>> > /Users/pns/Pictures/PictureProject/0029/DSC_2660.JPG
>> > QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
>> > QFileSystemWatcher: failed to add paths:
>> > /Users/pns/Pictures/PictureProject/0029/DSC_2661.JPG
>> > QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
>> >
>> > (lots of similar lines for other image folders under my ID have been
>> > deleted)
>> >
>> > digikam(680)/digikam (core)
>> > Digikam::SearchTabHeader::selectedSearchChanged:
>> > changing to SAlbum  0x0
>> > digikam(680)/digikam (core)
>> > Digikam::SearchTabHeader::selectedSearchChanged:
>> > changing to SAlbum  0x122da1230
>> > digikam(680)/digikam (core) Digikam::FuzzySearchView::slotAlbumSelected:
>> > Selected new album 0x0
>> > digikam(680)/digikam (core) Digikam::FuzzySearchView::slotAlbumSelected:
>> > Not
>> > a haar search, returning
>> > digikam(680)/digikam (core) Digikam::FuzzySearchView::slotAlbumSelected:
>> > Selected new album 0x122db72c0
>> > QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many
>> > open
>> > files
>> > QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
>> > QKqueueFileSystemWatcherEngine: error during kevent wait: Bad file
>> > descriptor
>> > KCrash: Application 'digikam' crashing...
>> > KCrash: Attempting to start
>> > /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from
>> > kdeinit
>> > Warning: Path of socketfile exceeds UNIX_PATH_MAX.
>> > KCrash: Attempting to start
>> > /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly
>> > drkonqi(683)/KSharedDataCache ensureFileAllocated: This system misses
>> > support for posix_fallocate() -- ensure this partition has room for at
>> > least
>> > 10547296 bytes.
>> > drkonqi(683)/KSharedDataCache: Creating shell of a lock!
>> > drkonqi(683)/KSharedDataCache: Unable to setup shared cache lock,
>> > although
>> > it worked when created.
>> > drkonqi(683)/KSharedDataCache: Unable to unmap shared memory segment
>> > 0x118d2d000
>> >
>> > [1]+  Abort trap
>> > /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam
>> >
>> >
>> >
>> > _______________________________________________
>> > Digikam-users mailing list
>> > Digikam-users at kde.org
>> > https://mail.kde.org/mailman/listinfo/digikam-users
>> >
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



More information about the Digikam-users mailing list