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

Kristian Karl <kristian.hermann.k...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kristian.hermann.karl@gmail
                   |                            |.com

--- Comment #11 from Kristian Karl <kristian.hermann.k...@gmail.com> ---
I have observed maybe the same issue.
When launching the digikam appimage: 

=START==========================================================
./digiKam-8.3.0-20231221T191139-x86-64.appimage
:
Digikam::FaceDbSchemaUpdater::startUpdates: Face database: have a structure
version  "4"
Digikam::FacialRecognitionWrapper::Private::Private: Face database ready for
use
Digikam::OpenfacePreprocessor::loadModels: Start reading shape predictor file
Digikam::OpenfacePreprocessor::loadModels: Finish reading shape predictor file
Digikam::DNNFaceExtractor::loadModels: Extractor model:
"/home/krikar/.local/share/digikam/facesengine/openface_nn4.small2.v1.t7"
Digikam::FacePipeline::construct: Face PipeLine: add database writer
Digikam::FacePipeline::construct: Face PipeLine: add faces trainer
Digikam::FacePipeline::construct: Face PipeLine: add database writer
Digikam::FacePipeline::construct: Face PipeLine: add faces trainer
[262743:262743:1222/103917.435213:FATAL:credentials.cc(125)] Check failed: . :
Permission denied (13)
/tmp/.mount_digiKaxCPmwR/AppRun: line 205: 262743 Trace/breakpoint trap   (core
dumped) digikam $@
=END==========================================================


Launching it with gdb (using local compiled latest from master):

=START==========================================================
gdb digikam
:
digikam.facedb: Extractor model:
"/home/krikar/.local/share/digikam/facesengine/openface_nn4.small2.v1.t7"
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fffb92be6c0 (LWP 263127)]
[New Thread 0x7fffb8abd6c0 (LWP 263128)]
[New Thread 0x7fffa3fff6c0 (LWP 263129)]
[Thread 0x7fffa3fff6c0 (LWP 263129) exited]
[Thread 0x7fffb92be6c0 (LWP 263127) exited]
[Thread 0x7fffb8abd6c0 (LWP 263128) exited]
[New Thread 0x7fffb8abd6c0 (LWP 263130)]
[New Thread 0x7fffb92be6c0 (LWP 263131)]
[New Thread 0x7fffa3fff6c0 (LWP 263132)]
[Thread 0x7fffa3fff6c0 (LWP 263132) exited]
[Thread 0x7fffb8abd6c0 (LWP 263130) exited]
[Thread 0x7fffb92be6c0 (LWP 263131) exited]
[New Thread 0x7fffb92be6c0 (LWP 263133)]
[263108:263108:1222/104110.026179:FATAL:credentials.cc(125)] Check failed: . :
Permission denied (13)

Thread 1 "digikam" received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffe79d7b13 in ?? () from /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
(gdb) bt
#0  0x00007fffe79d7b13 in ??? () at
/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#1  0x0000000000000029 in ??? ()
#2  0x0000555555aef2c0 in ??? ()
#3  0x000055555913bfc0 in ??? ()
#4  0x00007ffff383e758 in _nl_make_l10nflist
    (l10nfile_list=0x7ffff3e62478 <vtable for
std::__cxx11::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >+16>, 
    l10nfile_list@entry=0x66, dirlist=0x7ffff3e62630 <vtable for
std::__cxx11::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >+24> "\360\336\324\363\377\177",
dirlist@entry=0x7ffff39c9870 <_nl_default_dirname> "/usr/share/locale",
dirlist_len=140737488340368, mask=1492259472, 
    mask@entry=0, language=language@entry=0x7fffffffc660 "C",
territory=territory@entry=0x0, codeset=0x3a3830313336325b <error: Cannot access
memory at address 0x3a3830313336325b>, normalized_codeset=0x313a383031333632
<error: Cannot access memory at address 0x313a383031333632>,
modifier=0x313430312f323232 <error: Cannot access memory at address
0x313430312f323232>, filename=0x37313632302e3031 <error: Cannot access memory
at address 0x37313632302e3031>, do_allocate=1095121465) at
../intl/l10nflist.c:237
#5  0x00007ffff383b4f3 in _nl_find_domain
    (dirname=0x7ffff39c9870 <_nl_default_dirname> "/usr/share/locale",
locale=0x7fffffffc660 "C", domainname=0x7fffffffc680 "LC_MESSAGES/libc.mo",
domainbinding=0x656843205d293532) at ./intl/finddomain.c:90
#6  0x00007ffff383af48 in __dcigettext
    (domainname=<optimized out>, msgid1=0x7fffffffe0cf "", msgid2=<optimized
out>, plural=<optimized out>, n=<optimized out>, category=<optimized out>)
    at ./intl/dcigettext.c:837
(gdb) 
=END==========================================================

After some googling, I got some hints about apparmor, and sure enough there was
a entry in my /var/log/syslog:
=START==========================================================
2023-12-22T10:41:10.026986+01:00 Desktop kernel: [ 9294.380673] audit:
type=1400 audit(1703238070.021:926): apparmor="DENIED"
operation="userns_create" class="namespace" info="User namespace creation
restricted" error=-13 profile="unconfined" pid=263108 comm="digikam"
requested="userns_create" denied="userns_create"
=END==========================================================

I tried this work around:
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
which solved the problem. Digikam now launches normal.


This article that help me:
https://ubuntuforums.org/showthread.php?t=2488328

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to