FS#57540 - [anki][qt5-webengine] anki cards don't always display themselves
Attached to Project:
Community Packages
Opened by michael Lojkovic (zerophase) - Saturday, 17 February 2018, 08:02 GMT
Last edited by Johannes Löthberg (demize) - Friday, 06 April 2018, 18:17 GMT
Opened by michael Lojkovic (zerophase) - Saturday, 17 February 2018, 08:02 GMT
Last edited by Johannes Löthberg (demize) - Friday, 06 April 2018, 18:17 GMT
|
Details
Description:
Something about one of the QT updates on the 16th of February breaks Anki on occasion. Can't figure out which package exactly triggered the issue, I thought it was the qt5-webengine update, but rolling back didn't fix the problem. I have a feeling it's one of the python hooks. Stack Trace: ../../../../qtwebengine-everywhere-src-5.10.1/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0332 Received signal 11 SEGV_MAPERR 00000d89c14c #0 0x7fec5a00ee76 <unknown> #1 0x7fec58c8c88c <unknown> #2 0x7fec5a00f1ec <unknown> #3 0x7fec57b238e0 <unknown> #4 0x7fec5acc8fd4 <unknown> #5 0x7fec5acd0fd9 <unknown> #6 0x7fec57b238e0 <unknown> #7 0x7fec57bdf879 syscall #8 0x7fec580cdee0 <unknown> #9 0x7fec5805882d QFileInfo::isFile() #10 0x7fec580839ed QStandardPaths::locate() #11 0x7fec580b9171 <unknown> #12 0x7fec580ba8d2 <unknown> #13 0x7fec580b66ea QLoggingCategory::init() #14 0x7fec580b68cc QLoggingCategory::defaultCategory() #15 0x7fec57f3d83e <unknown> #16 0x7fec57f3e794 QMessageLogger::warning() #17 0x7fec58cff3fd <unknown> #18 0x7fec58cffbe1 <unknown> #19 0x7fec5bc10523 <unknown> #20 0x7fec5ae4bfa4 <unknown> #21 0x7fec5a93de03 <unknown> #22 0x7fec5a094c32 <unknown> #23 0x7fec5afae2bf <unknown> #24 0x7fec5afaf0c6 <unknown> #25 0x7fec5a094c32 <unknown> #26 0x7fec5a02c288 <unknown> #27 0x7fec5a02d268 <unknown> #28 0x7fec5a02d6d3 <unknown> #29 0x7fec5a02ea31 <unknown> #30 0x7fec5a04cf6b <unknown> #31 0x7fec5bc2d7fb <unknown> #32 0x7fec59fd776a <unknown> #33 0x7fec59fd7a60 <unknown> #34 0x7fec5acd9b2e <unknown> #35 0x7fec59fd6814 <unknown> #36 0x7fec58ced29d QtWebEngine::processMain() #37 0x5582f49c4985 <unknown> #38 0x7fec57b0ff4a __libc_start_main #39 0x5582f49c49da <unknown> r8: 00007ffc3315aea0 r9: 00007ffc3315ae80 r10: 00007ffc3315ae60 r11: 00007ffc3315ae40 r12: 00007ffc3315af04 r13: 00007ffc3315b000 r14: 00007ffc3315af40 r15: 00005582f6a2ded0 di: 0000000000000001 si: 00007ffc3315adc0 bp: 00007ffc3315af40 bx: 000000000000014c dx: 000000000d800000 ax: 000000000d89c14c cx: 0000000000000010 sp: 00007ffc3315af00 ip: 00007fec5acc8fd4 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000006 trp: 000000000000000e msk: 0000000000000000 cr2: 000000000d89c14c [end of stack trace] Calling _exit(1). Core file will not be generated. Steps to reproduce: 1. Open Anki 2. Load up a deck. 3. Keep loading decks till the card area stops updating. (Might have to close and reenter anki a couple times to trigger the issue) |
This task depends upon
Closed by Johannes Löthberg (demize)
Friday, 06 April 2018, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: 2.1.0beta37-2
Friday, 06 April 2018, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: 2.1.0beta37-2
I can use ankiweb in the meantime, so it's not too bad.
As a work-around you can set the QTWEBENGINE_DISABLE_SANDBOX environment variable to 1 to disable the seccomp sandbox for now.
I think we'll have to track and fix the bug ourselves, as Damien won't fix until he upgrades the static libraries used. https://anki.tenderapp.com/discussions/beta-testing/1024-cards-dont-always-load-on-qt5-webengine-5101
https://bugs.archlinux.org/task/57585#comment166808 has a debug backtrace but the system call lacks debug info.
../../../../qtwebengine-everywhere-src-5.10.1/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0332
I believe syscall 0332 on x86_64 is statx
FS#57254Are you running anki inside a docker container by any chance?
I think it is the lack of statx in https://github.com/meta-qt5/qtwebengine-chromium/blob/61-based/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
and https://github.com/meta-qt5/qtwebengine-chromium/blob/61-based/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h
Edit:
eschwartz not eschwartx sorry
Does this make it a qt5-webengine bug?