Hi,
I’m experiencing a consistent crash issue with Anki. In the Browser, when attempting to expand any collapsed field, Anki crashes immediately, and the same behavior also occurs in the Add Card window. Changing video drivers and disabling all add-ons has no effect.
For context, I run NixOS and recently upgraded to 25.11, which ships GNOME 49 and required switching to Wayland.
From what I’ve found, the general recommendation is to disable Wayland support due to known issues. However, in my case, running Anki with Wayland support enabled (ANKI_WAYLAND=1) fixes the field expansion crash.
This same workaround also resolves this startup crash I’m experiencing, which appears to be caused by Qt 6.10.1 (QTBUG-142720, QTBUG-142497) and should be fixed in the next Qt release. That said, setting QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu, which prevents the startup crash, has no effect on the expanding field crash.
Unfortunately, enabling Wayland support introduces other Wayland-related issues that have already been reported (#1767), so this is not a viable solution.
I’m not sure whether the field expansion crash is directly related to Wayland, Qt, or some interaction between them. Any help would be greatly appreciated.
Any help would be greatly appreciated. Please let me know if you’d like any additional information to help diagnose this.
Thanks!
Versions:
NixOS 25.11 (Xantusia)
GNOME 49
Linux 6.12.63
NVidia Driver 580.119.02
Anki Version <U+2068>25.09.2 (3890e12c)<U+2069>
Python 3.13.11 Qt 6.10.1 Chromium 134
Stack trace:
Received signal 11 SEGV_MAPERR 000000000000
#0 0x7fd0f20920c5 base::debug::CollectStackTrace()
#1 0x7fd0f2077db4 base::debug::StackTrace::StackTrace()
#2 0x7fd0f209281a base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7fd106241da0 (/nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66/lib/libc.so.6+0x41d9f)
#4 0x7fd0eccca7f3 ui::BrowserAccessibilityManagerQt::FireGeneratedEvent()
#5 0x7fd0f3e3cf03 ui::BrowserAccessibilityManager::OnAccessibilityEvents()
#6 0x7fd0f0901f71 content::RenderFrameHostImpl::SendAccessibilityEventsToManager()
#7 0x7fd0f0902c28 content::RenderFrameHostImpl::HandleAXEvents()
#8 0x7fd0eff2f046 base::internal::Invoker<>::RunOnce()
#9 0x7fd0f2035011 base::internal::PostTaskAndReplyRelay::RunTaskAndPostReply()
#10 0x7fd0f2034823 base::internal::Invoker<>::RunOnce()
#11 0x7fd0f2006d34 base::TaskAnnotator::RunTaskImpl()
#12 0x7fd0f202f9e7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#13 0x7fd0f2030af2 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#14 0x7fd0ecccf0aa std::_Function_handler<>::_M_invoke()
#15 0x7fd100e1ed55 QObject::event()
#16 0x7fd0e3ba628f QApplicationPrivate::notify_helper()
#17 0x7fd0e37b2ffe sipQApplication::notify()
#18 0x7fd100dbe6a8 QCoreApplication::notifyInternal2()
#19 0x7fd100dc1f19 QCoreApplicationPrivate::sendPostedEvents()
#20 0x7fd1010fc92f postEventSourceDispatch()
#21 0x7fd100b0182b g_main_context_dispatch_unlocked
#22 0x7fd100b04e08 g_main_context_iterate_unlocked.isra.0
#23 0x7fd100b056af g_main_context_iteration
#24 0x7fd1010fc10d QEventDispatcherGlib::processEvents()
#25 0x7fd100dcc1eb QEventLoop::exec()
#26 0x7fd100dc7599 QCoreApplication::exec()
#27 0x7fd0e37b2067 meth_QApplication_exec
#28 0x7fd106741dc1 cfunction_call
#29 0x7fd106788402 _PyObject_MakeTpCall.localalias
#30 0x7fd1069d5f1b _PyEval_EvalFrameDefault.localalias
#31 0x7fd1069e78a3 PyEval_EvalCode.localalias
#32 0x7fd1069ee9cb run_eval_code_obj
#33 0x7fd1069eebe7 run_mod
#34 0x7fd1069f118e _PyRun_SimpleFileObject
#35 0x7fd1069f366e Py_RunMain.localalias
#36 0x7fd10622a4c5 __libc_start_call_main
#37 0x7fd10622a578 __libc_start_main_alias_2
#38 0x55788399d085 _start
r8: 0000000000000000 r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
r12: 0000000000000000 r13: 0000557890765bd0 r14: 0000557890a85fc0 r15: 00007fd0f3e02680
di: 0000000000000000 si: 0000000000000000 bp: 00007ffd2ad1da70 bx: 0000000000000049
dx: 0000000000000000 ax: 0000000000000000 cx: 0000000000000000 sp: 00007ffd2ad1d9f0
ip: 00007fd0eccca7f3 efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000004
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Segmentation fault (core dumped) anki