[Digikam-devel] [digikam] [Bug 330106] digikam 4.0.0 Beta 2 crashes when changing database location

hugo at inmail.cz hugo at inmail.cz
Sat May 24 11:32:35 BST 2014


https://bugs.kde.org/show_bug.cgi?id=330106

hugo at inmail.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hugo at inmail.cz

--- Comment #4 from hugo at inmail.cz ---
Confirming bug preserves in 4.0.0.

found these libkipi:
/usr/lib/digikam/libkipiplugins.so.4.0.0
/usr/lib/libkipi.so.11.0.0
/usr/lib/libkipi.so.11

-------------------------------------

Application: digikam (4.0.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

digiKam 4.0.0 installed from PPA:
https://launchpad.net/~msylwester/+archive/digikam


-- Information about the crash:
digiKam crash when creating new SQLite database in a new location (do not crash
when copy datase from old location)

Steps to reproduce crash, step in braces can be jumped over
- create new directory "Photos" in my home directory (/home/<user>/Photos/)
- start digiKam
- go to Settings >> Configure digiKam >> Database
- change SQLite database location to /home/<user>/Photos/ and click OK
- in dialog select "Create new database"
- then appears collection settings dialog 
(- click add local collection and select /home/<user>/Photos, dialog appears:
New collection will be created with name: "Photos", click OK)
- in collection settings dialog click OK
- digiKam crashed with segfault

The crash can be reproduced every time.


-- Backtrace:
pepe at vlk:~$ gdb digikam 
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...Reading symbols from
/usr/lib/debug/.build-id/10/b608f12fb2c8a8f15281534e09b9125982d648.debug...done.
done.
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd28e0700 (LWP 29655)]
[New Thread 0x7fffcdef9700 (LWP 29658)]
[New Thread 0x7fffcd6f8700 (LWP 29659)]
[New Thread 0x7fffc7fff700 (LWP 29660)]
[New Thread 0x7fffc77fe700 (LWP 29661)]
[New Thread 0x7fffc6ffd700 (LWP 29662)]
[Thread 0x7fffc77fe700 (LWP 29661) exited]
[New Thread 0x7fffc77fe700 (LWP 29665)]
[New Thread 0x7fffb378f700 (LWP 29666)]
Object::connect: No such signal
org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal
org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
[New Thread 0x7fffb2f8e700 (LWP 29667)]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
[Thread 0x7fffb2f8e700 (LWP 29667) exited]
[New Thread 0x7fffb2f8e700 (LWP 29668)]
[New Thread 0x7fffb0f7f700 (LWP 29669)]
[Thread 0x7fffb0f7f700 (LWP 29669) exited]
[New Thread 0x7fffb0f7f700 (LWP 29670)]
[New Thread 0x7fff9b372700 (LWP 29671)]
[Thread 0x7fffb0f7f700 (LWP 29670) exited]
[Thread 0x7fff9b372700 (LWP 29671) exited]
[New Thread 0x7fff9b372700 (LWP 29672)]
[New Thread 0x7fffb0f7f700 (LWP 29673)]
[New Thread 0x7fff9fb67700 (LWP 29674)]
[New Thread 0x7fff9f366700 (LWP 29675)]
[New Thread 0x7fff9eb65700 (LWP 29676)]
[New Thread 0x7fff9e364700 (LWP 29677)]
[New Thread 0x7fff9db63700 (LWP 29678)]
[New Thread 0x7fff9d362700 (LWP 29679)]
[New Thread 0x7fff9cb61700 (LWP 29680)]
[New Thread 0x7fff9a2e4700 (LWP 29681)]
[New Thread 0x7fff99ae3700 (LWP 29682)]
[New Thread 0x7fff992e2700 (LWP 29683)]
[New Thread 0x7fff98ae1700 (LWP 29684)]
[New Thread 0x7fff7bfff700 (LWP 29685)]
[New Thread 0x7fff7b7fe700 (LWP 29686)]
[New Thread 0x7fff7affd700 (LWP 29687)]
[New Thread 0x7fff7a7fc700 (LWP 29688)]
[New Thread 0x7fff79ffb700 (LWP 29689)]
[New Thread 0x7fff797fa700 (LWP 29690)]
[New Thread 0x7fff78ff9700 (LWP 29691)]
[New Thread 0x7fff787f8700 (LWP 29692)]
[New Thread 0x7fff77ff7700 (LWP 29693)]
[New Thread 0x7fff777f6700 (LWP 29694)]
[New Thread 0x7fff76ff5700 (LWP 29695)]
[New Thread 0x7fff767f4700 (LWP 29696)]
[New Thread 0x7fff75ff3700 (LWP 29697)]
[New Thread 0x7fff757f2700 (LWP 29698)]
[New Thread 0x7fff74ff1700 (LWP 29699)]
[New Thread 0x7fff747f0700 (LWP 29700)]
[New Thread 0x7fff73fef700 (LWP 29701)]
[New Thread 0x7fff737ee700 (LWP 29702)]
[New Thread 0x7fff72fed700 (LWP 29703)]
[New Thread 0x7fff727ec700 (LWP 29704)]
[New Thread 0x7fff71feb700 (LWP 29705)]
[New Thread 0x7fff717ea700 (LWP 29706)]
[New Thread 0x7fff70fe9700 (LWP 29707)]
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
[Thread 0x7fffc6ffd700 (LWP 29662) exited]
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
[Thread 0x7fff787f8700 (LWP 29692) exited]
[Thread 0x7fff7a7fc700 (LWP 29688) exited]
[Thread 0x7fff757f2700 (LWP 29698) exited]
[Thread 0x7fff737ee700 (LWP 29702) exited]
[Thread 0x7fff747f0700 (LWP 29700) exited]
[Thread 0x7fff7bfff700 (LWP 29685) exited]
[Thread 0x7fff73fef700 (LWP 29701) exited]
[Thread 0x7fff9fb67700 (LWP 29674) exited]
[Thread 0x7fffb0f7f700 (LWP 29673) exited]
[Thread 0x7fff992e2700 (LWP 29683) exited]
[Thread 0x7fff71feb700 (LWP 29705) exited]
[Thread 0x7fff9db63700 (LWP 29678) exited]
[Thread 0x7fff727ec700 (LWP 29704) exited]
[Thread 0x7fff797fa700 (LWP 29690) exited]
[Thread 0x7fff767f4700 (LWP 29696) exited]
[Thread 0x7fff9a2e4700 (LWP 29681) exited]
[Thread 0x7fff76ff5700 (LWP 29695) exited]
[Thread 0x7fff77ff7700 (LWP 29693) exited]
[Thread 0x7fff72fed700 (LWP 29703) exited]
[Thread 0x7fff75ff3700 (LWP 29697) exited]
[Thread 0x7fff74ff1700 (LWP 29699) exited]
[Thread 0x7fff9d362700 (LWP 29679) exited]
[Thread 0x7fff777f6700 (LWP 29694) exited]
[Thread 0x7fff7b7fe700 (LWP 29686) exited]
[Thread 0x7fff78ff9700 (LWP 29691) exited]
[Thread 0x7fff79ffb700 (LWP 29689) exited]
[Thread 0x7fff7affd700 (LWP 29687) exited]
[Thread 0x7fff9b372700 (LWP 29672) exited]
[Thread 0x7fff99ae3700 (LWP 29682) exited]
[Thread 0x7fff9cb61700 (LWP 29680) exited]
[Thread 0x7fff98ae1700 (LWP 29684) exited]
[Thread 0x7fff9f366700 (LWP 29675) exited]
[Thread 0x7fff9e364700 (LWP 29677) exited]
[Thread 0x7fff9eb65700 (LWP 29676) exited]
[New Thread 0x7fff9eb65700 (LWP 29723)]
[Thread 0x7fff717ea700 (LWP 29706) exited]
[Thread 0x7fff70fe9700 (LWP 29707) exited]
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int,
int, const QStringList&): No id for action 
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&,
DBusMenuLayoutItem&): Condition failed: menu 
[New Thread 0x7fff70fe9700 (LWP 29739)]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
[Thread 0x7fff70fe9700 (LWP 29739) exited]
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-16558400' is
still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name
'digikamDatabase-16558400', old connection removed.
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "MediaWiki Export"  ( "kipiplugin_wikimedia" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_wikimedia.so:
(libmediawiki.so.1: cannoct open shared object file: Directory or file does not
exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "Calendar"  ( "kipiplugin_calendar" )  with error: 
"Cannot load library /usr/lib/kde4/kipiplugin_calendar.so: (libkcalcore.so.4:
cannoct open shared object file: Directory or file does not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VKontakte.ru Exporter"  ( "kipiplugin_vkontakte" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_vkontakte.so:
(libkvkontakte.so.1: cannoct open shared object file: Directory or file does
not exist )" 
digikam(29645)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Cannot create
instance for plugin  "VideoSlideShow"  ( "kipiplugin_videoslideshow" )  with
error:  "Cannot load library /usr/lib/kde4/kipiplugin_videoslideshow.so:
(libQtGStreamer-0.10.so.0: cannoct open shared object file: Directory or file
does not exist )" 

Program received signal SIGSEGV, Segmentation fault.
Digikam::Album::type (this=0xa1)
    at /build/buildd/digikam-4.0.0/core/digikam/album/album.cpp:268
268    /build/buildd/digikam-4.0.0/core/digikam/album/album.cpp: Directory or
file does not exist.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list