Crash when resizing window

Could someone replicate on m1

  1. Start Anki (no add-ons)
  2. Browser (no full screen)
  3. Toggle full screen in browser
  • If your anki is already full screen, opening browser won’t crash anki
  • Beta 1 runs fine
Process:               anki [1023]
Path:                  /Applications/
Identifier:            net.ankiweb.dtop
Version:               2.1.61 (???)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-03-22 11:40:29.3960 -0300
OS Version:            macOS 13.2.1 (22D68)
Report Version:        12
Anonymous UUID:        ED0D4ED6-8A41-F288-BA77-1620E9416546

Sleep/Wake UUID:       757D95D2-B3D8-4700-AC68-8A5DB075479D

Time Awake Since Boot: 730 seconds
Time Since Wake:       483 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue:

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes:       0x0000000000000001, 0x0000000000000008

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [1023]

VM Region Info: 0x8 is not in any region.  Bytes before following region: 105553518919672
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)

Kernel Triage:
VM - pmap_enter retried due to resource shortage

@NameLessGO Whether or not the main window is in full screen, switching the browse window to full screen does not cause a crash on an M1 here. If you change the browser window size/location and close it, then try again, does it still crash?

  • Changing the size of the browser (even when double-clicking the tab), using tile right or left, minimizing, moving the tab (anki or browser) to desktop 2 → Crash
  • The crash does not happen when the user have one desktop (Desktop 1)
  • Couldn’t replicate with a new profile
  • This only happens in Beta 2

For now, the solution seems to be migrating profiles (exporting and importing decks): in case someone has this problem in the future or removing Desktop 2

Source image

Instead of export+import, please see if the reset window sizes button in the preferences resolves it.

Yeah, it fixed the issue

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