figured out the steps:
- open Anki
- click on a deck to study
- click on Study Now
- answer 1 card and rate it as Good
- open the Stats window (which shows your profile statistics)
- close the Stats window
- Anki crashes!
figured out the steps:
i dont know if other steps produce this crash. but this is what i followed
event viewer log
Fault bucket 1699311592370763974, type 4 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: anki.exe P2: 0.0.0.0 P3: 6279dde1 P4: Qt6WebEngineCore.dll P5: 126.96.36.199 P6: 624d0309 P7: c0000005 P8: 0000000000217987 P9: P10:
i tried to do some midnight cards. when i closed the card editor, anki crashed just as before.
Faulting application name: anki.exe, version: 0.0.0.0, time stamp: 0x6279dde1 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x000002607dbe7c20 Faulting process ID: 0x36e8 Faulting application start time: 0x01d866ece24b10ff Faulting application path: C:\Program Files\Anki\anki.exe Faulting module path: unknown
note that the
Faulting module path is now labelled as “unknown”
i will test it some more tomorrow (aka today) morning
I am not able to reproduce this. I suspect it’s a video driver issue, and you may be able to work around it by choosing software mode: Display Issues - Anki Manual
putting it on
auto fixed the problem. genius! (it was on
the problem returned again!
oh wait never mind. i spoke too soon!
my friend at the library had the same issue. we tried the solution you gave in the manual, and the issue persists.
software and with
it also fails with
but strangely enough, setting it to
auto fixed this problem here: Error when deleting a card from browser
similar issue Mac app crashes everytime when I close a window. this happened to me when I closed the export from browser dialog box
try these steps maybe (skip the step where you review 1 card)
here is the cmd startup
Anki starting... Initial setup... Running with temporary Qt5 compatibility shims. Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6. Preparing to run... Qt info: GL Type: desktop Surface Type: OpenGL Surface Profile: CompatibilityProfile Surface Version: 4.6 QSG RHI Backend: OpenGL Using Supported QSG Backend: yes Using Software Dynamic GL: no Using Multithreaded OpenGL: yes Init Parameters: * application-name Anki * browser-subprocess-path C:\Program Files\Anki\lib\PyQt6\Qt6\bin\QtWebEngineProcess.exe * create-default-gl-context * disable-es3-gl-context * disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture * disable-speech-api * enable-features NetworkServiceInProcess,TracingServiceInProcess * enable-threaded-compositing * in-process-gpu * use-gl desktop Starting main loop...
used Qt5, and the issue cannot be reproduced there…
this is unfortunate, because my pc is quite a high end one, and I thought it would be able to handle an SRS app :/.
given that the issue continues to occur regardless of the fact gldriver6 is set to
software, and given that the issue does not occur in Qt5: Could it be Qt6 that is the issue? because i simply cant see why my pc wont handle anki when it has handled software and games that are way heavier and more demanding
also, if you follow the following steps, anki will not crash:
Now, if you repeat the steps i initially posted, anki will crash again!
is there a debug mode to capture what is going on?
Those steps do not trigger the issue for me. It is quite possibly a bug in Qt that is timing-dependent, and your computer may just fast or slow enough to trigger it.
Do you get the same crashes with 2.1.51-qt6?
Ahhhh! of course! i completely forgot to test on the previous release. my apologies dae!
i have just tried it on 2.1.51-qt6
i got these two errors when I first launched anki. i closed it, and opened it again.
it worked fine. i tried the steps i outlined above, and no crash!
i turned off anki again, and opened it a 2nd time. no crash!
i turned off anki again, and opened it a 3rd, 4th, 5th, and a 6th time. no crash (at all)!
I tested with
software. No crash in either of them.
here is a summary of what happened so far (since starting this post):
I’ve added this to the issue tracker: closing webview windows causes crashes on some machines · Issue #1879 · ankitects/anki · GitHub
Thank you dae! if there is anything else i can do to help resolve this issue, let me know!
i dont really use python, but if you would like me to do some live debugging and testing with the assistance of a developer, then i am happy to do that
so i created a new profile in anki
2.1.52-qt6, and i have tried the steps i outlined above. there was no crash!
the crash was only occuring with my OLD profile (i.e. the profile which i had since the beginning).
however, when i exported the content (i used both types of export) from my OLD profile to my NEW profile, the crash started to occur again.
the crash does not occur on an empty/small profile. CORRECTION: the crash does not occur on profiles that have small/no repetition data (I have import a deck with 13k cards and no rep history. the crash did NOT occur)