digikam slow or hang on startup

Simon Frei freisim93 at gmail.com
Tue Oct 31 16:05:09 GMT 2017


There are troubles in the gtk-theming - I don't know what it is exactly,
but I once had a problem with it as well (maybe but not necessarily the
same). In my case adding the following to /etc/profile helped:
    export QT_QPA_PLATFORMTHEME=gtk2
To test whether it is the same for you, before adding this permanently
try running digikam with this env var:
    QT_QPA_PLATFORMTHEME=gtk2 digikam
I hope this helps.

On 31/10/17 16:59, Andrew Goodbody wrote:
> I compile digikam from source. My latest build from a few days ago is
> now taking ages to start, or very possibly hangs.
>
> My previous build was fine, but that was a few weeks ago.
>
> Running under gdb, I gave it ten minutes or so, then pressed Ctrl-C
> and 'bt' to get the below stack trace.
>
> Local files and sqlite database.
>
> Andrew
>
> ^C
> Thread 1 "digikam" received signal SIGINT, Interrupt.
> syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> 38    ../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or
> directory.
> (gdb) bt
> #0  0x00007fffe3b53219 in syscall () at
> ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> #1  0x00007fffe35d369f in g_cond_wait () at
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007fffe35b5777 in g_once_init_enter () at
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007fffa75cafc5 in gtk_buildable_get_type () at
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #4  0x00007fffa75f9f20 in gtk_container_get_type () at
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #5  0x00007fffa75c6b5d in gtk_bin_get_type () at
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #6  0x00007fffa75f4f7c in gtk_combo_box_get_type () at
> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #7  0x00007fffa75f803c in gtk_combo_box_entry_get_type ()
>     at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #8  0x00007fffa75f8189 in gtk_combo_box_entry_new ()
>     at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #9  0x00007fffa4fd0210 in  () at
> /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libqgtk2style.so
> #10 0x00007fffa4fd146b in  () at
> /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libqgtk2style.so
> #11 0x00007fffe7c553f3 in QStyleFactory::create(QString const&) ()
>     at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #12 0x00007fffe7bebf1a in QApplication::style() () at
> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #13 0x00007fffe7bec26d in QApplicationPrivate::initialize() ()
>     at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #14 0x00007fffe7bec2c4 in QApplicationPrivate::init() ()
>     at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> #15 0x000055555555a0ae in main(int, char**) (argc=1, argv=0x7fffffffe298)
>     at /home/ag/src/dk5/core/app/main/main.cpp:70
> (gdb) quit




More information about the Digikam-devel mailing list