https://bugs.kde.org/show_bug.cgi?id=399445
Bug ID: 399445
Summary: Crash during initialization
Product: qca
Version: 2.1.1
Platform: Other
OS: Android 9.x
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
QCA crashes during initialization on Android 9, as can be seen in
https://github.com/opengisch/QField/issues/291
Relevant parts of the [backtrace
here](https://github.com/opengisch/QField/issues/291#issuecomment-414917279)
```
08-21 18:42:52.240 29595 29595 F DEBUG : pid: 29562, tid: 29590, name:
QtMainThread >>> ch.opengis.qfield <<<
08-21 18:42:52.240 29595 29595 F DEBUG : signal 31 (SIGSYS), code 1
(SYS_SECCOMP), fault addr --------
08-21 18:42:52.240 29595 29595 F DEBUG : Cause: seccomp prevented call to
disallowed arm system call 213
```
```
#00 pc 00054f98 /system/lib/libc.so (setuid+12)
#01 pc 0004ab31
/data/app/ch.opengis.qfield-UoBGQ4wNBC2DfegHpQH5wg==/lib/arm/libqca-qt5.so #02
pc 0004ac05
/data/app/ch.opengis.qfield-UoBGQ4wNBC2DfegHpQH5wg==/lib/arm/libqca-qt5.so
(QCA::Initializer::Initializer(QCA::MemoryMode, int)+8)
#03 pc 0026cda9
/data/app/ch.opengis.qfield-UoBGQ4wNBC2DfegHpQH5wg==/lib/arm/libqgis_core.so
(QgsAuthManager::init(QString const&, QString const&)+52)
```
setuid calls are not allowed starting from Android O
(https://android-developers.googleblog.com/2017/07/seccomp-filter-in-android-o.html).
A patch to disable setuid on Android systems has been prepared here
https://github.com/KDE/qca/pull/6/files.
It's not completely clear to me, what impact (if any) this patch has on older
Android versions.
--
You are receiving this mail because:
You are watching all bug changes.