trevorld / Hanzi_Stats

Anki plugin which calculates number of Hanzi you have learned so far.
GNU General Public License v3.0
15 stars 4 forks source link

Segfaults for anki 2.1.45+ when launching HanziStats with “Video Driver: Software” #17

Closed trevorld closed 2 years ago

trevorld commented 2 years ago

Made post about this in Anki Forums: https://forums.ankiweb.net/t/segfaults-for-anki-2-1-45-when-launching-hanzistats-with-video-driver-software/18096 :

  • I’m the maintainer of the HanziStats plugin (plugin number 181243826)
  • I recently upgraded my Anki Desktop version and notice that launching HanziStats now immediately crashes Anki. Sometimes the terminal says “Bus error” and sometimes says “Segmentation fault”. I see no other information in the terminal or in the crash.log file. I have no idea what I should do to “fix this”. The plugin had been running fine for years…
  • I downloaded older versions of Anki and it seems this behavior begins with Anki 2.1.45 and later versions. No such crashes in Anki 2.1.44 or before.
  • Problem does go away if I switch away from “Video driver: Software” to “Video Driver: OpenGL” (yes, this is the opposite from the usual advice to avoid crashes)
  • I’m using Ubuntu 20.04 LTS . Yes, I’ve ran sudo apt install libxcb-xinerama0. Yes, I’ve disable all other add-ons. Anki seems to run fine if I don’t try to launch the HanziStats plugin (click “Tools → Hanzi Stats”).
  • Thanks for any help or information!