Bug 119287 - digikam hangs at "Loading cameras"
Summary: digikam hangs at "Loading cameras"
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Cameras (show other bugs)
Version: 0.8.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 02:12 UTC by Dan Scholnik
Modified: 2022-01-20 16:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Scholnik 2005-12-31 02:12:53 UTC
Version:           0.8.0 (using KDE KDE 3.5.0)
Installed from:    Fedora RPMs
OS:                Linux

Sometime after upgrading to version 0.8.0 (fedora-extras package), digikam began hanging after displaying "Loading cameras" on startup.  Not sure what this means, as I don't have any cameras configured.  I've tried removing all configuration files, but after digikam recreates them the same problem recurs.  digikam loads fine for root, so I assume this has something to do with permissions.  I'm running FC4.

Here's the backtrace:

Program received signal SIGINT, Interrupt.
[Switching to Thread -1208145440 (LWP 23980)]
0x00ba3402 in __kernel_vsyscall ()
(gdb) bt
#0  0x00ba3402 in __kernel_vsyscall ()
#1  0x00c473a1 in connect () from /lib/libpthread.so.0
#2  0x00ccd926 in FAMNoExists () from /usr/lib/libfam.so.0
#3  0x00cce1ac in FAMOpen () from /usr/lib/libfam.so.0
#4  0x053259f3 in KDirWatchPrivate::KDirWatchPrivate () from /usr/lib/libkio.so.4
#5  0x05328c5d in KDirWatch::KDirWatch () from /usr/lib/libkio.so.4
#6  0x00e5e157 in AlbumManager::startScan (this=0x8cd5868) at albummanager.cpp:293
#7  0x00e7f4fd in DigikamApp (this=0x8cea888, detectCamera=false) at digikamapp.cpp:115
#8  0x0804a0f1 in main (argc=1, argv=0xbfbef934) at main.cpp:240
Comment 1 Joern Ahrens 2005-12-31 12:09:14 UTC
Can you start digikam from console and attach the output
Comment 2 Tom Albers 2006-02-04 20:46:32 UTC
no answer from repoter and most likely an (libgphoto) installation error ...
Comment 3 Brent Michalski 2006-03-31 06:58:12 UTC
I am getting this exact same error.  I was originally running Fedora Core 4, but have now done a fresh Fedora Core 5 install and I am still frequently seeing this problem.

It doesn't happen "all" the time, but I would say 90% of the time.

I tried starting digikam from the console and there was absolutely no output!  I tried with the --nocrashhandler option as well but the results were the same, no output.

The program just seems to hang.

Normally, when this happens, I can go in and kill all of the "digikam" processes that are still running, and then the next time I fire it up, it works!

I would love to provide you with more information!  Is there a way that I could make the output of digikam very verbose so I could see what it was doing, and hopefully, where it is getting stuck!

Please let me know if there is anything I can do to help, I would really like to see this one fixed because it is a huge PITA.

Thanks!
Comment 4 Tim Middleton 2006-05-08 03:17:10 UTC
I have this same problem on FreeBSD using digikam 8.1 (and libgphoto2 2.1.99, if that's what it is thought to be the culprit). 

I tend to start digikam from console these days because when it hangs it's faster to CTRL-C, and try again. For me, digikam usually will load on the second attempt after hanging once... usually. Though it's been especially sticky today, so i went to see if anyone had reported this as a bug... i see it marked resolved here. But it seems at least a couple of people are still experiencing it. 
Comment 5 Ariel 2006-11-05 23:06:31 UTC
Same problem in Ubuntu Dapper LTS 6.06
The problem is new. It was introduced last week on my desktop during an update.
I did a standard update download (via adept) and now digikam _intermittently_ hangs on startup during the "loading cameras..." step.  This is not easy to reproduce.

My versions are:
    $ digikam --version
    Qt: 3.3.6
    KDE: 3.5.3
    digiKam: 0.8.2-rc1

I tried to run it from konsole to provide some more data but strangely enough
1) it doesn't hang when I ran it from the konsole, and then it didn't hang anymore even when started from the panel icon...
2) Konsole doesn't print anything until the "Loading cameras" stage is over

The sequence of events is:
0) starting 'digikam' from konsole
1) digikam shows the kde popup with "scanning items..."
2) splash image appears
3) splash image gets to the "Loading cameras" stage (hangs here for a few seconds - about 4 sec)
[no output on konsole so far]
4) at this point splash dots make quick progress (can't read the messages since they appear and disappear too fast from the splash image) this is where konsole prints messages on the konsole too.
5) splash disappears and digikam starts ok.

Stages 4 and 5 are very fast so it is hard to determine when exactly lines were printed in the konsole window.

Anyway, the konsole now shows all of this:

KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list for host application
KIPI (loading): KIPI::PluginLoader: Loaded plugin JPEGLossless
KIPI (loading): KIPI::PluginLoader: Loaded plugin CDArchiving
KIPI (loading): KIPI::PluginLoader: Loaded plugin ImagesGallery
KIPI (loading): KIPI::PluginLoader: Loaded plugin SendImages
KIPI (loading): KIPI::PluginLoader: Loaded plugin FlickrExport
KIPI (loading): KIPI::PluginLoader: Loaded plugin Calendar
KIPI (loading): KIPI::PluginLoader: Loaded plugin MPEGEncoder
KIPI (loading): KIPI::PluginLoader: Loaded plugin AcquireImages
KIPI (loading): KIPI::PluginLoader: Loaded plugin GalleryExport
KIPI (loading): KIPI::PluginLoader: Loaded plugin TimeAdjust
KIPI (loading): KIPI::PluginLoader: Loaded plugin FindImages
KIPI (loading): KIPI::PluginLoader: Loaded plugin PrintWizard
KIPI (loading): KIPI::PluginLoader: Loaded plugin WallPaper
KIPI (loading): KIPI::PluginLoader: Loaded plugin SlideShow
KIPI (loading): KIPI::PluginLoader: Loaded plugin BatchProcessImages
KIPI (loading): KIPI::PluginLoader: Loaded plugin RawConverter

HTH