When mysql is used as database-backend, opening "settings -> configure digiKam...", digikam hangs completely after some seconds and takes 100% CPU. Digikam needs to be killed then. Downgrading to digikam-4.0.0 helps as a workaround. This error was already spotted by others: http://osdir.com/ml/digikam-users/2014-08/msg00040.html Reproducible: Always emerge --info Portage 2.2.12-r1 (python 3.4.1-final-0, default/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.17.0-rc2-btrfs-00231-gcf8650a x86_64) ================================================================= System uname: Linux-3.17.0-rc2-btrfs-00231-gcf8650a-x86_64-Intel-R-_Core-TM-_i5_CPU_M_540_@_2.53GHz-with-gentoo-2.2 KiB Mem: 3838232 total, 406384 free KiB Swap: 3975164 total, 3290024 free Timestamp of tree: Tue, 02 Sep 2014 07:30:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p47 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3, 4.9.1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo x11 mysql qt local kde ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x TeamViewer googleearth google-chrome PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=corei7 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=corei7 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc -O2 -march=corei7 -pipe" MAKEOPTS="-j2 -l5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/mysql /var/lib/layman/qt /usr/local/portage /var/lib/layman/kde" USE="X a52 aac acl acpi addressbook aio alsa amd64 amr amrenc apm apng attica audiofile berkdb bzip2 cairo calendar caps caps-ng cdda cddb cdio cdparanoia celt chm clang cli consolekit corefonts cracklib crypt cups cxx dbus demosaic desktopglobe device-mapper dii dirac djvu dot dpi dri dts dv dvd dvdnav ebook egl eigen epub evdev exif expoblending faac faad fam ffmpeg fftw flac fontconfig fortran frei0r gdbm gif git gmp gold gphoto2 gpm graphviz h224 h281 h323 hunspell iconv icu id3tag ilbc ipv6 jabber jemalloc jpeg jpeg2k json kde kipi latex lcms ldap lensfun libass libffi libkms libmpeg2 libnotify lm_sensors lto lzma lzo mad matroska minizip mjpeg mmap mmx mng mobi modules mongodb mount mp3 mp4 mpeg mpfr mpi mtp multilib musicbrainz mysql mysqli ncurses networkmanager new-login nls nptl ntfs ntfsprogs ofx ogg okteta opencv openexr opengl openipmi openldap openmp opus otr pam pango panorama pcre pdf perl plasma png pnm policykit postscript prison python python3 qt3support qt4 qthelp quotes rar raw readline reviewboard romio rpc samba scanner schroedinger sdl secure-delete session shapefile sip sipe sipim smb smime smp sndfile snmp speex spell sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg system-cairo system-icu system-jpeg system-sqlite szip t1lib taglib tcpd theora threads thumbnail tiff tremor truetype twolame udev umfpack unicode unlock-notify unwind upower usb v4l v8 vaapi vhosts vlc vorbis vpx wav wavpack webkit webp wifi wmf x264 xattr xcb xcomposite xinirama xkb xml xmp xpm xscreensaver xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite split_clients ssi upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="snapscan" USERLAND="GNU" UWSGI_PLUGINS="cache carbon cheaper_busyness corerouter fastrouter http logfile logsocket mongodblog nagios ping rawrouter redislog router_basicauth router_cache router_expires router_hash router_http router_memcached router_metrics router_redirect router_redis router_rewrite router_static router_uwsgi rpc signal spooler sslrouter symcall syslog transformation_chunked transformation_gzip transformation_offload transformation_tofile ugreen zergpool" VIDEO_CARDS="i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
I didn't test, but from the bug it appears to be fixed for 4.3.0
(In reply to Michael Palimaka (kensington) from comment #1) > I didn't test, but from the bug it appears to be fixed for 4.3.0 Just tested with git master, it's not fixed there.
I can confirm this bug. MySQL flag active and MySQL database configured (did not test without). Opening the configuration window in 4.2.0 leads to 100% CPU and nearly impossible to close the configuration windows (usually kill it). Will test 4.3.0 and Git Master too.
It is this bugfix, that causes the regression: https://bugs.kde.org/show_bug.cgi?id=335073 reverting this makes the config dialog work again.
Created attachment 386386 [details, diff] revert commit for KDE Bug 335073
Fixed in 4.4.0
Reopening, cause it's not fixed. Still the same problem with digikam-4.4.0.
Can confirm this, same issue still appears in Digikam 4.4.0 (with MySQL database).
I can still "fix" this by reverting commit 646f4612f128dca8e32085447f93327164da7c0d Author: Gilles Caulier <caulier.gilles@gmail.com> Date: Fri May 23 14:10:35 2014 +0200 add timer to prevent bombarding signal over DB path edit field, which can corrupt path edited. BUGS: 335073 FIXED-IN: 4.1.0
Created attachment 390390 [details] digikam-4.4.0-hang.patch Could you please test the attached patch from upstream?
(In reply to Michael Palimaka (kensington) from comment #10) > Created attachment 390390 [details] > digikam-4.4.0-hang.patch > > Could you please test the attached patch from upstream? seems to be fixed by this patch
Thanks, fixed in CVS. + 01 Dec 2014; Michael Palimaka <kensington@gentoo.org> + +digikam-4.4.0-r1.ebuild, +files/digikam-4.4.0-hang.patch: + Backport patch from upstream to solve a hang wrt bug #521992.