Nixpkgs version
Describe the bug
Anki crashes when ANKI_WAYLAND=0 (default)
Steps to reproduce
- Run Anki normally
- Open up any card in edit mode
- Set the Front input to hidden state like on the screenshot
- Try to open it back again
Expected behaviour
The Front input shows up
Screenshots
Relevant log output
anki
Starting Anki 25.09.2...
Wayland support is disabled by default due to bugs:
https://github.com/ankitects/anki/issues/1767
You can force it on with an env var: ANKI_WAYLAND=1
2026-02-16 12:43:09,953:INFO:aqt.mediasrv: Serving on http://127.0.0.1:46505
Starting main loop...
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/noerrors
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/mathtools
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/noerrors
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/mathtools
Received signal 11 SEGV_MAPERR 000000000000
#0 0x7f2871691f05 base::debug::CollectStackTrace()
#1 0x7f2871677bf4 base::debug::StackTrace::StackTrace()
#2 0x7f287169265a base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f2893442790 (/nix/store/wb6rhpznjfczwlwx23zmdrrw74bayxw4-glibc-2.42-47/lib/libc.so.6+0x4278f)
#4 0x7f286c2ca773 ui::BrowserAccessibilityManagerQt::FireGeneratedEvent()
#5 0x7f287343cd83 ui::BrowserAccessibilityManager::OnAccessibilityEvents()
#6 0x7f286ff01f31 content::RenderFrameHostImpl::SendAccessibilityEventsToManager()
#7 0x7f286ff02be8 content::RenderFrameHostImpl::HandleAXEvents()
#8 0x7f286f52f046 base::internal::Invoker<>::RunOnce()
#9 0x7f2871634e51 base::internal::PostTaskAndReplyRelay::RunTaskAndPostReply()
#10 0x7f2871634663 base::internal::Invoker<>::RunOnce()
#11 0x7f2871606b74 base::TaskAnnotator::RunTaskImpl()
#12 0x7f287162f827 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#13 0x7f2871630932 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#14 0x7f286c2cf02a std::_Function_handler<>::_M_invoke()
#15 0x7f288041ed55 QObject::event()
#16 0x7f28631a628f QApplicationPrivate::notify_helper()
#17 0x7f2862db2ffe sipQApplication::notify()
#18 0x7f28803be6a8 QCoreApplication::notifyInternal2()
#19 0x7f28803c1f19 QCoreApplicationPrivate::sendPostedEvents()
#20 0x7f28806fc92f postEventSourceDispatch()
#21 0x7f2880101bab g_main_context_dispatch_unlocked
#22 0x7f2880105188 g_main_context_iterate_unlocked.isra.0
#23 0x7f2880105a2f g_main_context_iteration
#24 0x7f28806fc10d QEventDispatcherGlib::processEvents()
#25 0x7f28803cc1eb QEventLoop::exec()
#26 0x7f28803c7599 QCoreApplication::exec()
#27 0x7f2862db2067 meth_QApplication_exec
#28 0x7f2893941dc1 cfunction_call
#29 0x7f2893988402 _PyObject_MakeTpCall.localalias
#30 0x7f2893bd5f1b _PyEval_EvalFrameDefault.localalias
#31 0x7f2893be78a3 PyEval_EvalCode.localalias
#32 0x7f2893bee9cb run_eval_code_obj
#33 0x7f2893beebe7 run_mod
#34 0x7f2893bf118e _PyRun_SimpleFileObject
#35 0x7f2893bf366e Py_RunMain.localalias
#36 0x7f289342b285 __libc_start_call_main
#37 0x7f289342b338 __libc_start_main_alias_2
#38 0x56546b7d5085 _start
r8: 0000000000000000 r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
r12: 0000000000000000 r13: 00005654aa95d790 r14: 00005654aa94fdd0 r15: 00007f2873402500
di: 0000000000000000 si: 0000000000000000 bp: 00007ffc330d2ce0 bx: 0000000000000049
dx: 0000000000000000 ax: 0000000000000000 cx: 0000000000000000 sp: 00007ffc330d2c60
ip: 00007f286c2ca773 efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000004
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
fish: Job 1, 'anki' terminated by signal SIGSEGV (Address boundary error)
Additional context
I use GNOME and am logged into a Wayland session.
echo $XDG_SESSION_TYPE
wayland
System metadata
nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.12.68, NixOS, 26.05 (Yarara), 26.05pre945868.a82ccc39b39b`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.31.3`
- channels(root): `"nixos"`
- nixpkgs: `/nix/store/an6cmfs39if1l4w2497xfcjgfhjd21jk-nixos/nixos`
Notify maintainers
@euank
@JuneStepp
@oxij
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Describe the bug
Anki crashes when
ANKI_WAYLAND=0(default)Steps to reproduce
Expected behaviour
The Front input shows up
Screenshots
Relevant log output
Additional context
I use GNOME and am logged into a Wayland session.
System metadata
Notify maintainers
@euank
@JuneStepp
@oxij
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.