Summary: | =www-apache/mod_wsgi-4.7.1-r1 causes segfaults with mercurial server | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gabriel <gabriel> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 831061 | ||
Bug Blocks: | |||
Attachments: |
Output of `emerge --info`
backtrace emerge --info to accompany the backtrace |
Description
Gabriel
2022-01-03 11:39:59 UTC
Created attachment 761190 [details]
Output of `emerge --info`
Last thoughts: I did forget in this instance to try compiling with -O2, perhaps this is worth trying for anybody else who bumps into this.
Now that the need for a mod_wsgi that supports has been addressed with 4.9.0, it might make more sense to just remove 4.7.1-r1. Supports 3.10, that is. It is too early to stabilize 4.9.0, since that only entered the tree recently. Created attachment 761386 [details]
backtrace
Looks like it goes beyond mercurial. Getting the same crashes with a "hello world" script, and seeing them fixed on 4.9
Created attachment 761387 [details]
emerge --info to accompany the backtrace
-O2 didn't help in my case
hgweb is working for me, but all my wep apps using dev-python/bottle-0.12.19 (on a local apache server) started segfaulting since ww-apache/mod_wsgi-4.7.1-r1 was rebuilt on 2022-01-03. They had been fine since June last year with this version of mod_wsgi. It seems to be 10 of the mpm_prefork threads segfault at the same moment. Everything is working again with www-apache/mod_wsgi-4.9.0 So I checked, and turns out I'm using hgweb.cgi rather than hgweb.wsgi. Confirm from my side, this segfault present with python 3.9, apache 2.4.52 and mod_wsgi 4.7.1-r1. It ALWAYS segfault even on hello-world python script. With mod_wsgi 4.9.0 no crash with hello world and with production code on servers. (In reply to Dirkjan Ochtman from comment #3) > Supports 3.10, that is. > > It is too early to stabilize 4.9.0, since that only entered the tree > recently. If 4.9.0 fixes a lot of regressions, it's fine to stable it, and better than leaving stable broken if that's the status quo (but not aware of the background here). For reference, we have 2 stable versions: - One works but requires python 3.8 - The -r1 one that's broken as per this bug The unstable version fixes everything. And because I'm not a Gentoo developer/security/staff/etc., I can say that I would stabilise, but it's up to you folks. Rules are rules after all :-) I've reverted the buggy changes in 4.7.1-r1 and requested stabilization for 4.9.0 in bug 831061. |