Anki crashes on macOS when double clicking cards browser window to fill

Anki crashes on macOS when double clicking a window to fill

Anki version: 25.02.7 (ARM-64)
macOS: 15.5 (24F74)

What happens
Anki instantly crashes with a SIGSEGV (KERN_INVALID_ADDRESS at 0x0) inside QWidget::hide()QLayoutPrivate::doResize() on the main UI thread whenever the window is resized.

How to reproduce

  1. Launch Anki.
  2. Double click the cards browser to fill the screen.
  3. App crashes immediately.

Technical details
Crash report points to Qt’s layout/event-handling code in QApplication::notify and AppKit frame-change notifications. No third-party add-ons are enabled, appear in the stack trace—looks like a QtWidgets bug.

It is reproducible every time:
Anki 25.02.7 (1b882285)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.5-arm64-arm-64bit

Try everything on the Troubleshooting Checklist – even the things that don’t seem related. [But skip #3 for now, no need to upgrade yet.]

I am not able to reproduce this behavior on my M1 Mac Mini.

Anki: Version ⁨25.07.5 (7172b2d2)⁩
Python 3.13.5 Qt 6.9.1 Chromium 122
macOS: 15.5 (24F74)
System Settings → Desktop & Dock → Double-click a window’s title bar to → Fill

The steps I am performing:

  1. Launch Anki
  2. Click “Browse” (to open the card browser window)
  3. Double-click card browser window title bar
  4. (The card browser window expands to fill the screen, as expected with no problems seen.)

I also tested and didn’t see any issues with:
System Settings → Desktop & Dock → Double-click a window’s title bar to → Zoom

2 Likes

I experience no crashes on my M2 machine. However I’m using a more recent Anki version.

Version ⁨25.07.5 (7172b2d2)⁩
Python 3.13.5 Qt 6.9.1 Chromium 122
macOS 15.6(24G84)

2 Likes

Thanks updating to Version ⁨25.07.5 (7172b2d2)⁩
Python 3.13.5 Qt 6.9.1 Chromium 122

fixed the issue/problem for me

1 Like

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