[Bug 292522] New: Digikam crashes on startup

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] New: Digikam crashes on startup

Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522

           Summary: Digikam crashes on startup
           Product: digikam
           Version: 2.5.0
          Platform: MacPorts Packages
        OS/Version: OS X
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.5.0 (using KDE 4.7.4)
OS:                OS X

Digikam 2.5.0 crashes on startup with OS X Lion. (Other KDE applications work.)


Reproducible: Always

Steps to Reproduce:
Start digikam.

Actual Results:  
crashes

Expected Results:  
does not crash

The console output:
digikam(3240)/KSharedDataCache ensureFileAllocated: This system misses support
for posix_fallocate() -- ensure this partition has room for at least 10547296
bytes.
digikam(3240)/KSharedDataCache: Unable to find an appropriate lock to guard the
shared cache.  This *should* be essentially impossible. :(
digikam(3240)/KSharedDataCache: Unable to perform initial setup, this system
probably does not really support process-shared pthreads or semaphores, even
though it claims otherwise.
digikam(3240)/KSharedDataCache: Unable to unmap shared memory segment
0x10f3e7000
2012-01-26 22:27:47.412 digikam[3240:7803] Can't open input server
/Library/InputManagers/MultiClutchInputManager.bundle
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
digikam(3240)/KSharedDataCache ensureFileAllocated: This system misses support
for posix_fallocate() -- ensure this partition has room for at least 10547296
bytes.
digikam(3240)/KSharedDataCache: Unable to find an appropriate lock to guard the
shared cache.  This *should* be essentially impossible. :(
digikam(3240)/KSharedDataCache: Unable to perform initial setup, this system
probably does not really support process-shared pthreads or semaphores, even
though it claims otherwise.
digikam(3240)/KSharedDataCache: Unable to unmap shared memory segment
0x110900000
digikam(3240)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize()
D-Bus call failed:  "The name org.kde.kded was not provided by any .service
files"

Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
QFileSystemWatcher: failed to add paths: [some path]
[lots of repititions for the previous two lines (as it seems at least once for
every directory)]
digikam(3240)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list
url:  ""
digikam(3240)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list
url:  ""
QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open
files
QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
Abort trap: 6

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=292522


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Portability




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2012-01-27 05:43:42 ---
DBUS for KDE is not initialized on your system :

D-Bus call failed:  "The name org.kde.kded was not provided by any .service
files"

Why ??? no idea. Wrong install, missing packages ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from jan@hyper-world.de
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #2 from Jan Gosmann <jan hyper-world de>  2012-01-29 16:51:40 ---
Oh, I missed that line. So I started kded manually and that line disappeared.
However, the problem still persists and the output seems to be the same (except
that one line).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Gilles Caulier-4
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2012-01-29 16:59:14 ---
If you run another KDE program as Kate editor, you can also reproduce it ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from jan@hyper-world.de
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #4 from Jan Gosmann <jan hyper-world de>  2012-01-29 17:18:38 ---
I do not have Kate installed, but KMyMoney and Showfoto for example are
working.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Gilles Caulier-4
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2012-01-29 20:32:12 ---
I recommend to install kate and try again... Just to see...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from jan@hyper-world.de
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #6 from Jan Gosmann <jan hyper-world de>  2012-01-29 20:54:09 ---
Kate is also working.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Gilles Caulier-4
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2012-01-29 21:42:44 ---
There is no reason to see digKam not working at startup.

Since dbus must work on your computer now, the backtrace from the console still
the same ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from jan@hyper-world.de
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #8 from Jan Gosmann <jan hyper-world de>  2012-02-01 19:54:41 ---
This is the new backtrace which seems to be pretty much the same:

digikam(3685)/KSharedDataCache ensureFileAllocated: This system misses support
for posix_fallocate() -- ensure this partition has room for at least 10547296
bytes.
digikam(3685)/KSharedDataCache: Unable to find an appropriate lock to guard the
shared cache.  This *should* be essentially impossible. :(
digikam(3685)/KSharedDataCache: Unable to perform initial setup, this system
probably does not really support process-shared pthreads or semaphores, even
though it claims otherwise.
digikam(3685)/KSharedDataCache: Unable to unmap shared memory segment
0x117a8b000
2012-02-01 20:37:41.864 digikam[3685:7803] Can't open input server
/Library/InputManagers/MultiClutchInputManager.bundle
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
digikam(3685)/KSharedDataCache ensureFileAllocated: This system misses support
for posix_fallocate() -- ensure this partition has room for at least 10547296
bytes.
digikam(3685)/KSharedDataCache: Unable to find an appropriate lock to guard the
shared cache.  This *should* be essentially impossible. :(
digikam(3685)/KSharedDataCache: Unable to perform initial setup, this system
probably does not really support process-shared pthreads or semaphores, even
though it claims otherwise.
digikam(3685)/KSharedDataCache: Unable to unmap shared memory segment
0x11b98c000
QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files
QFileSystemWatcher: failed to add paths: [some path]
[lots of repititions for the previous two lines (as it seems at least once for
every directory)]
digikam(3685)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list
url:  ""
digikam(3685)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list
url:  ""
QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open
files
QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
Abort trap: 6

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from dani@zubinet.org
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522


Daniel Zuberbühler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #9 from Daniel Zuberbühler <dani zubinet org>  2012-02-02 16:48:56 ---
I get the same console output and crash on my system (OSX 10.7.2)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

brad
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522


brad <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #10 from brad <bkn ithryn net>  2012-02-03 14:41:39 ---
To those that see this bug, does this happen if there are no images in your
library? I.e. can you try moving your library out of the way and start digikam
with an empty library.

I run digikam on OS X 10.6.x and as far as i can tell, digikam needs the patch
in https://bugs.kde.org/show_bug.cgi?id=289330 to run properly (unless you have
less than about 220 pictures). It hasn't run out-of-the-box on OS X 10.6.x
since digikam-2.3.0.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from jan@hyper-world.de
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #11 from Jan Gosmann <jan hyper-world de>  2012-02-04 22:12:58 ---
I can start Digikam without a library.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

brad
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #12 from brad <bkn ithryn net>  2012-02-04 22:30:37 ---
Then it is likely related (or the exact same) the bug i mentioned above.

Depending on your familiarity with macports you can try to patch it, but
download the latest patch from the bug report i mentioned above (its a very
simple patch), then,
  (NOTE: i did not expand BUILDPATH in step 2 since it is very long)

 $ port configure digikam
 $ cd /opt/local/var/macports/build/BUILDPATH/digikam/work/digikam-2.5.0/core
 $ patch -p1 <
PATHTO/0001-disable-filewatching-on-OS-X-but-dir-watching-still-.patch
 $ port install digikam

good luck!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from dani@zubinet.org
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #13 from Daniel Zuberbühler <dani zubinet org>  2012-02-05 13:20:55 ---
Digikam runs fine when I start with an empty library.

If I understand correctly, with the patch digikam will watch only directories,
not files.
But it would still be limited to watch a maximum of 255 directories, right?
I have > 702 directories in my library, so I assume digikam will still crash
even with this patch.

Should I patch digikam to disable fs watching completely? Would it have other
sideeffects besides not seeing new files on the fly?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

brad
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #14 from brad <bkn ithryn net>  2012-02-05 15:38:26 ---
On Feb 5, 2012, at 8:20 AM, Daniel Zuberbühler wrote:

> https://bugs.kde.org/show_bug.cgi?id=292522
>
>
>
>
>
> --- Comment #13 from Daniel Zuberbühler <dani zubinet org>  2012-02-05 13:20:55 ---
> Digikam runs fine when I start with an empty library.
>
> If I understand correctly, with the patch digikam will watch only directories,
> not files.
> But it would still be limited to watch a maximum of 255 directories, right?
> I have > 702 directories in my library, so I assume digikam will still crash
> even with this patch.
>
yes, you're absolutely correct.

> Should I patch digikam to disable fs watching completely? Would it have other
> sideeffects besides not seeing new files on the fly?
>
yes. disabling fs watching on os x seems to be the way to go.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from dani@zubinet.org
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522





--- Comment #15 from Daniel Zuberbühler <dani zubinet org>  2012-02-05 21:32:25 ---
Actually I did try running digikam patched with brad's patch.
It starts up properly, even with > 255 directories and I don't get any related
error messages on the console.
I guess the file limit really only applies to files but not to directories.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 292522] Digikam crashes on startup

Bugzilla from jan@hyper-world.de
In reply to this post by Bugzilla from jan@hyper-world.de
https://bugs.kde.org/show_bug.cgi?id=292522

Jan Gosmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #16 from Jan Gosmann <[hidden email]> ---
Tried the patch from ticket #289330 and it solved the problem also for me.

*** This bug has been marked as a duplicate of bug 289330 ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel