Some cards cause Anki to crash when displaying Info window

I discovered that some cards in my collection will crash Anki as soon as I try to open the Info dialog. Checking the database and disabling addons won’t help.

You may find such a card exported here.

Crash log:

Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=?
Add-ons, last update check: 2021-12-29 00:07:51

Caught exception:
Traceback (most recent call last):
  File "aqt\browser\browser.py", line 550, in showCardInfo
  File "aqt\browser\card_info.py", line 21, in __init__
  File "anki\stats.py", line 36, in report
  File "anki\collection.py", line 825, in card_stats
  File "anki\_backend\generated.py", line 804, in card_stats
  File "anki\_backend\__init__.py", line 126, in _run_command
pyo3_runtime.PanicException: SystemTimeToFileTime failed with: The parameter is incorrect. (os error 87)

This thread is most likely a duplicate of this bug report, and should probably be closed.

3 Likes