Drag-drop SVG - freeze/crash

No, Addano also has some bugs that haven’t been fixed, but Anki is to blame in this case. Holding Shift while all addons are disabled, simply dragging and dropping an .svg file completely locks the window, and then crashes without displaying an error.

Conclusion: use JPG files, as they’ve been around for a while. But still…I seem to remember working with a certain version. anki-25.02.7-windows-qt6 — it uses Python 3.9.18 and it works fine, hosting the file.

Does this happen when you drag & drop an SVG anywhere? I can’t reproduce it, and it appears to be unrelated to the OP’s issue.

When you drag this file into any field: “Human_skeleton_front_ru.svg”

Another svg file can be copied without any problems.

I can’t reproduce the crash. But if you can create a separate post with a short screen recording of the issue and system info, that’d be appreciated.

I’ll have a look. I’ve already switched to a different profile, and I’m experiencing strange freezes when switching between a map and a note. I have 237,000 maps in one profile. It seemed to freeze just now, and now it seems to be switching. I’m not sure. I’ve restarted the computer and checked the database. I deleted that file from the disk, and it seems to have disappeared. It may or may not have something to do with this. Could you tell me where I can find the log of the complete crash… although it’s probably a QT crash, otherwise Python would have shown it.

Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Windows-10-10.0.19045-SP0

There’s no point in showing everything frozen. It just happened on this particular file during the transfer. And not even during the transfer of this file.
What was done:

  • Created a new user with admin rights
  • Downloaded the anki and selected it by default by pressing Enter
  • Everything downloaded fine
  • Didn’t log in as any user, just a clean program
  • Created a deck named 1
  • Attempt to add it works
  • Then, if I drag this particular file, there’s a problem
  • Verified the checksum to confirm that this is the correct file in the media folder, meaning it copies fine
  • Renamed the file to 2.svg and tested it on it. The file name doesn’t matter.
  • Entered in the field <img src="2.jpg"> — it doesn’t see it, which makes sense, since there’s no such file
  • Changed to <img src="2.svg"> — it immediately freezes, can only be killed through Task Manager, and doesn’t show any logs.

You might find something if you run Anki from anki-console.exe

Error: Failed to run (-1073741819): C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Scripts/python.exe -c import aqt,
sys; sys.argv[0] = ‘Anki’; aqt.run()

Reply from AI:
Error -1073741819 (0xC0000005) is an access violation in Windows. This is a critical error.

We need to wait until someone on Windows 10 tries to replicate this file, maybe the author of the original question.

I moved you into your own thread, as the dev suggested. Your issue has nothing to do with the other user’s.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.