Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

[BUG] Alpine Odoo Segfault #221

Open
lasley opened this issue Mar 17, 2017 · 3 comments
Open

[BUG] Alpine Odoo Segfault #221

lasley opened this issue Mar 17, 2017 · 3 comments

Comments

@lasley
Copy link
Contributor

lasley commented Mar 17, 2017

I forgot to let you know this, but Odoo on Alpine does not work right now. This is something we've been working on for a while, but it boils down to some memory overflows due to Alpine using muslc instead of glibc. The error seems to be coming from lxml.

Take a look at Tecnativa/doodba#16, which contains links to the historical items and troubleshooting for this (namely python-pillow/Pillow#1935 (comment)). I'm still debugging, but I am still able to readily reproduce this error in some complex XML processing situations (namely the LasLabs email templates).

For the moment, we need to switch Odoo back to Ubuntu.

@YannickB
Copy link
Owner

Hello Dave,

Yes I know the error, this almost fucked my day. It seemed to only come with workers=0 configuration, multi-workers is ok.

I'm still wondering if this worth to go back to Ubuntu. Note that I'm willing to use Tecnativa image in the future, or some other community image. The removal of data/files/exec structure was the first step towards that goal.

Also I have still some trouble with wkhtmltopdf on Alpine, look at my last PR there is a fix, it prints but the result is not perfect. Maybe you should have a look.

@lasley
Copy link
Contributor Author

lasley commented Mar 17, 2017

Hah reviewing that PR is actually what made me remember this, then I forgot and started doing something else. It's in my todo tabs though, so I'll have it for you by EOD

@lasley
Copy link
Contributor Author

lasley commented Mar 17, 2017

PS that's good to know that increasing the workers solves the issue. I'm going to test that further - I have an awesome test cycle for this issue at this point 😆

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants