I’m encountering a crash issue with the following steps of action:
- Open Add window.
- In the first field, enter a value that would cause conflict with an existing note.
- Click the “Show Duplicates” appeared above the field, now the Browse window will pop up.
- Close the Browse window that popped up.
- Close the Add window with ESC key. Now the “Discard current input?” dialogue will pop up twice.
- Click “Discard” button, now Anki will crash.
(Can’t upload screen recording because the site says it’s too big.)
Further investigation shows that:
- The “Discard current input?” dialogue only pops up twice and an ensuing crash only happens when Add window is closed with the ESC key, not with the “Close” button at the bottom right cornor of the window.
- And it only occurs if “Show Duplicates” has been clicked, otherwise dismissing with ESC key works normally.
The issue occurs to me initially today on version 24.04.1. After upgrading to the latest 24.06.2, the issue still occurs.
The issue persists when all add-ons are disabled.
I’ve tried steps in Troubleshooting with no success.
The following is what printed to command line when executing /Applications/Anki.app/Contents/MacOS/anki
in terminal:
❯ /Applications/Anki.app/Contents/MacOS/anki
Anki starting...
Initial setup...
Preparing to run...
2024-06-19 11:14:39,372:INFO:aqt.mediasrv: Serving on http://127.0.0.1:59518
todo: windows paths in import screen
Starting main loop...
Qt warning: Window position QRect(328,929 120x36) outside any known screen, using primary screen
2024-06-19 11:14:47.056 anki[26602:398205] NSKeyBindingManager: Bad key binding selector for '^_' = 'undo:'
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
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/mhchem
JS warning /_anki/js/editor.js:531 The specified value "#00f" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
JS warning /_anki/js/editor.js:531 The specified value "#00f" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
onclick handler needs to return false
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
JS warning /_anki/js/editor.js:439 No version information available for component [tex]/mhchem
JS warning /_anki/js/editor.js:531 The specified value "#00f" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
JS warning /_anki/js/editor.js:531 The specified value "#00f" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Segmentation fault: 11
The full text of macOS system crash report window is too long to be printed here, and the site doesn’t seem to allow me to upload .txt
file.
system info:
- Anki version 24.06.2 (33a92379)
- Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
- macOS 14.5
- MacBook Pro 2018, Intel