Bug 412113 - Crash at start, related to QSqlDatabase
Summary: Crash at start, related to QSqlDatabase
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Engine (show other bugs)
Version: 7.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-09-20 11:59 UTC by Pauli
Modified: 2020-09-03 09:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0


Attachments
attachment-8114-0.html (3.53 KB, text/html)
2019-09-21 15:16 UTC, Pauli
Details
attachment-13243-0.html (3.73 KB, text/html)
2019-10-15 00:11 UTC, Pauli
Details
hehenberger.vcf (209 bytes, text/x-vcard)
2020-08-30 14:44 UTC, Pauli
Details
attachment-23468-0.html (4.71 KB, text/html)
2020-08-30 19:55 UTC, Pauli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pauli 2019-09-20 11:59:30 UTC
Application: digikam (6.3.0)

Qt Version: 5.13.1
Frameworks Version: 5.61.0
Operating System: Linux 5.2.14-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Since switching to SUSE tumbleweed the version of digikam, installed with zypper, does not work anymore.
Uninstalling and reinstalling several times was not successful.
The version digikam-6.3.0-x86-64.appimage works fine. 
How can I solve the problem ?
Grateful for any help

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f27ec2b0c80 (LWP 4390))]

Thread 22 (Thread 0x7f27b481a700 (LWP 4432)):
#0  0x00007f27feb0616c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27f45ebfc6 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#2  0x00007f27f45ec993 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#3  0x00007f27f45ecb11 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#4  0x00007f27f45a4c81 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#5  0x00007f27f45a7e6b in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#6  0x00007f27f45a8214 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#7  0x00007f27f45eee05 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#8  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f27b501b700 (LWP 4431)):
#0  0x00007f27feb0616c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27f45ebfc6 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#2  0x00007f27f45ec993 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#3  0x00007f27f45ecb11 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#4  0x00007f27f45a4c81 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#5  0x00007f27f45a7e6b in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#6  0x00007f27f45a8214 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#7  0x00007f27f45eee05 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#8  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f27b581c700 (LWP 4430)):
#0  0x00007f28018518af in write () from /lib64/libc.so.6
#1  0x00007f28017e3565 in _IO_file_write@@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f28017e28f6 in new_do_write () from /lib64/libc.so.6
#3  0x00007f28017e3c6e in __GI__IO_file_xsputn () from /lib64/libc.so.6
#4  0x00007f28017d0259 in buffered_vfprintf () from /lib64/libc.so.6
#5  0x00007f28017cd384 in __vfprintf_internal () from /lib64/libc.so.6
#6  0x00007f280186f64f in __fprintf_chk () from /lib64/libc.so.6
#7  0x00007f27ed5a9d3e in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f27ed5ac925 in event_warn () from /usr/lib64/libevent-2.1.so.7
#9  0x00007f27ed5ae488 in ?? () from /usr/lib64/libevent-2.1.so.7
#10 0x00007f27ed5bedf5 in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#11 0x00007f27f45f2c68 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#12 0x00007f27f457ede7 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#13 0x00007f27f45ade34 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#14 0x00007f27f45b6108 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#15 0x00007f27f45eee05 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#16 0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#17 0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f27b7fff700 (LWP 4408)):
[KCrash Handler]
#6  0x00007f27fede4ae7 in std::__atomic_base<QReadWriteLockPrivate*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x2, __p1=<synthetic pointer>: <optimized out>, this=0x8) at /usr/include/c++/9/bits/atomic_base.h:769
#7  std::atomic<QReadWriteLockPrivate*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x2, __p1=<synthetic pointer>: <optimized out>, this=0x8) at /usr/include/c++/9/atomic:565
#8  QAtomicOps<QReadWriteLockPrivate*>::testAndSetAcquire<QReadWriteLockPrivate*> (currentValue=<synthetic pointer>, newValue=0x2, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:290
#9  QBasicAtomicPointer<QReadWriteLockPrivate>::testAndSetAcquire (currentValue=<synthetic pointer>: <optimized out>, newValue=0x2, expectedValue=0x0, this=0x8) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:263
#10 QReadWriteLock::tryLockForWrite (this=0x8, timeout=-1) at thread/qreadwritelock.cpp:339
#11 0x00007f28000fb269 in QWriteLocker::relock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qreadwritelock.h:170
#12 QWriteLocker::QWriteLocker (areadWriteLock=0x8, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qreadwritelock.h:170
#13 QSqlDatabasePrivate::removeDatabase (name=...) at kernel/qsqldatabase.cpp:199
#14 0x00007f280148f9ab in ?? () from /usr/lib64/libdigikamcore.so.6.3.0
#15 0x00007f2801496a90 in ?? () from /usr/lib64/libdigikamcore.so.6.3.0
#16 0x00007f27fede86b0 in QThreadStorageData::finish (p=p@entry=0x564be5d7e750) at thread/qthreadstorage.cpp:200
#17 0x00007f27fede28d0 in QThreadPrivate::finish (arg=0x7f2800a5c680) at thread/qthread_unix.cpp:401
#18 0x00007f27fede31aa in __pthread_cleanup_class::~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:563
#19 QThreadPrivate::start (arg=0x7f2800a5c680) at thread/qthread_unix.cpp:317
#20 0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#21 0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f27bd647700 (LWP 4407)):
#0  0x00007f2801855cbf in poll () from /lib64/libc.so.6
#1  0x00007f27fab5c3ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f27fab5c49f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f27ff00199b in QEventDispatcherGlib::processEvents (this=0x7f27b8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f27fefaa0db in QEventLoop::exec (this=this@entry=0x7f27bd6378f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f27fede2021 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f27fbaa34f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f27fede31a2 in QThreadPrivate::start (arg=0x7f27fbb25d80) at thread/qthread_unix.cpp:360
#8  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f27c4acc700 (LWP 4406)):
#0  0x00007f2801855cbf in poll () from /lib64/libc.so.6
#1  0x00007f27f1228742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f27f12293fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f27c4c4df90 in QXcbEventQueue::run (this=0x564be5795220) at qxcbeventqueue.cpp:228
#4  0x00007f27fede31a2 in QThreadPrivate::start (arg=0x564be5795220) at thread/qthread_unix.cpp:360
#5  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f27cb28d700 (LWP 4405)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f27cda8e700 (LWP 4404)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f27d028f700 (LWP 4403)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f27d2a90700 (LWP 4402)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f27d5291700 (LWP 4401)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f27d7a92700 (LWP 4400)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f27dc293700 (LWP 4399)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f27dea94700 (LWP 4398)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f27df295700 (LWP 4397)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f27e3a96700 (LWP 4396)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f27e4297700 (LWP 4395)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f27e6a98700 (LWP 4394)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f27eb299700 (LWP 4393)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f27eba9a700 (LWP 4392)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f27ec29b700 (LWP 4391)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27efb7e1fb in ?? () from /usr/lib64/libopenblas_pthreads.so.0
#2  0x00007f27feafffaa in start_thread () from /lib64/libpthread.so.0
#3  0x00007f280186073f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f27ec2b0c80 (LWP 4390)):
#0  0x00007f27feb05e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27fede90af in QWaitConditionPrivate::wait (deadline=..., this=0x564be5cd7860) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x564be5d22900, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f27fede9199 in QWaitCondition::wait (this=this@entry=0x564be5d22920, mutex=mutex@entry=0x564be5d22900, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f27fede2e6e in QThread::wait (this=<optimized out>, time=18446744073709551615) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:240
#5  0x00007f28007dce06 in Digikam::ScanController::~ScanController() () from /usr/lib64/libdigikamgui.so.6.3.0
#6  0x00007f28007dcf19 in ?? () from /usr/lib64/libdigikamgui.so.6.3.0
#7  0x00007f28017a1500 in __run_exit_handlers () from /lib64/libc.so.6
#8  0x00007f28017a163c in exit () from /lib64/libc.so.6
#9  0x00007f27f54b3de1 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#10 0x00007f27f41165aa in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#11 0x00007f27f2224873 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#12 0x00007f27f2225bb4 in ?? () from /usr/lib64/libQt5WebEngineCore.so.5
#13 0x00007f27fd84bfe3 in ?? () from /usr/lib64/libQt5WebEngineWidgets.so.5
#14 0x00007f27fd847ea3 in QWebEnginePage::QWebEnginePage(QObject*) () from /usr/lib64/libQt5WebEngineWidgets.so.5
#15 0x00007f27fd83f1cb in QWebEngineView::page() const () from /usr/lib64/libQt5WebEngineWidgets.so.5
#16 0x00007f27fd83f3a9 in QWebEngineView::settings() const () from /usr/lib64/libQt5WebEngineWidgets.so.5
#17 0x00007f280069911e in Digikam::WelcomePageView::WelcomePageView(QWidget*) () from /usr/lib64/libdigikamgui.so.6.3.0
#18 0x00007f2800695cff in Digikam::StackedView::StackedView(QWidget*) () from /usr/lib64/libdigikamgui.so.6.3.0
#19 0x00007f280069fc4d in Digikam::ItemIconView::ItemIconView(QWidget*, Digikam::DModelFactory*) () from /usr/lib64/libdigikamgui.so.6.3.0
#20 0x00007f2800707fc9 in Digikam::DigikamApp::setupView() () from /usr/lib64/libdigikamgui.so.6.3.0
#21 0x00007f28007196c3 in Digikam::DigikamApp::DigikamApp() () from /usr/lib64/libdigikamgui.so.6.3.0
#22 0x0000564be4b23664 in main ()
[Inferior 1 (process 4390) detached]

Possible duplicates by query: bug 409906, bug 409884, bug 409175.

Reported using DrKonqi
Comment 1 caulier.gilles 2019-09-20 12:17:46 UTC
The backtrace report a crash from QtWebEngine. It's a know problem relevant of Qt framework. Did you use a NVidia video card ?

The AppImage is not compiled with QtWebEngine, but QtWebKit instead. This is why it work well as QtWebKit do not have this kind of problem with video driver.

So typically, you must ask to Suse team to recompile digiKam with QtWebkit, not QtWebEngine, until this problem is fixed by Qt team.

Best

Gilles Caulier
Comment 2 Maik Qualmann 2019-09-20 13:53:38 UTC
What I'm wondering, I'm developing under openSUSE Tumbleweed. So I use the same packages. I have no problems at all with QWebEngine. Either the digiKam package is broken or it is due to the graphics hardware. I will install and test the official openSUSE digiKam package this evening. A mistake the user in openSUSE like to do is to mix packages from different sources (extras, unstable, etc.) Please also test this with your installation.

Maik
Comment 3 Maik Qualmann 2019-09-20 19:08:54 UTC
I can not reproduce a problem with the official digiKam-6.3.0 packages from openSUSE Tumbleweed. I have an AMD graphics card with "radeon" driver.

Which graphics card / driver do you use?
Check mixing of installed packages from different repositories.

Maik
Comment 4 Maik Qualmann 2019-09-20 20:03:42 UTC
Git commit d73a25ed14440af7aabcc161d3a26adfdb9dd52a by Maik Qualmann.
Committed on 20/09/2019 at 20:02.
Pushed by mqualmann into branch 'master'.

set QWebEngine settings after new page

M  +6    -6    core/app/views/stack/welcomepageview.cpp
M  +5    -5    core/utilities/geolocation/geoiface/widgets/htmlwidget_qwebengine.cpp

https://invent.kde.org/kde/digikam/commit/d73a25ed14440af7aabcc161d3a26adfdb9dd52a
Comment 5 Pauli 2019-09-21 15:16:10 UTC
Created attachment 122782 [details]
attachment-8114-0.html

 Yes, i am use a nvidia graphics card.
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
i   | nvidia-computeG05                | NVIDIA driver for computing with GPGPU                             | Paket     
i+ | nvidia-gfxG05-kmp-default     | NVIDIA graphics driver kernel module for GeForce 600 series and -> | Paket     
i+ | nvidia-glG05                          | NVIDIA OpenGL libraries for OpenGL acceleration                    | Paket     
i+ | x11-video-nvidiaG05              | NVIDIA graphics driver for GeForce 600 series and newer            | Paket     




    Am Freitag, 20. September 2019, 22:03:46 MESZ hat Maik Qualmann <bugzilla_noreply@kde.org> Folgendes geschrieben:  
 
 https://bugs.kde.org/show_bug.cgi?id=412113

--- Comment #4 from Maik Qualmann <metzpinguin@gmail.com> ---
Git commit d73a25ed14440af7aabcc161d3a26adfdb9dd52a by Maik Qualmann.
Committed on 20/09/2019 at 20:02.
Pushed by mqualmann into branch 'master'.

set QWebEngine settings after new page

M  +6    -6    core/app/views/stack/welcomepageview.cpp
M  +5    -5  
core/utilities/geolocation/geoiface/widgets/htmlwidget_qwebengine.cpp

https://invent.kde.org/kde/digikam/commit/d73a25ed14440af7aabcc161d3a26adfdb9dd52a
Comment 6 Pauli 2019-10-15 00:11:34 UTC
Created attachment 123189 [details]
attachment-13243-0.html

 This is the answer from SuSE Support.

Fakt ist:
   
   - digiKam: <https://api.kde.org/extragear-api/gr...tml/index.html>

– Qt5::WebKitWidgets – zwingend erforderlich.
– Qt5::WebEngine – nicht vorgeschrieben …
   
   - openSUSE:

– libqt5-qtwebengine – steht für Tumbleweed und Leap zur Verfügung …
– libqt5-qtwebkit – AFAICS, nur der Quellcode steht zur Verfügung …
   
   - Plasma ab Version 5.6 hat gar keine Qt WebKit mehr …
   - Und, <https://news.opensuse.org/2018/10/17...5-12-and-more/>.

   The KDE team has decided to remove Qt Webkit from the default openSUSE installation. There should be minimal impact to users; the only exception is with Marble and Digikam. Those will not be installed by default anymore because they still depend on Qt Webkit, but they’re still available from YaST and zypper.  Scheinbar, eine Fehlermeldung ist nötig – <https://bugzilla.opensuse.org/>. 

    Am Freitag, 20. September 2019, 22:03:46 MESZ hat Maik Qualmann <bugzilla_noreply@kde.org> Folgendes geschrieben:  
 
 https://bugs.kde.org/show_bug.cgi?id=412113

--- Comment #4 from Maik Qualmann <metzpinguin@gmail.com> ---
Git commit d73a25ed14440af7aabcc161d3a26adfdb9dd52a by Maik Qualmann.
Committed on 20/09/2019 at 20:02.
Pushed by mqualmann into branch 'master'.

set QWebEngine settings after new page

M  +6    -6    core/app/views/stack/welcomepageview.cpp
M  +5    -5  
core/utilities/geolocation/geoiface/widgets/htmlwidget_qwebengine.cpp

https://invent.kde.org/kde/digikam/commit/d73a25ed14440af7aabcc161d3a26adfdb9dd52a
Comment 7 Maik Qualmann 2019-11-24 20:36:59 UTC
OpenSUSE Tumbleweed provides digikam-6.4.0, is the issue still to reproduce?

Maik
Comment 8 caulier.gilles 2020-07-14 09:41:32 UTC
Hi,

Can you check if this problem still exist with last weekly bundle build of digiKam 7.0.0 available here:

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 9 caulier.gilles 2020-07-30 09:45:11 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 10 Maik Qualmann 2020-08-30 05:53:24 UTC
*** Bug 425962 has been marked as a duplicate of this bug. ***
Comment 11 Maik Qualmann 2020-08-30 05:58:07 UTC
You wrote in bug 409175 that the problem with the AppImage does not occur. So it must be a package bug. There must be something wrong with your openSUSE Tumbleewed installation. I compile digiKam myself under this Linux version and have no problems.

Maik
Comment 12 Pauli 2020-08-30 14:44:14 UTC
Created attachment 131290 [details]
hehenberger.vcf

   Hello Maik,
   the digikam-7.0.0-beta2.appimage work fine, but the
   digikam-7.0.0-x86-64.appimage crashed.

   -- digiKam Linux AppImage Bundle
   -- Use 'help' as CLI argument to know all available options for
   digiKam application.
   -- Notes: to integrate this bundle to your desktop, use
   AppImageLauncher.
   -- to enable all debug messages on the console, use 'export
   QT_LOGGING_RULES="digikam*=true"'.
   libudev.so.0
   libnss3.so
   -- Preloading shared libs:
   :/usr/lib64/libudev.so.0:/tmp/.mount_digikaDgmNv9/usr/lib64/libnss3.so
   [4534:4534:0830/160330.381198:ERROR:zygote_host_impl_linux.cc(89)]
   Running as root without --no-sandbox is not supported. See
   https://crbug.com/638180.
   /tmp/.mount_digikaDgmNv9/AppRun: Zeile 157: 4534 Segmentation fault
   (Speicherabzug geschrieben) digikam $@

   digikam-7.1.0-20200826T123515-x86-64.appimage

   root@newlx:/wtmp->./digikam-7.1.0-20200826T123515-x86-64.appimage
   -- digiKam Linux AppImage Bundle
   -- Use 'help' as CLI argument to know all available options for
   digiKam application.
   -- Notes: to integrate this bundle to your desktop, use
   AppImageLauncher.
   -- to enable all debug messages on the console, use 'export
   QT_LOGGING_RULES="digikam*=true"'.
   libudev.so.0
   libnss3.so
   libxcb-dri3.so.0
   -- Preloading shared libs:
   :/usr/lib64/libudev.so.0:/tmp/.mount_digikaJ8tsx8/usr/lib64/libnss3.so:/tmp/.mount_digikaJ8tsx8/usr/lib64/libxcb-dri3.so.0
   unknown: KCatalog being used without a Q*Application instance. Some
   translations won't work
   [7155:7155:0830/163734.371445:ERROR:zygote_host_impl_linux.cc(89)]
   Running as root without --no-sandbox is not supported. See
   https://crbug.com/638180.
   /tmp/.mount_digikaJ8tsx8/AppRun: Zeile 158: 7155 Segmentation fault
   (Speicherabzug geschrieben) digikam $@


   Thanks for your help






   On 30.08.20 07:58, Maik Qualmann wrote:

     https://bugs.kde.org/show_bug.cgi?id=412113          
     --- Comment #11 from Maik Qualmann      <metzpinguin@gmail.com> [1]      ---
     You wrote in bug 409175 that the problem with the AppImage does not occur. So
     it must be a package bug. There must be something wrong with your openSUSE
     Tumbleewed installation. I compile digiKam myself under this Linux version and
     have no problems.
     
     Maik


   

   1. mailto:metzpinguin@gmail.com
Comment 13 caulier.gilles 2020-08-30 14:49:09 UTC
Pauli,

Never start AppImage with root account. Always use standard user account instead.

This can be dangerous with root, as it's the admin account which have all rights on all files from the system.

Gilles Caulier
Comment 14 Pauli 2020-08-30 15:19:11 UTC
   Hello,
   even if digikam is started with a different user, the appimage does
   not work.

   work@newlx:/u1/sonstiges>
   ./digikam-7.1.0-20200826T123515-x86-64.appimage
   -- digiKam Linux AppImage Bundle
   -- Use 'help' as CLI argument to know all available options for
   digiKam application.
   -- Notes: to integrate this bundle to your desktop, use
   AppImageLauncher.
   -- to enable all debug messages on the console, use 'export
   QT_LOGGING_RULES="digikam*=true"'.
   libudev.so.0
   libnss3.so
   libxcb-dri3.so.0
   -- Preloading shared libs:
   :/usr/lib64/libudev.so.0:/tmp/.mount_digikaRXPoP9/usr/lib64/libnss3.so:/tmp/.mount_digikaRXPoP9/usr/lib64/libxcb-dri3.so.0
   unknown: KCatalog being used without a Q*Application instance. Some
   translations won't work
   Invalid MIT-MAGIC-COOKIE-1 keyNo protocol specified
   unknown: could not connect to display :0
   unknown: Could not load the Qt platform plugin "xcb" in "" even though
   it was found.
   unknown: This application failed to start because no Qt platform
   plugin could be initialized. Reinstalling the application may fix this
   problem.

   Available platform plugins are: eglfs, minimal, minimalegl, offscreen,
   vnc, wayland-egl, wayland, wayland-xcomposite-egl,
   wayland-xcomposite-glx, xcb.

   /tmp/.mount_digikaRXPoP9/AppRun: Zeile 158: 2780 Aborted
   (Speicherabzug geschrieben) digikam $@


   Thanks for your help







   On 30.08.20 16:49, bugzilla_noreply@kde.org[1] wrote:

     https://bugs.kde.org/show_bug.cgi?id=412113          
     --- Comment #13 from      caulier.gilles@gmail.com [2]      ---
     Pauli,
     
     Never start AppImage with root account. Always use standard user account
     instead.
     
     This can be dangerous with root, as it's the admin account which have all
     rights on all files from the system.
     
     Gilles Caulier


   

   1. mailto:bugzilla_noreply@kde.org
   2. mailto:caulier.gilles@gmail.com
Comment 15 Maik Qualmann 2020-08-30 15:28:55 UTC
No connection to display :0? What kind of graphics system do you use? Possibly Wayland?

Maik
Comment 16 caulier.gilles 2020-08-30 15:31:23 UTC
Run the appimage file with "debug" argument to get a gdb backtrace of crash
Comment 17 Pauli 2020-08-30 15:38:53 UTC
   Hello Maik,
   sorry my mistake, user work has no X surface.
   My server runs completely as root user and a change
   I do not want to do.
   Is there an option to run digicam as root user ?






   On 30.08.20 17:28, Maik Qualmann wrote:

     https://bugs.kde.org/show_bug.cgi?id=412113          
     --- Comment #15 from Maik Qualmann      <metzpinguin@gmail.com> [1]      ---
     No connection to display :0? What kind of graphics system do you use? Possibly
     Wayland?
     
     Maik


   

   1. mailto:metzpinguin@gmail.com
Comment 18 Pauli 2020-08-30 16:31:15 UTC
   Hello,
   I hope this helps you.

   root@newlx:/wtmp->gdb
   digikam-7.1.0-20200826T123850-x86-64-debug.appimage
   GNU gdb (GDB; openSUSE Tumbleweed) 9.2
   Copyright (C) 2020 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later
   <http://gnu.org/licenses/gpl.html>[1]
   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-suse-linux".
   Type "show configuration" for configuration details.
   For bug reporting instructions, please see:
   <http://bugs.opensuse.org/>[2].
   Find the GDB manual and other documentation resources online at:
   <http://www.gnu.org/software/gdb/documentation/>[3].

   For help, type "help".
   Type "apropos word" to search for commands related to "word"...
   Reading symbols from
   digikam-7.1.0-20200826T123850-x86-64-debug.appimage...
   (No debugging symbols found in
   digikam-7.1.0-20200826T123850-x86-64-debug.appimage)
   (gdb) r
   Starting program:
   /u1/wtmp/digikam-7.1.0-20200826T123850-x86-64-debug.appimage
   Missing separate debuginfos, use: zypper install
   glibc-debuginfo-2.31-6.3.x86_64
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib64/libthread_db.so.1".
   [Detaching after fork from child process 23640]
   process 23634 is executing new program: /usr/bin/bash
   Missing separate debuginfos, use: zypper install
   libfuse2-debuginfo-2.9.9-1.2.x86_64 libz1-debuginfo-1.2.11-14.2.x86_64
   -- digiKam Linux AppImage Bundle
   -- Use 'help' as CLI argument to know all available options for
   digiKam application.
   -- Notes: to integrate this bundle to your desktop, use
   AppImageLauncher.
   -- to enable all debug messages on the console, use 'export
   QT_LOGGING_RULES="digikam*=true"'.
   [Detaching after fork from child process 23644]
   [Detaching after fork from child process 23645]
   [Detaching after fork from child process 23647]
   libudev.so.0
   [Detaching after fork from child process 23648]
   libnss3.so
   [Detaching after fork from child process 23649]
   libxcb-dri3.so.0
   [Detaching after fork from child process 23650]
   -- Preloading shared libs:
   :/usr/lib64/libudev.so.0:/tmp/.mount_digikattQJWh/usr/lib64/libnss3.so:/tmp/.mount_digikattQJWh/usr/lib64/libxcb-dri3.so.0
   [Detaching after fork from child process 23651]
   unknown: KCatalog being used without a Q*Application instance. Some
   translations won't work
   [23651:23651:0830/182855.853905:ERROR:zygote_host_impl_linux.cc(89)]
   Running as root without --no-sandbox is not supported. See
   https://crbug.com/638180.
   /tmp/.mount_digikattQJWh/AppRun: Zeile 158: 23651 Segmentation fault
   (Speicherabzug geschrieben) digikam $@
   [Inferior 1 (process 23634) exited with code 0213]
   Missing separate debuginfos, use: zypper install
   bash-debuginfo-5.0.18-1.2.x86_64
   (gdb) where
   No stack.
   (gdb)






   On 30.08.20 17:31, bugzilla_noreply@kde.org[4] wrote:

     https://bugs.kde.org/show_bug.cgi?id=412113          
     --- Comment #16 from      caulier.gilles@gmail.com [5]      ---
     Run the appimage file with "debug" argument to get a gdb backtrace of crash


   

   1. http://gnu.org/licenses/gpl.html
   2. http://bugs.opensuse.org/
   3. http://www.gnu.org/software/gdb/documentation/
   4. mailto:bugzilla_noreply@kde.org
   5. mailto:caulier.gilles@gmail.com
Comment 19 Pauli 2020-08-30 16:50:31 UTC
After installing the required debug rpm's.
The --no-sandbox option does not work.

Thanks for the help


root@newlx:/wtmp->gdb digikam-7.1.0-20200826T123850-x86-64-debug.appimage
GNU gdb (GDB; openSUSE Tumbleweed) 9.2
Copyright (C) 2020 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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.

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-7.1.0-20200826T123850-x86-64-debug.appimage...
(No debugging symbols found in 
digikam-7.1.0-20200826T123850-x86-64-debug.appimage)
(gdb) r
Starting program: 
/u1/wtmp/digikam-7.1.0-20200826T123850-x86-64-debug.appimage
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[Detaching after fork from child process 25529]
process 25520 is executing new program: /usr/bin/bash
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam 
application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export 
QT_LOGGING_RULES="digikam*=true"'.
[Detaching after fork from child process 25533]
[Detaching after fork from child process 25534]
[Detaching after fork from child process 25536]
libudev.so.0
[Detaching after fork from child process 25537]
libnss3.so
[Detaching after fork from child process 25538]
libxcb-dri3.so.0
[Detaching after fork from child process 25539]
-- Preloading shared libs: 
:/usr/lib64/libudev.so.0:/tmp/.mount_digikaHgTC5T/usr/lib64/libnss3.so:/tmp/.mount_digikaHgTC5T/usr/lib64/libxcb-dri3.so.0
[Detaching after fork from child process 25540]
unknown: KCatalog being used without a Q*Application instance. Some 
translations won't work
[25540:25540:0830/184734.040762:ERROR:zygote_host_impl_linux.cc(89)] 
Running as root without --no-sandbox is not supported. See 
https://crbug.com/638180.
/tmp/.mount_digikaHgTC5T/AppRun: Zeile 158: 25540 Segmentation 
fault      (Speicherabzug geschrieben) digikam $@
[Inferior 1 (process 25520) exited with code 0213]
(gdb)


On 30.08.20 17:31, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=412113
>
> --- Comment #16 from caulier.gilles@gmail.com ---
> Run the appimage file with "debug" argument to get a gdb backtrace of crash
>
Comment 20 Maik Qualmann 2020-08-30 19:44:58 UTC
You need to add "debug" as an option to the AppImage start in order to run it in the internal debugger. After the crash don't forget "bt" + Enter for the backtrace.

Maik
Comment 21 Pauli 2020-08-30 19:55:20 UTC
Created attachment 131300 [details]
attachment-23468-0.html

 ry: zypper install -C "debuginfo(build-id)=e4b500d33ad8701cf4f0c9d058cd87f10b6b72c1"
Missing separate debuginfo for /tmp/.mount_digikat5zfRL/usr/lib/libxslt.so.1
Try: zypper install -C "debuginfo(build-id)=85cc4f3e5fef6564668a00fdbe9a7c14cdbad926"
[New Thread 0x7fffca787700 (LWP 6822)]
[New Thread 0x7fffb7547700 (LWP 6827)]
[6786:6786:0830/215343.525545:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
[Thread 0x7fffca787700 (LWP 6822) exited]
[Thread 0x7fffcaf88700 (LWP 6796) exited]

Thread 3 "Digikam::ScanCo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcb789700 (LWP 6795)]
0x00007ffff3c9a012 in QReadWriteLock::tryLockForWrite(int) () from /tmp/.mount_digikat5zfRL/usr/lib/libQt5Core.so.5
Missing separate debuginfos, use: zypper install libX11-6-debuginfo-1.6.9-2.2.x86_64 libasound2-debuginfo-1.2.3.2-328.4.x86_64 libbrotlicommon1-debuginfo-1.0.7-4.2.x86_64 libbrotlidec1-debuginfo-1.0.7-4.2.x86_64 libcom_err2-debuginfo-1.45.6-1.19.x86_64 libdrm2-debuginfo-2.4.102-1.2.x86_64 libexpat1-debuginfo-2.2.9-1.12.x86_64 libffi8-debuginfo-3.3.git30-1.13.x86_64 libfontconfig1-debuginfo-2.13.1-2.8.x86_64 libfreetype6-debuginfo-2.10.2-1.3.x86_64 libgcc_s1-debuginfo-10.2.1+git501-1.2.x86_64 libglib-2_0-0-debuginfo-2.64.4-1.2.x86_64 libglvnd-debuginfo-1.2.0-4.4.x86_64 libgpg-error0-debuginfo-1.38-1.3.x86_64 libjack0-debuginfo-1.9.14-117.6.x86_64 libp11-kit0-debuginfo-0.23.20-1.4.x86_64 libstdc++6-debuginfo-10.2.1+git501-1.2.x86_64 libusb-1_0-0-debuginfo-1.0.23-1.6.x86_64 libuuid1-debuginfo-2.35.1-2.3.x86_64 libxcb1-debuginfo-1.14-1.3.x86_64
(gdb) where
#0  0x00007ffff3c9a012 in QReadWriteLock::tryLockForWrite(int) ()
   from /tmp/.mount_digikat5zfRL/usr/lib/libQt5Core.so.5
#1  0x00007ffff78627ec in ?? () from /tmp/.mount_digikat5zfRL/usr/lib/libQt5Sql.so.5
#2  0x00007ffff73af86a in Digikam::DbEngineThreadData::closeDatabase (this=this@entry=0x7fffc4030040)
    at /b/dktemp/digikam-master/core/libs/database/engine/dbenginebackend.cpp:107
#3  0x00007ffff73af8ec in Digikam::DbEngineThreadData::~DbEngineThreadData (this=0x7fffc4030040, 
    __in_chrg=<optimized out>) at /b/dktemp/digikam-master/core/libs/database/engine/dbenginebackend.cpp:86
#4  0x00007ffff73b840e in qThreadStorage_deleteData<Digikam::DbEngineThreadData> (d=0x7fffc4030040)
    at ././/include/QtCore/qthreadstorage.h:92
#5  QThreadStorage<Digikam::DbEngineThreadData*>::deleteData (x=0x7fffc4030040)
    at ././/include/QtCore/qthreadstorage.h:135
#6  0x00007ffff3c9e052 in QThreadStorageData::finish(void**) () from /tmp/.mount_digikat5zfRL/usr/lib/libQt5Core.so.5
#7  0x00007ffff3c97852 in ?? () from /tmp/.mount_digikat5zfRL/usr/lib/libQt5Core.so.5
#8  0x00007ffff3c9833d in ?? () from /tmp/.mount_digikat5zfRL/usr/lib/libQt5Core.so.5
#9  0x00007ffff360ceaa in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007ffff353caff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) 


    Am Sonntag, 30. August 2020, 21:45:00 MESZ hat Maik Qualmann <bugzilla_noreply@kde.org> Folgendes geschrieben:  
 
 https://bugs.kde.org/show_bug.cgi?id=412113

--- Comment #20 from Maik Qualmann <metzpinguin@gmail.com> ---
You need to add "debug" as an option to the AppImage start in order to run it
in the internal debugger. After the crash don't forget "bt" + Enter for the
backtrace.

Maik
Comment 22 Maik Qualmann 2020-08-31 19:03:38 UTC
I can reproduce your problem here under openSUSE when I try to start the AppImage as "root" user. You must not be a "root" user!

Maik
Comment 23 Maik Qualmann 2020-08-31 19:18:17 UTC
My compiled digiKam version doesn't run as "root" user either. Use a normal user account. I'm closing the bug now.

Maik
Comment 24 Pauli 2020-09-01 04:32:58 UTC
   Hello Maik
   is there a possibility for a root option.
   My workstation runs mostly under root and sometimes I know what I am
   doing.

   Thanks for your support and a wonderful software


   Mit freundlichen Grüßen

   nfslog


   Robert Hehenberger


   NFS Netzwerkfunksysteme GmbH


   Westach 12


   84424 Isen

   Telefon:

   Fax:

   Mobile:

   Web:

   Mail:

   UST-ID:

   HRB:

   08083 908 277-0

   08083 908 277-6

   0173 999 0 333

   www.nfsgmbh.de[1]

   hehenberger@nfsgmbh.de[2]

   DE 814 414 351

   157358 AG München

   On 31.08.20 21:03, Maik Qualmann wrote:

     https://bugs.kde.org/show_bug.cgi?id=412113          
     --- Comment #22 from Maik Qualmann      <metzpinguin@gmail.com> [3]      ---
     I can reproduce your problem here under openSUSE when I try to start the
     AppImage as "root" user. You must not be a "root" user!
     
     Maik


   

   1. http://www.nfsgmbh.de/
   2. mailto:hehenberger@nfsgmbh.de
   3. mailto:metzpinguin@gmail.com
Comment 25 Maik Qualmann 2020-09-01 05:31:18 UTC
I haven't really researched it yet. But due to the message that the application cannot be executed in the sandbox, it looks like openSUSE is starting unknown apps for "root" users in a sandbox. It is absolutely wrong to work as "root" user under a modern Linux, even if you know what you are doing.

Maik
Comment 26 Maik Qualmann 2020-09-01 05:42:52 UTC
The cause is the Chrome browser in digiKam. This refuses to start as "root" user. I don't know if we have the option to disable the sandbox in the Chrome browser, I think we shouldn't.

Maik
Comment 27 Maik Qualmann 2020-09-01 05:47:25 UTC
You can set an environment variable to force the start as "root" user:

export QTWEBENGINE_DISABLE_SANDBOX=1

I hope you know what you are doing...

Maik
Comment 28 Pauli 2020-09-01 05:56:41 UTC
   Hello Mike,
   on the chrome browser I can easily distinguish
   (I use firefox) but digikam would be very difficult for me. Maybe you
   will find a possibility after all.
   That would be worth a case of beer to me.
   Thanks for your help in advance


   Mit freundlichen Grüßen

   nfslog


   Robert Hehenberger


   NFS Netzwerkfunksysteme GmbH


   Westach 12


   84424 Isen

   Telefon:

   Fax:

   Mobile:

   Web:

   Mail:

   UST-ID:

   HRB:

   08083 908 277-0

   08083 908 277-6

   0173 999 0 333

   www.nfsgmbh.de[1]

   hehenberger@nfsgmbh.de[2]

   DE 814 414 351

   157358 AG München

   On 01.09.20 07:42, Maik Qualmann wrote:

     https://bugs.kde.org/show_bug.cgi?id=412113          
     --- Comment #26 from Maik Qualmann      <metzpinguin@gmail.com> [3]      ---
     The cause is the Chrome browser in digiKam. This refuses to start as "root"
     user. I don't know if we have the option to disable the sandbox in the Chrome
     browser, I think we shouldn't.
     
     Maik


   

   1. http://www.nfsgmbh.de/
   2. mailto:hehenberger@nfsgmbh.de
   3. mailto:metzpinguin@gmail.com
Comment 29 Pauli 2020-09-01 06:02:50 UTC
   Hello Mike,
   Looks good, do you have a paypal account ?


   Mit freundlichen Grüßen

   nfslog


   Robert Hehenberger


   NFS Netzwerkfunksysteme GmbH


   Westach 12


   84424 Isen

   Telefon:

   Fax:

   Mobile:

   Web:

   Mail:

   UST-ID:

   HRB:

   08083 908 277-0

   08083 908 277-6

   0173 999 0 333

   www.nfsgmbh.de[1]

   hehenberger@nfsgmbh.de[2]

   DE 814 414 351

   157358 AG München

   On 01.09.20 07:47, Maik Qualmann wrote:

     export QTWEBENGINE_DISABLE_SANDBOX=1   

   

   1. http://www.nfsgmbh.de/
   2. mailto:hehenberger@nfsgmbh.de
Comment 30 Maik Qualmann 2020-09-01 06:05:07 UTC
The browser engine "QWebEngine" used by digiKam is based on Chrome. You only have to set the environment variable (see Comment 27), then digiKam starts as "root" user.

Maik
Comment 31 caulier.gilles 2020-09-03 09:55:38 UTC
Hi Pauli,

Thanks to support digiKam project. All is explained here:

 https://www.digikam.org/donate/

Best regards

Gilles Caulier