avmo
May 13, 2022, 2:19pm
1
No error message given, nothing in crash.log
, anki simply shut down for no reason…
no addons, only started happening after installing the newer Qt6 versions.
Version <U+2068> 2.1.52 (ab1c2395)<U+2069>
Python 3.9.7 Qt 6.3.0 PyQt 6.3.0
Found those in Event Viewer:
# First one
Faulting application name: anki.exe, version: 0.0.0.0, time stamp: 0x625e6678
Faulting module name: Qt6Core.dll, version: 6.2.2.0, time stamp: 0x619d0b70
Exception code: 0xc0000005
Fault offset: 0x00000000000dae31
Faulting process ID: 0x308c
Faulting application start time: 0x01d864a00fdfa99f
Faulting application path: C:\Program Files\Anki\anki.exe
Faulting module path: C:\Program Files\Anki\lib\PyQt6\Qt6\bin\Qt6Core.dll
# Second one
Faulting application name: anki.exe, version: 0.0.0.0, time stamp: 0x6279dde1
Faulting module name: qwindows.dll, version: 6.3.0.0, time stamp: 0x624c0e8f
Exception code: 0xc0000005
Fault offset: 0x0000000000079e93
Faulting process ID: 0x3cb8
Faulting application start time: 0x01d866d1f8c1c0cc
Faulting application path: C:\Program Files\Anki\anki.exe
Faulting module path: C:\Program Files\Anki\lib\PyQt6\Qt6\plugins\platforms\qwindows.dll
# Third one
Faulting application name: anki.exe, version: 0.0.0.0, time stamp: 0x624cf376
Faulting module name: Qt6WebEngineCore.dll, version: 6.2.2.0, time stamp: 0x619fabb2
Exception code: 0xc0000005
Fault offset: 0x0000000004c1d229
Faulting process ID: 0x32fc
Faulting application start time: 0x01d84d9bfaf82042
Faulting application path: C:\Program Files\Anki\anki.exe
Faulting module path: C:\Program Files\Anki\lib\PyQt6\Qt6\bin\Qt6WebEngineCore.dll
avmo
May 13, 2022, 2:40pm
3
i dont know if other steps produce this crash. but this is what i followed
avmo
May 13, 2022, 2:45pm
4
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: 6.3.0.0
P6: 624d0309
P7: c0000005
P8: 0000000000217987
P9:
P10:
avmo
May 13, 2022, 5:21pm
5
i tried to do some midnight cards. when i closed the card editor, anki crashed just as before.
event log
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”
avmo
May 13, 2022, 5:24pm
6
i will test it some more tomorrow (aka today) morning
dae
May 16, 2022, 2:41am
7
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
1 Like
avmo
May 16, 2022, 12:42pm
8
ah!
putting it on auto
fixed the problem. genius! (it was on OpenGL
)
the problem returned again!
avmo
May 16, 2022, 5:42pm
9
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.
fails with software
and with auto
it also fails with OpenGL
avmo
May 16, 2022, 5:47pm
10
but strangely enough, setting it to auto
fixed this problem here: Error when deleting a card from browser
avmo
May 16, 2022, 5:53pm
11
similar issue Mac app crashes everytime when I close a window . this happened to me when I closed the export from browser dialog box
avmo
May 16, 2022, 5:58pm
12
try these steps maybe (skip the step where you review 1 card)
open Anki
click on a deck to study
click on Study Now
open the Stats window (which shows your profile statistics)
close the Stats window
Anki crashes!
avmo
May 16, 2022, 6:05pm
13
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...
avmo
May 16, 2022, 6:24pm
14
used Qt5, and the issue cannot be reproduced there…
Qt6 installation:
immediately after installation, the issue cannot be reproduced
however, when i closed down anki, and launched it again, the issue returned. extremely odd
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 auto
or 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:
open Anki
click on a deck to study
click on Study Now
open the Stats window (which shows your profile statistics)
scroll down to the bottom of the screen
click on one of the Added graph bars
browser will open
close the stats window
close the browser
Anki is doing fine!
Now, if you repeat the steps i initially posted, anki will crash again!
is there a debug mode to capture what is going on?
avmo
May 16, 2022, 8:11pm
15
updated steps!
you don't need to go into study mode. here are the new steps:
open anki
press T (to get Stats)
press Esc (to close Stats)
anki crashes
dae
May 17, 2022, 5:22am
16
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?
avmo
May 17, 2022, 8:21pm
17
Morning,
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 gldriver
content auto
and software
. No crash in either of them.
avmo
May 17, 2022, 8:21pm
18
here is a summary of what happened so far (since starting this post):
2.1.52-qt6: CRASH
2.1.52-qt5: ok
2.1.51-qt6: ok
dae
May 18, 2022, 1:47am
19
avmo
May 18, 2022, 9:12am
20
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