doodba: Avoid random segfaults

Seems like some of Odoo dependencies needs glibc, possibly Pillow: https://github.com/python-pillow/Pillow/issues/1935.

To reproduce, just run the scaffolding for v10, install account_accountant addon, and go to Account menu. Odoo simply dies with exit code 139. No exceptions, no traceback, just dies.

According to above issue, it seems like possibly Pillow or some of its dependencies (or Odoo’s) needs something that it only can get from glibc, and is thus incompatible with musl.

We could try to use a glibc-enabled Alpine, but that does not seem too much stable and secure for production. I think for this case we will sadly need to use another distro. Let’s try with debian.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Definitely not a good idea for production, but also cuts out a variable that existed otherwise. We now know that this is definitely an issue with compilation, as @Yajo abstracted. Really this is more of a hypothesis confirmation than anything - At least we know we’re barking up the wrong tree and all that.

OK, storage is cheaper than your time mostly, so let’s try a bit more, and if not, we can switch.